/* ============================================================
   Castbase — marketing landing
   Aurora Glass: midnight canvas, indigo→violet→cyan aurora,
   frosted glass with top-gloss, grain. Matches the Castbase app.
   ============================================================ */

:root {
  color-scheme: dark;

  --font-display: "Clash Display", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "General Sans", "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Aurora light sources */
  --aur-1: #6366f1; /* indigo */
  --aur-2: #a855f7; /* violet */
  --aur-3: #22d3ee; /* cyan   */
  --aurora: linear-gradient(115deg, var(--aur-1), var(--aur-2) 52%, var(--aur-3));
  --aurora-text: linear-gradient(100deg, #818cf8, #c084fc 48%, #5eead4);

  /* Midnight canvas */
  --paper: #080b16;
  --bg-2: #0a0e1a;

  /* Glass */
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-hi: rgba(255, 255, 255, 0.16);
  --glass-blur: blur(20px) saturate(135%);

  /* Text */
  --ink: #eaf0fb;
  --ink-2: #b6c2d8;
  --muted: #828ea6;
  --faint: #74809a;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.12);

  /* Channel brand colours */
  --ch-ig: #e1306c;
  --ch-ig-2: #f77737;
  --ch-fb: #1877f2;
  --ch-li: #0a66c2;
  --ch-tk: #25f4ee;
  --ch-tk-2: #fe2c55;
  --ch-gb: #4285f4;

  --sea: #5eead4;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 0 0 var(--glass-hi) inset, 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 1px 0 0 var(--glass-hi) inset, 0 32px 70px -20px rgba(0, 0, 0, 0.78);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; }

body {
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 760px at 6% -10%, rgba(99, 102, 241, 0.22), transparent 58%),
    radial-gradient(1000px 800px at 106% -6%, rgba(168, 85, 247, 0.16), transparent 55%),
    radial-gradient(900px 760px at 96% 64%, rgba(34, 211, 238, 0.1), transparent 56%),
    var(--paper);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: hidden;
}

/* grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* drifting ambient glows */
.glows { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.glow-1 { width: 560px; height: 560px; left: -160px; top: -120px;
  background: radial-gradient(circle, rgba(99,102,241,0.5), transparent 65%);
  animation: drift 24s ease-in-out infinite; }
.glow-2 { width: 620px; height: 620px; right: -200px; top: 18%;
  background: radial-gradient(circle, rgba(168,85,247,0.42), transparent 65%);
  animation: drift 30s ease-in-out infinite reverse; }
.glow-3 { width: 520px; height: 520px; left: 28%; bottom: -180px;
  background: radial-gradient(circle, rgba(34,211,238,0.3), transparent 65%);
  animation: drift 27s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

main, .nav, .footer { position: relative; z-index: 1; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  line-height: 1.06;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

/* ----------------------------- brand mark ----------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--aurora);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 18px -4px rgba(99,102,241,0.65);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px;
  border-radius: 50%;
  background: rgba(8,11,22,0.55);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.55) inset;
}
.brand-mark.sm { width: 22px; height: 22px; border-radius: 7px; }
.brand-mark.sm::after { inset: 5px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: #fff;
}

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: var(--aurora);
  background-size: 160% 160%;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 12px 30px -10px rgba(99,102,241,0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 44px -10px rgba(124,90,247,0.85);
}

.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--line-2); background: rgba(255,255,255,0.07); }
.btn .play { font-size: 11px; opacity: 0.85; }

/* ----------------------------- nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(8,11,22,0.82), rgba(8,11,22,0.4));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 4px 0; transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--aurora); border-radius: 2px; transition: width 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-signin { padding: 9px 16px; font-size: 14px; }

/* ----------------------------- hero ----------------------------- */
.hero { padding: 64px 0 30px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 48px; align-items: center;
}
.hero-copy { max-width: 600px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transition: border-color 0.25s, transform 0.2s;
}
.pill:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 10px 2px rgba(124,90,247,0.7); }
.pill-arrow { color: var(--aur-3); font-weight: 600; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 70px);
  font-weight: 600; letter-spacing: -0.03em;
  margin: 22px 0 0;
}
.hero-sub {
  margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2); max-width: 540px; line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }

.hero-trust {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.hero-trust strong { color: var(--ink); font-weight: 600; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); display: inline-block; }

/* ----------------------------- hero mockup ----------------------------- */
.hero-visual { perspective: 1600px; }
.mock-stack { position: relative; }
.mock-glow {
  position: absolute; inset: -8% -6% -14% -6%;
  background:
    radial-gradient(60% 70% at 30% 20%, rgba(99,102,241,0.5), transparent 60%),
    radial-gradient(60% 70% at 80% 80%, rgba(34,211,238,0.34), transparent 62%),
    radial-gradient(70% 60% at 60% 50%, rgba(168,85,247,0.36), transparent 60%);
  filter: blur(46px); opacity: 0.85; z-index: 0;
}

.mock {
  position: relative; z-index: 1;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22,28,48,0.92), rgba(11,15,28,0.94));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  animation: mock-float 8s ease-in-out infinite;
}
@keyframes mock-float {
  0%, 100% { transform: rotateY(-9deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-10px); }
}
.mock::before { /* top gloss */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 16%);
}

