/* ═══════════════════════════════════════════════
   Lume — Design System
   Shared across landing, blog, check, privacy
   ═══════════════════════════════════════════════ */

/* ═══ Tokens ═══ */

:root {
  /* Brand */
  --c-brand-50:  #eef2ff;
  --c-brand-100: #e0e7ff;
  --c-brand-200: #c7d2fe;
  --c-brand-400: #818cf8;
  --c-brand-500: #6366f1;
  --c-brand-600: #4f46e5;
  --c-brand-700: #4338ca;

  --c-accent-400: #a78bfa;
  --c-accent-500: #8b5cf6;
  --c-accent-600: #7c3aed;

  --c-green-400: #4ade80;
  --c-green-500: #22c55e;
  --c-green-600: #16a34a;

  --c-blue-400:  #60a5fa;
  --c-blue-500:  #3b82f6;
  --c-blue-600:  #2563eb;

  --c-purple-500: #a855f7;

  --c-amber-400: #fbbf24;
  --c-amber-500: #f59e0b;
  --c-amber-600: #d97706;

  --c-red-400: #f87171;
  --c-red-500: #ef4444;

  --c-slate-50:  #f8fafc;
  --c-slate-100: #f1f5f9;
  --c-slate-200: #e2e8f0;
  --c-slate-300: #cbd5e1;
  --c-slate-400: #94a3b8;
  --c-slate-500: #64748b;
  --c-slate-600: #475569;
  --c-slate-700: #334155;
  --c-slate-800: #1e293b;
  --c-slate-900: #0f172a;
  --c-slate-950: #020617;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows (light theme) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.2);

  /* Dark surface tokens (consumed by body.page-dark) */
  --surface-0: #08080c;
  --surface-1: #0e0e14;
  --surface-2: #15151e;
  --surface-3: #1c1c28;
  --border-dim: rgba(255,255,255,0.06);
  --border-lit: rgba(255,255,255,0.12);
  --text-1: #f0f0f5;
  --text-2: #8b8b9e;
  --text-3: #555568;
  --glow-brand: rgba(99,102,241,0.15);
}

/* ═══ Reset & Base ═══ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Reserve vertical scrollbar space so layout doesn't shift when /check has no overflow vs long pages */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  color: var(--c-slate-900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
details summary { cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

/* ═══ Container ═══ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

/* ═══ Typography ═══ */

.gradient-text {
  background: linear-gradient(135deg, var(--c-brand-400), var(--c-accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Buttons ═══ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-xl); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-accent-500));
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}

.btn-ghost {
  color: var(--c-slate-300);
  border: 1px solid var(--c-slate-600);
}
.btn-ghost:hover { background: rgba(99,102,241,0.08); color: #fff; border-color: var(--c-brand-400); }

.btn-telegram {
  background: #2AABEE;
  color: #fff;
  box-shadow: 0 2px 8px rgba(42,171,238,0.3);
}
.btn-telegram:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,171,238,0.4); }

.btn-white {
  background: #fff;
  color: var(--c-slate-900);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-ghost-light {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* ═══ Nav ═══ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-slate-200);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-slate-900);
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-accent-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(99,102,241,0.25);
}

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-slate-600);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--c-brand-600); background: var(--c-brand-50); }

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

.lang-toggle {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-slate-500);
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-full);
  transition: all 0.2s;
}
.lang-toggle:hover { color: var(--c-slate-700); border-color: var(--c-slate-300); }

/* ═══ Hero (legacy — light pages) ═══ */

.hero {
  position: relative;
  background: linear-gradient(170deg, var(--c-slate-950) 0%, var(--c-slate-900) 40%, var(--c-slate-800) 100%);
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--c-slate-400);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--c-slate-400);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-mockup {
  max-width: 780px;
  margin: 0 auto;
  perspective: 1000px;
}

/* ═══ Sections ═══ */

