/* =============================================================
   MintFileRecovery — Landing Page Styles
   Author: Mavis · 2026
   ============================================================= */

/* ---------------- Design tokens ---------------- */
:root {
  /* Mint brand */
  --mint-50:  #E6FBF5;
  --mint-100: #B8F0E0;
  --mint-200: #80E5C8;
  --mint-300: #4FD9B0;
  --mint-400: #26D49E;
  --mint-500: #00D4A0;   /* primary */
  --mint-600: #00A87F;
  --mint-700: #007A5C;
  --mint-800: #005542;
  --mint-900: #003828;

  /* Status */
  --orange-500: #F4506E;
  --orange-600: #D03A57;
  --amber-500:  #F5B544;
  --emerald-500: #10D87E;

  /* Surfaces */
  --bg-950: #050810;
  --bg-900: #0A0F14;
  --bg-800: #0F1620;
  --bg-700: #131C28;
  --bg-600: #1A2535;

  /* Text */
  --text-50:  #F8FAFC;
  --text-100: #F1F5F9;
  --text-200: #E2E8F0;
  --text-300: #CBD5E1;
  --text-400: #94A3B8;
  --text-500: #64748B;
  --text-600: #475569;
  --text-700: #334155;

  /* Borders */
  --border-100: rgba(255, 255, 255, 0.04);
  --border-200: rgba(255, 255, 255, 0.08);
  --border-300: rgba(255, 255, 255, 0.12);
  --border-mint: rgba(0, 212, 160, 0.30);

  /* Type scale */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  30px;
  --text-4xl:  40px;
  --text-5xl:  56px;
  --text-6xl:  72px;
  --text-7xl:  96px;

  /* Spacing scale (4px base) */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-7:  28px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-30: 120px;
  --s-40: 160px;

  /* Radius */
  --r-xs:  4px;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.6);
  --shadow-mint: 0 0 32px rgba(0, 212, 160, 0.25);
  --shadow-mint-lg: 0 8px 40px rgba(0, 212, 160, 0.35);

  /* Gradients */
  --grad-mint:    linear-gradient(135deg, #00D4A0 0%, #14B8A6 100%);
  --grad-aurora:  linear-gradient(135deg, #00D4A0 0%, #F5B544 50%, #F4506E 100%);
  --grad-text:    linear-gradient(135deg, #4FD9B0 0%, #00D4A0 50%, #14B8A6 100%);
  --grad-bg:      radial-gradient(at 0% 0%, rgba(0,212,160,0.08) 0px, transparent 50%),
                  radial-gradient(at 100% 100%, rgba(245,181,68,0.05) 0px, transparent 50%);
  --grad-mesh:    radial-gradient(at 20% 0%, rgba(0,212,160,0.18) 0px, transparent 40%),
                  radial-gradient(at 80% 0%, rgba(245,181,68,0.10) 0px, transparent 40%),
                  radial-gradient(at 50% 100%, rgba(244,80,110,0.10) 0px, transparent 50%);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-w: 1280px;
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-200);
  background: var(--bg-950);
  background-image: var(--grad-bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--mint-500); color: var(--bg-950); }

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

/* ---------------- Layout primitives ---------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (min-width: 768px) { .container { padding: 0 var(--s-8); } }

.section {
  padding: var(--s-20) 0;
  position: relative;
}
@media (min-width: 768px) { .section { padding: var(--s-30) 0; } }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  background: rgba(0, 212, 160, 0.08);
  border: 1px solid var(--border-mint);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--mint-300);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-4);
}
.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--mint-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint-500);
}
.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-50);
  margin-bottom: var(--s-4);
  max-width: 720px;
}
@media (min-width: 768px) { .section-title { font-size: var(--text-5xl); } }
.section-sub {
  font-size: var(--text-lg);
  color: var(--text-400);
  max-width: 640px;
  line-height: 1.6;
}
.section-head { text-align: center; margin: 0 auto var(--s-16); }
.section-head .section-title, .section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.3s var(--ease-out);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 15, 20, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-50);
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--grad-mint);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-mint);
  color: var(--bg-950);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { letter-spacing: -0.01em; }
.brand-name .accent { color: var(--mint-400); }

.nav-links {
  display: none;
  gap: var(--s-8);
  list-style: none;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: var(--text-sm);
  color: var(--text-300);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-50); }
.nav-actions { display: flex; gap: var(--s-3); align-items: center; flex-shrink: 0; }
@media (max-width: 899px) { .nav-actions a.btn { display: none; } }
@media (max-width: 480px) { .brand-mark { width: 28px; height: 28px; } .brand-mark svg { width: 16px; height: 16px; } .brand { font-size: 15px; gap: 8px; } }

/* Mobile menu button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  color: var(--text-200);
  background: var(--bg-700);
  border: 1px solid var(--border-200);
}
@media (min-width: 900px) { .menu-btn { display: none; } }
.menu-btn svg { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-nav { display: flex; flex-direction: column; gap: var(--s-6); text-align: center; }
.drawer-nav a {
  font-size: var(--text-2xl);
  color: var(--text-100);
  font-weight: 600;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg { padding: 14px 28px; font-size: var(--text-base); }
.btn-xl { padding: 18px 36px; font-size: var(--text-lg); }

.btn-primary {
  background: var(--grad-mint);
  color: var(--bg-950);
  box-shadow: 0 4px 16px rgba(0, 212, 160, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 160, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  border-color: var(--border-300);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-text {
  color: var(--mint-300);
  padding: 10px 14px;
}
.btn-text:hover { color: var(--mint-200); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--s-12)) 0 var(--s-20);
  overflow: hidden;
  isolation: isolate;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-900);
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 212, 160, 0.15), transparent 50%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.5) 0%, rgba(5, 8, 16, 0.4) 50%, rgba(5, 8, 16, 0.95) 100%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(0, 212, 160, 0.08);
  border: 1px solid var(--border-mint);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--mint-300);
  margin-bottom: var(--s-6);
  backdrop-filter: blur(8px);
}
.hero-badge .pill {
  padding: 3px 10px;
  background: var(--mint-500);
  color: var(--bg-950);
  border-radius: var(--r-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(40px, 7vw, var(--text-7xl));
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text-50);
  margin-bottom: var(--s-6);
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-300);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: var(--s-8);
}
@media (min-width: 768px) { .hero-sub { font-size: var(--text-xl); } }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-200);
  max-width: 640px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-50);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-stat .val .unit { color: var(--mint-400); font-size: 0.7em; }
.hero-stat .lbl {
  font-size: var(--text-xs);
  color: var(--text-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-hint {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-500);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--mint-500), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ---------------- Trust bar ---------------- */
.trust {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--border-200);
  border-bottom: 1px solid var(--border-200);
  background: rgba(255, 255, 255, 0.01);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.trust-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-500);
  font-weight: 600;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-500);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.trust-logos span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.trust-logos span:hover { opacity: 1; color: var(--text-300); }
