/* ==========================================================================
   FylorisAI — Storefront Landing Page Stylesheet  (premium rebuild)
   --------------------------------------------------------------------------
   Sections:
     1.  Design tokens
     2.  Reset + base
     3.  Layout primitives (container, section, headers)
     4.  Animated aurora background
     5.  Buttons
     6.  Navigation (sticky + frosted blur + mobile overlay)
     7.  Hero (3D canvas anchor + content)
     8.  Flagship industries (glass cards)
     9.  How it works (steps)
     10. Features
     11. Coming-soon grid
     12. Final CTA
     13. Footer
     14. Scroll-reveal animations (JS-gated)
     15. Responsive
     16. Reduced-motion fallback
   ========================================================================== */

/* ── 1. Design tokens ──────────────────────────────────────────────────── */
:root {
  /* Deep tech-forward palette */
  --bg-void:      #050713;
  --bg-base:      #070A16;
  --bg-elevated:  #0C1022;
  --bg-glass:     rgba(18, 24, 48, 0.45);
  --bg-glass-2:   rgba(24, 31, 60, 0.55);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-mid:    rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.20);

  /* Text */
  --text-primary:   #EEF1FB;
  --text-secondary: #A4ABC8;
  --text-muted:     #6B7298;

  /* Brand accents — electric blue / violet / teal */
  --indigo:        #6366F1;
  --indigo-bright: #8B92FF;
  --violet:        #A855F7;
  --blue:          #3B82F6;
  --electric:      #4F8CFF;
  --teal:          #22D3EE;
  --teal-bright:   #5EEAD4;

  /* Glows */
  --glow-indigo: rgba(99, 102, 241, 0.45);
  --glow-violet: rgba(168, 85, 247, 0.40);
  --glow-teal:   rgba(34, 211, 238, 0.35);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #22D3EE 100%);
  --grad-text:  linear-gradient(120deg, #8B92FF 0%, #C084FC 45%, #5EEAD4 100%);
  --grad-btn:   linear-gradient(135deg, #6366F1 0%, #7C5CFF 60%, #4F8CFF 100%);

  /* Spacing */
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px;
  --space-3xl: 80px; --space-4xl: 120px;

  /* Radii */
  --radius-sm: 8px;  --radius-md: 14px; --radius-lg: 20px;
  --radius-xl: 28px; --radius-full: 9999px;

  /* Typography */
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', 'DM Sans', system-ui, sans-serif;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 160ms; --dur-mid: 320ms; --dur-slow: 640ms;

  /* Layout */
  --nav-h: 72px;
  --maxw: 1180px;
}

/* ── 2. Reset + base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

/* Accessible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--indigo-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 3. Layout primitives ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section { padding: var(--space-4xl) 0; position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(12,16,34,0.6) 12%, rgba(12,16,34,0.6) 88%, transparent); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-3xl); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--indigo-bright);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── 4. Animated aurora background ─────────────────────────────────────── */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.aurora--1 {
  width: 620px; height: 620px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, var(--glow-indigo), transparent 65%);
  animation: aurora-float-1 22s var(--ease-out) infinite alternate;
}
.aurora--2 {
  width: 560px; height: 560px;
  top: 30%; right: -160px;
  background: radial-gradient(circle, var(--glow-violet), transparent 65%);
  animation: aurora-float-2 26s var(--ease-out) infinite alternate;
}
.aurora--3 {
  width: 500px; height: 500px;
  bottom: -160px; left: 35%;
  background: radial-gradient(circle, var(--glow-teal), transparent 65%);
  animation: aurora-float-3 30s var(--ease-out) infinite alternate;
}

/* Subtle dotted grid overlay for depth */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

@keyframes aurora-float-1 { from { transform: translate(0,0) scale(1); } to { transform: translate(80px,60px) scale(1.15); } }
@keyframes aurora-float-2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-70px,40px) scale(1.1); } }
@keyframes aurora-float-3 { from { transform: translate(0,0) scale(1); } to { transform: translate(50px,-50px) scale(1.2); } }

