/* ============================================================
   Hippo Academy — Glassmorphic AI Landing
   ============================================================ */



:root {
  /* tweakable */
  --accent-cyan: #ff7a59;
  --accent-blue: #f0468b;
  --accent-sky: #ffb199;
  --glass-blur: 22px;
  --glow-strength: 1;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --maxw: 1200px;
}

/* ---------- LIGHT THEME ---------- */
:root,
[data-theme="light"] {
  --bg-0: #f8fafc;
  --bg-1: #ffffff;
  --bg-2: #f1f5f9;

  --blob-a: rgba(255, 122, 89, 0.22);
  --blob-b: rgba(240, 70, 139, 0.15);
  --blob-c: rgba(255, 177, 153, 0.15);

  --grid-line: rgba(240, 70, 139, 0.05);

  --text: #0f172a;
  --text-strong: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-hairline: rgba(255, 122, 89, 0.25);
  --glass-sheen: rgba(255, 255, 255, 0.9);

  --card-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.15),
                 0 4px 14px -6px rgba(15, 23, 42, 0.05);
  --glow-shadow: 0 0 0 1px rgba(255, 122, 89, 0.18),
                 0 18px 50px -18px rgba(255, 122, 89, calc(0.45 * var(--glow-strength)));

  --node-stroke: rgba(240, 70, 139, 0.25);
  --net-line: rgba(240, 70, 139, 0.08);

  --chip-bg: rgba(241, 245, 249, 0.7);

  --danger: #ef4665;
  --danger-bg: rgba(239, 70, 101, 0.10);
}

/* ---------- DARK THEME ---------- */
[data-theme="dark"] {
  --bg-0: #0b0f19;
  --bg-1: #111827;
  --bg-2: #090d16;

  --blob-a: rgba(255, 122, 89, 0.15);
  --blob-b: rgba(240, 70, 139, 0.12);
  --blob-c: rgba(255, 177, 153, 0.12);

  --grid-line: rgba(255, 122, 89, 0.04);

  --text: #dbe7fb;
  --text-strong: #f2f7ff;
  --text-muted: #95a8cd;
  --text-faint: #647693;

  --glass-bg: rgba(17, 24, 39, 0.45);
  --glass-bg-strong: rgba(31, 41, 55, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hairline: rgba(255, 122, 89, 0.22);
  --glass-sheen: rgba(255, 255, 255, 0.12);

  --card-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.8),
                 0 4px 14px -6px rgba(0, 0, 0, 0.5);
  --glow-shadow: 0 0 0 1px rgba(255, 122, 89, 0.16),
                 0 22px 60px -22px rgba(255, 122, 89, calc(0.55 * var(--glow-strength)));

  --node-stroke: rgba(255, 122, 89, 0.35);
  --net-line: rgba(255, 122, 89, 0.10);

  --chip-bg: rgba(17, 24, 39, 0.55);

  --danger: #ff6b86;
  --danger-bg: rgba(255, 107, 134, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg-stack { position: fixed; inset: 0; z-index: -3; overflow: hidden; }

.bg-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(140% 120% at 50% -10%, var(--bg-1) 0%, var(--bg-0) 55%, var(--bg-2) 100%);
}

.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.9; }
.blob.a { width: 620px; height: 620px; background: var(--blob-a); top: -200px; left: -120px;
  animation: drift1 22s ease-in-out infinite; }
.blob.b { width: 560px; height: 560px; background: var(--blob-b); top: 120px; right: -160px;
  animation: drift2 26s ease-in-out infinite; }
.blob.c { width: 520px; height: 520px; background: var(--blob-c); top: 720px; left: 35%;
  animation: drift1 30s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(60px,40px) scale(1.08);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-50px,60px) scale(1.06);} }

/* neural canvas behind hero */
#net-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-blue); font-weight: 500;
}

/* glass primitive */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-lg);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-sheen) 0%, transparent 18%);
  opacity: 0.5; mix-blend-mode: screen;
}
.glass.glow { box-shadow: var(--card-shadow), var(--glow-shadow); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-shell { position: sticky; top: 14px; z-index: 50; padding: 0 28px; }
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 13px 18px 13px 16px;
  border-radius: 22px;
}
.brand { display: flex; align-items: center; gap: 13px; }
/* Animated Logo - Pink/Peach Theme */
.brand-logo-anim {
  width: 46px;
  height: 46px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo-sm {
  width: 36px;
  height: 36px;
}
.brand-logo-sm .logo-square {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff7a59, #f0468b);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(240, 70, 139, 0.3);
  transition: transform 0.3s;
}
.brand-logo-sm:hover .logo-square {
  transform: rotate(8deg) scale(1.05);
}
.logo-letter-sm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

/* Hero Center Large Logo */
.hero-logo-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.hero-logo-card {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #ff7a59, #f0468b);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(240, 70, 139, 0.45);
  z-index: 5;
  animation: float-logo 4s ease-in-out infinite;
}
.logo-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  color: #fff;
}
.hero-logo-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(240, 70, 139, 0.4) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 89, 0.25);
  pointer-events: none;
}
.ring-outer {
  width: 110px;
  height: 110px;
  border-style: dashed;
  animation: spin-clockwise 20s linear infinite;
}
.ring-inner {
  width: 90px;
  height: 90px;
  border-style: double;
  border-width: 3px;
  border-color: rgba(240, 70, 139, 0.18) transparent;
  animation: spin-counter-clockwise 10s linear infinite;
}