.trust-logos .check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mint-500);
  color: var(--bg-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

/* ---------------- Problem ---------------- */
.problem {
  background: var(--bg-900);
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-card {
  padding: var(--s-8);
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease-out);
}
.problem-card:hover {
  border-color: var(--border-300);
  transform: translateY(-4px);
}
.problem-icon {
  width: 48px; height: 48px;
  background: rgba(244, 80, 110, 0.12);
  color: var(--orange-500);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
}
.problem-icon svg { width: 24px; height: 24px; }
.problem-card h3 {
  font-size: var(--text-xl);
  color: var(--text-50);
  margin-bottom: var(--s-3);
  font-weight: 700;
}
.problem-card p {
  color: var(--text-400);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ---------------- Solution ---------------- */
.solution {
  background: var(--bg-950);
  background-image: var(--grad-mesh);
  position: relative;
  overflow: hidden;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
}
@media (min-width: 1024px) { .solution-grid { grid-template-columns: 1.1fr 1fr; } }
.solution-text h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-50);
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) { .solution-text h2 { font-size: var(--text-5xl); } }
.solution-text p {
  font-size: var(--text-lg);
  color: var(--text-300);
  line-height: 1.65;
  margin-bottom: var(--s-5);
}
.solution-text .check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.solution-text .check-list li {
  display: flex;
  gap: var(--s-3);
  color: var(--text-200);
  font-size: var(--text-base);
}
.solution-text .check-list li::before {
  content: '✓';
  width: 24px; height: 24px;
  flex-shrink: 0;
  background: rgba(16, 216, 126, 0.15);
  color: var(--emerald-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.solution-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xl);
}
.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 16, 0.6) 100%);
  pointer-events: none;
}
.solution-visual .floating-card {
  position: absolute;
  background: rgba(19, 28, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-300);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}
