/* ═══════════════════════════════════════════════════
   Reusable Landing Page Template v3
   Zero dependencies. Config-driven. Premium feel.
   Inspired by onboarding design system.
   ═══════════════════════════════════════════════════ */

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

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-rgb: 59, 130, 246;
  --bg: #0a0a0f;
  --bg-card: #10111a;
  --bg-glow: rgba(59, 130, 246, 0.08);
  --text: #e8e8ef;
  --text-muted: #8888a0;
  --text-headline: #ffffff;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Malgun Gothic', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Malgun Gothic', sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light Theme ──────────────────────────────────── */
:root.light {
  --bg: #f8f9fc;
  --bg-card: #ffffff;
  --bg-glow: rgba(59, 130, 246, 0.06);
  --text: #334155;
  --text-muted: #64748b;
  --text-headline: #0f172a;
  --border: rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  animation: page-enter 1s ease both;
  transition: opacity 0.15s ease;
}

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ── Scroll Progress Bar ──────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  z-index: 200;
  transition: width 0.1s linear;
  width: 0%;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5);
}

/* ── Particle Canvas ──────────────────────────────── */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ── Layout ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 120px 0;
  position: relative;
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease-spring);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-headline);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-logo .logo-accent {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg,
    var(--primary),
    #60a5fa,
    #38bdf8);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-gradient 4s ease-in-out infinite;
}

@keyframes logo-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  font-family: var(--font-body);
}

.nav-lang:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.06);
}

/* Language switch — stable width for all labels */
.nav-lang {
  min-width: 40px;
  text-align: center;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Hero glow pulse */
.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
}

/* Hero floating blobs (onboarding-style CSS particles) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12), transparent 70%);
  top: -5%;
  left: -8%;
  animation: blob-float 14s ease-in-out infinite;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation: blob-float 18s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06), transparent 70%);
  top: 40%;
  right: 15%;
  animation: blob-float 12s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -25px) scale(1.08); }
  50% { transform: translate(-15px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  background: rgba(var(--primary-rgb), 0.06);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  animation: badge-fade 0.8s var(--ease-spring);
  backdrop-filter: blur(8px);
}

@keyframes badge-fade {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  animation: hero-title 0.8s var(--ease-spring) 0.1s both;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #60a5fa 85%, #38bdf8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-title 0.8s var(--ease-spring) 0.1s both, headline-shimmer 6s ease-in-out infinite 1.5s;
  word-break: keep-all;
  text-wrap: balance;
}

@keyframes headline-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hero-title {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
  animation: hero-sub 0.8s var(--ease-spring) 0.25s both;
  word-break: keep-all;
  text-wrap: balance;
}

@keyframes hero-sub {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-btns 0.8s var(--ease-spring) 0.4s both;
}

@keyframes hero-btns {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero trust badges */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: hero-sub 0.8s var(--ease-spring) 0.28s both;
}

.trust-badge {
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Hero CTA micro-copy */
.hero-cta-micro {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 14px;
  letter-spacing: 0.02em;
  animation: hero-btns 0.8s var(--ease-spring) 0.5s both;
}

/* Product Hunt badge */
.hero-ph-badge {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  animation: hero-btns 0.8s var(--ease-spring) 0.6s both;
}
.hero-ph-badge a {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hero-ph-badge a:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.hero-ph-badge img {
  max-width: 250px;
  height: auto;
}

/* Hero social proof */
.hero-social-proof {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.7;
  letter-spacing: 0.02em;
  animation: hero-sub 0.8s var(--ease-spring) 0.3s both;
}

/* Hero audience tags */
.hero-audience {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: hero-sub 0.8s var(--ease-spring) 0.32s both;
}

.hero-audience-tag {
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(var(--primary-rgb), 0.04);
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.02em;
}

.hero-audience-tag:hover {
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.15);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2s ease-in-out infinite;
  opacity: 0.3;
  color: var(--text-muted);
  font-size: 1.2rem;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  border: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.3);
}

/* Inner shine (onboarding pattern) */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Shimmer sweep effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
  transition: none;
}

.btn-primary:hover::after {
  animation: btn-shimmer 0.6s ease;
}

@keyframes btn-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #1d4ed8);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.4);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text);
  transform: translateY(-3px);
  background: rgba(var(--primary-rgb), 0.04);
}

/* ── Section Shared ───────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--text-headline);
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
  word-break: keep-all;
  text-wrap: balance;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.6;
}

/* ── Pain Section ─────────────────────────────────── */
.pain {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}

