/* ═══════════════════════════════════════════════════════════════
   Meterflow — Premium Overlay
   Loads AFTER shared.css + page CSS.
   Adds: refined motion, premium hero FX, polished spacing/cards,
         deeper cool accents, smooth section reveals.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Cooler, deeper accent system — sits just below #4f9cff toward indigo */
  --accent: #3d7df0;
  --accent-2: #5a96ff;
  --accent-deep: #1d4ed8;
  --accent-dim: #2563c8;
  --accent-glow: rgba(61, 125, 240, 0.10);
  --accent-soft: rgba(61, 125, 240, 0.06);
  --accent-violet: #6a7bff;
  --accent-cyan: #4dc8ff;

  /* Premium surface tones */
  --surface-elev: #0c131f;
  --border-glass: rgba(120, 160, 220, 0.10);

  /* Premium shadows */
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 28px rgba(0,0,0,0.35);
  --shadow-lift: 0 1px 0 rgba(255,255,255,0.06) inset, 0 22px 56px rgba(0,0,0,0.55), 0 0 0 1px rgba(120,160,220,0.06);
  --shadow-glow-accent: 0 24px 48px -16px rgba(61, 125, 240, 0.45);

  /* Premium easings */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Global smoothing ─── */
html { scroll-behavior: smooth; }
body { letter-spacing: -0.005em; }

/* Slightly richer body backdrop — premium gradient floor */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(61, 125, 240, 0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(106, 123, 255, 0.05), transparent 60%);
}

main, section, nav, footer { position: relative; z-index: 1; }

/* ─── Nav refinement ─── */
body > nav {
  background: rgba(3, 7, 15, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(120, 160, 220, 0.08);
  transition: background 0.4s var(--ease-out-quart), border-color 0.4s var(--ease-out-quart);
}

body > nav.scrolled {
  background: rgba(3, 7, 15, 0.86);
  border-bottom-color: rgba(120, 160, 220, 0.14);
  box-shadow: 0 16px 40px -28px rgba(0,0,0,0.7);
}

.nav-cta {
  background: linear-gradient(180deg, #7eb2ff 0%, #3d7df0 52%, #1d4ed8 100%);
  border-color: rgba(180, 210, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.32) inset,
    0 0 0 1px rgba(255,255,255,0.06),
    0 10px 28px rgba(29, 78, 216, 0.36);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out-expo);
  pointer-events: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 16px 36px rgba(61, 125, 240, 0.52);
}
.nav-cta:hover::after { transform: translateX(100%); }

/* ─── Hero — premium first-screen ─── */
.hero { padding-block: clamp(148px, 14vh, 180px) clamp(124px, 13vh, 156px); }

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(61, 125, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 125, 240, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 60s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

/* Cooler aurora wash above the grid */
.hero::before {
  background:
    conic-gradient(from 130deg at 16% -8%, transparent 0deg, rgba(160, 195, 255, 0.06) 14deg, rgba(255,255,255,0.075) 29deg, rgba(61, 125, 240, 0.07) 48deg, transparent 72deg, transparent 360deg),
    radial-gradient(circle at 38% 22%, rgba(61, 125, 240, 0.18), transparent 36%),
    radial-gradient(circle at 78% 70%, rgba(106, 123, 255, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 58%);
}

/* Subtle floating orb in hero */
.hero-bg::after {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  top: -120px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 125, 240, 0.18), rgba(61, 125, 240, 0) 60%);
  filter: blur(40px);
  animation: floatOrb 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-30px, 30px) scale(1.08); opacity: 1; }
}

/* Hero label premium polish */
.hero-label {
  background: linear-gradient(180deg, rgba(61, 125, 240, 0.12), rgba(61, 125, 240, 0.04));
  border-color: rgba(120, 160, 240, 0.24);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 24px -10px rgba(61, 125, 240, 0.3);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.hero-label:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 170, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 14px 32px -8px rgba(61, 125, 240, 0.55);
}

/* Headline — subtle shine on the accent */
.hero-headline {
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1;
}