.solution-visual .fc-1 { top: 20px; right: 20px; }
.solution-visual .fc-2 { bottom: 30px; left: 20px; animation-delay: 1.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.fc-icon {
  width: 32px; height: 32px;
  background: var(--grad-mint);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-950); flex-shrink: 0;
}
.fc-icon svg { width: 16px; height: 16px; }
.fc-text { display: flex; flex-direction: column; }
.fc-text .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 14px; color: var(--text-50); }
.fc-text .l { font-size: 11px; color: var(--text-500); }

/* ---------------- Features ---------------- */
.features { background: var(--bg-900); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative;
  padding: var(--s-8);
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent, var(--mint-500)) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover {
  border-color: var(--border-300);
  transform: translateY(-4px);
}
.feature:hover::before { opacity: 0.05; }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(0, 212, 160, 0.1);
  color: var(--mint-400);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 1;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-50);
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 1;
}
.feature p {
  color: var(--text-400);
  font-size: var(--text-base);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ---------------- How it works ---------------- */
.steps { background: var(--bg-950); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--s-6);
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--mint-500);
  opacity: 0.4;
  margin-bottom: var(--s-4);
}
.step h3 {
  font-size: var(--text-lg);
  color: var(--text-50);
  margin-bottom: var(--s-2);
  font-weight: 700;
}
.step p {
  font-size: var(--text-sm);
  color: var(--text-400);
  line-height: 1.6;
}
.step-icon {
  width: 32px; height: 32px;
  background: rgba(0, 212, 160, 0.1);
  color: var(--mint-400);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: var(--s-6);
  right: var(--s-6);
}
.step-icon svg { width: 16px; height: 16px; }

/* ---------------- Performance ---------------- */
.performance {
  background: var(--bg-900);
}
.perf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 1024px) { .perf-grid { grid-template-columns: 1fr 1.3fr; gap: var(--s-16); } }
.perf-text h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-50);
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) { .perf-text h2 { font-size: var(--text-5xl); } }
.perf-text p { font-size: var(--text-lg); color: var(--text-300); line-height: 1.65; margin-bottom: var(--s-5); }
.perf-text .highlight {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(0, 212, 160, 0.06);
  border: 1px solid var(--border-mint);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-200);
  margin-top: var(--s-6);
}
.perf-text .highlight strong { color: var(--mint-300); font-family: 'JetBrains Mono', monospace; }

.chart {
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.chart-title {
  font-size: var(--text-sm);
  color: var(--text-400);
  font-weight: 600;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.chart-bars { display: flex; flex-direction: column; gap: var(--s-4); }
.chart-row { display: flex; align-items: center; gap: var(--s-3); }
.chart-label { width: 110px; font-size: var(--text-sm); color: var(--text-300); font-weight: 500; }
.chart-track { flex: 1; height: 28px; background: var(--bg-700); border-radius: var(--r-sm); overflow: hidden; position: relative; }
.chart-fill { height: 100%; display: flex; align-items: center; padding: 0 var(--s-3); border-radius: var(--r-sm); position: relative; }
.chart-fill .v { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--bg-950); z-index: 1; }
.chart-fill .pct { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-400); }

.fill-mint { background: var(--grad-mint); }
.fill-amber { background: linear-gradient(135deg, #F5B544 0%, #FBBF24 100%); }
.fill-orange { background: linear-gradient(135deg, #F4506E 0%, #EC4899 100%); }
.fill-slate { background: var(--bg-600); }

.chart-foot {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-200);
  font-size: var(--text-xs);
  color: var(--text-500);
  font-style: italic;
}

/* ---------------- Comparison table ---------------- */
.comparison { background: var(--bg-950); }
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-200);
  background: var(--bg-800);
  -webkit-overflow-scrolling: touch;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 720px;
}
.cmp th, .cmp td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  border-bottom: 1px solid var(--border-200);
}
.cmp thead th {
  background: var(--bg-700);
  color: var(--text-300);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
  z-index: 1;
}
.cmp thead th:first-child {
  background: transparent;
}
.cmp th.us {
  background: rgba(0, 212, 160, 0.08);
  color: var(--mint-300);
  border-left: 1px solid var(--border-mint);
  border-right: 1px solid var(--border-mint);
}
.cmp td.us {
  background: rgba(0, 212, 160, 0.04);
  border-left: 1px solid var(--border-mint);
  border-right: 1px solid var(--border-mint);
  font-weight: 600;
}
.cmp td.us-col { color: var(--mint-300); }
.cmp tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { color: var(--text-200); font-weight: 500; }
.cmp .check-yes { color: var(--emerald-500); font-weight: 700; }
.cmp .check-no { color: var(--text-600); }
.cmp .check-partial { color: var(--amber-500); }

