/* ══════════════════════════════════════════════
   ShiftWorth Landing — Polished Design System
   ══════════════════════════════════════════════ */

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

:root {
  /* Brand */
  --teal: #0fb86b;
  --teal-dark: #0a9956;
  --teal-darker: #087a45;
  --teal-light: #e6faf0;
  --teal-glow: rgba(15, 184, 107, 0.25);

  /* Dark surfaces */
  --navy: #0a1628;
  --navy-light: #111d33;
  --navy-mid: #1a2940;

  /* Neutral scale (Slate) */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --red: #ef4444;
  --red-light: #fef2f2;
  --amber: #f59e0b;
  --amber-light: #fffbeb;
  --purple: #8b5cf6;
  --purple-light: #f3e8ff;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --green: #22c55e;
  --green-light: #f0fdf4;

  /* Radius (consistent scale) */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --shadow-teal: 0 8px 24px -4px rgba(15, 184, 107, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;

  /* Spacing scale (8px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: 760px; }

/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
}
h3 { font-size: 1.2rem; font-weight: 650; }
p { line-height: 1.7; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9375rem;
  background: var(--teal); color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  text-align: center; justify-content: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}
.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.btn-outline {
  background: transparent; color: var(--gray-700);
  border-color: var(--gray-200);
}
.btn-outline::after { display: none; }
.btn-outline:hover {
  border-color: var(--teal); color: var(--teal);
  background: var(--teal-light); box-shadow: var(--shadow-md);
}
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }

@media (min-width: 640px) {
  .btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
}

/* ── Navigation ──────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-slow) var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: var(--gray-200);
  padding: var(--space-3) 0;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: var(--space-3);
  font-weight: 700; font-size: 1.125rem; color: var(--gray-900);
  transition: opacity var(--duration-fast);
}
.logo:hover { opacity: 0.8; }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links { display: flex; gap: var(--space-8); }
.nav-links a {
  font-size: 0.875rem; color: var(--gray-500);
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
  padding: var(--space-1) 0;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--teal); border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { width: 100%; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: var(--space-2); min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn span {
  width: 20px; height: 2px; background: var(--gray-700);
  border-radius: 2px; transition: all var(--duration) var(--ease-out);
  display: block;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 100px var(--space-8) var(--space-8);
  flex-direction: column; gap: var(--space-4);
  opacity: 0; transform: translateY(-8px);
  transition: all var(--duration) var(--ease-out);
}
.mobile-menu.active {
  display: flex; opacity: 1; transform: translateY(0);
}
.mobile-menu a {
  font-size: 1.25rem; padding: var(--space-3) 0;
  font-weight: 600; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--duration-fast);
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn {
  margin-top: var(--space-4);
  width: 100%;
}

@media (max-width: 768px) {
  .nav-links, .nav > .container > .btn { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  padding: 160px 0 var(--space-24);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15,184,107,0.04) 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--teal-light); color: var(--teal-dark);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.8125rem; font-weight: 600;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(15,184,107,0.15);
}
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #06b6d4 50%, var(--teal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-subtitle {
  font-size: 1.125rem; color: var(--gray-500);
  margin-top: var(--space-5); max-width: 500px;
  line-height: 1.75;
}
.hero-subtitle strong { color: var(--gray-800); font-weight: 600; }
.hero-actions { display: flex; gap: var(--space-3); margin-top: var(--space-8); flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: var(--space-6); margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-size: 1.5rem; font-weight: 800; color: var(--gray-900);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; }
.stat-divider { width: 1px; background: var(--gray-200); }

/* Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup { position: relative; z-index: 2; }
.phone-frame {
  width: 280px; padding: 10px;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 40px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 50px 100px -20px rgba(10,22,40,0.35),
    0 30px 60px -30px rgba(10,22,40,0.3);
  position: relative;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000; border-radius: 0 0 18px 18px;
  z-index: 10;
}
.phone-notch::before {
  content: ''; position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 6px;
  background: #1a1a2e; border-radius: 3px;
}
.phone-screen {
  border-radius: 30px; overflow: hidden;
  background: var(--navy);
  position: relative;
}

.mock-app { padding: 48px 16px 24px; min-height: 480px; }
.mock-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 8px; margin-bottom: 16px; font-size: 0.6875rem;
  color: rgba(255,255,255,0.6); font-weight: 600;
}
.mock-header {
  text-align: center; color: #fff;
  font-weight: 600; font-size: 1rem;
  margin-bottom: var(--space-5);
}
.mock-card {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(26,41,64,0.8) 100%);
  border-radius: var(--radius-lg); padding: var(--space-5);
  text-align: center; margin-bottom: var(--space-4);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.mock-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.mock-label {
  font-size: 0.6875rem; color: var(--purple);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mock-amount {
  font-size: 2.75rem; font-weight: 800; color: #fff;
  margin: var(--space-1) 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mock-sublabel { font-size: 0.75rem; color: var(--gray-400); }
.mock-breakdown {
  background: rgba(26,41,64,0.6);
  border-radius: var(--radius);
  padding: var(--space-4);
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: 0.8125rem; color: var(--gray-400);
}
.mock-row.highlight { color: rgba(255,255,255,0.85); }
.mock-row .green { color: var(--teal); font-weight: 600; }
.mock-divider { height: 1px; background: rgba(255,255,255,0.06); margin: var(--space-1) 0; }
.mock-row.total {
  font-weight: 700; color: #fff; font-size: 0.875rem;
  padding-top: var(--space-2);
}

.hero-glow {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1; pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Hero decoration dots */
.hero-dots {
  position: absolute; z-index: 0; pointer-events: none;
}
.hero-dots.left { top: 20%; left: -2%; }
.hero-dots.right { bottom: 10%; right: -2%; }
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-200); position: absolute;
}