.section { padding: 100px 0; }
.section--dark { background: var(--c-slate-900); }
.section--subtle { background: var(--c-slate-50); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--c-brand-50);
  color: var(--c-brand-600);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-badge--light { background: rgba(99,102,241,0.12); color: var(--c-brand-400); }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--c-slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-title--light { color: #fff; }

.section-subtitle {
  font-size: 17px;
  color: var(--c-slate-500);
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.7;
}
.section-subtitle--light { color: var(--c-slate-400); }

/* ═══ Feature Cards (legacy — subpages) ═══ */

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

.feature-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-xl);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-brand-200);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--amber { background: var(--c-brand-50); color: var(--c-brand-600); }
.feature-icon--red { background: #fee2e2; color: #dc2626; }
.feature-icon--green { background: #dcfce7; color: var(--c-green-600); }
.feature-icon--blue { background: #dbeafe; color: var(--c-blue-600); }
.feature-icon--purple { background: #ede9fe; color: var(--c-purple-500); }
.feature-icon--teal { background: #ccfbf1; color: #0d9488; }

.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--c-slate-500); line-height: 1.6; }

/* ═══ Steps (legacy — subpages) ═══ */

.steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-accent-500));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.25);
}

.step-content { padding-top: 4px; }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 14px; color: var(--c-slate-500); line-height: 1.6; }

/* ═══ FAQ ═══ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--c-brand-200); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-slate-800);
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--c-slate-400);
  transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { content: '−'; }

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--c-slate-500);
  line-height: 1.7;
}

/* ═══ CTA ═══ */

.cta-section { padding: 40px 0 100px; }

.cta-card {
  background: linear-gradient(135deg, var(--c-slate-900), var(--c-slate-800));
  border-radius: var(--radius-2xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--c-slate-400);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ Footer ═══ */

.footer {
  background: var(--c-slate-950);
  padding: 60px 0 40px;
  color: var(--c-slate-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc { font-size: 14px; line-height: 1.7; max-width: 320px; }

.footer-heading { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--c-slate-400); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--c-slate-800);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--c-slate-600);
}

/* ═══ Animations ═══ */

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .animate-in:nth-child(4) { transition-delay: 0.15s; }
.features-grid .animate-in:nth-child(5) { transition-delay: 0.25s; }
.features-grid .animate-in:nth-child(6) { transition-delay: 0.35s; }

/* ═══ Burger ═══ */

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  z-index: 10;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-slate-700);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══ Responsive (shared) ═══ */

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

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { padding: 10px 0; font-size: 15px; }

  .hero { padding: 110px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .features-grid { grid-template-columns: 1fr; }

  .step { gap: 14px; }
  .step-number { width: 40px; height: 40px; font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-card { padding: 40px 24px; }

  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
}


/* ═══════════════════════════════════════════════════════════
   DARK LANDING PAGE — scoped under body.page-dark
   "Dark Trust" — 1Password / Raycast inspired
   ═══════════════════════════════════════════════════════════ */

/* ─── Dark body base ─── */

body.page-dark {
  background: var(--surface-0);
  color: var(--text-1);
}

/* ─── Noise texture overlay (SVG turbulence — resolution independent) ─── */

body.page-dark::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.025;
  background-repeat: repeat;
  background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Dark nav ─── */

body.page-dark .nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.page-dark .nav.scrolled {
  background: rgba(8,8,12,0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--border-dim);
  box-shadow: 0 1px 0 var(--border-dim);
}

body.page-dark .nav-logo { color: #fff; }

body.page-dark .nav-link {
  color: rgba(255,255,255,0.6);
}
body.page-dark .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

body.page-dark .nav-burger span {
  background: rgba(255,255,255,0.8);
}

body.page-dark .lang-toggle {
  color: var(--text-2);
  border-color: var(--border-lit);
}
body.page-dark .lang-toggle:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,0.22);
}

/* ─── Dark section overrides ─── */

body.page-dark .section {
  position: relative;
}
body.page-dark .section--subtle {
  background: var(--surface-1);
}

body.page-dark .section-badge {
  background: rgba(99,102,241,0.1);
  color: var(--c-brand-400);
}

body.page-dark .section-title {
  color: var(--text-1);
}
body.page-dark .section-subtitle {
  color: var(--text-2);
}

/* ─── Dark FAQ overrides ─── */

body.page-dark .faq-item {
  background: var(--surface-2);
  border-color: var(--border-dim);
}
body.page-dark .faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
body.page-dark .faq-item[open] {
  border-color: var(--border-lit);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

body.page-dark .faq-question {
  color: var(--text-1);
}
body.page-dark .faq-question::after {
  color: var(--text-3);
}
body.page-dark .faq-answer {
  color: var(--text-2);
}

/* ─── Dark CTA override ─── */

body.page-dark .cta-card {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border-dim);
}

