/* ============================================
   Web Summarizer – Marketing Site Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand palette – matches extension */
  --color-primary: #2eaadc;
  --color-primary-hover: #3bb8e8;
  --color-primary-dark: #1e8ab8;
  --color-navy-dark: #1a1a2e;
  --color-navy-mid: #16213e;
  --color-navy-deep: #0f3460;
  --color-success: #22c55e;
  --color-success-dark: #16a34a;
  --color-text-light: rgba(255, 255, 255, 0.92);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-dark: rgb(55, 53, 47);
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-surface-hover: rgba(255, 255, 255, 0.1);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.18);
  --color-warning: #ffc107;
  --color-error: #f21e1e;
  --color-popular: #f59e0b;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 30px rgba(46, 170, 220, 0.2);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-light);
  background: var(--color-navy-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section base --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-light);
  text-decoration: none;
}

.navbar-logo img {
  width: 32px;
  height: 32px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--color-text-light);
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, transform 0.2s ease;
}

.navbar-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   1. HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-mid) 50%, var(--color-navy-deep) 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 170, 220, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-text .hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(46, 170, 220, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(46, 170, 220, 0.4);
  color: #fff;
}

.btn-secondary {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
  background: var(--color-surface);
  color: var(--color-text-light);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-light);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

/* Trust badges */
.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.badge svg { flex-shrink: 0; }

.badge-stars {
  color: var(--color-warning);
  letter-spacing: 1px;
}

/* Hero mockup */
.hero-mockup {
  position: relative;
}

.mockup-window {
  background: #1e1e2e;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28c840; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 320px;
}

.mockup-page {
  padding: 24px;
}

.mockup-page-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 10px;
}

.mockup-page-line:nth-child(2) { width: 85%; }
.mockup-page-line:nth-child(3) { width: 92%; }
.mockup-page-line:nth-child(4) { width: 70%; }
.mockup-page-line:nth-child(5) { width: 88%; }
.mockup-page-line:nth-child(6) { width: 60%; margin-bottom: 20px; }

.mockup-highlight {
  background: rgba(46, 170, 220, 0.2);
  border-left: 3px solid var(--color-primary);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 12px;
}

.mockup-highlight-line {
  height: 8px;
  background: rgba(46, 170, 220, 0.35);
  border-radius: 3px;
  margin-bottom: 6px;
}

.mockup-highlight-line:last-child { width: 65%; margin-bottom: 0; }