@media (max-width: 900px) {
  .hero { padding: 130px 0 var(--space-16); }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: var(--space-8); }
  .phone-frame { width: 250px; }
  .mock-amount { font-size: 2.25rem; }
  .mock-app { min-height: 420px; }
}
@media (max-width: 480px) {
  .hero { padding: 120px 0 var(--space-12); }
  .hero-stats { flex-direction: column; gap: var(--space-4); align-items: center; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* ── Problem ─────────────────────────────────── */
.problem { padding: var(--space-24) 0; }
.problem-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 1px solid #fecdd3;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8); text-align: center;
  max-width: 800px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(239,68,68,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.problem-icon { margin-bottom: var(--space-5); position: relative; }
.problem-card h2 {
  margin-bottom: var(--space-4); color: var(--gray-900);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  position: relative;
}
.problem-card p {
  color: var(--gray-600); font-size: 1.0625rem;
  line-height: 1.8; max-width: 580px; margin: 0 auto;
  position: relative;
}
.problem-card strong { color: var(--red); font-weight: 600; }

@media (max-width: 600px) {
  .problem-card { padding: var(--space-8) var(--space-6); }
}

/* ── Section Headers ─────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header p {
  color: var(--gray-500); font-size: 1.0625rem;
  margin-top: var(--space-3); max-width: 500px;
  margin-left: auto; margin-right: auto;
}

/* ── Features ────────────────────────────────── */
.features { padding: var(--space-24) 0; background: var(--gray-50); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--gray-200);
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.feature-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  transition: transform var(--duration) var(--ease-spring);
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.1); }
.feature-icon-wrap.teal { background: var(--teal-light); color: var(--teal); }
.feature-icon-wrap.purple { background: var(--purple-light); color: var(--purple); }
.feature-icon-wrap.red { background: var(--red-light); color: var(--red); }
.feature-icon-wrap.amber { background: var(--amber-light); color: var(--amber); }
.feature-icon-wrap.blue { background: var(--blue-light); color: var(--blue); }
.feature-icon-wrap.green { background: var(--green-light); color: var(--green); }

.feature-card h3 { margin-bottom: var(--space-2); }
.feature-card p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.65; }
.feature-tag {
  display: inline-block; margin-top: var(--space-4);
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--teal-light); color: var(--teal-dark);
}
.feature-tag.pro {
  background: var(--amber-light); color: #b45309;
  border: 1px solid rgba(245,158,11,0.2);
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .feature-card { padding: var(--space-6); }
}