/* ─── Dark footer override ─── */

body.page-dark .footer {
  background: var(--surface-0);
  border-top: 1px solid var(--border-dim);
}
body.page-dark .footer-bottom {
  border-top-color: var(--border-dim);
}


/* ═══════════════════════════════════════════════
   NEW COMPONENTS — Dark landing page
   ═══════════════════════════════════════════════ */

/* ─── Hero V2 ─── */

.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-0);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-v2-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(
    ellipse,
    rgba(99,102,241,0.12) 0%,
    rgba(139,92,246,0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-v2-grid {
  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: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: var(--radius-full);
  color: var(--c-brand-400);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.hero-v2-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  color: var(--text-1);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-v2-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-v2-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-v2 .hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}
.hero-v2 .hero-stat strong {
  color: var(--text-2);
  font-weight: 700;
}
.hero-v2 .hero-stat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.6;
}

/* ─── Trust Bar ─── */

.trust-bar {
  padding: 36px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.trust-bar-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.trust-bar-name:hover {
  color: var(--text-2);
}

.trust-bar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ─── Features V2 ─── */

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

.feature-v2-card {
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s;
}
.feature-v2-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-lit);
  box-shadow:
    0 24px 48px -12px rgba(0,0,0,0.5),
    0 0 0 1px var(--border-lit),
    0 0 32px var(--glow-brand);
}

.feature-v2-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(99,102,241,0.08);
  color: var(--c-brand-400);
  transition: box-shadow 0.3s, background 0.3s;
}
.feature-v2-icon svg { width: 26px; height: 26px; }
.feature-v2-icon--green { background: rgba(74,222,128,0.08); color: var(--c-green-400); }
.feature-v2-icon--blue { background: rgba(96,165,250,0.08); color: var(--c-blue-400); }
.feature-v2-icon--purple { background: rgba(168,85,247,0.08); color: var(--c-purple-500); }
.feature-v2-icon--amber { background: rgba(251,191,36,0.08); color: var(--c-amber-400); }

.feature-v2-card:hover .feature-v2-icon {
  background: rgba(99,102,241,0.14);
  box-shadow: 0 0 24px var(--glow-brand);
}
.feature-v2-card:hover .feature-v2-icon--green {
  background: rgba(74,222,128,0.14);
  box-shadow: 0 0 24px rgba(74,222,128,0.15);
}
.feature-v2-card:hover .feature-v2-icon--blue {
  background: rgba(96,165,250,0.14);
  box-shadow: 0 0 24px rgba(96,165,250,0.15);
}
.feature-v2-card:hover .feature-v2-icon--purple {
  background: rgba(168,85,247,0.14);
  box-shadow: 0 0 24px rgba(168,85,247,0.15);
}
.feature-v2-card:hover .feature-v2-icon--amber {
  background: rgba(251,191,36,0.14);
  box-shadow: 0 0 24px rgba(251,191,36,0.15);
}

.feature-v2-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.feature-v2-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.feature-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-indigo-400);
  transition: color 0.2s;
}
.feature-link:hover { color: var(--c-indigo-300); }

.features-v2 .animate-in:nth-child(2) { transition-delay: 0.1s; }
.features-v2 .animate-in:nth-child(3) { transition-delay: 0.2s; }

/* ─── Steps V2 ─── */

.steps-v2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.step-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 0 16px;
}

.step-v2-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-lit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-brand-400);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step-v2:hover .step-v2-number {
  border-color: var(--c-brand-400);
  box-shadow: 0 0 24px var(--glow-brand);
}

.step-v2:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: linear-gradient(90deg, var(--border-lit), var(--border-dim));
  z-index: 1;
}

.step-v2-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.step-v2-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 220px;
}

.steps-v2 .animate-in:nth-child(2) { transition-delay: 0.15s; }
.steps-v2 .animate-in:nth-child(3) { transition-delay: 0.3s; }

/* ─── CTA V2 ─── */

.cta-v2 {
  position: relative;
  padding: 80px 40px;
  background: var(--surface-1);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-2xl);
  text-align: center;
  overflow: hidden;
}

.cta-v2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-brand), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