.pain .section-title { margin-bottom: 64px; }

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

.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(239, 68, 68, 0.5);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.2);
  border-left-color: rgba(239, 68, 68, 0.8);
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(239, 68, 68, 0.05) inset;
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: rgba(239, 120, 120, 0.7);
}

.pain-icon svg {
  width: 24px;
  height: 24px;
}

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

/* ── Comparison Table ─────────────────────────────── */
.comparison {
  background: var(--bg-card);
}

.comparison .section-title { margin-bottom: 64px; }

.comparison-table {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(var(--primary-rgb), 0.05) inset;
  backdrop-filter: blur(8px);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 16px 24px;
  background: rgba(var(--primary-rgb), 0.06);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-header span:first-child {
  color: var(--text-muted);
}

.comparison-header .theirs-label {
  text-align: center;
  color: var(--text-muted);
  opacity: 0.85;
}

.comparison-header .ours-label {
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  font-size: 0.95rem;
}

.comparison-row:last-child { border-bottom: none; }

.comparison-row:hover {
  background: rgba(var(--primary-rgb), 0.03);
}

.comparison-row .feature-name {
  color: var(--text);
  font-weight: 500;
}

.comparison-row .cell {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-yes {
  color: #22c55e;
  font-weight: 700;
}

.cell-no {
  color: #ef4444;
  opacity: 0.5;
}

.cell-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cell-text-good {
  color: var(--primary);
  font-weight: 700;
}

/* Infinity symbol — the hero of the table */
.cell-infinity {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: infinity-pulse 3s ease-in-out infinite;
}

@keyframes infinity-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.theirs-note, .ours-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 4px;
  letter-spacing: 0;
  line-height: 1.5;
}

/* FilePilot comparison subtitle */
.comparison-pilot .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Ours column highlight */
.comparison-row .cell:last-child .cell-yes {
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}
.comparison-row .cell:last-child {
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.03);
}

.comparison-row .cell:nth-child(2) {
  opacity: 0.5;
}

/* Comparison disclaimer */
.comparison-disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Telemetry row — highlight the "ours = false" win */
.comparison-row:last-child .cell:last-child .cell-yes {
  color: #22c55e;
}

/* ── Features Section ─────────────────────────────── */
.features .section-title { margin-bottom: 64px; }

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

.feature-card {
  background: rgba(16, 17, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Top glow line */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Hover gradient overlay (onboarding pattern) */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--primary-rgb), 0.06) inset,
    0 0 40px rgba(var(--primary-rgb), 0.04);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--primary-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s var(--ease-spring);
  position: relative;
}

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

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg,
    rgba(var(--primary-rgb), 0.2),
    rgba(var(--primary-rgb), 0.08));
  transform: scale(1.08);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}

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

/* ── Persona Section ──────────────────────────────── */
.persona {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 50%, var(--bg) 100%);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.persona-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(var(--primary-rgb), 0.3);
  background: rgba(16, 17, 26, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.4s var(--ease-spring);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.persona-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.persona-card:hover {
  border-color: rgba(var(--primary-rgb), 0.15);
  border-left-color: rgba(var(--primary-rgb), 0.6);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(var(--primary-rgb), 0.04) inset;
}

.persona-card:hover::before {
  opacity: 1;
}

.persona-emoji {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.persona-emoji svg {
  width: 20px;
  height: 20px;
}

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

/* ── Stats Section ────────────────────────────────── */
.stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle top glow */
.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.stats .section-title { margin-bottom: 64px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  transition: transform 0.3s var(--ease-spring);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

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

/* Infinity stat — grand, animated */
.stat-infinity {
  font-size: clamp(3.5rem, 6vw, 5rem);
  animation: infinity-float 4s ease-in-out infinite;
}

@keyframes infinity-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Tech Stack ───────────────────────────────────── */
.tech-stack .section-title { margin-bottom: 48px; }

.tech-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(16, 17, 26, 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-spring);
}

.tech-pill:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tech-pill .tech-name {
  font-weight: 700;
  color: var(--text-headline);
  font-size: 0.95rem;
}

.tech-pill .tech-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Testimonials Carousel ────────────────────────── */
.testimonials {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s var(--ease-spring);
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-slide.prev {
  opacity: 0;
  transform: translateX(-40px);
}

/* Testimonial star ratings */
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.testimonial-slide blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text-headline);
  font-style: italic;
  line-height: 1.35;
  max-width: 700px;
  margin: 0 auto 24px;
  position: relative;
}

.testimonial-slide blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: -30px;
  left: -15px;
  font-style: normal;
  line-height: 1;
}