/* ── How It Works ────────────────────────────── */
.how-it-works { padding: var(--space-24) 0; }
.steps {
  max-width: 580px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.step { display: flex; gap: var(--space-6); align-items: flex-start; }
.step-number {
  flex-shrink: 0; width: 52px; height: 52px;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem;
  box-shadow: var(--shadow-teal);
  transition: transform var(--duration) var(--ease-spring);
}
.step:hover .step-number { transform: scale(1.1); }
.step-content { padding-top: var(--space-2); }
.step-content h3 { margin-bottom: var(--space-1); font-size: 1.125rem; }
.step-content p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.6; }
.step-connector {
  width: 2px; height: 40px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--gray-200) 100%);
  margin-left: 25px;
}

/* ── Trust ────────────────────────────────────── */
.trust {
  padding: var(--space-24) 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.trust::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(15,184,107,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
  position: relative;
}
.trust-card {
  text-align: center; padding: var(--space-8);
  border-radius: var(--radius-lg);
  transition: background var(--duration);
}
.trust-card:hover { background: rgba(255,255,255,0.03); }
.trust-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--teal);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.trust-text { color: var(--gray-400); font-size: 0.9375rem; line-height: 1.5; }

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .trust-card { padding: var(--space-6); }
}

/* ── Comparison ──────────────────────────────── */
.comparison { padding: var(--space-24) 0; background: var(--gray-50); }
.comparison-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}
.comparison-table {
  width: 100%; border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-width: 600px;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left; font-size: 0.9375rem;
}
.comparison-table thead th {
  background: var(--gray-50);
  font-weight: 600; color: var(--gray-700);
  border-bottom: 2px solid var(--gray-200);
  font-size: 0.875rem;
}
.comparison-table tbody tr { transition: background var(--duration-fast); }
.comparison-table tbody tr:hover { background: var(--gray-50); }
.comparison-table tbody td {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .highlight-col { background: rgba(15,184,107,0.04); }
.comparison-table thead .highlight-col {
  background: var(--teal); color: #fff; font-weight: 700;
}
.comparison-table tbody tr:hover .highlight-col { background: rgba(15,184,107,0.08); }
.check { color: var(--teal); font-weight: 700; font-size: 1.125rem; }
.cross { color: var(--gray-300); font-size: 1.125rem; }

/* ── Testimonial ─────────────────────────────── */
.testimonial {
  padding: var(--space-24) 0;
  background: #fff;
}
.testimonial-inner {
  max-width: 680px; margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  position: relative;
  padding: 0 var(--space-8);
}
.testimonial-quote::before {
  content: '\201C';
  position: absolute; top: -20px; left: 0;
  font-size: 4rem; color: var(--teal-light);
  font-family: Georgia, serif; font-style: normal;
  line-height: 1;
}
.testimonial-attribution {
  margin-top: var(--space-6);
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--teal); font-size: 1.125rem;
}
.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--gray-400); }

/* ── Pricing ─────────────────────────────────── */
.pricing { padding: var(--space-24) 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6); max-width: 780px; margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center; position: relative;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--teal);
}
.pricing-card.featured:hover {
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--teal), var(--shadow-teal);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal); color: #fff;
  padding: 5px 18px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-teal);
}
.pricing-tier {
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-500); text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-amount {
  font-size: 3.5rem; font-weight: 800; color: var(--gray-900);
  margin: var(--space-2) 0 var(--space-1);
  letter-spacing: -0.02em;
}
.pricing-period {
  color: var(--gray-400); font-size: 0.875rem;
  margin-bottom: var(--space-6);
}
.pricing-features {
  list-style: none; text-align: left;
  margin-bottom: var(--space-8);
}
.pricing-features li {
  padding: var(--space-2) 0; font-size: 0.9375rem;
  color: var(--gray-600); display: flex; gap: var(--space-3);
  align-items: center;
}
.pricing-features .check { font-size: 0.875rem; flex-shrink: 0; }
.pricing-card .btn { width: 100%; }

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--space-8) var(--space-6); }
}

