/* ═══════════════════════════════════════════════════════════
   TaskZilla — style.css v2  (Mivon-inspired, canvas BG)
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --black:    #0D0D0D;
  --dark:     #1A1A2E;
  --text:     #1A1A2E;
  --muted:    #6B7280;
  --purple:   #7C3AED;
  --green:    #16A34A;
  --border:   #E5E7EB;
  --bg:       #FFFFFF;
  --bg-alt:   #F9FAFB;
  --font:     'Plus Jakarta Sans', system-ui, sans-serif;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      0.7s;
  --accent:   #7C3AED;
  --radius:   1rem;
  --card:     #F8FAFC;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════
   SCROLL PROGRESS BAR (#39)
═══════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, #7C3AED, #A78BFA, #6366F1);
  z-index: 9999;
  transition: width 0.08s linear;
  border-radius: 0 9999px 9999px 0;
  box-shadow: 0 0 10px rgba(124,58,237,0.6);
}


/* ═══════════════════════════════════════════════════════
   NOISE / GRAIN OVERLAY (#11 new)
═══════════════════════════════════════════════════════ */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════
   FLOATING STICKY CTA (#31 new)
═══════════════════════════════════════════════════════ */
#sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 50%; transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 500;
  transition: bottom 0.5s var(--ease);
  white-space: nowrap;
}
#sticky-cta.visible { bottom: 1.75rem; }
.scta-text { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.scta-btn { font-size: 0.8125rem; padding: 0.5rem 1.25rem; border-radius: 9999px; }
.scta-close {
  background: none; border: none; color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 0.9rem; padding: 0.25rem;
  transition: color 0.2s;
}
.scta-close:hover { color: #fff; }
@media (max-width: 600px) { .scta-text { display: none; } #sticky-cta { gap: 0.75rem; } }

/* Night mode removed — white-mode only site */

/* ═══════════════════════════════════════════════════════
   SECTION PROGRESS DOTS (#37)
═══════════════════════════════════════════════════════ */
#progress-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pd {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.3);
  transition: all 0.3s var(--ease);
}
.pd.active {
  background: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
  transform: scale(1.4);
}
@media (max-width: 768px) { #progress-dots { display: none; } }

/* ═══════════════════════════════════════════════════════
   BACK TO TOP (#40)
═══════════════════════════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #4338CA);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.28);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-5px) rotate(-8deg); box-shadow: 0 10px 36px rgba(124,58,237,0.4); }

/* ═══════════════════════════════════════════════════════
   ROAR OVERLAY (#11)
═══════════════════════════════════════════════════════ */
#roar-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.2s;
}
#roar-overlay.active { backdrop-filter: blur(4px); }
#roar-overlay span {
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 900;
  background: linear-gradient(120deg, #7C3AED, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  text-shadow: none;
  filter: drop-shadow(0 0 60px rgba(124,58,237,0.5));
  transform: scale(0.5);
  transition: opacity 0.15s, transform 0.15s;
}
#roar-overlay.active {
  opacity: 1;
  animation: roarAnim 1.2s ease forwards;
}
@keyframes roarAnim {
  0%   { opacity: 1; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}
#roar-overlay.active span { transform: scale(1); }

/* ── Canvas ─────────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ── Layout utils ───────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--sd, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-dark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--dark);
  color: #fff;
  font-family: var(--font); font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.875rem;
  border-radius: 0.5rem; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}
.btn-dark:hover { background: #0a0a16; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.btn-dark.btn-lg { font-size: 1rem; padding: 1.125rem 2.25rem; border-radius: 0.625rem; }
.btn-dark.btn-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #4338CA 100%);
}
.btn-dark.btn-gradient:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #3730A3 100%);
  box-shadow: 0 12px 40px rgba(124,58,237,0.35);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--dark);
  font-family: var(--font); font-size: 0.9375rem; font-weight: 500;
  padding: 0.875rem 1.875rem;
  border-radius: 0.5rem; border: 1.5px solid rgba(26,26,46,0.22); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--dark); background: rgba(26,26,46,0.04); transform: translateY(-2px); }
.btn-outline.btn-lg { font-size: 1rem; padding: 1.125rem 2.25rem; border-radius: 0.625rem; }

.btn-text {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 500; color: var(--dark);
  transition: gap 0.2s;
}
.btn-text:hover { gap: 0.75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 500; color: var(--dark);
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.75rem; }
.link-arrow.sm { font-size: 0.875rem; color: var(--purple); }
.link-arrow.sm:hover { color: #6D28D9; }

/* ═══════════════════════════════════════════════════════════
   NAV — full-width glass bar → floating pill on scroll
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: padding 0.55s var(--ease);
}
.nav-inner {
  /* initial: full-width frosted bar */
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-radius: 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0 2.5rem;
  height: 64px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 1px 12px rgba(0,0,0,0.04);
  transition: all 0.55s var(--ease);
}
/* scrolled → floating pill */
#navbar.pill { padding: 0.875rem 2rem; }
#navbar.pill .nav-inner {
  max-width: 1440px; margin: 0 auto;
  border-radius: 9999px;
  border-bottom: none;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.375rem 0.5rem 0.375rem 1.5rem;
  height: 52px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.14), 0 1px 0 rgba(255,255,255,0.9) inset;
}