.cta-v2-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-v2-subtitle {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-v2-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════
   DARK PAGE — Responsive overrides
   ═══════════════════════════════════════════════ */

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

@media (max-width: 768px) {

  /* Dark mobile nav dropdown */
  body.page-dark .nav-links {
    background: rgba(14,14,20,0.96);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border-dim);
  }
  body.page-dark .nav-links .nav-link {
    color: rgba(255,255,255,0.7);
  }
  body.page-dark .nav-links .nav-link:hover {
    color: #fff;
  }

  /* Hero V2 */
  .hero-v2 {
    min-height: auto;
    padding: 110px 0 60px;
  }
  .hero-v2-glow {
    width: 500px;
    height: 400px;
  }
  .hero-v2-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-v2 .hero-stat {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Trust bar */
  .trust-bar-inner {
    gap: 16px;
  }
  .trust-bar-label {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 4px;
  }

  /* Features V2 → 1 column */
  .features-v2 { grid-template-columns: 1fr; }

  /* Steps V2 → vertical */
  .steps-v2 {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .step-v2 {
    padding: 0;
    margin-bottom: 48px;
  }
  .step-v2:last-child { margin-bottom: 0; }
  .step-v2:not(:last-child)::after {
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, var(--border-lit), var(--border-dim));
  }

  /* CTA V2 */
  .cta-v2 { padding: 48px 24px; }
  .cta-v2::before { width: 360px; height: 360px; }
}

@media (max-width: 480px) {
  .hero-v2-title { font-size: 36px; }
  .cta-v2-title { font-size: 24px; }
}

/* ═══════════════════════════════════════════════
   SUBPAGES — blog + check (same shell as landing)
   body.page-dark.page-sub
   ═══════════════════════════════════════════════ */

body.page-dark.page-sub {
  background: var(--surface-0);
  color: var(--text-1);
}

/* ─── Check page ─── */

body.page-dark.page-sub .check-hero {
  padding: 120px 0 48px;
  background: var(--surface-0);
  border-bottom: 1px solid var(--border-dim);
}

body.page-dark.page-sub .check-hero .hero-glow {
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
}

body.page-dark.page-sub .result-area {
  background: var(--surface-0);
  padding-bottom: 80px;
}

body.page-dark.page-sub .result-loading,
body.page-dark.page-sub .no-history {
  color: var(--text-2);
}

body.page-dark.page-sub .product-result {
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.page-dark.page-sub .product-image,
body.page-dark.page-sub .product-image-placeholder {
  background: var(--surface-1);
}

body.page-dark.page-sub .product-image-placeholder {
  color: var(--text-3);
}

body.page-dark.page-sub .product-store-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}

body.page-dark.page-sub .product-title,
body.page-dark.page-sub .product-price {
  color: var(--text-1);
}

body.page-dark.page-sub .product-currency,
body.page-dark.page-sub .product-minmax-item {
  color: var(--text-2);
}

body.page-dark.page-sub .price-min {
  color: var(--c-green-400);
}

body.page-dark.page-sub .price-max {
  color: var(--c-red-400);
}

body.page-dark.page-sub .history-section {
  border-top-color: var(--border-dim);
}

body.page-dark.page-sub .history-title {
  color: var(--text-2);
}

body.page-dark.page-sub .compare-title {
  color: var(--text-1);
}

body.page-dark.page-sub .compare-card {
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
}

body.page-dark.page-sub .compare-card:hover {
  border-color: var(--border-lit);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.page-dark.page-sub .compare-name {
  color: var(--text-2);
}

body.page-dark.page-sub .compare-store {
  color: var(--text-3);
}

body.page-dark.page-sub .compare-price {
  color: var(--text-1);
}

body.page-dark.page-sub .compare-cheaper,
body.page-dark.page-sub .compare-save {
  color: var(--c-green-400);
}

body.page-dark.page-sub .cta-install {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-lit);
}

body.page-dark.page-sub .cta-install-title {
  color: var(--text-1);
}

body.page-dark.page-sub .cta-install-text {
  color: var(--text-2);
}

/* ─── Blog index ─── */

body.page-dark.page-sub .blog-hero {
  padding: 7.5rem 0 3rem;
  background: var(--surface-0);
  border-bottom: 1px solid var(--border-dim);
}

body.page-dark.page-sub .blog-hero::before {
  background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 55%);
}

body.page-dark.page-sub .blog-grid {
  padding: 3rem 0 4rem;
}

body.page-dark.page-sub .blog-card {
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
}

body.page-dark.page-sub .blog-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border-color: var(--border-lit);
}

body.page-dark.page-sub .blog-card-title {
  color: var(--text-1);
}