/* ── FAQ ──────────────────────────────────────── */
.faq { padding: var(--space-24) 0; background: var(--gray-50); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-sm);
}
.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 600; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between;
  align-items: center; gap: var(--space-4);
  font-size: 0.9375rem; color: var(--gray-800);
  transition: color var(--duration-fast);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.faq-item summary:hover { color: var(--teal-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out);
  color: var(--gray-400);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--teal); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--gray-500); line-height: 1.75; font-size: 0.9375rem;
}

/* ── CTA ─────────────────────────────────────── */
.cta {
  padding: var(--space-24) 0;
  background: var(--navy);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(15,184,107,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-content > p {
  color: var(--gray-400); font-size: 1.0625rem;
  margin-bottom: var(--space-8);
}

/* App Store Badge */
.app-store-badge {
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: #000; color: #fff;
  padding: 12px 28px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--duration) var(--ease-out);
  font-size: 0.9375rem;
}
.app-store-badge:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.app-store-badge:active { transform: translateY(0); }
.badge-icon { display: flex; align-items: center; }
.badge-text { text-align: left; line-height: 1.2; }
.badge-text-sm { font-size: 0.625rem; font-weight: 400; display: block; opacity: 0.8; }
.badge-text-lg { font-size: 1.125rem; font-weight: 600; display: block; letter-spacing: 0.01em; }

.cta-note {
  margin-top: var(--space-5); font-size: 0.8125rem; color: var(--gray-500);
}

/* ── Footer ──────────────────────────────────── */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  display: flex; justify-content: space-between;
  gap: var(--space-10); margin-bottom: var(--space-10);
}
.footer-brand p {
  color: var(--gray-400); font-size: 0.875rem;
  margin-top: var(--space-3); max-width: 280px; line-height: 1.6;
}
.footer-links { display: flex; gap: var(--space-16); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-400);
  font-weight: 600; margin-bottom: var(--space-1);
}
.footer-col a {
  font-size: 0.9375rem; color: var(--gray-500);
  transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-bottom p { font-size: 0.8125rem; color: var(--gray-400); }
.disclaimer { font-size: 0.75rem !important; max-width: 480px; line-height: 1.5; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: var(--space-8); }
  .footer-links { gap: var(--space-10); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Scroll Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 50ms; }
.reveal-delay-2 { transition-delay: 100ms; }
.reveal-delay-3 { transition-delay: 150ms; }
.reveal-delay-4 { transition-delay: 200ms; }
.reveal-delay-5 { transition-delay: 250ms; }
.reveal-delay-6 { transition-delay: 300ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Legal Pages ─────────────────────────────── */
.legal-page {
  padding: 140px 0 var(--space-20);
  min-height: 100vh;
}
.legal-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-2);
}
.legal-updated {
  color: var(--gray-400); font-size: 0.875rem;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
}
.legal-page h2 {
  font-size: 1.25rem; margin: var(--space-10) 0 var(--space-3);
  padding-top: var(--space-4);
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 {
  font-size: 1.0625rem; margin: var(--space-6) 0 var(--space-2);
}
.legal-page p {
  color: var(--gray-600); line-height: 1.8; font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}
.legal-page p:last-child { margin-bottom: 0; }
.legal-page ul, .legal-page ol {
  padding-left: var(--space-6); margin: var(--space-3) 0 var(--space-4);
}
.legal-page li {
  color: var(--gray-600); line-height: 1.75;
  font-size: 0.9375rem; margin-bottom: var(--space-2);
}
.legal-page a { color: var(--teal); font-weight: 500; }
.legal-page a:hover { text-decoration: underline; }
.legal-page strong { color: var(--gray-800); font-weight: 600; }

.legal-highlight {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}
.legal-highlight p { color: var(--gray-700); margin-bottom: 0; }

.support-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-6) 0;
}
.support-card h3 { margin-bottom: var(--space-2); margin-top: 0; }
.support-card p { margin-bottom: 0; }