.mock-top {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.mock-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; }
.mock-brandtag {
  margin-left: 6px; font-size: 11px; color: var(--ink-2);
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.mock-dots { margin-left: auto; display: flex; gap: 5px; }
.mock-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); }

.mock-body { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.mock-side {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 0; border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.ms-avatar { width: 26px; height: 26px; border-radius: 8px; background: var(--aurora); box-shadow: 0 4px 12px -3px rgba(99,102,241,0.6); }
.ms-item { width: 24px; height: 9px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.ms-item.active { background: rgba(168,85,247,0.5); box-shadow: 0 0 0 1px rgba(168,85,247,0.4); }
.ms-add { margin-top: 4px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  color: var(--ink-2); font-size: 14px; border: 1px dashed var(--line-2); }

.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.kpi::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--glass-hi); }
.kpi small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.kpi b { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; }
.kpi .trend { display: block; margin-top: 3px; font-size: 10.5px; color: var(--muted); }
.kpi .trend.up { color: var(--sea); }

.mock-channels {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--line);
}
.mc {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; font-family: var(--font-display);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.6);
}
.mc.ig { background: linear-gradient(135deg, #f9ce34, var(--ch-ig) 55%, #7c2ae8); }
.mc.fb { background: var(--ch-fb); }
.mc.li { background: var(--ch-li); font-size: 11px; }
.mc.tk { background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 4px 12px -4px rgba(0,0,0,0.6); }
.mc.gb { background: #fff; color: var(--ch-gb); }
.mc-label { margin-left: 6px; font-size: 11.5px; color: var(--ink-2); }

.mock-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.content-card, .chart-card {
  border-radius: 12px; background: rgba(255,255,255,0.035); border: 1px solid var(--line);
  overflow: hidden;
}
.cc-media {
  height: 86px; position: relative;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(168,85,247,0.5), transparent 60%),
    linear-gradient(135deg, #2a1b46, #14243a);
  display: grid; place-items: center;
}
.cc-play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.16); color: #fff; font-size: 11px; backdrop-filter: blur(4px); }
.cc-badge { position: absolute; top: 8px; left: 8px; font-size: 9.5px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,0.4); color: #fff; }
.cc-meta { padding: 10px 11px; }
.cc-meta b { display: block; font-family: var(--font-body); font-size: 12.5px; color: #fff; }
.cc-meta small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.state { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.state.ready { color: var(--sea); background: rgba(45,212,191,0.14); }
.cc-when { font-size: 10px; color: var(--muted); }

.chart-card { padding: 11px; display: flex; flex-direction: column; }
.chart-card > small { font-size: 10.5px; color: var(--muted); }
.spark { width: 100%; height: 60px; margin-top: 6px; }
.spark-line { stroke: #c084fc; stroke-width: 2; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(192,132,252,0.6)); }
.chart-foot { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--muted); margin-top: auto; }
.ledge { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.ledge.ig { background: var(--ch-ig); } .ledge.li { background: var(--ch-li); } .ledge.tk { background: var(--ch-tk); }

/* floating chips */
.float-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; border-radius: 13px;
  background: rgba(16,21,38,0.78); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
  animation: chip-float 6s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 10px; color: var(--muted); }
.float-chip b { display: block; font-size: 12.5px; color: #fff; font-family: var(--font-body); font-weight: 600; }
.float-chip-tr { top: -22px; right: -14px; }
.float-chip-bl { bottom: 8px; left: -34px; animation-delay: -3s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.ch-glyph { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 14px; }
.ch-glyph.ig { background: linear-gradient(135deg, #f9ce34, var(--ch-ig) 55%, #7c2ae8); }
.float-chip .ok { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  color: #052e26; font-weight: 800; background: var(--sea); box-shadow: 0 4px 14px -3px rgba(94,234,212,0.6); }

/* ----------------------------- logo strip ----------------------------- */
.strip-label { text-align: center; color: var(--faint); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 72px 0 18px; }
.logostrip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 46px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logostrip span {
  font-family: var(--font-display); font-weight: 500; font-size: 19px;
  color: var(--muted); letter-spacing: 0.02em; opacity: 0.8;
  transition: color 0.25s, opacity 0.25s;
}
.logostrip span:hover { color: var(--ink); opacity: 1; }

/* ----------------------------- sections ----------------------------- */
.section { padding: 92px 0; }
.sec-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 16px;
  background: var(--aurora-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
}
.card::before { /* top gloss */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(90deg, transparent, var(--glass-hi) 50%, transparent);
}

/* ----------------------------- channels ----------------------------- */
.channel-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.channel {
  position: relative; overflow: hidden;
  padding: 26px 18px; border-radius: var(--r); text-align: center;
  background: var(--surface); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.25s;
}
.channel::after {
  content: ""; position: absolute; inset: auto 0 -40% 0; height: 70%;
  background: radial-gradient(60% 100% at 50% 100%, var(--ch-color, rgba(99,102,241,0.4)), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.channel:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.channel:hover::after { opacity: 0.7; }
.channel b { display: block; font-family: var(--font-body); font-weight: 600; color: #fff; margin-top: 14px; font-size: 16px; }
.channel small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.ch-icon {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 24px -8px rgba(0,0,0,0.7);
}
.channel.ig { --ch-color: rgba(225,48,108,0.5); }
.channel.ig .ch-icon { background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.channel.fb { --ch-color: rgba(24,119,242,0.5); }
.channel.fb .ch-icon { background: linear-gradient(135deg, #2a8bff, var(--ch-fb)); }
.channel.li { --ch-color: rgba(10,102,194,0.5); }
.channel.li .ch-icon { background: linear-gradient(135deg, #2e8fe0, var(--ch-li)); font-size: 20px; }
.channel.tk { --ch-color: rgba(37,244,238,0.4); }
.channel.tk .ch-icon { background: #0b0b0f; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 10px 24px -8px rgba(0,0,0,0.8); position: relative; }
.channel.tk .ch-icon { color: #fff; text-shadow: 1.5px 0 var(--ch-tk-2), -1.5px 0 var(--ch-tk); }
.channel.gb { --ch-color: rgba(66,133,244,0.45); }
.channel.gb .ch-icon { background: #fff; color: var(--ch-gb); }

/* ----------------------------- features ----------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px 26px; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.25s; }
.feat:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.feat h3 { font-size: 20px; margin: 18px 0 9px; }
.feat p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.feat-icon {
  width: 50px; height: 50px; border-radius: 14px; display: block; position: relative;
  background: linear-gradient(135deg, rgba(99,102,241,0.22), rgba(168,85,247,0.14));
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 var(--glass-hi) inset;
}
.feat-icon::after {
  content: ""; position: absolute; inset: 0; display: block;
  background: var(--aurora-text); -webkit-mask: var(--icon) center / 24px no-repeat; mask: var(--icon) center / 24px no-repeat;
}
.i-publish  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4 20-7z'/%3E%3C/svg%3E"); }
.i-approve  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E"); }
.i-analytics{ --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 14 4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.i-bio      { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1'/%3E%3C/svg%3E"); }
.i-ai       { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 13.9 8.1 19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.i-whitelabel{ --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }

/* ----------------------------- white-label ----------------------------- */
.wl-panel { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.wl-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(168,85,247,0.22), transparent 60%); }
.wl-copy { padding: 52px 48px; position: relative; z-index: 1; }
.wl-copy .eyebrow { margin-bottom: 14px; }
.wl-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.wl-copy > p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.62; max-width: 460px; }
.wl-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.wl-list li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 15px; }
.wl-list code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px;
  color: var(--aur-3); background: rgba(34,211,238,0.08); padding: 2px 8px; border-radius: 6px; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 7px; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #052e26; background: var(--sea); box-shadow: 0 3px 10px -3px rgba(94,234,212,0.5); }

.wl-visual { position: relative; z-index: 1; display: grid; place-items: center; padding: 40px;
  background: linear-gradient(180deg, rgba(8,11,22,0.2), rgba(8,11,22,0.55)); border-left: 1px solid var(--line); }
.browser {
  width: 100%; max-width: 340px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,26,46,0.95), rgba(11,15,28,0.96));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.browser-bar .url { margin-left: 8px; font-size: 11px; color: var(--ink-2);
  background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); flex: 1; }
.lock { color: var(--sea); margin-right: 4px; }
.browser-body { padding: 30px 26px 34px; }
.wl-login { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wl-logo { width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, #f0abfc, #818cf8 60%, #5eead4);
  box-shadow: 0 8px 22px -6px rgba(168,85,247,0.6); }
.wl-login b { font-family: var(--font-display); font-size: 18px; color: #fff; margin-top: 14px; }
.wl-login small { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.wl-field { width: 100%; height: 36px; border-radius: 9px; margin-top: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.wl-field:first-of-type { margin-top: 22px; }
.wl-btn { width: 100%; height: 38px; border-radius: 10px; margin-top: 14px; display: grid; place-items: center;
  font-weight: 600; font-size: 13.5px; color: #fff;
  background: linear-gradient(135deg, #a78bfa, #6366f1); box-shadow: 0 8px 20px -6px rgba(99,102,241,0.6); }
.wl-foot { font-size: 10.5px; color: var(--faint); margin-top: 16px; }

/* ----------------------------- how it works ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px 22px; border-radius: var(--r); position: relative;
  background: var(--surface-2); border: 1px solid var(--line); }
.step-no { font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: transparent; background: var(--aurora-text); -webkit-background-clip: text; background-clip: text;
  letter-spacing: 0.05em; }
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ----------------------------- pricing ----------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 34px 28px; display: flex; flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.25s; }
.price:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.price h3 { font-size: 21px; }
.price-tag { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.price-tag .amt { font-family: var(--font-display); font-weight: 600; font-size: 46px; color: #fff; letter-spacing: -0.02em; }
.price-tag .per { color: var(--muted); font-size: 16px; }
.price-for { color: var(--ink-2); font-size: 14.5px; min-height: 42px; }
.price-feats { list-style: none; padding: 22px 0; margin: 18px 0 24px; display: grid; gap: 13px;
  border-top: 1px solid var(--line); flex: 1; }
.price-feats li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink); }
.price-feats .tick { width: 20px; height: 20px; font-size: 11px; }

.price.popular {
  background: linear-gradient(180deg, rgba(99,102,241,0.14), rgba(168,85,247,0.06)), var(--surface);
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 1px 0 var(--glass-hi) inset, 0 30px 70px -24px rgba(124,90,247,0.5);
  transform: scale(1.03);
}
.price.popular:hover { transform: scale(1.03) translateY(-6px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: #fff;
  padding: 6px 16px; border-radius: 999px; background: var(--aurora);
  box-shadow: 0 8px 20px -6px rgba(124,90,247,0.7); white-space: nowrap; }
.price-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 28px; }

/* ----------------------------- final cta ----------------------------- */
.final-cta { padding: 40px 0 100px; }
.cta-panel { text-align: center; padding: 70px 40px; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 50% 0%, rgba(168,85,247,0.26), transparent 60%),
              radial-gradient(60% 100% at 50% 120%, rgba(34,211,238,0.18), transparent 60%); }
.cta-panel h2 { position: relative; z-index: 1; font-size: clamp(30px, 4.6vw, 50px); }
.cta-panel p { position: relative; z-index: 1; max-width: 540px; margin: 18px auto 0; color: var(--ink-2); font-size: 17px; }
.cta-panel .hero-actions { position: relative; z-index: 1; margin-top: 30px; }

/* ----------------------------- footer ----------------------------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 34px;
  background: linear-gradient(180deg, transparent, rgba(8,11,22,0.6)); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-cols a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-base small { color: var(--faint); font-size: 13px; }

/* ----------------------------- scroll reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; }
.reveal[data-d="4"] { transition-delay: 0.28s; }
.reveal[data-d="5"] { transition-delay: 0.35s; }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wl-panel { grid-template-columns: 1fr; }
  .wl-visual { border-left: none; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .section { padding: 68px 0; }
  .channel-row { grid-template-columns: repeat(2, 1fr); }
  .channel-row .channel.gb { grid-column: span 2; }
  .price-grid { grid-template-columns: 1fr; }
  .price.popular { transform: none; }
  .price.popular:hover { transform: translateY(-6px); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .float-chip-bl { left: -8px; }
  .float-chip-tr { right: 2px; }
  .wl-copy { padding: 40px 28px; }
  .cta-panel { padding: 50px 26px; }
}

@media (max-width: 460px) {
  .container { padding: 0 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .btn-lg { padding: 14px 22px; width: 100%; }
  .hero-actions { flex-direction: column; }
  .float-chip { display: none; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