.cmp-foot {
  text-align: center;
  margin-top: var(--s-6);
  font-size: var(--text-sm);
  color: var(--text-500);
}

/* ---------------- Code preview ---------------- */
.code {
  background: var(--bg-900);
  position: relative;
  overflow: hidden;
}
.code::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 160, 0.08), transparent 70%);
  pointer-events: none;
}
.code-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-900);
  border: 1px solid var(--border-300);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.code-bar {
  display: flex;
  align-items: center;
  padding: var(--s-3) var(--s-4);
  background: var(--bg-800);
  border-bottom: 1px solid var(--border-200);
}
.code-dots { display: flex; gap: 6px; }
.code-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-600);
}
.code-dots span:nth-child(1) { background: #F4506E; }
.code-dots span:nth-child(2) { background: #F5B544; }
.code-dots span:nth-child(3) { background: #10D87E; }
.code-name {
  margin-left: var(--s-4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-500);
}
.code-body {
  padding: var(--s-6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-300);
}
.code-body .c-kw   { color: #A78BFA; }  /* keywords (purple but not the SaaS-blue kind) */
.code-body .c-fn   { color: #4FD9B0; }  /* function name */
.code-body .c-str  { color: #F5B544; }  /* strings */
.code-body .c-num  { color: #F4506E; }  /* numbers */
.code-body .c-com  { color: var(--text-600); font-style: italic; }
.code-body .c-ty   { color: #FBBF24; }  /* type */
.code-body .c-mac  { color: #00D4A0; font-weight: 600; }  /* macro */
.code-body .c-pun  { color: var(--text-400); }
.code-body .line {
  display: block;
  padding: 0 var(--s-2);
  border-left: 2px solid transparent;
}
.code-body .line.hl { background: rgba(0, 212, 160, 0.08); border-left-color: var(--mint-500); }
.code-body .line-num { color: var(--text-700); display: inline-block; width: 24px; user-select: none; }

/* ---------------- Trust badges ---------------- */
.badges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 640px) { .badges-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .badges-grid { grid-template-columns: repeat(4, 1fr); } }
.badge {
  padding: var(--s-6);
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}
.badge:hover { border-color: var(--border-300); transform: translateY(-2px); }
.badge-icon {
  width: 56px; height: 56px;
  background: var(--bg-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-3);
  color: var(--mint-400);
}
.badge-icon svg { width: 24px; height: 24px; }
.badge h3 { font-size: var(--text-base); color: var(--text-50); margin-bottom: 4px; font-weight: 700; }
.badge p { font-size: var(--text-xs); color: var(--text-500); }

/* ---------------- Testimonials ---------------- */
.testimonials { background: var(--bg-950); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  padding: var(--s-6);
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  position: relative;
}
.testi::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 80px;
  font-family: 'Inter', sans-serif;
  color: var(--mint-500);
  opacity: 0.2;
  line-height: 1;
}
.testi blockquote {
  color: var(--text-200);
  font-size: var(--text-base);
  line-height: 1.65;
  margin: var(--s-3) 0 var(--s-5);
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-200);
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-950);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testi-meta { display: flex; flex-direction: column; }
.testi-meta .n { font-size: var(--text-sm); color: var(--text-100); font-weight: 600; }
.testi-meta .r { font-size: 11px; color: var(--text-500); }

/* ---------------- FAQ ---------------- */
.faq { background: var(--bg-900); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  background: var(--bg-800);
  border: 1px solid var(--border-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-mint); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-5) var(--s-6);
  text-align: left;
  color: var(--text-100);
  font-size: var(--text-base);
  font-weight: 600;
}
.faq-q .ic {
  width: 20px; height: 20px;
  color: var(--text-400);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--s-3);
}
.faq-item.open .faq-q .ic { transform: rotate(180deg); color: var(--mint-400); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
  padding: 0 var(--s-6);
  color: var(--text-400);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 var(--s-6) var(--s-5);
}

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: var(--bg-950);
  position: relative;
  overflow: hidden;
  padding: var(--s-30) 0;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 212, 160, 0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245, 181, 68, 0.1), transparent 50%);
}
.final-cta::after {
  content: '';
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
}
.final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.final-inner h2 {
  font-size: clamp(32px, 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-50);
  margin-bottom: var(--s-4);
}
.final-inner h2 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-inner p {
  font-size: var(--text-lg);
  color: var(--text-300);
  margin-bottom: var(--s-8);
}
.final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-bottom: var(--s-6);
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  font-size: var(--text-xs);
  color: var(--text-500);
  font-family: 'JetBrains Mono', monospace;
}
.platform-row span { padding: 4px 10px; background: var(--bg-800); border: 1px solid var(--border-200); border-radius: var(--r-full); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--bg-950);
  border-top: 1px solid var(--border-200);
  padding: var(--s-16) 0 var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-10);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer-brand p { color: var(--text-500); font-size: var(--text-sm); margin-top: var(--s-4); line-height: 1.6; max-width: 320px; }