.testimonial-slide cite {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: normal;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

/* Onboarding-style expanding dots */
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(var(--primary-rgb), 0.2);
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  padding: 0;
}

.testimonial-dot:hover {
  background: rgba(var(--primary-rgb), 0.4);
}

.testimonial-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

/* ── FAQ Section ──────────────────────────────────── */
.faq .section-title { margin-bottom: 48px; }

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
  backdrop-filter: blur(4px);
}

.faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.15);
}

.faq-item.open {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  color: var(--text-headline);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.35s var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-spring);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Pricing Section ──────────────────────────────── */
.pricing {
  position: relative;
  overflow: hidden;
}

.pricing .section-title { margin-bottom: 16px; }

/* Early bird banner */
.pricing-early-bird {
  text-align: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  max-width: 420px;
  margin: 0 auto 40px;
  letter-spacing: 0.02em;
  animation: early-bird-pulse 3s ease-in-out infinite;
}

@keyframes early-bird-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.1); }
  50% { box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.08); }
}

/* Original (strikethrough) price */
.pricing-original {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 4px;
  font-weight: 600;
}

/* Guarantee text */
.pricing-guarantee {
  text-align: center;
  margin-top: 40px;
  padding: 14px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.12);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: rgba(16, 17, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-spring);
  backdrop-filter: blur(8px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.15);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--primary-rgb), 0.06) inset;
}

/* Highlighted (recommended) plan */
.pricing-highlight {
  border-color: rgba(var(--primary-rgb), 0.4);
  background: rgba(16, 17, 26, 0.95);
  box-shadow:
    0 8px 40px rgba(var(--primary-rgb), 0.15),
    0 0 0 1px rgba(var(--primary-rgb), 0.1) inset;
  transform: scale(1.04);
  z-index: 1;
}

.pricing-highlight:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 20px 60px rgba(var(--primary-rgb), 0.2),
    0 0 0 1px rgba(var(--primary-rgb), 0.15) inset;
}

/* Top glow on highlighted */
.pricing-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #38bdf8);
  border-radius: var(--radius) var(--radius) 0 0;
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  width: 100%;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-cta-secondary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.8;
}
.pricing-cta-secondary:hover {
  opacity: 1;
}

/* ── Final CTA ────────────────────────────────────── */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 1000px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.08) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hero-pulse 5s ease-in-out infinite;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-headline);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.final-urgency {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

/* Final CTA value recap */
.final-value-recap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.recap-item {
  font-weight: 600;
  color: var(--text);
}

.recap-sep {
  opacity: 0.3;
}

/* Countdown days in early bird */
.countdown-days {
  font-weight: 800;
  color: #fbbf24;
}

/* Final CTA button pulse (onboarding finish pattern) */
.final-cta .btn-primary {
  animation: final-cta-pulse 2.5s ease-in-out infinite;
}

@keyframes final-cta-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.3); }
  50% { box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.5); }
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}

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

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

.footer-built {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-style: italic;
  opacity: 0.6;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.4;
}

/* ── Scroll Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s var(--ease-spring);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 60ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 120ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 180ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 360ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 420ms; opacity: 1; transform: translateY(0); }

/* ── Screenshot / Demo Section ─────────────────────── */
.showcase {
  text-align: center;
  overflow: hidden;
}

.showcase .section-title { margin-bottom: 20px; }

.showcase-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.showcase-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(var(--primary-rgb), 0.06) inset,
    0 0 60px rgba(var(--primary-rgb), 0.04);
  position: relative;
  transition: all 0.4s var(--ease-spring);
}

.showcase-frame:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(var(--primary-rgb), 0.1) inset,
    0 0 80px rgba(var(--primary-rgb), 0.08);
}

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