.hero-headline .accent {
  background: linear-gradient(180deg, #9ec1ff 0%, #5a96ff 45%, #3d7df0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: accentShine 6s var(--ease-out-quart) infinite;
  text-shadow: none;
}

@keyframes accentShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  color: #a8b8d0;
  line-height: 1.7;
}

/* Premium primary button */
.btn-primary,
.hero-actions .btn-primary {
  background: linear-gradient(180deg, #7eb2ff 0%, #3d7df0 52%, #1d4ed8 100%);
  border: 1px solid rgba(170, 200, 255, 0.78);
  color: #050b18;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 0 0 1px rgba(255,255,255,0.06),
    0 10px 28px rgba(29, 78, 216, 0.35);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  isolation: isolate;
}

.btn-primary > .shine,
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease-out-expo);
  pointer-events: none;
  z-index: -1;
}

.btn-primary:hover::before { transform: translateX(120%); }

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 18px 42px rgba(61, 125, 240, 0.55),
    0 0 0 1px rgba(170, 200, 255, 0.4);
}

.btn-secondary,
.hero-actions .btn-secondary {
  background: rgba(10, 16, 28, 0.6);
  border: 1px solid rgba(120, 160, 220, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover,
.hero-actions .btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 170, 255, 0.55);
  background: rgba(61, 125, 240, 0.10);
  color: var(--text);
}

/* Hero panel — premium glass */
.hero-panel {
  border: 1px solid rgba(120, 160, 220, 0.14);
  background:
    linear-gradient(180deg, rgba(14, 20, 32, 0.92), rgba(5, 9, 16, 0.96));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 38px 100px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(120,160,220,0.04);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 48px 120px -20px rgba(0,0,0,0.78),
    0 0 0 1px rgba(120, 170, 255, 0.15),
    0 0 60px -20px rgba(61, 125, 240, 0.35);
}

.hero-panel::before {
  background: linear-gradient(90deg, transparent, rgba(61, 125, 240, 0.85), rgba(106, 123, 255, 0.55), rgba(45, 212, 191, 0.4), transparent);
  opacity: 0.85;
}

/* ─── Trust strip ─── */
.hero-trust .trust-item {
  transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.hero-trust .trust-item:hover {
  color: #cfe0ff;
  transform: translateY(-1px);
}

/* ─── Section spacing rhythm ─── */
.hooks-section,
.protocol-stats,
.how-section,
.tools-section,
.demo-section,
.tiers-section,
.funded-section,
.agent-section,
.faq-section,
.cta-section {
  padding-block: clamp(72px, 9vw, 120px);
}

/* Subtle divider between major sections */
section + section {
  position: relative;
}

/* ─── Section labels ─── */
.section-label,
.site-subpage-label {
  background: linear-gradient(180deg, rgba(61, 125, 240, 0.10), rgba(61, 125, 240, 0.04));
  border-color: rgba(120, 160, 240, 0.22);
  letter-spacing: 3px;
  font-size: 10.5px;
  padding: 7px 14px 7px 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* ─── Premium card system — applied to all card-like surfaces ─── */
.hook-card,
.tool-card,
.tier-card,
.how-step,
.stat-block,
.agent-card,
.funded-step {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.62), rgba(8, 12, 20, 0.86));
  border: 1px solid rgba(120, 160, 220, 0.08);
  border-radius: 14px;
  transition:
    transform 0.5s var(--ease-out-expo),
    border-color 0.4s ease,
    box-shadow 0.5s var(--ease-out-expo),
    background 0.4s ease;
  overflow: hidden;
}

.hook-card:hover,
.tool-card:hover,
.tier-card:hover,
.how-step:hover,
.funded-step:hover,
.stat-block:hover,
.agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 170, 255, 0.32);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 28px 60px -20px rgba(0,0,0,0.55),
    0 0 50px -18px rgba(61, 125, 240, 0.55);
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.78), rgba(10, 16, 26, 0.92));
}