body.page-dark.page-sub .blog-card-title a:hover {
  color: var(--c-brand-400);
}

body.page-dark.page-sub .blog-card-desc {
  color: var(--text-2);
}

body.page-dark.page-sub .blog-card-footer {
  border-top-color: var(--border-dim);
  color: var(--text-3);
}

body.page-dark.page-sub .blog-card-link {
  color: var(--c-brand-400);
}

/* ─── Blog articles ─── */

body.page-dark.page-sub .article-hero {
  background: var(--surface-0);
  border-bottom: 1px solid var(--border-dim);
}

body.page-dark.page-sub .article-hero::before {
  background: radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.14) 0%, transparent 50%);
}

body.page-dark.page-sub .article-meta {
  color: var(--text-2);
}

body.page-dark.page-sub .article-body {
  background: var(--surface-0);
}

body.page-dark.page-sub .article-content {
  color: var(--text-2);
}

body.page-dark.page-sub .article-content h2,
body.page-dark.page-sub .article-content h3,
body.page-dark.page-sub .article-content strong {
  color: var(--text-1);
}

body.page-dark.page-sub .article-content blockquote {
  background: rgba(99, 102, 241, 0.1);
  border-left-color: var(--c-brand-400);
  color: var(--text-2);
}

body.page-dark.page-sub .tip-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-lit);
}

body.page-dark.page-sub .tip-card-title {
  color: var(--c-brand-300);
}

body.page-dark.page-sub .tip-card p {
  color: var(--text-2);
}

body.page-dark.page-sub .article-nav {
  border-top-color: var(--border-dim);
}

body.page-dark.page-sub .article-nav a {
  color: var(--c-brand-400);
}

body.page-dark.page-sub .article-nav a:hover {
  color: var(--c-brand-300);
}

body.page-dark.page-sub .data-table {
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
}

body.page-dark.page-sub .data-table th,
body.page-dark.page-sub .data-table td {
  border-bottom-color: var(--border-dim);
}

body.page-dark.page-sub .data-table th {
  background: var(--surface-1);
  color: var(--text-2);
}

body.page-dark.page-sub .data-table td {
  color: var(--text-2);
}

body.page-dark.page-sub .check-input {
  background: var(--surface-2);
  border-color: var(--border-lit);
  color: var(--text-1);
}

body.page-dark.page-sub .check-input::placeholder {
  color: var(--text-3);
}

body.page-dark.page-sub .sources {
  color: var(--text-2);
}

body.page-dark.page-sub .sources a {
  color: var(--c-brand-400);
}

/* ─── Privacy (legal page, dark shell) ─── */

body.page-dark.page-sub .privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

body.page-dark.page-sub .privacy-wrap h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

body.page-dark.page-sub .privacy-wrap .updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 40px;
}

body.page-dark.page-sub .privacy-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-1);
}

body.page-dark.page-sub .privacy-wrap p,
body.page-dark.page-sub .privacy-wrap li {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.7;
}

body.page-dark.page-sub .privacy-wrap strong {
  color: var(--text-1);
}

body.page-dark.page-sub .privacy-wrap ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

body.page-dark.page-sub .privacy-wrap li {
  margin-bottom: 6px;
}

body.page-dark.page-sub .privacy-wrap a {
  color: var(--c-brand-400);
}

body.page-dark.page-sub .privacy-wrap a:hover {
  color: var(--c-brand-300);
}

/* ─── Blog index: gradient card headers (no image files required) ─── */

body.page-dark.page-sub .blog-card {
  padding: 0;
  overflow: hidden;
}

body.page-dark.page-sub .blog-card-body {
  padding: 1.5rem;
}

body.page-dark.page-sub .blog-card-visual {
  height: 120px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.35) 0%, rgba(24, 24, 32, 0.9) 55%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--border-dim);
}

body.page-dark.page-sub .blog-card-visual--calendar {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.35) 0%, rgba(24, 24, 32, 0.85) 50%, var(--surface-2) 100%);
}

body.page-dark.page-sub .blog-card-visual--tips {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.42) 0%, rgba(24, 24, 32, 0.85) 50%, var(--surface-2) 100%);
}

body.page-dark.page-sub .blog-card-visual--research {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.32) 0%, rgba(24, 24, 32, 0.85) 50%, var(--surface-2) 100%);
}
