/* ─────────────────────────────────────────────────────────────────────────────
   PathwAI — Landing Page Styles
   All landing-page-specific visual styles not covered by layout.css.
   ───────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════════
   HERO — DARK GRADIENT, 2-COLUMN SPLIT
   ══════════════════════════════════════════════════════════════════════════════ */
.hero-dark {
  background:
    radial-gradient(ellipse 100% 80% at 60% 120%, rgba(99,102,241,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% -10%, rgba(167,139,250,0.1) 0%, transparent 50%),
    linear-gradient(150deg, #0d0b1e 0%, #1a1640 30%, #231d5a 55%, #2d2472 75%, #312e81 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

/* Subtle grid texture overlay */
.hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

/* ── Hero Text ─────────────────────────────────────────────────────────────── */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 14px;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-300);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.hero-eyebrow-pulse {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: var(--radius-full);
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52,211,153,0.3);
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: var(--weight-extrabold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa 0%, #818cf8 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.62);
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: #6366f1;
  color: var(--color-white);
  padding: 0.875rem var(--space-8);
  font-size: var(--text-md);
  border-radius: var(--radius-xl);
  font-weight: var(--weight-bold);
  box-shadow: 0 4px 24px rgba(99,102,241,0.5), 0 0 0 1px rgba(99,102,241,0.3) inset;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}
.btn-hero-primary:hover {
  background: #4f46e5;
  box-shadow: 0 6px 30px rgba(99,102,241,0.7), 0 0 0 1px rgba(99,102,241,0.4) inset;
  transform: translateY(-1px);
  color: var(--color-white);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem var(--space-6);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: transparent;
  cursor: pointer;
}
.btn-hero-ghost:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}
.hero-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-disclaimer span + span::before {
  content: '·';
  margin-right: var(--space-3);
}
.hero-trust-row {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-trust-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
}
.hero-trust-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ── Hero Visual (product mockup) ─────────────────────────────────────────── */
.hero-visual {
  position: relative;
  width: 520px;
  height: 480px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

/* Glass card base */
.preview-glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    0 0 0 0.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  position: absolute;
}

/* Main dashboard card */
.preview-main {
  top: 0; right: 0;
  width: 360px;
  animation: previewFloat 6s ease-in-out infinite;
}

/* Browser chrome */
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.preview-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.preview-dot:first-child { background: rgba(255,94,87,0.7); }
.preview-dot:nth-child(2) { background: rgba(255,196,0,0.7); }
.preview-dot:nth-child(3) { background: rgba(40,200,64,0.7); }
.preview-chrome-title {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* Student header */
.preview-student {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.preview-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}
.preview-student-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
}
.preview-student-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}
.preview-credits-chip {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  padding: 3px 9px;
  border-radius: 20px;
}

/* Stats row */
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.preview-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.preview-stat:last-child { border-right: none; }
.preview-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  letter-spacing: -0.02em;
}
.preview-stat-lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* College list */
.preview-colleges {
  padding: 10px 14px;
}
.preview-colleges-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.preview-college-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.preview-college-row:last-child { border-bottom: none; }
.preview-college-name { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 500; }
.preview-prob {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.preview-prob-low    { background: rgba(239,68,68,0.2);   color: #fca5a5; }
.preview-prob-mid    { background: rgba(245,158,11,0.2);  color: #fcd34d; }
.preview-prob-high   { background: rgba(16,185,129,0.2);  color: #6ee7b7; }

/* AI message at bottom */
.preview-ai-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(99,102,241,0.12);
  border-top: 1px solid rgba(99,102,241,0.2);
}
.preview-ai-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #6366f1;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}
.preview-ai-text {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.preview-ai-text strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* Floating chat card */
.preview-chat-card {
  bottom: 20px; left: 0;
  width: 270px;
  padding: 14px;
  animation: previewFloat 6s ease-in-out infinite 1.2s;
}
.preview-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.preview-chat-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #6366f1;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800;
  color: white;
}
.preview-chat-from {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.preview-chat-time {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.preview-chat-bubble {
  background: rgba(99,102,241,0.18);
  border-radius: 4px 12px 12px 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.preview-chat-bubble strong { color: rgba(255,255,255,0.95); }

/* Floating accepted badge */
.preview-accepted-badge {
  top: 140px; left: 10px;
  width: auto;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(5,150,105,0.9), rgba(16,185,129,0.85));
  border: 1px solid rgba(52,211,153,0.4);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5,150,105,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: previewFloat 6s ease-in-out infinite 0.6s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.preview-accepted-icon { font-size: 16px; }
.preview-accepted-text {
  display: flex;
  flex-direction: column;
}
.preview-accepted-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.preview-accepted-school {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

/* Float animation */
@keyframes previewFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TRUST / LOGOS BAR
   ══════════════════════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--color-slate-50);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-5) 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-8);
  flex-wrap: wrap;
}
.trust-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-logo-item {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-slate-400);
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.trust-logo-item:hover { color: var(--color-slate-600); }
.trust-sep {
  width: 1px;
  height: 20px;
  background: var(--border-default);
}

/* ══════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════════════════════ */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}
.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% / 2 + 24px);
  right: calc(33.33% / 2 + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-200), var(--color-primary-400), var(--color-primary-200));
  z-index: 0;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}