/* Featured tier glow */
.tier-card.featured {
  border-color: rgba(120, 170, 255, 0.22);
  background: linear-gradient(180deg, rgba(20, 30, 50, 0.75), rgba(10, 16, 26, 0.92));
}

.tier-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(61, 125, 240, 0.4), transparent 40%, transparent 60%, rgba(106, 123, 255, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.tier-card.featured:hover::after { opacity: 1; }

/* ─── Stats numbers — premium gradient ─── */
.stats-hero-number {
  background: linear-gradient(180deg, #ffffff 0%, #a8c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-hero-block.saved .stats-hero-number {
  background: linear-gradient(180deg, #ffe9b5 0%, #f5b544 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── How steps polish ─── */
.how-step .step-number {
  background: linear-gradient(180deg, #5a96ff 0%, #3d7df0 60%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── FAQ refinement ─── */
.faq-item {
  border-radius: 12px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: rgba(120, 170, 255, 0.2); }

.faq-question {
  transition: color 0.25s ease;
}
.faq-question:hover { color: var(--accent); }

/* ─── CTA section ─── */
.cta-section {
  position: relative;
}
.cta-section .cta-glow {
  background: radial-gradient(700px 400px at 50% 50%, rgba(61, 125, 240, 0.25), transparent 70%);
}

.cta-section h2 .accent {
  background: linear-gradient(180deg, #9ec1ff 0%, #5a96ff 45%, #3d7df0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid rgba(120, 160, 220, 0.08);
  background:
    radial-gradient(800px 300px at 50% -10%, rgba(61, 125, 240, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(5, 9, 16, 0.6), rgba(2, 5, 11, 1));
}

.site-footer a { transition: color 0.25s ease, transform 0.25s var(--ease-out-expo); }
.site-footer a:hover { color: var(--accent-2); }
.site-footer-social {
  transition: transform 0.3s var(--ease-out-spring), color 0.3s ease, border-color 0.3s ease;
}
.site-footer-social:hover {
  transform: translateY(-2px);
  color: var(--accent-2);
}

/* ─── Section reveal animation (paired with JS .reveal class) ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }

/* ─── Accent dot pulse ─── */
.hero-label .dot,
.chrome-status .dot,
.section-label::before {
  animation: dotPulse 2.4s var(--ease-out-quart) infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent), 0 0 0 0 rgba(61, 125, 240, 0.5); }
  50% { box-shadow: 0 0 14px var(--accent), 0 0 0 6px rgba(61, 125, 240, 0); }
}

/* ─── Selection ─── */
::selection { background: rgba(61, 125, 240, 0.32); color: #ffffff; }

/* ─── Reduce motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ZAUTH-INSPIRED LAYOUT BREAKOUTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Nav with icons (zauth pattern, CSS-only via data-nav) ─── */
body > nav {
  height: 68px;
  gap: 4px;
}

.nav-links { gap: 4px; }

.nav-links a:not(.nav-cta):not(.nav-docs),
.nav-docs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #93a8c4;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:not(.nav-cta):not(.nav-docs):hover,
.nav-links a:not(.nav-cta):not(.nav-docs).active,
.nav-docs:hover {
  background: rgba(120, 160, 220, 0.06);
  color: #ffffff;
}

/* Remove the underline – we use bg-pill style now */
.nav-links a:not(.nav-cta):not(.nav-docs)::after { display: none; }

/* Icons before each link via data-nav attribute */
.nav-links a[data-nav]::before,
.nav-docs[data-nav]::before,
.mobile-menu a[data-nav]::before {
  content: '';
  width: 14px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.nav-links a[data-nav]:hover::before,
.nav-links a[data-nav].active::before,
.nav-docs[data-nav]:hover::before { opacity: 1; }

/* Tool icon — sliders */
[data-nav="tools"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2' stroke-linecap='round'><path d='M4 6h11M19 6h1M4 12h5M13 12h7M4 18h13M19 18h1'/><circle cx='17' cy='6' r='2' fill='%2393a8c4' stroke='none'/><circle cx='11' cy='12' r='2' fill='%2393a8c4' stroke='none'/><circle cx='17' cy='18' r='2' fill='%2393a8c4' stroke='none'/></svg>");
}

/* How — workflow */
[data-nav="how-it-works"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='6' height='6' rx='1'/><rect x='15' y='4' width='6' height='6' rx='1'/><rect x='9' y='14' width='6' height='6' rx='1'/><path d='M6 10v2h12v2'/></svg>");
}

/* Token — coin */
[data-nav="token"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M9 8.5a3 3 0 0 1 6 0M9 15.5a3 3 0 0 0 6 0M12 6v12'/></svg>");
}

/* Status — pulse */
[data-nav="status"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fdc82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h4l2-6 4 12 2-6h6'/></svg>");
  opacity: 0.85;
}

/* Roadmap — flag */
[data-nav="roadmap"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 22V4'/><path d='M4 4h13l-2 4 2 4H4'/></svg>");
}

/* Apply — paper */
[data-nav="apply"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5M9 13h6M9 17h4'/></svg>");
}

/* Docs — book */
[data-nav="docs"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5a2 2 0 0 1 2-2h12v18H6a2 2 0 0 1-2-2z'/><path d='M8 7h7M8 11h7M8 15h5'/></svg>");
}

/* Dashboard handled via nav-cta — gets a wallet/launch glyph as ::before of label */
.nav-cta[data-nav="dashboard"] {
  gap: 8px;
}
.nav-cta[data-nav="dashboard"]::before {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050b18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Inline social icons in nav */
.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #93a8c4;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-social:hover {
  background: rgba(120, 160, 220, 0.08);
  color: #ffffff;
}

.nav-social svg { width: 14px; height: 14px; }

/* Mobile menu icons */
.mobile-menu a[data-nav] { display: inline-flex; align-items: center; gap: 10px; }

/* ─── Hero product chip row ─── */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 720px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(14, 22, 36, 0.78), rgba(8, 14, 24, 0.92));
  border: 1px solid rgba(120, 160, 220, 0.12);
  color: #c8d8ef;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.4s var(--ease-out-expo);
}

.hero-chip:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(120, 170, 255, 0.4);
  background: linear-gradient(180deg, rgba(20, 32, 52, 0.78), rgba(10, 18, 32, 0.92));
  box-shadow: 0 12px 28px -16px rgba(61, 125, 240, 0.5);
}

.hero-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(61, 125, 240, 0.22), rgba(61, 125, 240, 0.08));
  border: 1px solid rgba(120, 170, 255, 0.2);
  color: var(--accent-2);
  flex-shrink: 0;
}

.hero-chip-icon svg { width: 13px; height: 13px; }

.hero-chip-arrow {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(120, 170, 255, 0.6);
  transition: transform 0.3s var(--ease-out-expo), color 0.3s ease;
}

.hero-chip:hover .hero-chip-arrow {
  transform: translateX(3px);
  color: var(--accent-2);
}

/* ─── Hero dot grid reveal ─── */
.hero::before { z-index: 0; }

.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(120, 170, 255, 0.18) 1px, transparent 1.6px);
  background-size: 28px 28px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 35%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 35%, #000 0%, transparent 70%);
  opacity: 0;
  animation: dotReveal 1.2s var(--ease-out-quart) 0.3s forwards;
}

@keyframes dotReveal {
  0%   { opacity: 0; }
  40%  { opacity: 0.3; }
  100% { opacity: 0.85; }
}

/* ─── Marquee partner strip ─── */
.marquee-section {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
  border-block: 1px solid rgba(120, 160, 220, 0.06);
  background:
    radial-gradient(700px 200px at 50% 50%, rgba(61, 125, 240, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(5, 9, 16, 0.6), rgba(3, 6, 13, 0.6));
}

.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.marquee {
  display: flex;
  gap: 0;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  flex-shrink: 0;
  animation: marqueeScroll 40s linear infinite;
  padding-right: 56px;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(199, 216, 239, 0.5);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.marquee-item:hover { color: #ffffff; }

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120, 170, 255, 0.35);
}

/* ─── Hooks → full-bleed product rows (zauth pattern) ─── */
.hooks-section { padding-block: clamp(80px, 9vw, 132px); }

.hooks-inner {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hooks-inner .hook-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 40px !important;
  padding: 40px 48px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(120, 160, 220, 0.08) !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  text-align: left;
  width: 100%;
}

.hooks-inner .hook-card:last-child {
  border-bottom: 1px solid rgba(120, 160, 220, 0.08) !important;
}

.hooks-inner .hook-card:hover {
  background: linear-gradient(90deg, rgba(61, 125, 240, 0.06), transparent 60%) !important;
  transform: none !important;
  box-shadow: none !important;
}

.hooks-inner .hook-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  height: auto !important;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hooks-inner .hook-card:hover::before { opacity: 1; }

.hooks-inner .hook-pill {
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(61, 125, 240, 0.18), rgba(61, 125, 240, 0.04)) !important;
  border: 1px solid rgba(120, 170, 255, 0.2) !important;
  font-size: 11px !important;
  color: var(--accent-2) !important;
  letter-spacing: 1.5px !important;
}

.hooks-inner .hook-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.hooks-inner .hook-link {
  flex-shrink: 0 !important;
  align-self: center !important;
}

.hooks-inner .hook-title {
  font-size: 28px !important;
  line-height: 1.15 !important;
  margin-bottom: 8px !important;
}

.hooks-inner .hook-title br { display: none; }

.hooks-inner .hook-title span {
  background: linear-gradient(180deg, #9ec1ff, #3d7df0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hooks-inner .hook-desc {
  font-size: 15px !important;
  max-width: 620px;
  margin-bottom: 0 !important;
  color: #a8b8d0;
}

.hooks-inner .hook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(120, 170, 255, 0.28);
  border-radius: 10px;
  background: rgba(61, 125, 240, 0.06);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--accent-2);
  transition: transform 0.3s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.hooks-inner .hook-link:hover {
  background: rgba(61, 125, 240, 0.14);
  border-color: rgba(120, 170, 255, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  opacity: 1 !important;
}

/* ─── Floating sticky CTA pill ─── */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7eb2ff 0%, #3d7df0 52%, #1d4ed8 100%);
  color: #050b18;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid rgba(170, 200, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.32) inset,
    0 16px 40px -12px rgba(29, 78, 216, 0.7),
    0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.3s ease;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 22px 50px -12px rgba(61, 125, 240, 0.85),
    0 0 0 1px rgba(255,255,255,0.12);
}

.float-cta svg { width: 14px; height: 14px; }
.float-cta .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: floatPulse 2s var(--ease-out-quart) infinite;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* ─── Hooks responsive collapse ─── */
@media (max-width: 900px) {
  .hooks-inner .hook-card {
    flex-wrap: wrap !important;
    gap: 20px 24px !important;
    padding: 28px 24px !important;
  }
  .hooks-inner .hook-pill { width: 56px !important; height: 56px !important; }
  .hooks-inner .hook-content { flex-basis: calc(100% - 80px) !important; }
  .hooks-inner .hook-link { margin-left: 80px; }
}

@media (max-width: 1180px) {
  .nav-socials, body > nav .nav-docs { display: none; }
  body > nav { height: 64px; }
}

@media (max-width: 640px) {
  .hero-chip { font-size: 12px; padding: 8px 12px 8px 10px; }
  .marquee-item { font-size: 16px; }
  .marquee-track { gap: 36px; padding-right: 36px; }
  .float-cta { right: 16px; bottom: 16px; padding: 10px 16px; font-size: 12.5px; }
}

/* ─── Mobile spacing tighten ─── */
@media (max-width: 768px) {
  .hero { padding-block: 120px 80px; }
  .hooks-section, .protocol-stats, .how-section, .tools-section,
  .demo-section, .tiers-section, .funded-section, .agent-section,
  .faq-section, .cta-section { padding-block: 64px; }
}
