/* =========================================================
   DavieSells — landing page
   Brand palette & typography unchanged (Inter, #032B77, #2C68FC, #1A52E0)
   ========================================================= */
:root {
  --bg: #F4F7FB;
  --bg-2: #FFFFFF;
  --ink: #0F172A;
  --muted: #64748B;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --gold: #2C68FC;      /* primary blue (legacy token name kept) */
  --gold-2: #1A52E0;
  --gold-ink: #FFFFFF;
  --navy: #032B77;
  --navy-deep: #021a4a;
  --tint: #EFF6FF;
  --green: #059669;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 80px -20px rgba(3, 43, 119, .28), 0 12px 30px -12px rgba(15, 23, 42, .12);
  --glow: 0 0 0 1px rgba(44, 104, 252, .18), 0 18px 50px -12px rgba(44, 104, 252, .35);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --max: 1200px;
  --header: 72px;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(44, 104, 252, .22); }
section[id] { scroll-margin-top: calc(var(--header) + 8px); }

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--gold); color: var(--gold-ink);
  padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 12px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; position: relative; }
.section { padding: 120px 0; position: relative; }
.section-tint { background: var(--bg); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center .lede { margin: 18px auto 0; }

.section h2, .hero h1, .cta h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 18px;
}
.section h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.lede { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 62ch; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-2);
  background: var(--tint);
  border: 1px solid rgba(44, 104, 252, .16);
  letter-spacing: .14em; text-transform: uppercase;
  font-size: .72rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  margin: 0 0 20px;
}
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }

.grad-text {
  background: linear-gradient(100deg, #FFFFFF 0%, #8FB0FF 45%, #2C68FC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: gradShift 6s ease-in-out infinite alternate;
}
.grad-text-dark {
  background: linear-gradient(100deg, var(--navy) 0%, var(--gold) 60%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), #8FB0FF);
  box-shadow: 0 0 12px rgba(44, 104, 252, .7);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, height .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(3, 43, 119, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -10px rgba(2, 26, 74, .45);
}
.nav-bar {
  position: relative; height: var(--header);
  width: min(var(--max), calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .4s var(--ease);
}
.is-scrolled .nav-bar { height: 62px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; transition: transform .3s var(--ease); }
.logo:hover img { transform: scale(1.03); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.nav-links a {
  position: relative; text-decoration: none;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff;
  cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars:before, .nav-toggle .bars:after {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  position: relative; margin: 0 auto; transition: transform .3s var(--ease), top .3s var(--ease), background .2s;
}
.nav-toggle .bars:before, .nav-toggle .bars:after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars:before { top: -6px; }
.nav-toggle .bars:after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars:before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars:after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  text-decoration: none; border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; border-radius: 14px; }
.btn-primary {
  background: linear-gradient(180deg, #3B74FF 0%, var(--gold) 50%, var(--gold-2) 100%);
  color: #fff; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 24px -8px rgba(44, 104, 252, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 32px -8px rgba(44, 104, 252, .8); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #d5deea; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-glass {
  background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 80% at 50% -10%, #0A3C9C 0%, var(--navy) 40%, var(--navy-deep) 100%);
  padding: calc(var(--header) + 72px) 0 120px;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(2, 26, 74, .6));
}
.hero-bg, .dark-bg, .cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  animation: gridPan 30s linear infinite;
}
@keyframes gridPan { to { background-position: 56px 56px, 56px 56px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.orb-1 { width: 520px; height: 520px; background: var(--gold); top: -180px; right: -80px; animation: float1 16s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--gold-2); bottom: -200px; left: -120px; opacity: .45; animation: float2 18s ease-in-out infinite; }
.orb-3 { width: 260px; height: 260px; background: #8FB0FF; top: 40%; left: 42%; opacity: .18; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(70px, -40px) scale(1.1); } }

.hero-layout {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 64px; align-items: center;
}
.badge {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px 16px 7px 12px; border-radius: 999px; margin: 0 0 26px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
.badge-shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18), transparent 70%); transform: translateX(-100%); animation: badgeShine 4s 1.2s ease-in-out infinite; }
@keyframes badgeShine { 0%, 50% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; max-width: 11ch; }
.hero .lede { color: rgba(255, 255, 255, .72); font-size: 1.2rem; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-actions.center { justify-content: center; margin-top: 56px; }
.fine { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .6); margin: 6px 0 0; font-size: .92rem; }
.fine .ic { color: #4ADE80; }

/* Hero dashboard */
.hero-visual { position: relative; margin: 0; perspective: 1600px; }
.dash {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 50px 100px -30px rgba(0, 0, 0, .6), 0 30px 60px -30px rgba(44, 104, 252, .5);
  transform: rotateY(-8deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.dash-top {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: rgba(255, 255, 255, .82);
  padding: 12px 16px; font-size: .78rem;
}
.dash-top img { height: 22px; width: auto; }
.dash-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px; padding: 6px 10px; color: rgba(255, 255, 255, .5); max-width: 240px; margin: 0 auto;
}
.dash-user { display: flex; align-items: center; gap: 8px; }
.dash-user i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: .66rem; font-weight: 700; }
.dash-body { display: grid; grid-template-columns: 48px 1fr; }
.dash-side { background: #F8FAFC; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.dash-side span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--faint); }
.dash-side span.on { background: var(--tint); color: var(--gold); }
.dash-main { padding: 14px; min-width: 0; }

.kpi-grid { display: grid; gap: 10px; grid-template-columns: 1.3fr 1fr 1fr; grid-template-areas: "leads qualified follow" "leads opportunities conversion"; }
.kpi:nth-child(1) { grid-area: leads; }
.kpi:nth-child(2) { grid-area: qualified; }
.kpi:nth-child(3) { grid-area: follow; }
.kpi:nth-child(4) { grid-area: opportunities; }
.kpi:nth-child(5) { grid-area: conversion; }
.kpi, .metric, .mini { background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi span, .metric span, .mini span { display: block; color: var(--faint); font-size: .72rem; font-weight: 500; }
.kpi strong, .metric strong { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--tint)); display: flex; flex-direction: column; justify-content: flex-start; }
.kpi-hero strong { font-size: 1.9rem; line-height: 1.15; }
.kpi em { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-style: normal; font-size: .76rem; font-weight: 600; }
.kpi em .ic { width: 14px; height: 14px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.spark-line { stroke-dasharray: 200; stroke-dashoffset: 200; }
.in .spark-line, .no-anim .spark-line { animation: draw 1.8s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.dash-lower { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; margin-top: 10px; }
.mini h3 { margin: 0 0 6px; font-size: .82rem; font-weight: 700; }
.lead-list { list-style: none; margin: 0; padding: 0; }
.lead-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink); font-weight: 500; }
.lead-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline; color: var(--ink); font-size: .78rem; }
.av { font-style: normal; width: 24px; height: 24px; border-radius: 7px; flex: none; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #fff; background: var(--line); }
.av-1 { background: linear-gradient(135deg, var(--gold), var(--navy)); }
.av-2 { background: linear-gradient(135deg, #10B981, #047857); }
.av-3 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.tag { font-size: .64rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag-blue { background: var(--tint); color: var(--gold-2); }
.tag-green { background: #ECFDF5; color: var(--green); }
.tag-amber { background: #FFFBEB; color: #B45309; }
.lead-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0 0; font-size: .74rem; color: var(--muted); }
.lead-row span { display: inline; font-size: .74rem; color: var(--muted); }
.bar { height: 6px; border-radius: 99px; background: #E2E8F0; margin-top: 5px; overflow: hidden; }
.bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: 0 50%; }
.js .bar b { transform: scaleX(0); transition: transform 1.4s .5s var(--ease); }
.js .in .bar b { transform: scaleX(1); }
.ai-chip {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 8px 0 0; padding: 8px 10px; border-radius: 10px;
  background: linear-gradient(135deg, var(--tint), #fff); border: 1px solid rgba(44, 104, 252, .18);
  color: var(--gold-2); font-size: .72rem; line-height: 1.45;
}
.ai-chip span { display: inline; color: var(--gold-2); font-size: .72rem; }
.ai-chip .ic { color: var(--gold); margin-top: 1px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(1.2) rotate(15deg); opacity: .7; } }
.quality { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.quality strong { font-size: .82rem; }
.ring { width: 38px; height: 38px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: #E2E8F0; }
.ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.js .ring-fg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s .8s var(--ease); }
.js .in .ring-fg { stroke-dasharray: var(--p) 100; }

.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 20px 40px -12px rgba(2, 26, 74, .45);
  font-size: .8rem; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 700; }
.float small { display: block; color: var(--muted); font-size: .72rem; }
.float-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--gold); }
.float-ic-green { background: #ECFDF5; color: var(--green); }
.float-a { left: -40px; bottom: -24px; }
.float-b { right: -28px; top: 64px; animation-delay: -2s; }
.float-c { right: 28px; bottom: -20px; animation-delay: -4s; gap: 6px; padding: 8px 14px; }
.float-c .ic { color: var(--green); }
.float-c b { display: inline; color: var(--green); }
.float-c small { display: inline; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Capability marquee ---------- */
.capability { padding: 72px 0 80px; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.cap-title { text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; color: var(--muted); margin: 0 auto 36px; max-width: 32ch; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pills { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
.pills li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; color: var(--ink); font-weight: 600; font-size: 1rem;
  background: linear-gradient(180deg, #fff, #F8FAFC);
  box-shadow: var(--shadow-sm);
}
.pills li .ic { color: var(--gold); width: 20px; height: 20px; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(44, 104, 252, .28); }
.card h3 { margin: 18px 0 8px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; }
.card p { color: var(--muted); margin: 0; }
/* spotlight that follows the cursor */
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(44, 104, 252, .10), transparent 45%);
  transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.card-ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--gold); background: linear-gradient(180deg, #fff, var(--tint));
  border: 1px solid rgba(44, 104, 252, .18);
  box-shadow: 0 6px 16px -6px rgba(44, 104, 252, .35), inset 0 1px 0 #fff;
  transition: transform .4s var(--ease);
}
.card-ic .ic { width: 22px; height: 22px; }
.card:hover .card-ic { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
.ic-warn { color: var(--navy); background: linear-gradient(180deg, #fff, #F1F5F9); border-color: var(--line); box-shadow: var(--shadow-sm); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.close-line { display: flex; align-items: center; gap: 24px; margin-top: 64px; }
.close-line p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mark-mini { position: relative; width: 26px; height: 26px; flex: none; animation: spin 10s linear infinite; }
.mark-mini i, .cta-mark i { position: absolute; border-radius: 50%; background: var(--gold); left: 50%; top: 50%; }
.mark-mini i { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.mark-mini i:nth-child(1) { transform: rotate(0deg) translateY(-8px); }
.mark-mini i:nth-child(2) { transform: rotate(72deg) translateY(-8px); }
.mark-mini i:nth-child(3) { transform: rotate(144deg) translateY(-8px); }
.mark-mini i:nth-child(4) { transform: rotate(216deg) translateY(-8px); }
.mark-mini i:nth-child(5) { transform: rotate(288deg) translateY(-8px); }
.close-line-rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(44, 104, 252, .4), transparent); }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-card { display: flex; flex-direction: column; }
.b-lg { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; min-height: 280px; }
.b-md { grid-column: span 2; }
.b-sm { grid-column: span 2; }
.b-half { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.bento-card .bento-text h3 { margin-top: 18px; }
.viz { position: relative; }
.b-md .viz { margin-top: 24px; }

.viz-leads { display: grid; gap: 8px; }
.vl-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease);
}
.vl-row span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-ghost { opacity: .5; border-style: dashed; box-shadow: none; }
.vl-ghost span { height: 8px; background: var(--line); border-radius: 4px; }
.vl-ghost b { width: 46px; height: 16px; background: var(--line); border-radius: 99px; }
.bento-card:hover .vl-row:nth-child(1) { transform: translateX(-6px); }
.bento-card:hover .vl-row:nth-child(2) { transform: translateX(6px); }
.bento-card:hover .vl-row:nth-child(3) { transform: translateX(-3px); }

.viz-ai { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 16px 30px -14px rgba(3, 43, 119, .6); }
.ai-line { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: #8FB0FF; animation: pulseBlue 1.6s infinite; }
@keyframes pulseBlue { 0% { box-shadow: 0 0 0 0 rgba(143, 176, 255, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(143, 176, 255, 0); } }
.ai-skel { display: grid; gap: 8px; margin: 14px 0; }
.ai-skel i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .28), rgba(255, 255, 255, .08)); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }
.ai-skel i:nth-child(2) { animation-delay: .2s; }
.ai-skel i:nth-child(3) { animation-delay: .4s; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ai-result { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; background: rgba(74, 222, 128, .14); color: #86EFAC; padding: 5px 10px; border-radius: 999px; }

.scan-url { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px 8px 0 0; padding: 6px 10px; }
.scan-url .ic { width: 12px; height: 12px; color: var(--green); }
.scan-page { position: relative; overflow: hidden; height: 76px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; padding: 12px; display: grid; gap: 7px; align-content: start; background: #fff; }
.scan-page i { display: block; height: 7px; border-radius: 4px; background: #EEF2F7; }
.scan-page i:nth-child(1) { width: 60%; background: #DCE6FF; }
.scan-page i:nth-child(2) { width: 90%; }
.scan-page i:nth-child(3) { width: 75%; }
.scan-beam { position: absolute; left: 0; right: 0; height: 26px; top: -26px; background: linear-gradient(180deg, transparent, rgba(44, 104, 252, .22), transparent); border-bottom: 2px solid var(--gold); animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0% { top: -26px; } 100% { top: 100%; } }

.viz-quality { display: grid; gap: 10px; }
.q-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; font-size: .76rem; color: var(--muted); font-weight: 500; }
.q-bar { height: 8px; border-radius: 99px; background: #EEF2F7; overflow: hidden; }
.q-bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: 0 50%; }
.q-row:nth-child(2) .q-bar b { opacity: .65; }
.q-row:nth-child(3) .q-bar b { opacity: .35; }
.js .q-bar b { transform: scaleX(0); transition: transform 1.3s .3s var(--ease); }
.js .in .q-bar b { transform: scaleX(1); }

.viz-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kb-col { position: relative; background: #F8FAFC; border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 96px; }
.kb-col span { font-size: .66rem; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.kb-col i { display: block; height: 18px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.kb-col:nth-child(3) i { background: var(--tint); border-color: rgba(44, 104, 252, .25); }
.kb-move { background: var(--gold) !important; border-color: var(--gold) !important; box-shadow: 0 6px 14px -4px rgba(44, 104, 252, .6); animation: kbMove 5s var(--ease) infinite; position: relative; z-index: 2; }
@keyframes kbMove {
  0%, 15% { transform: translateX(0); }
  40%, 55% { transform: translateX(calc(100% + 25px)); }
  80%, 100% { transform: translateX(calc(200% + 50px)); opacity: 1; }
}

.viz-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, #F8FAFC, #fff); border: 1px solid var(--line); }
.viz-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold), rgba(44, 104, 252, .25)); transform-origin: 50% 100%; }
.viz-chart i:last-child { background: linear-gradient(180deg, var(--navy), var(--gold)); }
.js .viz-chart i { transform: scaleY(0); transition: transform 1s var(--ease); }
.js .in .viz-chart i { transform: scaleY(1); }
.viz-chart i:nth-child(2) { transition-delay: .06s; }
.viz-chart i:nth-child(3) { transition-delay: .12s; }
.viz-chart i:nth-child(4) { transition-delay: .18s; }
.viz-chart i:nth-child(5) { transition-delay: .24s; }
.viz-chart i:nth-child(6) { transition-delay: .3s; }
.viz-chart i:nth-child(7) { transition-delay: .36s; }

.viz-orgs { display: grid; gap: 8px; }
.org { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .84rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.org .ic { color: var(--gold); }
.org span { flex: 1; }
.org .org-lock { color: var(--green); width: 16px; height: 16px; }
.org:nth-child(2) { margin-left: 16px; }
.org:nth-child(3) { margin-left: 32px; }

/* ---------- Chrome extension ---------- */
.extension-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ext-copy .eyebrow .ic { width: 14px; height: 14px; }
.benefits { list-style: none; margin: 36px 0 32px; padding: 0; display: grid; gap: 14px; }
.benefit {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.benefit:hover { border-color: rgba(44, 104, 252, .3); box-shadow: var(--shadow); transform: translateX(4px); }
.benefit h3 { margin: 4px 0 4px; font-size: 1.05rem; font-weight: 700; }
.benefit p { margin: 0; color: var(--muted); }
.benefit-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--gold), var(--navy)); box-shadow: 0 6px 14px -6px rgba(44, 104, 252, .7); }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .78rem; font-weight: 500; color: var(--navy); background: var(--tint); border: 1px solid rgba(44, 104, 252, .14); padding: 4px 10px; border-radius: 999px; }

.browser { margin: 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; display: block; }
.dots i:nth-child(1) { background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.url { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--muted); }
.url .ic { width: 12px; height: 12px; color: var(--green); }
.ext-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 3px rgba(44, 104, 252, .15); }
.ext-ic img { width: 18px; height: 18px; }
.browser-body { position: relative; min-height: 520px; }
.map { position: absolute; inset: 0; background: #EAF0F8; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, #DDF3E4 0 60px, transparent 61px), radial-gradient(circle at 75% 75%, #DDF3E4 0 80px, transparent 81px), radial-gradient(circle at 85% 15%, #D6E6FA 0 50px, transparent 51px); }
.map-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-roads path { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }
.map-roads path.minor { stroke-width: 5; stroke: #F8FAFC; }
.map-pin { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -18px 0 0 -9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold); box-shadow: 0 4px 10px rgba(3, 43, 119, .4); }
.map-pin::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.map-pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ping 3s calc(var(--d) * .5s) ease-out infinite; }
@keyframes ping { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.ext-panel {
  position: absolute; right: 18px; top: 18px; bottom: 18px; width: min(330px, calc(100% - 36px));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  box-shadow: 0 24px 50px -16px rgba(3, 43, 119, .35);
  display: flex; flex-direction: column;
}
.ext-top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: .74rem; margin-bottom: 14px; }
.ext-logo { height: 22px; width: auto; display: block; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: pulse 2s infinite; }
.ext-panel h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
.ext-search { display: flex; align-items: center; gap: 10px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; margin-bottom: 8px; }
.ext-search > .ic { color: var(--gold); }
.ext-search span { display: block; font-size: .68rem; color: var(--faint); }
.ext-search b { display: block; font-weight: 600; font-size: .88rem; }
.scan-progress { margin: 6px 0 2px; font-size: .7rem; color: var(--muted); }
.sp-bar { height: 4px; border-radius: 99px; background: #E2E8F0; overflow: hidden; margin-top: 5px; }
.sp-bar b { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); animation: indet 1.8s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.metric-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin: 12px 0; }
.metric { text-align: left; }
.metric strong { font-size: 1.4rem; color: var(--navy); }
.metric span { line-height: 1.3; min-height: 2.6em; }
.mock-btn { position: relative; overflow: hidden; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; background: linear-gradient(180deg, #3B74FF, var(--gold-2)); color: var(--gold-ink); border-radius: 12px; padding: 12px; font-weight: 700; box-shadow: 0 10px 20px -8px rgba(44, 104, 252, .7); }
.mock-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }

/* ---------- Install timeline ---------- */
.install-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.install-aside { position: sticky; top: calc(var(--header) + 32px); }
.install-aside .lede { margin-bottom: 28px; }
.notice { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.notice p { margin: 0; color: var(--muted); font-size: .92rem; }
.notice-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--gold); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; display: grid; gap: 14px; }
.tl-track { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-track span { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--gold), var(--navy)); transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
.no-js .tl-track span, html:not(.js) .tl-track span { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.num {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--gold-2); font-weight: 700;
  border: 2px solid var(--line); transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.step.is-done .num { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 6px rgba(44, 104, 252, .14); }
.step-body { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 20px 22px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.step-body:hover { border-color: rgba(44, 104, 252, .3); box-shadow: var(--shadow); transform: translateX(4px); }
.step-ic { position: absolute; right: 18px; top: 18px; color: var(--faint); }
.step-ic .ic { width: 20px; height: 20px; }
.step h3 { margin: 0 0 6px; font-size: 1.04rem; font-weight: 700; padding-right: 28px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step a { color: var(--gold-2); font-weight: 600; text-decoration-color: rgba(26, 82, 224, .3); text-underline-offset: 3px; }
code, .path { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--gold-2); font-size: .88em; background: var(--tint); padding: 2px 6px; border-radius: 6px; }

/* ---------- Dark AI section ---------- */
.section-dark { color: #fff; background: radial-gradient(100% 80% at 80% 50%, #0A3C9C 0%, var(--navy) 45%, var(--navy-deep) 100%); overflow: hidden; isolation: isolate; }
.section-dark .lede { color: rgba(255, 255, 255, .7); }
.orb-ai { width: 600px; height: 600px; background: var(--gold); right: -100px; top: 50%; margin-top: -300px; opacity: .35; animation: float1 18s ease-in-out infinite; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-points li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-weight: 500; font-size: .95rem; transition: background .3s, border-color .3s; }
.ai-points li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.ai-points span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(44, 104, 252, .25); color: #fff; flex: none; }
.ai-stage { position: relative; }
.ai-glow { position: absolute; inset: 10% 5%; background: conic-gradient(from 0deg, var(--gold), #8FB0FF, var(--gold-2), var(--gold)); filter: blur(60px); opacity: .45; border-radius: 50%; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-card {
  position: relative; padding: 28px; border-radius: 22px; color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55);
}
.ai-card header { display: flex; justify-content: space-between; align-items: center; color: var(--gold-2); font-size: .74rem; font-weight: 700; letter-spacing: .14em; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ai-card header > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sample { color: var(--faint); background: #F1F5F9; padding: 3px 10px; border-radius: 999px; letter-spacing: .06em; font-weight: 600; }
.ai-head { display: flex; align-items: center; gap: 22px; padding: 22px 0 6px; }
.gauge { position: relative; width: 112px; height: 112px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.g-bg { stroke: #EEF2F7; }
.g-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 26.1; }
.js .g-fg { stroke-dashoffset: 326.7; transition: stroke-dashoffset 2s .3s var(--ease); }
.js .in .g-fg { stroke-dashoffset: 26.1; }
.g-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.g-val strong { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.g-val span { font-size: .72rem; color: var(--faint); margin-top: 4px; }
.ai-lead { margin: 0; color: var(--muted); }
.ai-lead strong { color: var(--ink); }
.score { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.ai-sub { margin: 6px 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.ai-card h3 { margin: 22px 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.why li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; }
.why .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #ECFDF5; color: var(--green); stroke-width: 2.6; }
.js .why li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .in .why li { opacity: 1; transform: none; }
.js .in .why li:nth-child(1) { transition-delay: .6s; }
.js .in .why li:nth-child(2) { transition-delay: .75s; }
.js .in .why li:nth-child(3) { transition-delay: .9s; }
.js .in .why li:nth-child(4) { transition-delay: 1.05s; }
.ai-action { margin: 0; padding: 14px 16px; border-radius: 12px; background: linear-gradient(135deg, var(--tint), #fff); border: 1px solid rgba(44, 104, 252, .2); color: var(--navy); font-weight: 600; min-height: 3.6em; }
.ai-action .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- How it works ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-line { position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.flow-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--navy)); transform-origin: 0 50%; transform: scaleX(1); }
.js .flow-line span { transform: scaleX(0); transition: transform 1.8s .3s var(--ease); }
.js .flow.in .flow-line span { transform: scaleX(1); }
.flow-step { position: relative; text-align: center; padding: 0 8px; }
.flow-ic {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 20px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(44, 104, 252, .8);
  transition: transform .4s var(--ease);
}
.flow-ic .ic { width: 26px; height: 26px; }
.flow-step:hover .flow-ic { transform: translateY(-4px) rotate(-6deg); }
.flow strong { display: block; color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .18em; }
.flow h3 { margin: 6px 0 8px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.flow p { margin: 0 auto; color: var(--muted); max-width: 24ch; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.aud { grid-column: span 2; padding-bottom: 76px; }
.aud:nth-child(4), .aud:nth-child(5) { grid-column: span 3; }
.aud-arrow { position: absolute; left: 28px; bottom: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: var(--tint); transition: transform .4s var(--ease), background .3s, color .3s; }
.aud:hover .aud-arrow { background: var(--gold); color: #fff; transform: translateX(6px); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 24px; align-items: stretch; }
.cmp { border-radius: 22px; padding: 32px; }
.cmp header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.cmp header > span { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.cmp h3 { margin: 0; font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.cmp ul { list-style: none; margin: 0; padding: 0; }
.cmp-old { background: var(--bg); border: 1px dashed #CBD5E1; }
.cmp-old header > span { background: #E2E8F0; color: var(--muted); }
.cmp-old h3 { color: var(--muted); }
.cmp-old li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmp-old li:last-child { border-bottom: 0; }
.dot-muted { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; flex: none; }
.cmp-vs { align-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--faint); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.cmp-new {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, var(--gold-2) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(44, 104, 252, .3);
}
.cmp-new::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.cmp-new > * { position: relative; }
.cmp-new h3 img { height: 26px; width: auto; }
.cmp-new h3 span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp-new header > span { background: rgba(255, 255, 255, .14); color: #fff; }
.cmp-new ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-new li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.cmp-new li:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.cmp-new li .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); color: #fff; stroke-width: 2.8; }

/* ---------- Security ---------- */
.security-panel {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: 28px;
  background: radial-gradient(120% 120% at 0% 0%, #0A3C9C 0%, var(--navy) 45%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.security-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0; }
.shield-orb { position: relative; width: 110px; height: 110px; margin-bottom: 28px; display: grid; place-items: center; }
.shield-orb .sring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 176, 255, .35); animation: ripple 3.6s ease-out infinite; }
.shield-orb .r2 { animation-delay: 1.2s; }
.shield-orb .r3 { animation-delay: 2.4s; }
@keyframes ripple { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.shield-core { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 16px 40px -10px rgba(44, 104, 252, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.shield-core .ic { width: 32px; height: 32px; color: #fff; }
.security-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.security-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.security-grid li:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.security-grid li .ic { color: #8FB0FF; width: 20px; height: 20px; }
.security-grid li:last-child { grid-column: span 2; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header) + 32px); }
.faq-cta { margin-top: 32px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.faq-cta b { display: block; }
.faq-cta p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq-cta .btn { grid-column: 1 / -1; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s, background .3s; }
.faq details:hover { border-color: rgba(44, 104, 252, .3); }
.faq details[open] { border-color: rgba(44, 104, 252, .35); box-shadow: var(--glow); }
.faq summary { cursor: pointer; min-height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 22px; font-weight: 600; font-size: 1.04rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--gold); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] .faq-ic { transform: rotate(135deg); background: var(--gold); color: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); margin: 0; padding: 0 22px 22px; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 120px; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: 96px 32px; border-radius: 32px;
  background: linear-gradient(135deg, #021a4a 0%, #032B77 45%, #1A52E0 100%);
  box-shadow: 0 40px 100px -30px rgba(3, 43, 119, .6);
}
.cta-panel h2 { color: #fff; max-width: 16ch; margin-left: auto; margin-right: auto; font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; }
.cta-panel .lede { color: rgba(255, 255, 255, .78); margin: 0 auto 36px; font-size: 1.2rem; }
.cta .hero-actions { justify-content: center; margin: 0; }
.orb-cta { width: 500px; height: 500px; background: var(--gold); left: 50%; top: 50%; margin: -250px 0 0 -250px; opacity: .4; animation: float1 14s ease-in-out infinite; }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); animation: spin 30s linear infinite; }
.o1 { width: 720px; height: 720px; margin: -360px 0 0 -360px; }
.o2 { width: 1080px; height: 1080px; margin: -540px 0 0 -540px; animation-duration: 50s; animation-direction: reverse; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #8FB0FF; box-shadow: 0 0 16px 4px rgba(143, 176, 255, .7); }
.cta-mark { position: relative; width: 64px; height: 64px; margin: 0 auto 28px; animation: spin 14s linear infinite; }
.cta-mark i { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px rgba(44, 104, 252, .9); left: 50%; top: 50%; margin: -10px 0 0 -10px; }
.cta-mark i:nth-child(1) { transform: rotate(0deg) translateY(-22px); }
.cta-mark i:nth-child(2) { transform: rotate(72deg) translateY(-22px); }
.cta-mark i:nth-child(3) { transform: rotate(144deg) translateY(-22px); }
.cta-mark i:nth-child(4) { transform: rotate(216deg) translateY(-22px); }
.cta-mark i:nth-child(5) { transform: rotate(288deg) translateY(-22px); }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-logo { height: 34px; width: auto; display: block; margin: 0 0 16px; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin: 0 0 22px; }
.site-footer h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer li a { color: var(--muted); text-decoration: none; transition: color .2s, padding .2s; }
.site-footer li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.copy { color: var(--faint); margin: 0; font-size: .9rem; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; }
.to-top .ic { transform: rotate(-90deg); transition: transform .3s var(--ease); }
.to-top:hover { color: var(--gold); }
.to-top:hover .ic { transform: rotate(-90deg) translateX(3px); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .float-a { left: -12px; }
  .float-b { right: -8px; }
  .nav-links a { padding: 7px 10px; }
  .site-nav { gap: 16px; }
}

@media (max-width: 1060px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header);
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px 24px 24px; background: rgba(3, 43, 119, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100vh - var(--header)); overflow-y: auto;
  }
  .is-scrolled .site-nav { top: 62px; }
  .site-nav.is-open { display: flex; animation: dropIn .35s var(--ease); }
  @keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } }
  .nav-links { flex-direction: column; align-items: stretch; background: none; border: 0; padding: 0; border-radius: 0; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav-links a:hover { background: none; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
  .site-header:has(.site-nav.is-open) { background: rgba(3, 43, 119, .97); }

  .hero-layout, .extension-grid, .ai-grid, .install-grid, .faq-grid, .security-panel { grid-template-columns: 1fr; }
  .hero-layout { gap: 72px; }
  .hero h1 { max-width: 14ch; }
  .dash { transform: none; }
  .install-aside, .faq-aside { position: static; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-lg, .b-half { grid-column: span 2; }
  .b-md, .b-sm { grid-column: span 1; }
  .b-sm:last-of-type { grid-column: span 2; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .aud, .aud:nth-child(4) { grid-column: span 1; }
  .aud:nth-child(5) { grid-column: span 2; }
  .compare { grid-template-columns: 1fr; }
  .cmp-vs { justify-self: center; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .flow-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .security-panel { padding: 48px; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --header: 64px; }
  .wrap, .nav-bar { width: calc(100% - 32px); }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: calc(var(--header) + 48px) 0 88px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero .lede { font-size: 1.06rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .float-a, .float-b { display: none; }
  .float-c { right: 12px; bottom: -18px; }
  .dash-search, .dash-side { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-user span { display: none; }
  .dash-top { justify-content: space-between; }
  .kpi-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "leads leads" "qualified follow" "opportunities conversion"; }
  .dash-lower { grid-template-columns: 1fr; }
  .problem-grid, .bento, .audience-grid, .flow, .ai-points, .security-grid, .footer-grid { grid-template-columns: 1fr; }
  .b-lg, .b-half, .b-md, .b-sm, .b-sm:last-of-type, .aud, .aud:nth-child(4), .aud:nth-child(5), .security-grid li:last-child { grid-column: auto; }
  .b-lg, .b-half { grid-template-columns: 1fr; min-height: 0; }
  .close-line { gap: 12px; }
  .close-line p { white-space: normal; text-align: center; font-size: 1.15rem; }
  .close-line-rule { display: none; }
  .close-line { justify-content: center; }
  .browser-body { min-height: 0; }
  .map { position: absolute; }
  .ext-panel { position: relative; inset: auto; width: auto; margin: 170px 14px 14px; }
  .cmp, .card { padding: 22px; }
  .card.aud { padding-bottom: 72px; }
  .aud-arrow { left: 22px; }
  .cmp-new ul { grid-template-columns: 1fr 1fr; }
  .security-panel { padding: 32px 22px; border-radius: 22px; }
  .cta-panel { padding: 64px 20px; border-radius: 24px; }
  .cta .hero-actions .btn { width: 100%; }
  .faq summary { padding: 0 16px; font-size: .98rem; }
  .faq-body p { padding: 0 16px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .js .bar b, .js .q-bar b, .js .viz-chart i, .js .flow-line span { transform: none; }
  .js .ring-fg { stroke-dasharray: var(--p) 100; }
  .js .g-fg { stroke-dashoffset: 26.1; }
  .js .why li { opacity: 1; transform: none; }
  .spark-line { stroke-dashoffset: 0; }
  .marquee-track { transform: none; }
}