.how-step-number {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 2px solid var(--color-primary-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary-600);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-md), 0 0 0 6px var(--color-primary-50);
}
.how-step-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-800));
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-brand), 0 0 0 6px var(--color-primary-50);
}
.how-step-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}
.how-step-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.how-step-time {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-600);
  background: var(--color-primary-50);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FEATURES GRID (enhances layout.css base styles)
   ══════════════════════════════════════════════════════════════════════════════ */
.feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.fi-indigo   { background: linear-gradient(135deg, #6366f1, #4338ca); }
.fi-emerald  { background: linear-gradient(135deg, #10b981, #059669); }
.fi-amber    { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fi-rose     { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.fi-sky      { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.fi-violet   { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* ══════════════════════════════════════════════════════════════════════════════
   GRADE-LEVEL SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.grade-tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}
.grade-tab-btn {
  padding: var(--space-3) var(--space-6);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.grade-tab-btn:hover { border-color: var(--color-primary-300); color: var(--color-primary-700); }
.grade-tab-btn.is-active {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
  color: white;
  box-shadow: var(--shadow-brand);
}

.grade-panel { display: none; animation: fadeUp var(--transition-slow) ease; }
.grade-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }

.grade-panel-text {}
.grade-panel-kicker {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-primary-600);
  margin-bottom: var(--space-3);
}
.grade-panel-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.grade-panel-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}
.grade-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.grade-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.grade-feature-item svg { color: var(--color-primary-500); flex-shrink: 0; margin-top: 1px; }

/* Grade visual card */
.grade-panel-visual {
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.grade-milestone {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-primary-100);
}
.grade-milestone-grade {
  width: 40px; height: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-600);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: white;
  flex-shrink: 0;
}
.grade-milestone-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.grade-milestone-body {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ══════════════════════════════════════════════════════════════════════════════
   STATS SECTION (dark)
   ══════════════════════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  max-width: 900px;
  margin-inline: auto;
}
.stat-block {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-block:last-child { border-right: none; }
.stat-block-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-block-num span {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-block-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-normal);
}

/* ══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-8);
}
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}
.testimonial-card.is-featured {
  border-color: var(--color-primary-300);
  background: var(--color-primary-50);
}
.testimonial-quote-icon {
  color: var(--color-primary-300);
  width: 32px; height: 32px;
}
.testimonial-result-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--color-emerald-100);
  color: var(--color-emerald-800);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}
.testimonial-text strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
}
.testimonial-avatar-ring {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-400), var(--color-primary-600));
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--weight-bold);
  color: white;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.testimonial-context {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-amber-400);
  margin-bottom: var(--space-1);
}

/* ══════════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════════════════════════ */
.comparison-table-wrap {
  max-width: 860px;
  margin-inline: auto;
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}
.comparison-table thead th {
  background: var(--color-slate-900);
  color: white;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.comparison-table thead th.col-us {
  background: var(--color-primary-700);
  color: white;
  position: relative;
}
.comparison-table thead th.col-us::before {
  content: '★ Best Value';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-amber-400);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.comparison-table tbody tr {
  border-bottom: 1px solid var(--border-default);
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--color-slate-50); }
.comparison-table td.col-us { background: rgba(79,70,229,0.04); font-weight: var(--weight-semibold); }
.comp-check { color: var(--color-emerald-600); }
.comp-x     { color: var(--color-red-400); }
.comp-price { font-weight: var(--weight-bold); }
.comp-price-us { color: var(--color-primary-600); font-family: var(--font-display); font-size: var(--text-md); }

/* ══════════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════════════════ */
.faq-grid {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item:hover { border-color: var(--color-primary-200); }
.faq-item.is-open { border-color: var(--color-primary-300); box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question-text {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}
.faq-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.faq-item.is-open .faq-answer { display: block; animation: fadeDown var(--transition-base) ease; }
.faq-answer a { color: var(--color-primary-600); }

/* ══════════════════════════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.final-cta {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(99,102,241,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: var(--space-8);
}
.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
  color: white;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}
.final-cta-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}
.final-cta-disclaimer {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════════════════════════════════════════════
   AUTH MODAL SPECIFIC
   ══════════════════════════════════════════════════════════════════════════════ */
.auth-modal-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.auth-modal-logo-mark {
  width: 36px; height: 36px;
  background: var(--color-primary-600);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.auth-modal-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}
.auth-modal-headline {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}
.auth-modal-sub {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  background: white;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-4);
}
.btn-google:hover { border-color: var(--color-slate-400); box-shadow: var(--shadow-sm); }
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth-trial-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
  line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr 420px; }
  .hero-visual { width: 420px; height: 400px; }
  .preview-main { width: 300px; }
  .preview-chat-card { width: 230px; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-dark { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-disclaimer { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-visual { width: 100%; max-width: 480px; height: 380px; margin-inline: auto; }
  .how-it-works-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .how-it-works-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-dark { padding: 80px 0 60px; }
  .hero-headline { font-size: var(--text-3xl); }
  .grade-panel.is-active { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: var(--space-5); flex-direction: column; }
  .trust-logos { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-visual { height: 320px; }
  .preview-main { width: 260px; }
  .preview-chat-card { width: 200px; bottom: 10px; }
  .preview-accepted-badge { left: 0; }
  .final-cta { padding: var(--space-16) 0; }
}
@media (max-width: 480px) {
  .hero-visual { display: none; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
}