@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin-counter-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

/* Premium Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 50px auto 20px;
  text-align: left;
}
.benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
}
.benefit-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 89, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(255, 122, 89, 0.2);
}
.benefit-icon {
  width: 22px;
  height: 22px;
}
.benefit-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.benefit-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Soft Glow helper styles for benefits */
.glow-cyan-soft:hover {
  box-shadow: 0 20px 40px -15px rgba(255, 122, 89, 0.2), 0 0 25px rgba(255, 122, 89, 0.1);
}
.glow-gold-soft:hover {
  box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.2), 0 0 25px rgba(245, 158, 11, 0.1);
}
.glow-purple-soft:hover {
  box-shadow: 0 20px 40px -15px rgba(240, 70, 139, 0.2), 0 0 25px rgba(240, 70, 139, 0.1);
}

/* Social Proof Bar */
.proof-bar {
  padding: 40px 0 20px;
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  box-shadow: var(--card-shadow);
}
.proof-item {
  text-align: center;
  flex: 1;
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 36px);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.proof-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--glass-hairline);
  opacity: 0.6;
}

/* CTA Logo Style */
.cta-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.cta-logo-square {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ff7a59, #f0468b);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(240, 70, 139, 0.4);
  animation: float-logo 4s ease-in-out infinite;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-strong); line-height: 1.1; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; color: var(--text-muted); font-weight: 500; }

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

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--chip-bg); border: 1px solid var(--glass-hairline);
  color: var(--text); transition: 0.25s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--accent-cyan); color: var(--accent-blue); }
.icon-btn svg { width: 19px; height: 19px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 12px 20px; border-radius: 13px; border: 1px solid transparent;
  transition: 0.25s; white-space: nowrap; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  box-shadow: 0 12px 28px -12px var(--accent-blue), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px var(--accent-blue), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ghost { color: var(--text); background: var(--chip-bg); border-color: var(--glass-hairline); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-cyan); }
.btn-danger { color: var(--danger); background: var(--danger-bg); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 18%, transparent); transform: translateY(-2px); }

.nav .btn { padding: 10px 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 90px 0 40px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 auto 30px;
  padding: 9px 18px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  color: var(--accent-blue);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-hairline);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -14px var(--accent-cyan);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent-cyan); flex-shrink: 0; }
.hero-badge { white-space: nowrap; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-cyan) 25%, transparent); }

.hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(40px, 6.6vw, 82px); line-height: 1.02; color: var(--text-strong);
  margin: 0 auto; max-width: 14ch; text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--accent-cyan) 5%, var(--accent-blue) 60%, var(--accent-sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero p.lead {
  margin: 28px auto 0; max-width: 60ch; font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted); line-height: 1.65; text-wrap: pretty;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-cta .btn { padding: 15px 28px; font-size: 15.5px; }

.hero-trust { margin-top: 34px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; color: var(--text-faint); font-size: 13px; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { width: 16px; height: 16px; color: var(--accent-cyan); }

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
.preview-area { padding: 50px 0 30px; }
.preview {
  max-width: 1080px; margin: 0 auto; padding: 16px; border-radius: var(--radius-lg);
}
.preview-bar { display: flex; align-items: center; gap: 14px; padding: 6px 8px 16px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1){ background:#ff5f57; } .dots i:nth-child(2){ background:#febc2e; } .dots i:nth-child(3){ background:#28c840; }
.preview-bar .file { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.live-tag {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-blue);
  padding: 7px 13px; border-radius: 100px; background: var(--chip-bg); border: 1px solid var(--glass-hairline);
}
.live-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(40,200,64,0.5);} 70%{ box-shadow:0 0 0 8px rgba(40,200,64,0);} 100%{ box-shadow:0 0 0 0 rgba(40,200,64,0);} }

.preview-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }

.panel {
  border-radius: var(--radius-md); padding: 22px; position: relative;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.panel h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-strong); }