/* Brand */
.nav-brand {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--dark); flex-shrink: 0;
}
.brand-icon { flex-shrink: 0; border-radius: 8px; }
.brand-z { color: #7C3AED; }

/* Center nav */
.nav-center {
  flex: 1; display: flex; justify-content: center; align-items: center; gap: 0.125rem;
}

/* Nav items */
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
  color: #374151; white-space: nowrap;
  border-radius: 9999px;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
}
.nav-link:hover, .nav-link:focus { background: rgba(124,58,237,0.07); color: #7C3AED; }
.nav-link-btn {
  border: none; background: none;
  font-family: var(--font);
}
.nav-chev {
  opacity: 0.45; transition: transform 0.22s var(--ease), opacity 0.18s;
  flex-shrink: 0;
}
.has-mega:hover .nav-chev,
.has-mega:focus-within .nav-chev { transform: rotate(180deg); opacity: 1; }

/* Mega-menu dropdown */
.nav-mega {
  position: absolute; top: calc(100% + 0.625rem); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.9) inset;
  min-width: 400px; padding: 0.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 200;
}
.has-mega:hover .nav-mega,
.has-mega:focus-within .nav-mega {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.mega-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem; border-radius: 0.625rem;
  transition: background 0.15s;
}
.mega-item:hover { background: var(--bg-alt); }
.mega-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.08); border-radius: 0.5rem;
  font-size: 1rem;
}
.mega-item strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text); margin-bottom: 0.1rem; }
.mega-item span { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.mega-footer {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 0.625rem 0.75rem 0.25rem;
  margin-top: 0.25rem;
}
.mega-all-link {
  font-size: 0.8125rem; font-weight: 700; color: var(--purple);
  transition: opacity 0.15s;
}
.mega-all-link:hover { opacity: 0.75; text-decoration: underline; }
.mega-badge {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em;
  color: #A78BFA; background: rgba(124,58,237,0.07);
  padding: 0.2rem 0.5rem; border-radius: 9999px;
}

/* Active nav link */
.nav-link-active { background: rgba(124,58,237,0.09) !important; color: var(--purple) !important; }

/* Roll-link — canonical two-span independent approach (no wrapper container).
   Each span translates on its own; aria-hidden on clone prevents double screen-reader reads. */
.roll-link { overflow: hidden; }
.nav-link.roll-link:hover > span:first-child  { transform: translateY(-100%); }
.nav-link.roll-link:hover > span:last-child   { transform: translateY(-100%); }

/* Right side */
.nav-right { display: flex; align-items: center; gap: 0.375rem; flex-shrink: 0; }
.nav-signin {
  font-size: 0.875rem; font-weight: 600; color: var(--muted);
  padding: 0.4rem 0.75rem; border-radius: 9999px;
  transition: all 0.18s; white-space: nowrap;
}
.nav-signin:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-cta {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: -0.01em;
  color: #fff; background: var(--dark);
  padding: 0.5rem 1.125rem; border-radius: 9999px; height: 36px;
  display: flex; align-items: center; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: all 0.22s var(--ease);
}
.nav-cta:hover {
  background: var(--purple);
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-ham {
  display: none; flex-direction: column; gap: 4.5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0;
  border-radius: 0.5rem; transition: background 0.18s;
}
.nav-ham:hover { background: rgba(0,0,0,0.05); }
.nav-ham span {
  display: block; width: 18px; height: 1.5px;
  background: var(--dark); border-radius: 9999px;
  transition: all 0.32s var(--ease);
  transform-origin: center;
}
.nav-ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile overlay */
.nav-mob {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: all 0.38s var(--ease);
}
.nav-mob.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-mob-inner {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2rem 3rem; gap: 0.25rem; flex: 1;
}
.nav-mob-links { display: flex; flex-direction: column; gap: 0; margin-bottom: 2rem; }
.nav-mob-links a {
  font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em;
  color: var(--text); padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, padding-left 0.2s;
}
.nav-mob-links a:hover { color: var(--purple); padding-left: 0.5rem; }
.nav-mob-signin {
  display: block; text-align: center; margin-top: 0.75rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--muted);
  padding: 0.5rem; border-radius: 9999px;
  transition: color 0.18s;
}
.nav-mob-signin:hover { color: var(--text); }
.nav-mob-cta { margin-top: 0.5rem; text-align: center; border-radius: 9999px !important; }

@media (max-width: 900px) {
  .nav-center, .nav-signin { display: none; }
  .nav-ham { display: flex; }
  #navbar { padding: 0; }
  .nav-inner { padding: 0 1rem 0 1.25rem; height: 56px; }
  #navbar.pill { padding: 0.75rem 1rem; }
  #navbar.pill .nav-inner { padding: 0.25rem 0.375rem 0.25rem 1.125rem; height: 48px; }
}

/* ═══════════════════════════════════════════════════════════
   SOLID SECTIONS  — white bg covers canvas
   ═══════════════════════════════════════════════════════════ */
.section-solid {
  position: relative; z-index: 1;
  background: var(--bg);
  padding: 6rem 0;
}
.section-solid.pt-0 { padding-top: 0; }

.sec-head { margin-bottom: 3.5rem; }
.sec-head .eyebrow { display: block; margin-bottom: 0.625rem; }
.sec-head h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900; letter-spacing: -0.045em; line-height: 1.05;
}

.eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--purple); text-transform: uppercase;
}
.dim { opacity: 0.4; }

/* ── Trust badges (#26, #29 new) ───────────────────────── */
.trust-badges {
  padding: 1.25rem 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt) !important;
}
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
  transition: color 0.2s;
}
.trust-badge:hover { color: var(--dark); }
.tb-icon { font-size: 1rem; }
.trust-sep { color: var(--border); font-weight: 300; }