.showcase-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.showcase-dot:nth-child(1) { background: #ff5f56; }
.showcase-dot:nth-child(2) { background: #ffbd2e; }
.showcase-dot:nth-child(3) { background: #27c93f; }

.showcase-titlebar span {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.showcase-body {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 50%, rgba(var(--primary-rgb), 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  opacity: 0.5;
}

.showcase-placeholder-icon {
  font-size: 3rem;
}

/* ── Cursor Glow ──────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.visible {
  opacity: 1;
}

/* ── Countup Animation ────────────────────────────── */
.stat-value.counting {
  transition: none;
}

/* ── Section Divider ──────────────────────────────── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 0 auto 48px;
  border-radius: 2px;
}

/* ── Section Labels ("01", "02") ──────────────────── */
.section-label {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 16px;
}

/* ── Grid Background Texture ─────────────────────── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 100%);
}

/* ── Animated File Explorer Mockup ───────────────── */
.mock-explorer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0c0c14;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  color: #c8c8d8;
  text-align: left;
  user-select: none;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  height: 36px;
  background: #111119;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.mock-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px 6px 0 0;
  font-size: 11px;
  font-weight: 500;
  color: #666680;
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.mock-tab.active {
  background: #0c0c14;
  color: #e0e0ef;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid #0c0c14;
  margin-bottom: -1px;
}

.mock-tab-icon {
  font-size: 12px;
  opacity: 0.6;
}

.mock-tab-plus {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666680;
  font-size: 14px;
  border-radius: 4px;
}

.mock-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 11px;
  color: #666680;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.mock-breadcrumb span {
  color: #888899;
}

.mock-breadcrumb .mock-bc-active {
  color: var(--primary);
  font-weight: 600;
}

.mock-dual-pane {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mock-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mock-pane:first-child {
  border-right: 1px solid rgba(255,255,255,0.04);
}

.mock-pane-header {
  display: grid;
  grid-template-columns: 1fr 70px 80px;
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 600;
  color: #555568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.mock-file-list {
  flex: 1;
  overflow: hidden;
}

.mock-file {
  display: grid;
  grid-template-columns: 1fr 70px 80px;
  padding: 7px 16px;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  transition: all 0.15s;
  cursor: default;
  opacity: 0;
  transform: translateY(8px);
  animation: mock-file-in 0.35s var(--ease-spring) forwards;
}

.mock-file:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.mock-file.selected {
  background: rgba(var(--primary-rgb), 0.1);
  border-left: 2px solid var(--primary);
  padding-left: 14px;
}

.mock-file.selected .mock-file-name {
  color: #ffffff;
}

@keyframes mock-file-in {
  to { opacity: 1; transform: translateY(0); }
}

.mock-file-icon {
  margin-right: 8px;
  font-size: 13px;
  display: inline;
}

.mock-file-name {
  color: #c8c8d8;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-file .mock-file-size,
.mock-file .mock-file-date {
  color: #555568;
  font-size: 10.5px;
}

.mock-statusbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 16px;
  font-size: 10px;
  color: #555568;
  background: #0a0a12;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.mock-statusbar .mock-status-accent {
  color: var(--primary);
  font-weight: 600;
}

/* Animated selection cursor */
.mock-cursor-blink {
  animation: mock-blink 1.5s ease-in-out infinite;
}

@keyframes mock-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Preview pane */
.mock-preview {
  flex: 0 0 35%;
  border-left: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(var(--primary-rgb), 0.02);
}

.mock-preview-icon {
  font-size: 48px;
  opacity: 0.3;
}

@keyframes mock-preview-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

.mock-preview-name {
  font-size: 12px;
  font-weight: 600;
  color: #e0e0ef;
}

.mock-preview-meta {
  font-size: 10px;
  color: #555568;
}

/* Tags in mockup */
.mock-tag {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Focus States (accessibility, onboarding pattern) ─ */
.btn:focus-visible,
.nav-lang:focus-visible,
.faq-question:focus-visible,
.testimonial-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Hero Brand Name ─────────────────────────────── */
.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  /* Gradient text — vivid + wide spectrum */
  background: linear-gradient(
    90deg,
    #3b82f6 0%,
    #a78bfa 15%,
    #38bdf8 30%,
    #f472b6 45%,
    #60a5fa 60%,
    #818cf8 75%,
    #22d3ee 90%,
    #3b82f6 100%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Glow — stronger */
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.6))
          drop-shadow(0 0 80px rgba(99, 102, 241, 0.3));
  /* Animations: entrance + fast gradient + glow pulse */
  animation:
    hero-brand-enter 0.8s var(--ease-spring) 0.05s both,
    brand-gradient-flow 6s linear infinite 0.8s,
    brand-glow-pulse 2.5s ease-in-out infinite 1s;
}

@keyframes hero-brand-enter {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(10px);
    filter: drop-shadow(0 0 0 rgba(59, 130, 246, 0));
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4))
            drop-shadow(0 0 60px rgba(59, 130, 246, 0.15));
  }
}

@keyframes brand-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes brand-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.6))
            drop-shadow(0 0 80px rgba(99, 102, 241, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.9))
            drop-shadow(0 0 120px rgba(99, 102, 241, 0.5));
  }
}

