/* ==================== TOKENS ==================== */
:root {
  /* Brand */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #7c3aed;
  --accent-light: #a78bfa;

  /* Surfaces */
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --surface-elevated: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Text */
  --text: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Status */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(15 23 42 / 0.04);
  --shadow-sm: 0 1px 3px 0 rgb(15 23 42 / 0.06), 0 1px 2px -1px rgb(15 23 42 / 0.04);
  --shadow-md: 0 4px 12px -2px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.04);
  --shadow-lg: 0 12px 28px -8px rgb(15 23 42 / 0.12), 0 4px 8px -4px rgb(15 23 42 / 0.06);
  --shadow-xl: 0 24px 48px -12px rgb(15 23 42 / 0.18);
  --shadow-glow: 0 8px 32px -4px rgb(37 99 235 / 0.35);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, rgb(37 99 235 / 0.06) 0%, rgb(124 58 237 / 0.06) 100%);
  --gradient-hero-bg: radial-gradient(ellipse 80% 50% at 50% -20%, rgb(124 58 237 / 0.15), transparent 70%),
                      radial-gradient(ellipse 60% 50% at 80% 30%, rgb(37 99 235 / 0.1), transparent 70%);
}

html.dark {
  --bg: #0a0a0d;
  --surface: #0f0f14;
  --surface-alt: #16161d;
  --surface-elevated: #1a1a23;
  --border: #26262f;
  --border-strong: #353541;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --accent: #a78bfa;

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 12px 28px -8px rgb(0 0 0 / 0.5), 0 4px 8px -4px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 24px 48px -12px rgb(0 0 0 / 0.6);
  --shadow-glow: 0 8px 40px -4px rgb(59 130 246 / 0.45);

  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  --gradient-soft: linear-gradient(135deg, rgb(59 130 246 / 0.08) 0%, rgb(167 139 250 / 0.08) 100%);
  --gradient-hero-bg: radial-gradient(ellipse 80% 50% at 50% -20%, rgb(167 139 250 / 0.18), transparent 70%),
                      radial-gradient(ellipse 60% 50% at 80% 30%, rgb(59 130 246 / 0.12), transparent 70%);
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--bg);
}

html.dark {
  color-scheme: dark;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* ==================== TYPOGRAPHY ==================== */
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--gradient-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  text-wrap: pretty;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

.btn-lg svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==================== NAV ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

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

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-bg);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-wrap: pretty;
  max-width: 540px;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-social-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--warning);
}

.hero-social-stars svg {
  width: 14px;
  height: 14px;
}

.hero-social strong {
  color: var(--text);
  font-weight: 700;
}

/* Phone mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a23, #2a2a35);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgb(0 0 0 / 0.1);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0a0a0d;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 32px;
  padding: 36px 16px 16px;
  overflow: hidden;
  position: relative;
}

html.dark .phone-screen {
  background: linear-gradient(180deg, #0f0f14 0%, #1a1a23 100%);
  color: #f5f5f7;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0f172a;
}

html.dark .mock-status { color: #f5f5f7; }

.mock-status-icons {
  display: inline-flex;
  gap: 4px;
}

.mock-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mock-greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mock-hi {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

html.dark .mock-hi { color: #f5f5f7; }

.mock-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-streak svg { width: 12px; height: 12px; }

.mock-progress {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

html.dark .mock-progress {
  background: #1a1a23;
  border-color: #26262f;
}

.mock-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 6px;
}

html.dark .mock-progress-row { color: #a1a1aa; }

.mock-pct {
  font-weight: 700;
  color: #2563eb;
}

html.dark .mock-pct { color: #3b82f6; }

.mock-progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

html.dark .mock-progress-bar { background: #26262f; }

.mock-progress-fill {
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 3px;
}

.mock-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px -4px rgb(37 99 235 / 0.35);
}

.mock-cta-text {
  font-size: 0.875rem;
  font-weight: 700;
}

.mock-cta svg { width: 18px; height: 18px; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  position: relative;
}

html.dark .mock-card {
  background: #1a1a23;
  border-color: #26262f;
  color: #f5f5f7;
}

.mock-card svg { width: 16px; height: 16px; }
.mock-card-blue svg { color: #2563eb; }
.mock-card-violet svg { color: #7c3aed; }

.mock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-mockup {
    order: -1;
    transform: scale(0.85);
  }
  .phone-frame {
    transform: none;
  }
}

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

.trust-item {
  text-align: center;
  flex: 1;
}

.trust-num {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
}

.trust-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

@media (max-width: 640px) {
  .trust-divider { display: none; }
  .trust-row { flex-wrap: wrap; gap: 24px 12px; }
  .trust-item { flex-basis: calc(50% - 8px); }
}

/* ==================== HOW IT WORKS ==================== */
.how {
  padding: 6rem 0;
}

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

.how-step {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

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

.how-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.how-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0.75rem auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: var(--r-lg);
  color: var(--primary);
}

.how-icon-wrap svg { width: 28px; height: 28px; }

.how-step h3 {
  margin-bottom: 0.5rem;
}