/* ── 5. Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  transition: transform var(--dur-mid) var(--ease-spring),
              box-shadow var(--dur-mid) var(--ease-out),
              background var(--dur-mid) var(--ease-out);
  white-space: nowrap;
}
.btn i { font-size: 18px; transition: transform var(--dur-mid) var(--ease-out); }
.btn:hover i { transform: translateX(3px); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--glow-indigo), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px -10px var(--glow-indigo), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-glass-2);
}

/* Notify-me (coming-soon cards) */
.btn-notify {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--indigo-bright);
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--dur-mid) var(--ease-out);
}
.btn-notify:hover { background: rgba(99,102,241,0.20); border-color: rgba(99,102,241,0.5); color: #fff; }
.btn-notify.noted { color: var(--teal-bright); border-color: rgba(94,234,212,0.4); background: rgba(34,211,238,0.10); cursor: default; }

/* ── 6. Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 22, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.6);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }

.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; filter: drop-shadow(0 2px 10px var(--glow-indigo)); }
.nav-brand-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.nav-links { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width var(--dur-mid) var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

.nav-hamburger { display: none; font-size: 26px; color: var(--text-primary); padding: 6px; }

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 7, 19, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-xl);
  opacity: 0; visibility: hidden; transform: scale(1.04);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              visibility var(--dur-mid);
}
.nav-mobile-overlay.is-open { opacity: 1; visibility: visible; transform: scale(1); }
.nav-mobile-close { position: absolute; top: 24px; right: 24px; font-size: 30px; color: var(--text-primary); }
.nav-mobile-links { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.nav-mobile-links a { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-primary); }
.nav-mobile-links a:hover { color: var(--indigo-bright); }
.nav-mobile-cta { margin-top: var(--space-md); }

/* ── 7. Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--space-3xl)) 0 var(--space-4xl);
  overflow: hidden;
}

/* 3D canvas sits behind content, fades in once initialized by hero3d.js */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.hero-canvas.is-ready { opacity: 1; }

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 8px 18px; border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 12px var(--teal-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  /* Solid bright white base so the non-gradient words stay crisp and
     legible over the busy 3D hero scene + aurora glow. */
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(5, 7, 19, 0.55);
}
/* Brighter, higher-luminance gradient (with a soft glow) for the highlighted
   phrase so it reads clearly against the dark background. */
.hero-title .text-gradient {
  background: linear-gradient(120deg, #A5B4FF 0%, #E879F9 48%, #5EEAD4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(168, 130, 255, 0.35));
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
}

.hero-cta-group { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-3xl); }

.hero-stats { display: inline-flex; align-items: center; gap: var(--space-xl); flex-wrap: wrap; justify-content: center; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border-mid); }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 26px; color: var(--text-muted);
  animation: bob 2.2s var(--ease-out) infinite;
}
.hero-scroll-hint:hover { color: var(--indigo-bright); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── 8. Flagship industries ────────────────────────────────────────────── */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.flagship-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-mid);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-spring),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
/* Animated gradient border on hover via pseudo-element ring */
.flagship-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-mid) var(--ease-out);
  pointer-events: none;
}
.flagship-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px -30px var(--glow-indigo); }
.flagship-card:hover::before { opacity: 1; }
.flagship-card:hover .flagship-card-glow { opacity: 0.9; }

.flagship-card-glow {
  position: absolute; top: -40%; right: -30%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-violet), transparent 70%);
  filter: blur(40px); opacity: 0.4;
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
}

.flagship-card-badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--teal-bright);
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 5px 12px; border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); animation: pulse 2s infinite; }

.flagship-card-icon {
  font-size: 52px; line-height: 1;
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(34,211,238,0.10));
  border: 1px solid var(--border-mid);
  margin-bottom: var(--space-lg);
}
.flagship-card-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.flagship-card-sub { font-size: 14px; font-weight: 600; color: var(--indigo-bright); margin-bottom: var(--space-md); }
.flagship-card-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: var(--space-xl); flex: 1; }
.flagship-card-btn { align-self: flex-start; }