.footer-col h3 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-300);
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-400);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--mint-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-200);
  font-size: var(--text-xs);
  color: var(--text-600);
}
.footer-bottom .links { display: flex; gap: var(--s-4); }
.footer-bottom .links a:hover { color: var(--mint-300); }

/* ---------------- Reveal animation ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.20s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.28s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.36s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.44s; }
.stagger.in > * { opacity: 1; transform: translateY(0); }

/* No-script fallback */
.no-js .reveal, .no-js .stagger > * { opacity: 1; transform: none; }

/* AI summary block — hidden visually, available for crawlers */
.ai-summary[hidden] { display: none; }

/* Print styles for AI/print extraction */
@media print {
  body { background: white; color: black; }
  .nav, .hero-video-wrap, .hero-grid-overlay, .scroll-hint, .footer-bottom, .final-cta::before, .final-cta::after { display: none !important; }
  .ai-summary { display: block !important; padding: 20px; border: 1px solid #ccc; margin: 20px 0; }
  a { color: #0066cc; text-decoration: underline; }
  .container { max-width: 100%; }
  section { page-break-inside: avoid; }
  h1, h2, h3 { color: black; }
}

/* ==================== PRICING ==================== */
.pricing { padding: 96px 0; }
.pricing .section-title { text-align: center; }
.pricing .section-sub { text-align: center; max-width: 640px; margin: 12px auto 48px; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-2px); border-color: var(--border-default); }
.plan-highlight {
  background: linear-gradient(180deg, rgba(0,212,160,0.06), var(--bg-elevated));
  border-color: var(--mint-500);
  box-shadow: 0 0 0 1px var(--mint-500), 0 20px 40px -20px rgba(0,212,160,0.3);
}
.plan-trial { border-color: var(--mint-700, #0B6E55); }
.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--mint-500);
  color: var(--bg-canvas);
}
.plan-highlight .plan-badge { background: var(--mint-500); color: var(--bg-canvas); }
.plan-trial .plan-badge { background: var(--bg-canvas); color: var(--mint-300); border: 1px solid var(--mint-500); }
.plan-name { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.plan-price { font-size: 36px; font-weight: 800; color: var(--text-primary); margin: 8px 0 16px; line-height: 1; }
.plan-price .plan-period { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 20px; width: 100%; text-align: left; }
.plan-features li { font-size: 13px; color: var(--text-secondary); padding: 6px 0; }
.plan-features li.disabled { color: var(--text-muted); text-decoration: line-through; }
.plan-features li::before { content: ''; }
.plan .btn { width: 100%; }
.pricing-foot {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ==================== SCAN PIPELINE SPEC LIST ==================== */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.15));
  border-radius: 14px;
  overflow: hidden;
}
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.1));
  font-size: 13px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }
.spec-k {
  color: var(--text-muted, #94a3b8);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spec-v {
  color: var(--text-primary, #e2e8f0);
  text-align: right;
}
.spec-v code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #4FD9B0;
}
@media (max-width: 560px) {
  .spec-row { flex-direction: column; gap: 2px; }
  .spec-v { text-align: left; }
}