/* ── Day in the life timeline (#42 new) ─────────────────── */
.daylife-section { background: var(--bg-alt) !important; }
.timeline {
  position: relative; margin-top: 3.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.timeline::before {
  content: '';
  position: absolute; left: 5.25rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border) 5%, var(--border) 95%, transparent);
}
.tl-item {
  display: grid; grid-template-columns: 80px 20px 1fr;
  gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem 0;
}
.tl-time {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted); text-align: right;
  padding-top: 0.25rem; letter-spacing: 0.04em;
}
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
  margin-top: 0.3rem; flex-shrink: 0;
  transition: all 0.3s;
  position: relative; z-index: 1;
}
.tl-dot-purple { background: #7C3AED; box-shadow: 0 0 0 2px rgba(124,58,237,0.2); }
.tl-dot-green  { background: #16A34A; box-shadow: 0 0 0 2px rgba(22,163,74,0.2); }
.tl-dot-gold   { background: #D97706; box-shadow: 0 0 0 2px rgba(217,119,6,0.2); }
.tl-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 0.875rem; padding: 1.25rem 1.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.tl-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.06); border-color: rgba(124,58,237,0.2); }
.tl-card strong { display: block; font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.4rem; }
.tl-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── ROI Calculator — interactive ───────────────────────── */
.roi-section { background: #0C0A1A !important; }
.roi-section .eyebrow { color: #A78BFA; }
.roi-head { text-align: center; max-width: 540px; margin: 0 auto 2.5rem; }
.roi-head h2 { color: #fff; }
.roi-head h2 .dim { opacity: 0.35; }
.roi-head p { color: rgba(255,255,255,0.45); font-size: 0.9375rem; margin-top: 0.625rem; line-height: 1.6; }

/* Industry selector */
.roi-industry {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 3rem; flex-wrap: wrap;
}
.ind-btn {
  font-size: 0.875rem; font-weight: 700; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px; padding: 0.5rem 1.125rem;
  cursor: pointer; transition: all 0.22s var(--ease);
  font-family: var(--font);
}
.ind-btn:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.ind-btn.active {
  color: #fff; background: rgba(124,58,237,0.25);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}

/* Body: two column */
.roi-body {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: start;
}

/* Controls */
.roi-controls {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.roi-slider-row { display: flex; flex-direction: column; gap: 0.75rem; }
.roi-slider-hdr {
  display: flex; align-items: center; justify-content: space-between;
}
.roi-slider-hdr label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.roi-val-pill {
  font-size: 0.8125rem; font-weight: 800; color: #A78BFA;
  background: rgba(124,58,237,0.15); border-radius: 9999px;
  padding: 0.2rem 0.625rem;
}
.roi-range {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 5px; border-radius: 9999px; outline: none; cursor: pointer;
  background: linear-gradient(to right, #7C3AED var(--pct, 9%), rgba(255,255,255,0.1) var(--pct, 9%));
}
.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  cursor: pointer; transition: transform 0.15s;
}
.roi-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-ticks {
  display: flex; justify-content: space-between;
  font-size: 0.6875rem; color: rgba(255,255,255,0.2); font-weight: 600;
  padding: 0 2px;
}

/* Savings bar */
.roi-bar-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.roi-bar-labels {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
}
#roi-pct-label { color: #34D399; }
.roi-bar-track {
  height: 8px; background: rgba(255,255,255,0.08); border-radius: 9999px; overflow: hidden;
}
.roi-bar-fill {
  height: 100%; background: linear-gradient(to right, #7C3AED, #34D399);
  border-radius: 9999px; transition: width 0.5s var(--ease);
}
.roi-rate-note { font-size: 0.7rem; color: rgba(255,255,255,0.2); text-align: right; margin-top: -0.5rem; }

/* Dashboard */
.roi-dashboard {
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* 4-stat grid */
.roi-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.roi-sc {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem; padding: 1.125rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: border-color 0.2s, background 0.2s;
}
.roi-sc:hover { background: rgba(255,255,255,0.07); border-color: rgba(124,58,237,0.3); }
.roi-sc-hi { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.08); }
.roi-sc-ico { font-size: 1.125rem; }
.roi-num {
  font-size: 1.625rem; font-weight: 900;
  letter-spacing: -0.04em; color: #fff; line-height: 1;
}
.roi-sc-hi .roi-num { color: #A78BFA; }
.roi-sc-lbl { font-size: 0.6875rem; color: rgba(255,255,255,0.35); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.roi-wow {
  text-align: center; font-size: 0.875rem; font-weight: 700;
  color: rgba(255,255,255,0.5); padding: 0.75rem;
  background: rgba(255,255,255,0.03); border-radius: 0.625rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: color 0.4s, background 0.4s;
}
.roi-mentality {
  text-align: center; padding: 1.25rem;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 0.875rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.roi-mentality-line {
  font-size: 1.0625rem; color: rgba(255,255,255,0.6);
  letter-spacing: -0.01em; line-height: 1.4;
}
.roi-mentality-line strong {
  color: #fff; font-weight: 800;
}
.roi-mentality-cta {
  display: inline-block;
  color: #A78BFA; font-weight: 800; font-size: 1rem;
  text-decoration: none; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.roi-mentality-cta:hover { color: #c4b5fd; }

@media (max-width: 900px) { .roi-body { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .roi-industry { gap: 0.375rem; }
  .ind-btn { font-size: 0.8125rem; padding: 0.4rem 0.875rem; }
}

/* ── Approach SVG path draw (#7 from 15) ────────────────── */
.approach-path {
  position: absolute; top: 50%; left: 0; right: 0;
  width: 100%; height: 60px;
  transform: translateY(-50%); pointer-events: none;
  z-index: 0; overflow: visible;
}
#approach { position: relative; }
#ap-path { transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1); }

/* ── Word-by-word reveal (#13 from 15) ──────────────────── */
.word-reveal .word {
  display: inline-block;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--wi) * 42ms);
}
.word-reveal.words-in .word { opacity: 1; transform: none; }

/* ── Skew on scroll velocity (#11 from 15) ──────────────── */
.skew-el { transition: transform 0.15s ease; will-change: transform; }

/* ── Animated gradient border on Pro card (#15 new) ─────── */
.price-feat {
  background-clip: padding-box !important;
  position: relative !important;
}
.price-feat::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, #7C3AED, #A78BFA, #6366F1, #7C3AED);
  background-size: 300% 300%;
  animation: borderGrad 4s ease infinite;
  z-index: -1;
}
@keyframes borderGrad {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ── Animated checkmarks on pricing (#34 new) ───────────── */
.price-feats li::before {
  content: '✓';
  display: inline-block;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
  transition-delay: calc(var(--li, 0) * 60ms);
}
.price-card:hover .price-feats li::before { transform: scale(1); }

/* ── Keyboard shortcut hint (#33 new) ───────────────────── */
.kbd-hint {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 0.35rem 0.75rem; border-radius: 0.5rem;
  z-index: 200; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.kbd-hint.show { opacity: 1; transform: none; }
kbd { background: rgba(0,0,0,0.06); border-radius: 3px; padding: 0 4px; }

/* ── Logo trust strip (#22, #24) ───────────────────────── */
.logo-strip {
  padding: 1.75rem 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-strip-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
  text-align: center; margin-bottom: 1.25rem;
}
.logo-strip-outer { overflow: hidden; }
.logo-strip-track {
  display: inline-flex; gap: 3rem; align-items: center;
  white-space: nowrap;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.02em;
  color: rgba(26,26,46,0.2);
  animation: logoScroll 22s linear infinite;
}
.logo-strip-track b { color: rgba(124,58,237,0.15); font-weight: 900; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Hero micro pills (#47) ─────────────────────────────── */
.hero-micro {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.micro-pill {
  font-size: 0.75rem; font-weight: 600;
  color: var(--muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem; border-radius: 9999px;
}

/* ── Beta badge pulse (#36) ─────────────────────────────── */
.pulse-badge { position: relative; overflow: visible; }
.pulse-badge::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid rgba(124,58,237,0.35);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 0; }
}

/* ── Glitch on h1 hover (#16) ─────────────────────────── */
@keyframes glitch1 {
  0%, 100% { clip-path: inset(0 0 95% 0); transform: translate(-2px, 0); }
  20%      { clip-path: inset(50% 0 30% 0); transform: translate(2px, 0); }
  40%      { clip-path: inset(80% 0 5% 0);  transform: translate(-1px, 0); }
  60%      { clip-path: inset(20% 0 60% 0); transform: translate(1px, 0); }
  80%      { clip-path: inset(40% 0 45% 0); transform: translate(-2px, 0); }
}
@keyframes glitch2 {
  0%, 100% { clip-path: inset(60% 0 20% 0); transform: translate(2px, 0); }
  25%      { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 0); }
  50%      { clip-path: inset(90% 0 5% 0);  transform: translate(1px, 0); }
  75%      { clip-path: inset(30% 0 55% 0); transform: translate(-1px, 0); }
}
.glitch-active { position: relative; }
.glitch-active::before,
.glitch-active::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch-active::before {
  color: #A78BFA;
  animation: glitch1 0.4s steps(1) infinite;
}
.glitch-active::after {
  color: #7C3AED;
  animation: glitch2 0.4s steps(1) infinite;
}

/* ── About ──────────────────────────────────────────────── */
.about-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 4rem; align-items: start;
}
.about-label { padding-top: 0.25rem; }
.big-num {
  display: block;
  font-size: 3.5rem; font-weight: 900; letter-spacing: -0.06em;
  color: var(--border); line-height: 1; margin-bottom: 0.5rem;
}
.about-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 700; line-height: 1.35; letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   CAPABILITIES BENTO GRID (15 items)
   ═══════════════════════════════════════════════════════════ */
.cap-wrap { padding: 0 clamp(1rem, 3vw, 3rem); max-width: 1480px; margin: 0 auto; }
.cap-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 0.875rem;
}

/* Column spans */
.cc-3  { grid-column: span 3; }
.cc-4  { grid-column: span 4; }
.cc-6  { grid-column: span 6; }
/* Row spans */
.cc-r1 { grid-row: span 1; }
.cc-r2 { grid-row: span 2; }

/* Base card */
.cc {
  border-radius: 1.25rem;
  padding: 1.625rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.625rem;
  overflow: hidden; position: relative;
  background: var(--bg); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform: rotate(var(--rot, 0deg));
}
.cc:hover {
  transform: rotate(var(--rot, 0deg)) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.09);
  z-index: 2;
}

/* Variants */
.cc-dark {
  background: #0F0D1C; border-color: #1A1535; color: #fff;
}
.cc-accent {
  background: linear-gradient(145deg, #7C3AED, #5B21B6);
  border-color: transparent; color: #fff;
}
.cc-light { background: var(--bg-alt); border-color: var(--border); }
.cc-warm  { background: #FFF7ED; border-color: #FED7AA; }
.cc-teal  { background: #F0FDFA; border-color: #99F6E4; }

/* Decorative orbs (hero card) */
.cc-orb {
  position: absolute; border-radius: 50%;
  background: rgba(124,58,237,0.25);
  filter: blur(40px); pointer-events: none;
}
.cc-orb1 { width: 120px; height: 120px; bottom: -30px; right: -20px; }
.cc-orb2 { width: 80px; height: 80px; top: 20px; right: 60px; opacity: 0.4; }

/* Hero card text */
.cc-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #A78BFA;
  background: rgba(167,139,250,0.15); border-radius: 9999px;
  padding: 0.25rem 0.625rem; width: fit-content; margin-bottom: 0.25rem;
}
.cc-h {
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900;
  letter-spacing: -0.05em; line-height: 0.95;
  color: #fff;
}
.cc-p {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.6;
  max-width: 280px; margin-top: 0.25rem; flex: 1;
}
.cc-stat {
  display: flex; align-items: baseline; gap: 0.5rem; margin-top: auto;
}
.cc-big {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -0.05em;
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cc-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 600; }

/* Small card styles */
.cc-ico { font-size: 1.75rem; display: block; margin-bottom: 0.125rem; }
.cc-h4 {
  font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.2; margin-top: 0.125rem;
}
.cc-dark .cc-h4  { color: #fff; }
.cc-accent .cc-h4 { color: rgba(255,255,255,0.95); }
.cc-psm {
  font-size: 0.8125rem; color: var(--muted); line-height: 1.55; flex: 1;
}
.cc-dark .cc-psm   { color: rgba(255,255,255,0.45); }
.cc-accent .cc-psm { color: rgba(255,255,255,0.65); }
.cc-warm .cc-psm   { color: #92400E; }
.cc-teal .cc-psm   { color: #0F766E; }

/* Badge pills */
.cc-pills-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; }
.cc-pill {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem; border-radius: 9999px;
  background: rgba(22,163,74,0.1); color: #16A34A; border: 1px solid rgba(22,163,74,0.2);
}

/* Tag badges */
.cc-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 0.2rem 0.5rem;
  border-radius: 9999px; margin-top: auto; width: fit-content;
}
.cc-tag-beta { background: rgba(217,119,6,0.1); color: #B45309; border: 1px solid rgba(217,119,6,0.2); }
.cc-tag-new  { background: rgba(99,102,241,0.1); color: #4338CA; border: 1px solid rgba(99,102,241,0.2); }

/* Avatars */
.cc-avatars {
  display: flex; align-items: center; gap: -4px; margin-bottom: 0.25rem;
}
.cc-avatars img {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #0F0D1C; margin-right: -6px;
}
.cc-avatars span {
  font-size: 0.6875rem; font-weight: 700; color: rgba(255,255,255,0.5);
  margin-left: 14px;
}

/* Integration logos row */
.cc-logos { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.cc-logo {
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: 0.375rem;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted);
}
.cc-logo-more { background: rgba(124,58,237,0.08); color: var(--purple); border-color: rgba(124,58,237,0.2); }

/* Mini bar chart */
.cc-chart {
  display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-bottom: 0.375rem;
}
.cc-bar {
  flex: 1; background: rgba(13,148,136,0.2); border-radius: 3px 3px 0 0;
  transition: height 0.4s var(--ease);
}
.cc-bar-hi  { background: rgba(13,148,136,0.7); }
.cc-bar-est { background: rgba(13,148,136,0.1); border: 1px dashed rgba(13,148,136,0.4); }
.cc-teal .cc-chart { border-bottom: 1px solid rgba(13,148,136,0.2); }

/* Mobile card — landscape layout */
.cc-mobile { flex-direction: row; align-items: stretch; gap: 1.5rem; }
.cc-mob-left { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.cc-mob-right {
  width: 180px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cc-phone {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem; padding: 0.875rem;
  display: flex; flex-direction: column; gap: 0.5rem; width: 100%;
}
.cc-ptask {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; font-weight: 500; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04); border-radius: 0.375rem;
  padding: 0.375rem 0.5rem;
}
.cc-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.2);
}
.cc-dot-g { background: #34D399; }
.cc-dot-p { background: #A78BFA; }

/* Responsive bento */
@media (max-width: 1200px) {
  .cap-bento { grid-auto-rows: 160px; }
  .cc-h { font-size: clamp(1.75rem, 3vw, 2.5rem); }
}
@media (max-width: 900px) {
  .cap-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
  .cc-6 { grid-column: span 6; }
  .cc-4 { grid-column: span 3; }
  .cc-3 { grid-column: span 3; }
  .cc-r2 { grid-row: span 1; }
  .cc-mobile { flex-direction: column; }
  .cc-mob-right { display: none; }
  .cc-orb { display: none; }
}
@media (max-width: 600px) {
  .cap-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .cc-6, .cc-4, .cc-3 { grid-column: span 2; }
  .cc-r2, .cc-r1 { grid-row: span 1; }
  .cc { min-height: 140px; }
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.stat {
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
  transition: background 0.25s;
}
.stat:hover { background: rgba(124,58,237,0.02); }
.s-label {
  display: block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 1.5rem;
}
.s-num {
  display: block;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 900;
  letter-spacing: -0.05em; color: var(--dark);
}
.s-num sup {
  font-size: 0.45em; font-weight: 700; vertical-align: super;
  color: var(--purple);
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee-strip {
  position: relative; z-index: 1;
  background: var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 1.5rem 0;
}
.m-track {
  display: inline-flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
  font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--dark);
  animation: mq 20s linear infinite;
}
.m-track b { color: var(--purple); font-size: 0.7em; font-weight: 900; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Approach ───────────────────────────────────────────── */
.approach-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 14vw, 13rem); font-weight: 900; letter-spacing: -0.05em;
  color: rgba(0,0,0,0.025); white-space: nowrap;
  pointer-events: none; user-select: none; line-height: 1;
}
.approach-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; position: relative;
}
.ap-card {
  padding: 2rem; border: 1px solid var(--border); border-radius: 1rem;
  background: var(--bg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.ap-card.offset-card { margin-top: 2.5rem; }
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.ap-ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(124,58,237,0.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.ap-card h6 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.ap-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   GATES  — transparent (canvas shows through)
   ═══════════════════════════════════════════════════════════ */
.gate {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; align-items: center;
  background: #ffffff;
  overflow: visible;
}

/* Hero stays transparent — canvas shows through */
#hero { background: transparent; overflow: visible; }

/* Mascot image — anchored to bottom of the gate
   Frames are wide (16:9ish) with transparent BG from rembg;
   oversize the frame so the visible character fills his half. */
.gate-mascot {
  position: absolute;
  bottom: 0;
  /* fluid: grows from ~72vw at 900px to ~100vw at 2560px+ */
  width: clamp(560px, 72vw, 100vw);
  /* height / aspect-ratio injected by JS after first frame loads */
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.10));
  will-change: transform;
  backface-visibility: hidden;
  z-index: 0;
}
/* gate-focus: mascot left-anchored, character centres in left half */
#gate-focus   .gate-mascot { left: -12vw; }
/* gate-capture: mascot right-anchored, mirrored */
#gate-capture .gate-mascot { right: -12vw; }
/* ── Mascot scale-up at wider viewports — only focus & capture ── */
@media (min-width: 1440px) {
  .gate-mascot                { width: clamp(800px, 84vw, 100vw); }
  #gate-focus   .gate-mascot  { left:  -15vw; }
  #gate-capture .gate-mascot  { right: -15vw; }
}
@media (min-width: 1920px) {
  .gate-mascot                { width: clamp(1000px, 92vw, 100vw); }
  #gate-focus   .gate-mascot  { left:  -17vw; }
  #gate-capture .gate-mascot  { right: -17vw; }
}
@media (min-width: 2400px) {
  .gate-mascot                { width: 100vw; }
  #gate-focus   .gate-mascot  { left:  -18vw; }
  #gate-capture .gate-mascot  { right: -18vw; }
}

/* Side text blocks — scales with viewport */
.gate-side {
  max-width: clamp(340px, 32vw, 680px); position: relative; z-index: 1;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 1.5rem;
  padding: 2.5rem 2.75rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.7);
}
.gate-left  { margin-left: clamp(2rem, 6vw, 7rem); }
.gate-right { margin-left: auto; margin-right: clamp(2rem, 6vw, 7rem); }

/* Gate number label */
.g-num {
  display: block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--purple); text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.g-num.center { text-align: center; }

/* Gate headline */
.g-head {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 0.97; letter-spacing: -0.048em;
  color: var(--dark); margin-bottom: 1.25rem;
}
.g-head.center { text-align: center; }

/* Gate sub */
.g-sub {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.65;
  margin-bottom: 2rem;
}
.g-sub.center { text-align: center; }

/* Tag pills */
.g-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tag {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--purple);
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 0.375rem 0.875rem; border-radius: 9999px;
}

/* ═══════════════════════════════════════════════════════════
   GATE 1 — HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
  min-height: 100svh; padding-top: 68px; padding-bottom: 4rem;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--purple);
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 0.375rem 0.875rem; border-radius: 9999px;
  margin-bottom: 1.75rem;
}
#hero h1 {
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 900; line-height: 0.93; letter-spacing: -0.055em;
  color: var(--dark); margin-bottom: 1.5rem;
}
#hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #7C3AED, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 2400px) {
  #hero h1 { font-size: 10rem; }
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  color: var(--muted); line-height: 1.65; margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero-proof {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted);
}
.hero-proof strong { color: var(--dark); }

.avatar-stack { display: flex; }
.avatar-stack img {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -6px; object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }

/* Hero enter animation */
.hero-el {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.hero-el.in { opacity: 1; transform: none; }

/* Hero primary CTA — subtle glow pulse */
#hero .btn-dark {
  position: relative;
}
#hero .btn-dark::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}
#hero .btn-dark:hover::after { opacity: 0.45; }

.scroll-hint {
  position: absolute; bottom: 2.75rem; left: clamp(2rem, 6vw, 7rem);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--muted); text-transform: uppercase;
}
.sh-line {
  width: 50px; height: 1px;
  background: linear-gradient(to right, var(--muted), transparent);
  animation: shPulse 2s ease-in-out infinite;
}
@keyframes shPulse {
  0%, 100% { width: 28px; opacity: 0.35; }
  50%       { width: 60px; opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   GATE 4 — ECOSYSTEM
   Column layout: Zilla in flow above text, corners absolute overlay
   ═══════════════════════════════════════════════════════════ */
.gate-eco {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

/* Eco corners: absolute overlay so they don't affect flow */
.eco-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  display: block;
}
.eco-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.625rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 1rem; padding: 0.875rem 1.375rem;
  width: fit-content;
  box-shadow: 0 6px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1);
  font-size: 0.9375rem; font-weight: 600; color: var(--dark);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.55s var(--ease), box-shadow 0.25s;
}
.eco-card.visible { opacity: 1; }
.eco-card:nth-child(2) { transition-delay: 0.1s; }
.eco-card:nth-child(3) { transition-delay: 0.2s; }
.eco-card:nth-child(4) { transition-delay: 0.3s; }

.eco-tl { top: 22%; left: 24%; }
.eco-tr { top: 18%; right: 24%; }
.eco-bl { top: 48%; left: 22%; }
.eco-br { top: 44%; right: 22%; }

/* Canvas: in the document flow, above the text */
#gate-ecosystem .gate-mascot {
  position: relative !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  transform: none;
  width: clamp(360px, 58vw, 960px) !important;
  margin: auto auto 0;
  display: block;
  z-index: 1;
  flex-shrink: 0;
}

.eco-bottom {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  padding: 0 2rem 7vh;
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════
   GATE 5 — CTA
   Column layout: Zilla in flow above text
   ═══════════════════════════════════════════════════════════ */
.gate-cta {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 7vh;
  gap: 0;
}

/* Canvas: in the document flow, centered above cta-body */
#cta .gate-mascot {
  position: relative !important;
  right: auto !important; left: auto !important; bottom: auto !important;
  width: clamp(320px, 52vw, 840px) !important;
  margin: auto auto 0;
  display: block;
  z-index: 1;
  flex-shrink: 0;
}

.cta-body { width: 100%; text-align: center; position: relative; z-index: 2; }
.cta-h {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 0.97; letter-spacing: -0.055em;
  color: var(--dark); margin-bottom: 1rem;
}
.cta-sub {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.65;
  margin-bottom: 2.5rem;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.cta-footnote { font-size: 0.8125rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
#footer {
  position: relative; z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.375rem; }
.footer-brand p { font-size: 0.8125rem; color: var(--muted); }
.footer-nav { display: flex; gap: 1.75rem; }
.footer-nav a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--dark); }
.footer-copy { font-size: 0.8125rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .approach-row { grid-template-columns: repeat(2, 1fr); }
  .ap-card.offset-card { margin-top: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .services-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .about-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-row { grid-template-columns: 1fr 1fr; }
  .fm-card { min-width: 220px; }
  /* Hide mascot on focus/capture on mobile; keep eco/cta in flow */
  #gate-focus .gate-mascot,
  #gate-capture .gate-mascot { display: none; }

  /* On mobile, gates collapse to single column */
  .gate { align-items: flex-end; padding-bottom: 7vh; }
  .gate-eco, .gate-cta { align-items: center; justify-content: flex-end; padding-bottom: 5vh; }
  #gate-focus, #gate-capture { display: flex; }
  #hero { align-items: flex-end; padding-bottom: 9vh; }
  .gate-side {
    max-width: 100%; padding: 1.5rem 1.75rem !important;
    background: rgba(255,255,255,0.92);
    margin: 0 1.5rem 1.5rem !important;
    border-radius: 1.25rem;
  }
  .gate-left  { margin-left: 0 !important; margin-right: 0 !important; }
  .gate-right { margin-left: 0 !important; margin-right: 0 !important; }
  .scroll-hint { left: 1.5rem; }

  .g-head { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .approach-row { grid-template-columns: 1fr 1fr; }
  .eco-corners { height: 100%; }
  .eco-tl { top: 12%; left: 4vw; }
  .eco-tr { top: 12%; right: 4vw; }
  .eco-bl, .eco-br { display: none; }
  .eco-card { font-size: 0.8125rem; padding: 0.75rem 1rem; }
  #gate-ecosystem .gate-mascot { width: clamp(280px, 80vw, 500px) !important; }
  #cta .gate-mascot { width: clamp(240px, 72vw, 440px) !important; }
  .eco-bottom { padding: 0 1.5rem 5vh; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 2rem 1.25rem; }
  .approach-row { grid-template-columns: 1fr; }
  .ap-card.offset-card { margin-top: 0; }
}

/* ═══════════════════════════════════════════════════════
   ROLLING NAV TEXT  — canonical independent-span method
   ───────────────────────────────────────────────────────
   HTML: <a class="nav-link roll-link">
           <span>Label</span>
           <span aria-hidden="true">Label</span>  ← clone, hidden from a11y
         </a>

   How it works:
   • The anchor is a flex column clipped to one line-height via overflow:hidden
   • Span 1 sits in the visible slot; span 2 lives directly below it (hidden)
   • On hover both move up by their own height (-100%), swapping positions
   • The clone gets a 40 ms head-start so the entering text leads the exit —
     this "staggered handoff" is the technique used by Linear / Vercel
═══════════════════════════════════════════════════════ */
.nav-link.roll-link {
  display: flex;
  flex-direction: column;      /* stack spans vertically */
  overflow: hidden;
  /* height = padding-top + 1 line + clip boundary (no padding-bottom room) */
  height: calc(1.1em + 0.4rem);
  align-items: flex-start;
}
.nav-link.roll-link > span {
  display: block;
  line-height: 1.1em;
  white-space: nowrap;
  /* non-overshoot ease — spring curves clip text mid-glyph on overflow:hidden */
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Clone leads by 40 ms — entering text arrives slightly ahead of exiting text */
.nav-link.roll-link > span:last-child {
  transition-delay: 0.04s;
}
.nav-link.roll-link:hover > span { transform: translateY(-100%); }

/* ═══════════════════════════════════════════════════════
   FEATURES — dual-direction infinite marquee
═══════════════════════════════════════════════════════ */
.fm-wrap {
  margin-top: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* fade edges for premium feel */
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.fm-row { overflow: visible; }
.fm-track {
  display: inline-flex;
  gap: 1rem;
  animation: fmLeft 38s linear infinite;
  width: max-content;
  padding: 0.25rem 0;
}
.fm-track.fm-reverse { animation: fmRight 32s linear infinite; }
@keyframes fmLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes fmRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Pause on hover */
.fm-row:hover .fm-track { animation-play-state: paused; }

.fm-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.375rem;
  flex-shrink: 0;
  min-width: 270px;
  max-width: 310px;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s var(--ease);
  cursor: default;
}
.fm-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-2px);
}
.fm-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--ib);
  color: var(--ic);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fm-info { flex: 1; display: flex; flex-direction: column; gap: 0.18rem; min-width: 0; }
.fm-info strong { font-size: 0.9rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.fm-info span   { font-size: 0.775rem; color: var(--muted); white-space: nowrap; }
.fm-badge {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0.2rem 0.5rem; border-radius: 999px; flex-shrink: 0;
}
.fm-live   { background: #DCFCE7; color: #16A34A; }
.fm-beta   { background: #EEF2FF; color: #6366F1; }
.fm-coming { background: #F1F5F9; color: #64748B; }

/* ═══════════════════════════════════════════════════════
   MEET THE MONSTER / NUMBERS (#31, #34)
═══════════════════════════════════════════════════════ */
.meet-section { background: linear-gradient(155deg, #0D0D1A 0%, #1A0B2E 100%); }
.meet-section .eyebrow { color: #A78BFA; }
.meet-section h2 { color: #fff; }
.meet-section h2 .dim { opacity: 0.4; }
.meet-section .monster-fact,
.meet-section .monster-quote,
.meet-section .sec-head > * {
  transition-delay: var(--sd, 0ms);
}

.monster-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 3.5rem 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
}
.monster-fact {
  background: rgba(255,255,255,0.03);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.monster-fact:last-child { border-right: none; }
.monster-fact:hover { background: rgba(124,58,237,0.08); }
.mf-num {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 900; letter-spacing: -0.05em;
  color: #fff; line-height: 1;
  display: inline-block;
}
.mf-unit {
  font-size: 1.5rem; font-weight: 700;
  color: #A78BFA; margin-left: 2px;
  vertical-align: super;
}
.monster-fact p {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.monster-quote {
  border-left: 3px solid #7C3AED;
  padding: 1.5rem 2rem;
  background: rgba(124,58,237,0.06);
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 1.125rem; font-style: italic;
  color: rgba(255,255,255,0.8); line-height: 1.6;
}
.monster-quote cite {
  display: block; margin-top: 0.75rem;
  font-size: 0.875rem; font-style: normal;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════
   BEFORE VS AFTER (#32)
═══════════════════════════════════════════════════════ */
.compare-section .sec-head { text-align: center; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}
.compare-divider {
  display: flex; align-items: center; justify-content: center;
  padding-top: 3rem;
}
.compare-divider span {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; color: var(--muted);
  background: var(--border);
  padding: 0.4rem 0.6rem; border-radius: 0.5rem;
}
.compare-col {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
}
.compare-col.compare-after {
  background: #1A1035;
  border-color: #1A1035;
  color: #fff;
  box-shadow: 0 20px 60px rgba(124,58,237,0.18);
}
.compare-col-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.compare-col.compare-after .compare-col-label { color: #fff; }
.compare-icon { font-size: 1.2rem; }
.compare-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.9rem;
}
.compare-list li {
  font-size: 0.9375rem; display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--muted); line-height: 1.45;
}
.compare-before .compare-list li::before {
  content: '✕'; color: #EF4444; font-weight: 700; flex-shrink: 0; font-size: 0.8rem; margin-top: 2px;
}
.compare-after .compare-list li {
  color: rgba(255,255,255,0.75);
}
.compare-after .compare-list li::before {
  content: '✓'; color: #86EFAC; font-weight: 700; flex-shrink: 0; font-size: 0.8rem; margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════ */
.faq-section { background: var(--bg-alt) !important; }
.faq-list {
  max-width: 780px; margin: 3rem auto 0;
  display: flex; flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1.0625rem; font-weight: 600;
  color: var(--dark); text-align: left;
  padding: 1.375rem 0;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--purple); }
.faq-q[aria-expanded="true"] { color: var(--purple); }
.faq-icon {
  font-size: 1.25rem; font-weight: 300; color: var(--muted);
  flex-shrink: 0; line-height: 1;
  transition: transform 0.3s var(--ease), color 0.2s;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg); color: var(--purple);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.faq-a.open { max-height: 200px; }
.faq-a p {
  font-size: 0.9375rem; color: var(--muted); line-height: 1.7;
  padding-bottom: 1.375rem;
}

/* ═══════════════════════════════════════════════════════
   FOUNDER NOTE (#50)
═══════════════════════════════════════════════════════ */
.founder-note-section { background: var(--bg-alt); border-top: 1px solid var(--border); }
.founder-note {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.fn-quote { flex-shrink: 0; }
.fn-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7; color: var(--text);
  font-style: italic;
}
.fn-text em { font-style: normal; color: var(--purple); font-weight: 600; }
.fn-author {
  display: flex; align-items: center; gap: 1rem;
  text-align: left;
}
.fn-author img {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--border); object-fit: cover;
}
.fn-author strong { display: block; font-size: 0.9375rem; font-weight: 700; }
.fn-author span { font-size: 0.8125rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); border-color: rgba(124,58,237,0.18); }
.testi-card.testi-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.testi-card p {
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}
.testi-card.testi-dark p { color: rgba(255,255,255,0.85); }
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.875rem; font-weight: 700; }
.testi-author span   { font-size: 0.78rem; color: var(--muted); }
.testi-card.testi-dark .testi-author span { color: rgba(255,255,255,0.55); }
.testi-stars {
  font-size: 0.9rem; letter-spacing: 0.04em;
  color: #F59E0B;
  margin-bottom: 0.25rem;
}
.testi-card.testi-dark .testi-stars { color: #FCD34D; }
.quote-icon { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.price-card.price-feat {
  background: linear-gradient(155deg, #0D0D1A, #1A0B2E);
  color: #fff;
  border-color: #2D1B69;
  transform: scale(1.04);
  box-shadow: 0 24px 80px rgba(124,58,237,0.28), 0 8px 32px rgba(0,0,0,0.22);
}
.price-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-card.price-feat .price-tier { color: rgba(255,255,255,0.45); }
.price-amt {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.price-amt span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card.price-feat .price-amt span { color: rgba(255,255,255,0.45); }
.price-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.price-card.price-feat .price-desc { color: rgba(255,255,255,0.6); }
.price-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.price-feats li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.price-feats li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.price-card.price-feat .price-feats li         { color: rgba(255,255,255,0.85); }
.price-card.price-feat .price-feats li::before { color: #a5b4fc; }
.btn-full { display: block; text-align: center; }

/* ═══════════════════════════════════════════════════════
   FOOTER UPGRADE
═══════════════════════════════════════════════════════ */
.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 5rem 0 4rem;
  flex-wrap: wrap;
}
.footer-cta-h {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.footer-cta-accent { color: var(--purple); }
.footer-cta-actions { display: flex; flex-direction: column; gap: 0.625rem; align-items: flex-end; }
.footer-cta-sub { font-size: 0.8125rem; color: var(--muted); text-align: right; }
@media (max-width: 900px) { .footer-cta-actions { align-items: flex-start; } .footer-cta-sub { text-align: left; } }
.footer-rule {
  border: none;
  border-top: 1px solid var(--border);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.85rem;
  line-height: 1.65;
}
.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-link-group h6 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.footer-link-group a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link-group a:hover { color: var(--accent); }
.footer-social-col h6 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.social-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.soc-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.soc-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* 3D tilt on pricing cards (#15) */
.price-card { transform-style: preserve-3d; }

/* Confetti particle */
.confetti-piece {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  will-change: transform, opacity;
  animation: confettiFall 2.2s cubic-bezier(.25,.46,.45,.94) forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(-20px) translateX(0)               rotate(0deg)            scaleX(1);   opacity: 1; }
  25%  { transform: translateY(22vh)  translateX(calc(var(--drift) * 0.4)) rotate(calc(var(--spin) * 0.3)) scaleX(0.4); opacity: 1; }
  50%  { transform: translateY(48vh)  translateX(calc(var(--drift) * 0.7)) rotate(calc(var(--spin) * 0.55)) scaleX(1);   opacity: 0.9; }
  75%  { transform: translateY(72vh)  translateX(var(--drift))             rotate(calc(var(--spin) * 0.8)) scaleX(0.3); opacity: 0.5; }
  100% { transform: translateY(105vh) translateX(calc(var(--drift) * 1.1)) rotate(var(--spin))             scaleX(0.6); opacity: 0; }
}

/* Responsive additions */
@media (max-width: 900px) {
  .testi-row   { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
  .price-card.price-feat { transform: scale(1); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cta-row { flex-direction: column; align-items: flex-start; }
  .monster-row { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider { padding-top: 0; }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cta-h { font-size: 2.2rem; }
  .monster-row { grid-template-columns: 1fr 1fr; }
  .hero-micro { display: none; }
}

/* ═══════════════════════════════════════════════════════
   EMAIL CAPTURE MODAL
═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.24);
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.modal-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.modal-box > .modal-state > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
#capture-form { display: flex; flex-direction: column; gap: 1rem; }
.modal-field { display: flex; flex-direction: column; gap: 0.35rem; }
.modal-field label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.modal-field input {
  border: 1.5px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  color: var(--text);
}
.modal-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.modal-field input.error { border-color: #EF4444; }
.modal-submit { margin-top: 0.25rem; position: relative; }
.modal-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.25rem;
}
.modal-state[hidden] { display: none; }
#modal-success-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
#modal-success-state p { margin: 0; }

/* Ensure hidden attribute works inside flex containers */
[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   ZILLA ANIMATION UPGRADE — Curtain, Glow, Dot Labels, Velocity
   ═══════════════════════════════════════════════════════════ */

/* ── Curtain wipe overlay ──────────────────────────────── */
#curtain {
  position: fixed; inset: 0; z-index: 9995;
  background: linear-gradient(135deg, #7C3AED 0%, #4338CA 55%, #6366F1 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
  /* subtle noise grain on the curtain */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #7C3AED 0%, #4338CA 55%, #6366F1 100%);
}

/* ── Ambient section glow ──────────────────────────────── */
#section-glow {
  position: fixed;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  background: rgba(124, 58, 237, 0.14);
  transition: background 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: background;
}

/* ── Progress dot labels ────────────────────────────────── */
.pd { position: relative; overflow: visible; }

.pd-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--dark);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.pd-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--dark);
}

.pd:hover .pd-label,
.pd.active .pd-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── Section flash on gate snap ─────────────────────────── */
@keyframes gateFlash {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ── Hero exit — handled by GSAP scrub, no class needed ─── */

/* ── Velocity skew wider range ──────────────────────────── */
/* Additional elements beyond .skew-el that get skew applied via JS */

/* ── Parallax heading drift ─────────────────────────────── */
/* .sec-head h2 will get scroll parallax via GSAP */

/* ── Gate exit — smooth fade-out handled by GSAP scrub ──── */

/* ── View Transition API — cross-fade default ───────────── */
@keyframes fade-in  { from { opacity: 0; } }
@keyframes fade-out { to   { opacity: 0; } }
::view-transition-old(root) {
  animation: 220ms ease fade-out;
}
::view-transition-new(root) {
  animation: 280ms var(--ease) fade-in;
}

/* ── Progress dot active pulse ring ─────────────────────── */
.pd.active::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.4);
  animation: dotRing 1.8s var(--ease) infinite;
}

@keyframes dotRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  60%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}


/* ── Scroll speed line effect on progress bar ───────────── */
#scroll-progress {
  transition: width 0.08s linear, box-shadow 0.12s ease;
}
#scroll-progress.fast {
  box-shadow: 0 0 20px 4px rgba(124, 58, 237, 0.9), 0 0 60px rgba(167, 139, 250, 0.5);
}

/* ═══════════════════════════════════════════════════════
   SERENE BLUE PALETTE — named colour tokens
   Misty blue, tranquil navy, gentle silver
═══════════════════════════════════════════════════════ */
:root {
  /* Serene Blue */
  --sb-platinum:  #e7ecef;   /* silver-white, bg surfaces        */
  --sb-dusk:      #274c77;   /* twilight navy, headings / darks  */
  --sb-steel:     #6096ba;   /* mid-tone blue, accents           */
  --sb-icy:       #a3cef1;   /* pale frost, highlights / glows   */
  --sb-olive:     #8b8c89;   /* warm grey, muted text            */
}

/* ── Serene Blue section modifier ──────────────────── */
/* Apply  class="… section-serene"  to any section to  */
/* swap it into the Serene Blue palette.               */
.section-serene {
  --bg:     var(--sb-platinum);
  --bg-alt: #d4dce3;
  --card:   #ffffff;
  --text:   var(--sb-dusk);
  --muted:  var(--sb-olive);
  --accent: var(--sb-steel);
  --border: rgba(39,76,119,0.14);
  background: var(--sb-platinum);
  color: var(--sb-dusk);
}
.section-serene .eyebrow { color: var(--sb-steel); }
.section-serene .dim     { color: var(--sb-steel); opacity: 0.65; }
.section-serene .btn-dark {
  background: var(--sb-dusk);
  color: #fff;
}
.section-serene .btn-dark:hover { background: var(--sb-steel); }
