/* KIMANA Consulting - Styles */

:root {
  --primary: #0d3349;
  --primary-light: #1a4d6b;
  --accent: #89c540;
  --accent-dark: #6fa032;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  border-color: white;
  color: white;
}

.hero .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* Section Titles */
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Overview Section */
.overview {
  padding: 100px 0;
  background: white;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
}

.overview-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 40px;
  text-align: center;
}

.overview-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-bottom: 32px;
}

.overview-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.overview-benefit {
  background: var(--bg-alt);
  padding: 28px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.overview-benefit h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.overview-benefit p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Scorecard Section */
.scorecard {
  padding: 100px 0;
  background: white;
}

.scorecard-intro {
  margin-bottom: 48px;
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

/* Quiz Start */
.quiz-start h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.quiz-start > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}

.framework-select {
  display: grid;
  gap: 16px;
}

.framework-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.framework-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.framework-btn .framework-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.framework-btn .framework-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Quiz Questions */
.quiz-progress {
  margin-bottom: 32px;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.question-container h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary);
}

.answers {
  display: grid;
  gap: 12px;
}

.answer-option {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.answer-option:hover {
  border-color: var(--primary);
}

.answer-option.selected {
  border-color: var(--accent);
  background: rgba(137, 197, 64, 0.1);
}

.answer-option input {
  display: none;
}

.answer-option .checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.answer-option.selected .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.answer-option.selected .checkmark::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.answer-option span:last-child {
  flex: 1;
  font-weight: 500;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.quiz-nav .btn {
  min-width: 120px;
}

/* Quiz Results */
.quiz-results {
  text-align: center;
}

.results-score {
  margin-bottom: 48px;
}

.score-circle {
  width: 200px;
  height: 200px;
  position: relative;
  margin: 0 auto 24px;
}

.score-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.score-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1s ease;
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.score-label {
  font-size: 1.25rem;
  color: var(--text-light);
}

/* Gap Report */
.gap-report {
  text-align: left;
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}

.gap-report h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary);
}

.gap-items {
  display: grid;
  gap: 16px;
}

.gap-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.gap-item.critical {
  border-left-color: #ef4444;
}

.gap-item.warning {
  border-left-color: #f59e0b;
}

.gap-item.good {
  border-left-color: var(--accent);
}

.gap-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.gap-icon.critical {
  color: #ef4444;
}

.gap-icon.warning {
  color: #f59e0b;
}

.gap-icon.good {
  color: var(--accent);
}

.gap-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.gap-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Results CTA */
.results-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.results-cta p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.results-cta .btn {
  margin: 0 8px 12px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-alt);
}

.contact-grid {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 48px 0;
  background: var(--primary);
  color: white;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .quiz-container {
    padding: 24px;
  }

  .score-circle {
    width: 160px;
    height: 160px;
  }

  .score-value {
    font-size: 2.5rem;
  }

  .gap-report {
    padding: 20px;
  }

  .results-cta .btn {
    display: block;
    width: 100%;
    margin: 0 0 12px;
  }
}