/* ── 9. How it works ───────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.step-card {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.step-card:hover { transform: translateY(-6px); border-color: var(--border-mid); }

.step-number {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; opacity: 0.55;
  line-height: 1; margin-bottom: var(--space-md);
}
.step-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 26px; color: var(--indigo-bright);
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.22);
  margin-bottom: var(--space-md);
}
.step-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--text-secondary); }

/* ── 10. Features ──────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

.feature-card {
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform var(--dur-mid) var(--ease-spring),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-mid);
  box-shadow: 0 24px 50px -28px var(--glow-indigo);
}
.feature-card-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 28px; color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 24px -10px var(--glow-indigo);
  margin-bottom: var(--space-lg);
}
.feature-card-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.feature-card-desc { font-size: 15px; color: var(--text-secondary); }

/* ── 11. Coming-soon teaser ────────────────────────────────────────────────
   The individual industry cards were intentionally removed; this single
   centred glass panel simply signals that more verticals are on the way. */
.soon-teaser {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(12, 16, 34, 0.5);
  border: 1px solid var(--border-mid);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
/* Soft radial glow bleeding from behind the panel for depth. */
.soon-teaser-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: 420px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow-indigo) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.soon-teaser-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 34px; color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 30px -10px var(--glow-indigo);
}
.soon-teaser-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  margin-bottom: var(--space-sm);
}
.soon-teaser-text {
  position: relative;
  font-size: 16px; color: var(--text-secondary);
  max-width: 480px; margin: 0 auto var(--space-xl);
}
.soon-teaser-btn { position: relative; }

/* ── 12. Final CTA ─────────────────────────────────────────────────────── */
.cta-banner { padding: var(--space-3xl) 0; position: relative; z-index: 1; }
.cta-inner {
  position: relative;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(168,85,247,0.10), rgba(34,211,238,0.08));
  border: 1px solid var(--border-mid);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-indigo), transparent 65%);
  filter: blur(70px); opacity: 0.55; pointer-events: none;
}
.cta-title { position: relative; font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.cta-sub { position: relative; font-size: clamp(15px, 1.6vw, 18px); color: var(--text-secondary); max-width: 560px; margin: 0 auto var(--space-xl); }
.cta-actions { position: relative; display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ── 13. Footer ────────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 7, 19, 0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.footer-brand .nav-brand { margin-bottom: var(--space-md); }
.footer-tagline { font-size: 14px; color: var(--text-secondary); max-width: 320px; margin-bottom: var(--space-lg); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 18px; color: var(--text-secondary);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  transition: all var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { color: #fff; border-color: var(--border-strong); transform: translateY(-2px); background: rgba(99,102,241,0.18); }

.footer-col-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: var(--space-md); }
.footer-link { display: block; font-size: 14px; color: var(--text-secondary); padding: 5px 0; transition: color var(--dur-fast) var(--ease-out); }
.footer-link:hover { color: var(--text-primary); }
.footer-link-soon { font-size: 11px; color: var(--text-muted); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm);
  padding-top: var(--space-lg); border-top: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-muted);
}
.footer-built { display: inline-flex; align-items: center; gap: 5px; }
.footer-built i { color: var(--indigo-bright); }

/* ── 14. Scroll-reveal animations (JS-gated) ───────────────────────────── */
/* Without JS, content is fully visible. With .js, items start hidden and
   reveal on scroll via the .is-visible class added by storefront.js. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Staggered children of a [data-reveal="stagger"] container */
.js [data-reveal="stagger"] > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.js [data-reveal="stagger"].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].is-visible > *:nth-child(1) { transition-delay: 0ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: 70ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: 140ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(4) { transition-delay: 210ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(5) { transition-delay: 280ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(6) { transition-delay: 350ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(7) { transition-delay: 420ms; }
.js [data-reveal="stagger"].is-visible > *:nth-child(8) { transition-delay: 490ms; }

/* ── 15. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: inline-flex; }

  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-lg); }

  .flagship-grid { grid-template-columns: 1fr; max-width: 480px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .soon-teaser   { padding: var(--space-2xl) var(--space-lg); }

  .hero { min-height: auto; padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-3xl); }
  .hero-stat-divider { display: none; }
  .hero-stats { gap: var(--space-lg); }
}

@media (max-width: 460px) {
  .hero-cta-group .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ── 16. Reduced-motion fallback ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Ensure revealed content is always visible when motion is reduced */
  .js [data-reveal],
  .js [data-reveal="stagger"] > * { opacity: 1 !important; transform: none !important; }
  .aurora { animation: none; }
  .hero-canvas { transition: none; }
}