/* ── Mockup SVG icon sizing ──────────────────────── */
.mock-file-icon svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  opacity: 0.5;
}

.mock-file.selected .mock-file-icon svg,
.mock-file:hover .mock-file-icon svg {
  opacity: 0.8;
}

.mock-tab-icon svg {
  width: 12px;
  height: 12px;
  vertical-align: -1px;
}

.mock-preview-icon svg {
  width: 56px;
  height: 56px;
  opacity: 0.3;
  animation: mock-preview-pulse 3s ease-in-out infinite;
}

.mock-statusbar svg {
  width: 11px;
  height: 11px;
  vertical-align: -1px;
  display: inline;
}

/* Mock file icons: folders = warm, files = muted */
.mock-file-icon { color: #666680; }
.mock-file.is-folder .mock-file-icon { color: #c4a35a; }

/* ── Light Theme Overrides ────────────────────────── */
:root.light .nav {
  background: rgba(248, 249, 252, 0.85);
}
:root.light .nav.scrolled {
  background: rgba(248, 249, 252, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}
:root.light .scroll-progress {
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3);
}
:root.light .hero::before {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
}
:root.light .hero-blob-1 {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.07), transparent 70%);
}
:root.light .hero-blob-2 {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent 70%);
}
:root.light .hero-blob-3 {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04), transparent 70%);
}
:root.light .hero-brand {
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 20%, #0ea5e9 40%, #6366f1 60%, #3b82f6 80%, #2563eb 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.3))
          drop-shadow(0 0 40px rgba(37, 99, 235, 0.1));
}
:root.light .hero h1 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2563eb 85%, #3b82f6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
:root.light .hero-audience-tag {
  background: rgba(var(--primary-rgb), 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}
:root.light .hero-audience-tag:hover {
  background: rgba(var(--primary-rgb), 0.08);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.1);
}
:root.light .btn-primary {
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.2);
}
:root.light .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.25);
}
:root.light .btn-ghost {
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-muted);
}
:root.light .pain-card {
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root.light .pain-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
:root.light .pain-icon {
  background: rgba(239, 68, 68, 0.06);
}
:root.light .comparison {
  background: var(--bg);
}
:root.light .comparison-table {
  background: var(--bg-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
:root.light .feature-card {
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root.light .feature-card:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}
:root.light .feature-icon {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.03));
}
:root.light .persona-card {
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root.light .persona-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
:root.light .stats {
  background: var(--bg-card);
  border-color: var(--border);
}
:root.light .stat-value {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
:root.light .tech-pill {
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root.light .faq-question {
  background: var(--bg-card);
}
:root.light .faq-item.open {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
:root.light .testimonial-slide blockquote::before {
  opacity: 0.1;
}
:root.light .pricing-card {
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
:root.light .pricing-card:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}
:root.light .pricing-highlight {
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.1);
}
:root.light .pricing-highlight:hover {
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.14);
}
:root.light .pricing-amount {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
:root.light .pricing-early-bird {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
}
:root.light .pricing-guarantee {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.1);
}
:root.light .final-urgency {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
}
:root.light .trust-badge {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.12);
}
:root.light .comparison-disclaimer {
  opacity: 0.4;
}
:root.light .recap-item {
  color: var(--text-headline);
}
:root.light .final-cta::before {
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.05) 0%, transparent 65%);
}
:root.light .footer {
  border-color: var(--border);
}
:root.light .cursor-glow {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
}
:root.light .grid-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}
:root.light .showcase-frame {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.1);
}
:root.light .showcase-frame:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.14);
}
:root.light .showcase-titlebar {
  background: rgba(0, 0, 0, 0.03);
}
:root.light .mock-explorer {
  background: #f1f3f8;
  color: #334155;
}
:root.light .mock-toolbar {
  background: #e8ebf0;
}
:root.light .mock-tab { color: #94a3b8; }
:root.light .mock-tab.active {
  background: #f1f3f8;
  color: #1e293b;
  border-color: rgba(0,0,0,0.08);
  border-bottom-color: #f1f3f8;
}
:root.light .mock-file.selected {
  background: rgba(var(--primary-rgb), 0.08);
}
:root.light .mock-pane:first-child {
  border-right-color: rgba(0,0,0,0.06);
}
:root.light .mock-pane-header {
  color: #94a3b8;
  border-bottom-color: rgba(0,0,0,0.06);
}
:root.light .mock-file {
  border-bottom-color: rgba(0,0,0,0.03);
}
:root.light .mock-file-name { color: #334155; }
:root.light .mock-file .mock-file-size,
:root.light .mock-file .mock-file-date { color: #94a3b8; }
:root.light .mock-statusbar {
  background: #e8ebf0;
  color: #94a3b8;
  border-top-color: rgba(0,0,0,0.06);
}
:root.light .mock-breadcrumb {
  color: #94a3b8;
  border-bottom-color: rgba(0,0,0,0.04);
}
:root.light .mock-breadcrumb span { color: #64748b; }
:root.light .mock-preview {
  background: rgba(var(--primary-rgb), 0.02);
  border-left-color: rgba(0,0,0,0.06);
}
:root.light .mock-preview-name { color: #1e293b; }
:root.light .mock-preview-meta { color: #94a3b8; }
:root.light .mock-file-icon { color: #94a3b8; }
:root.light .mock-file.is-folder .mock-file-icon { color: #d97706; }

/* Theme toggle button */
.nav-theme {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
.nav-theme:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.06);
}
.nav-theme svg {
  width: 16px;
  height: 16px;
}
.nav-theme:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Mobile Sticky CTA Bar ───────────────────────── */
.mobile-sticky-cta {
  display: none;
}

/* ── Footer Legal Links ──────────────────────────── */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-legal a:hover {
  opacity: 0.8;
  color: var(--text);
}

/* ── Prefers Reduced Motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-blob,
  #particles { display: none !important; }
  .cursor-glow { display: none !important; }
  .scroll-progress { transition: none !important; }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .section-title { margin-bottom: 16px; }
  .section-subtitle { margin-bottom: 48px; }
  .pain-grid, .features-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .nav-tagline { display: none; }
  /* Mobile: compact CTA instead of hiding */
  .nav-cta {
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 6px;
  }
  .hero-trust-badges { gap: 8px; }
  .trust-badge { font-size: 0.7rem; padding: 3px 10px; }
  .comparison-table { font-size: 0.85rem; }
  .comparison-header, .comparison-row { padding: 12px 16px; }
  .tech-grid { gap: 12px; }
  .tech-pill { padding: 10px 18px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-highlight { transform: none; }
  .pricing-highlight:hover { transform: translateY(-6px); }
  .final-cta { padding: 100px 0; }
  .hero-blob { display: none; }
  .mock-preview { display: none; }
  .mock-pane-header { grid-template-columns: 1fr 60px; }
  .mock-file { grid-template-columns: 1fr 60px; }
  .mock-file .mock-file-date { display: none; }
  .mock-breadcrumb { font-size: 10px; }
  .section-label { font-size: 0.65rem; }

  /* Mobile: value recap & urgency */
  .final-value-recap { font-size: 0.75rem; gap: 6px; }
  .final-urgency { font-size: 0.78rem; padding: 6px 16px; }
  .pricing-early-bird { font-size: 0.8rem; padding: 8px 16px; max-width: 100%; }
  .countdown-days { display: block; margin-top: 4px; }
  .comparison-disclaimer { font-size: 0.7rem; padding: 0 16px; }
  .hero-cta-micro { font-size: 0.72rem; }
  .footer-legal { gap: 14px; }
  .footer-legal a { font-size: 0.72rem; }

  /* Mobile sticky CTA bar */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  }
  :root.light .mobile-sticky-cta {
    background: rgba(248, 249, 252, 0.95);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.06);
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  .mobile-sticky-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* Add bottom padding to footer so sticky bar doesn't overlap */
  .footer { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .tech-grid { flex-direction: column; align-items: center; }
  .comparison-header span:first-child { font-size: 0; }
  .nav-cta { padding: 5px 10px; font-size: 0.7rem; }
  .hero-trust-badges { gap: 6px; }
  .trust-badge { font-size: 0.65rem; padding: 2px 8px; }
  .hero-audience-tag { padding: 4px 12px; font-size: 0.75rem; }
  .final-value-recap { flex-direction: column; gap: 4px; }
  .recap-sep { display: none; }
  .mobile-sticky-btn { padding: 12px 20px; font-size: 0.88rem; }
}