.mockup-sidebar {
  background: rgba(0, 0, 0, 0.2);
  border-left: 1px solid var(--color-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mockup-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 12px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.mockup-chat-msg {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  line-height: 1.5;
  margin-bottom: 8px;
}

.mockup-chat-user {
  background: rgba(46, 170, 220, 0.12);
  color: var(--color-text-light);
  align-self: flex-end;
}

.mockup-chat-ai {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
}

.mockup-chat-input {
  margin-top: auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ============================================
   2. FEATURES SECTION
   ============================================ */
#features {
  background: var(--color-navy-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feature-mode-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.feature-mode-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 24px;
}

.feature-mode-icon.research { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.feature-mode-icon.legal { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.feature-mode-icon.student { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.feature-mode-icon.engineer { background: rgba(46, 170, 220, 0.15); color: var(--color-primary); }

.feature-mode-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-mode-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Additional features grid */
.features-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.feature-extra-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-extra-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 170, 220, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.feature-extra-card h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-extra-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Model badges */
.models-showcase {
  text-align: center;
  margin-bottom: 80px;
}

.models-showcase h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 24px;
}

.model-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.model-badge {
  padding: 8px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.model-badge.highlight {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Theme showcase */
.theme-showcase {
  text-align: center;
}

.theme-showcase h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 24px;
}

.theme-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.theme-card {
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.theme-card-preview {
  height: 120px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theme-card-preview.light {
  background: #ffffff;
}

.theme-card-preview.dark {
  background: #191919;
}

.theme-card-preview.blue {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.theme-line {
  height: 6px;
  border-radius: 3px;
}

.theme-card-preview.light .theme-line { background: rgba(55, 53, 47, 0.12); }
.theme-card-preview.dark .theme-line { background: rgba(255, 255, 255, 0.08); }
.theme-card-preview.blue .theme-line { background: rgba(255, 255, 255, 0.1); }

.theme-line:nth-child(2) { width: 75%; }
.theme-line:nth-child(3) { width: 60%; }

.theme-card-label {
  padding: 10px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  background: var(--color-surface);
}

/* ============================================
   3. HOW IT WORKS
   ============================================ */
#how-it-works {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy-mid) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

.step h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Connector between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  opacity: 0.3;
}

/* ============================================
   4. USE CASES
   ============================================ */
#use-cases {
  background: var(--color-navy-dark);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.persona-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.persona-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.persona-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 22px;
}

.persona-icon.students { background: rgba(34, 197, 94, 0.15); }
.persona-icon.researchers { background: rgba(99, 102, 241, 0.15); }
.persona-icon.lawyers { background: rgba(245, 158, 11, 0.15); }
.persona-icon.engineers { background: rgba(46, 170, 220, 0.15); }

.persona-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.persona-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.persona-card li {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.persona-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ============================================
   5. SOCIAL PROOF
   ============================================ */
#social-proof {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy-mid) 100%);
}

.social-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.review-stars {
  color: var(--color-warning);
  font-size: var(--font-size-lg);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-light);
}

.review-role {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ============================================
   6. PRICING
   ============================================ */
#pricing {
  background: var(--color-navy-dark);
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.billing-label {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.billing-label.active {
  color: var(--color-text-light);
}

.toggle-track {
  width: 52px;
  height: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-track.yearly {
  background: rgba(46, 170, 220, 0.2);
  border-color: var(--color-primary);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-track.yearly .toggle-knob {
  transform: translateX(24px);
}

.save-badge {
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-success);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--color-primary);
  background: rgba(46, 170, 220, 0.06);
  box-shadow: var(--shadow-glow);
}

.popular-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-amount {
  margin-bottom: 8px;
}

.pricing-amount .price {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1;
}

.pricing-amount .period {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.pricing-yearly-note {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  margin-bottom: 20px;
  min-height: 18px;
}

.pricing-credits {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-credits strong {
  color: var(--color-text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-success);
}

.pricing-features li.disabled {
  opacity: 0.45;
}

.pricing-features li.disabled::before {
  content: '✗';
  color: var(--color-text-muted);
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-light);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  line-height: 1;
}

.faq-answer {
  padding: 0 0;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   7. SECURITY
   ============================================ */
#security {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy-mid) 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.security-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.security-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-success);
}

.security-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 8px;
}

.security-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.security-statement {
  text-align: center;
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.security-statement a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   8. FOOTER
   ============================================ */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-light);
  text-decoration: none;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  width: fit-content;
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--color-text-muted);
}

.footer-social a:hover {
  color: var(--color-primary);
}

/* ============================================
   CTA SECTION (before footer)
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-navy-deep) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: var(--font-size-4xl); }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { border-left: none; border-top: 1px solid var(--color-border); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }

  .navbar-links { display: none; }
  .navbar-toggle { display: block; }

  /* Mobile nav */
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badges { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .features-extra { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }

  .personas-grid { grid-template-columns: 1fr; }
  .social-stats { flex-direction: column; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; overflow-x: auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .theme-cards { flex-direction: column; align-items: center; }

  .model-badges { gap: 8px; }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
  }

  .container { padding: 0 16px; }
  .hero-text h1 { font-size: var(--font-size-4xl); }
}

/* ============================================
   UTILITY
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6ba3ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Privacy / Terms pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 60px;
}

.legal-page h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