.panel .sub { font-size: 12.5px; color: var(--accent-blue); font-weight: 500; margin-top: 3px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.legend { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.legend .sw { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-cyan); }

.chart-wrap { width: 100%; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-axis { font-family: var(--font-mono); font-size: 10px; fill: var(--text-faint); }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.stat { background: var(--chip-bg); border: 1px solid var(--glass-hairline); border-radius: 14px; padding: 12px 13px; }
.stat .k { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.stat .v { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--text-strong); margin-top: 3px; letter-spacing: -0.02em; }
.stat .v small { font-size: 12px; color: var(--accent-cyan); font-weight: 600; }

.side-col { display: flex; flex-direction: column; gap: 16px; }
.alert {
  border-radius: var(--radius-md); padding: 18px; position: relative; overflow: hidden;
  background: var(--danger-bg); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
}
.alert-head { display: flex; align-items: center; gap: 9px; color: var(--danger); font-weight: 700; font-size: 14px; }
.alert-head svg { width: 18px; height: 18px; }
.alert p { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }

.mini-metric { background: var(--glass-bg-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 16px 18px; }
.mini-metric .k { font-size: 12px; color: var(--text-muted); font-weight: 600; display:flex; align-items:center; gap:7px; }
.mini-metric .k svg { width: 15px; height: 15px; color: var(--accent-blue); }
.mini-metric .v { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--text-strong); margin-top: 6px; letter-spacing:-0.02em; }
.mini-metric .delta { font-size: 12px; font-weight: 600; }
.delta.up { color: #15b66c; } .delta.down { color: var(--danger); }

.ring-row { display:flex; align-items:center; gap:14px; }
.ring { width: 64px; height: 64px; flex-shrink:0; }
.ring text { font-family: var(--font-display); font-weight: 700; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec { padding: 96px 0; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.sec-head .eyebrow { display:block; margin-bottom: 14px; }
.sec-head h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; color: var(--text-strong); text-wrap: balance;
}
.sec-head p { margin-top: 16px; color: var(--text-muted); font-size: 17px; text-wrap: pretty; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 26px; border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 14px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.feature::before {
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(180deg, var(--glass-sheen) 0%, transparent 16%); opacity:.45; mix-blend-mode: screen;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--card-shadow), var(--glow-shadow); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent-sky) 70%, white), var(--accent-blue));
  box-shadow: 0 10px 24px -12px var(--accent-blue), inset 0 1px 0 rgba(255,255,255,0.5);
  color: #fff;
}
.feat-icon svg { width: 25px; height: 25px; }
.feature h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text-strong); letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.feature .tag { margin-top: auto; font-family: var(--font-mono); font-size: 11px; color: var(--accent-blue); font-weight: 500; letter-spacing: 0.03em; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.step {
  padding: 28px 24px; border-radius: var(--radius-md); position: relative;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--card-shadow);
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent-blue); background: var(--chip-bg); border: 1px solid var(--glass-hairline);
}
.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-strong); margin-bottom: 9px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step .line { position: absolute; top: 48px; right: -20px; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent); display: none; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 40px 0 110px; }
.cta-card {
  max-width: 980px; margin: 0 auto; text-align: center; padding: 64px 40px;
  border-radius: 36px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent-blue) 22%, transparent) 0%, transparent 60%),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--card-shadow), var(--glow-shadow);
}
.cta-card h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(28px, 4vw, 44px); color: var(--text-strong); line-height: 1.1; text-wrap: balance; }
.cta-card p { margin: 18px auto 0; max-width: 54ch; color: var(--text-muted); font-size: 17px; }
.cta-card .hero-cta { margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 50px 0 60px; border-top: 1px solid var(--glass-hairline); }
.foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand p { margin-top: 14px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-strong); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-muted); font-size: 14px; text-decoration: none; margin-bottom: 9px; transition: 0.2s; }
.foot-col a:hover { color: var(--accent-blue); }
.foot-bottom { max-width: var(--maxw); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--glass-hairline);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-faint); font-size: 13px; }

/* ============================================================
   REVEAL  (resting state is VISIBLE; only armed elements hide)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.armed { opacity: 0; transform: translateY(28px); }
  .reveal.armed.in {
    opacity: 1; transform: none;
    transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
  }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 880px) { .step .line { display: block; } .step:last-child .line { display:none; } }
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .preview-grid { grid-template-columns: 1fr; }
  .brand-sub { display:none; }
  .nav .label-hide { display:none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 30px; }
  .nav-shell { padding: 0 14px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile Bottom Nav Dock ---- */
.mobile-nav-shell { display: none; }

@media (max-width: 820px) {
  .mobile-nav-shell {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 28px);
    max-width: 480px;
    background: color-mix(in srgb, var(--bg-1) 75%, transparent);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid color-mix(in srgb, var(--accent-cyan) 22%, transparent);
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(0,0,0,.35), 0 0 28px color-mix(in srgb, var(--accent-cyan) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.12);
    padding: 8px 10px;
    align-items: center;
    justify-content: space-around;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .mobile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 7px 13px;
    border-radius: 16px;
    transition: .2s ease;
    opacity: .65;
  }
  .mobile-link:hover {
    opacity: .85;
    background: color-mix(in srgb, var(--accent-cyan) 10%, transparent);
  }
  .mobile-link.active {
    color: var(--accent-cyan);
    background: color-mix(in srgb, var(--accent-cyan) 15%, transparent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent-cyan) 25%, transparent);
    opacity: 1;
  }
  .mobile-link svg { width: 22px; height: 22px; stroke-width: 2; }
  .mobile-link.active svg { filter: drop-shadow(0 0 5px var(--accent-cyan)); }
  body { padding-bottom: 100px; }
}