.how-step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how { padding: 4rem 0; }
}

/* ==================== WHY ==================== */
.why {
  padding: 6rem 0;
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  text-align: left;
}

.why-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.65;
}

.why-text strong { color: var(--text); }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.why-list svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  padding: 4px;
  border-radius: 50%;
  box-sizing: content-box;
  flex-shrink: 0;
}

.why-list strong {
  font-weight: 700;
}

.why-visual {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  color: var(--text);
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why { padding: 4rem 0; }
}

/* ==================== FEATURES ==================== */
.features {
  padding: 6rem 0;
}

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

.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  margin-bottom: 1rem;
}

.feature-icon-wrap svg { width: 22px; height: 22px; }

.feature-blue   { background: rgb(37 99 235 / 0.1); color: #2563eb; }
.feature-violet { background: rgb(124 58 237 / 0.1); color: #7c3aed; }
.feature-green  { background: rgb(22 163 74 / 0.1); color: #16a34a; }
.feature-amber  { background: rgb(245 158 11 / 0.1); color: #f59e0b; }
.feature-pink   { background: rgb(236 72 153 / 0.1); color: #ec4899; }
.feature-indigo { background: rgb(99 102 241 / 0.1); color: #6366f1; }

html.dark .feature-blue   { background: rgb(59 130 246 / 0.15); color: #60a5fa; }
html.dark .feature-violet { background: rgb(167 139 250 / 0.15); color: #c4b5fd; }
html.dark .feature-green  { background: rgb(34 197 94 / 0.15); color: #4ade80; }
html.dark .feature-amber  { background: rgb(251 191 36 / 0.15); color: #fbbf24; }
html.dark .feature-pink   { background: rgb(244 114 182 / 0.15); color: #f472b6; }
html.dark .feature-indigo { background: rgb(129 140 248 / 0.15); color: #818cf8; }

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 4rem 0; }
}

/* ==================== TOPICS ==================== */
.topics {
  padding: 6rem 0;
  background: var(--surface);
}

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

.topic-card {
  display: flex;
  gap: 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  align-items: flex-start;
}

.topic-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: var(--r-md);
  color: var(--primary);
}

.topic-icon-wrap svg { width: 22px; height: 22px; }

.topic-card h3 {
  margin-bottom: 0.375rem;
}

.topic-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .topics-grid { grid-template-columns: 1fr; }
  .topics { padding: 4rem 0; }
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  padding: 6rem 0;
}

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

.testimonial-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-card-featured {
  background: var(--gradient-soft);
  border-color: color-mix(in srgb, var(--primary) 25%, transparent);
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--warning);
  margin-bottom: 1rem;
}

.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
  flex: 1;
  text-wrap: pretty;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
}

.testimonial-avatar-1 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.testimonial-avatar-2 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.testimonial-avatar-3 { background: linear-gradient(135deg, #34d399, #059669); }

.testimonial-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 4rem 0; }
}

/* ==================== COMPARISON ==================== */
.comparison {
  padding: 6rem 0;
  background: var(--surface);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.comp-card {
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
}

.comp-card-other {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  opacity: 0.85;
}

.comp-card-us {
  background: var(--surface-elevated);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.comp-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.comp-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.comp-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.comp-card li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.comp-card .good svg { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.comp-card .bad svg  { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.comp-card .bad      { color: var(--text-muted); }

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .comp-card-us { transform: none; }
  .comparison { padding: 4rem 0; }
}

/* ==================== PRICING ==================== */
.pricing {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
  background: linear-gradient(180deg, var(--surface-elevated) 0%, color-mix(in srgb, var(--primary) 4%, var(--surface-elevated)) 100%);
}

.pricing-popular:hover {
  transform: scale(1.04) translateY(-2px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-trial {
  font-size: 0.8125rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pricing-saving {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-foot {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.pricing-foot svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-2px); }
  .pricing { padding: 4rem 0; }
}

/* ==================== FAQ ==================== */
.faq {
  padding: 6rem 0;
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background: var(--primary);
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq { padding: 4rem 0; }
}

/* ==================== FINAL CTA ==================== */
.final-cta {
  padding: 6rem 0;
}

.final-cta-card {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgb(255 255 255 / 0.1), transparent 50%),
              radial-gradient(circle at 80% 50%, rgb(255 255 255 / 0.1), transparent 50%);
  pointer-events: none;
}

.final-cta-card h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.final-cta-card p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.final-cta-card .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 24px -4px rgb(0 0 0 / 0.25);
}

.final-cta-card .btn-primary:hover {
  background: #f8fafc;
  box-shadow: 0 12px 32px -4px rgb(0 0 0 / 0.3);
}

.final-cta-note {
  font-size: 0.8125rem;
  opacity: 0.85;
  position: relative;
}

@media (max-width: 768px) {
  .final-cta { padding: 4rem 0; }
  .final-cta-card { padding: 3rem 1.5rem; }
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 3rem 0 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: block;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-credits {
  font-size: 0.8125rem;
}

@media (max-width: 600px) {
  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
