:root {
  --background: #f6f4ef;
  --foreground: #0b1033;
  --surface: #ffffff;
  --surface-hover: #f3f1ea;
  --surface-active: #e8e4d9;

  --border-light: rgba(11, 16, 51, 0.08);
  --border-hover: rgba(11, 16, 51, 0.16);
  --border-glow: rgba(107, 61, 245, 0.30);

  --text-muted: #5a5f7a;

  --primary: #1d2a8a;
  --primary-foreground: #ffffff;
  --accent: #6b3df5;
  --accent-2: #1d2a8a;
  --accent-soft: #a8b4ff;
  --accent-violet-soft: #d9ceff;
  --accent-light: rgba(107, 61, 245, 0.10);
  --accent-light-2: rgba(29, 42, 138, 0.08);

  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;

  --dot-color: rgba(11, 16, 51, 0.06);
  --glow-start: rgba(107, 61, 245, 0.10);

  --card: #ffffff;
  --muted: #f1ede5;
  --muted-foreground: #5a5f7a;
  --border: rgba(11, 16, 51, 0.08);

  --radius: 10px;

  --shadow-xs: 0 1px 2px rgba(11, 16, 51, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 16, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 16, 51, 0.07);
  --shadow-lg: 0 20px 60px rgba(11, 16, 51, 0.10);
  --shadow-halo: 0 0 0 1px rgba(107, 61, 245, 0.18), 0 30px 80px -20px rgba(29, 42, 138, 0.35);

  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; text-decoration: none; }

.dot-grid-bg {
  background-image:
    linear-gradient(to right, var(--dot-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--dot-color) 1px, transparent 1px);
  background-size: 48px 48px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-active); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; font-weight: 500; font-size: 13px; white-space: nowrap;
  transition: all .15s ease-out; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
}
.btn-default { background: var(--primary); color: var(--primary-foreground); }
.btn-default:hover { opacity: .88; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(11,16,51,0.1); }
.btn-accent:hover { background: #5a2fe0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(107,61,245,0.35); }
.btn-outline { background: var(--surface); color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--surface-hover); border-color: var(--border-hover); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--surface-hover); }

.btn-sz-default { height: 36px; padding: 0 16px; }
.btn-sz-sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-sz-lg { height: 44px; padding: 0 22px; font-size: 14px; }

.card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: all .2s ease-out;
}
.card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
  background: var(--accent-light); color: var(--accent);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.input {
  height: 40px; padding: 0 14px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--foreground); font-family: inherit; font-size: 13px; width: 100%;
  transition: all .15s ease-out;
}
.input:hover { border-color: var(--border-hover); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.input::placeholder { color: var(--text-muted); }

.stat-card {
  position: relative; overflow: hidden; padding: 20px 22px;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.stat-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 110px; height: 110px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes float { 0%,100% { transform: translate(0,0); } 33% { transform: translate(30px,-50px); } 66% { transform: translate(-20px,20px); } }
@keyframes float-delayed { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-30px,50px); } 66% { transform: translate(20px,-20px); } }
@keyframes float-slow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,-40px) scale(1.08); } }
@keyframes pulse-glow { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .8; transform: scale(1.04); } }
@keyframes halo-breathe { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.015); opacity: .96; } }

.floating-animation { animation: float 15s ease-in-out infinite; will-change: transform; }
.floating-animation-delayed { animation: float-delayed 18s ease-in-out infinite; will-change: transform; }
.floating-animation-slow { animation: float-slow 20s ease-in-out infinite; will-change: transform; }
.pulse-animation { animation: pulse-glow 8s ease-in-out infinite; }
.halo-breathe { animation: halo-breathe 6s ease-in-out infinite; }

section { position: relative; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-mono);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; line-height: 1.6; color: var(--text-muted); }
.mono { font-family: var(--font-mono); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all .2s ease-out;
}
.nav.scrolled {
  background: rgba(246,244,239,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 14px; font-size: 13px; color: var(--text-muted); border-radius: 6px;
  transition: color .15s ease-out;
}
.nav-link:hover { color: var(--foreground); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Halo slot — sized by parent */
.halo { display: block; width: 100%; height: 100%; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero-dot-mask {
  position: absolute; inset: 0; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-title { margin-bottom: 24px; }
.hero-title-accent {
  background: linear-gradient(90deg, #1d2a8a 0%, #6b3df5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 19px; max-width: 540px; margin-bottom: 36px; color: var(--text-muted); }
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--border-light); padding-top: 28px;
}
.hero-stat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--accent-2); }
.hero-stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
.hero-stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end;
}
.hero-visual-halo { position: absolute; inset: 0; }

.floating-chip {
  position: absolute; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; min-width: 200px;
  box-shadow: var(--shadow-lg);
}
.floating-chip-sub { font-size: 12px; color: var(--text-muted); }
.floating-chip-title { font-weight: 600; font-size: 13px; }
.floating-chip-title.good { color: var(--success); display: flex; align-items: center; gap: 4px; }
.gc-badge {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #a8b4ff, #6b3df5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
}

.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop-bubble { position: absolute; border-radius: 50%; }

/* Logo strip */
.logo-strip { padding: 24px 0 48px; }
.logo-strip-label {
  text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 20px;
}
.logo-strip-brands {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px;
}
.logo-strip-brand {
  font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 500;
  color: var(--text-muted); opacity: .7;
}

/* Section intros */
.section { padding: 96px 0; }
.section-intro { max-width: 680px; margin-bottom: 56px; }
.section-intro .eyebrow { margin-bottom: 14px; display: block; }
.section-intro h2 { margin-bottom: 18px; }
.section-intro p { font-size: 17px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 24px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

/* Showcase dark section */
.showcase { padding: 96px 0; position: relative; }
.showcase-bg { position: absolute; inset: 0; background: #0b1033; z-index: 0; }
.showcase-dots {
  position: absolute; inset: 0; opacity: .35; z-index: 1;
  --dot-color: rgba(168,180,255,0.06);
}
.showcase-glow {
  position: absolute; top: -10%; left: 50%; width: 800px; height: 800px;
  transform: translateX(-50%); background: var(--accent); opacity: .18;
  filter: blur(140px); border-radius: 50%; z-index: 1; pointer-events: none;
}
.showcase-inner { position: relative; z-index: 2; color: #fff; }
.showcase-intro .eyebrow { color: var(--accent-soft); }
.showcase-intro h2 { color: #fff; }
.showcase-intro p { color: rgba(255,255,255,0.7); }

.dash {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,180,255,0.14);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
}
.dash-side {
  background: rgba(0,0,0,0.22);
  border-right: 1px solid rgba(168,180,255,0.10);
  padding: 16px;
}
.dash-side-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px; margin-bottom: 20px;
}
.dash-side-brand .halo-slot { width: 18px; height: 18px; display: inline-block; }
.dash-side-brand-name { font-weight: 600; font-size: 13px; color: #fff; }
.dash-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px; font-size: 12px;
  color: rgba(255,255,255,0.55); margin-bottom: 2px;
  border-left: 2px solid transparent;
}
.dash-nav .dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.dash-nav.active {
  color: #fff; background: rgba(107,61,245,0.22);
  border-left-color: var(--accent); padding-left: 8px;
}
.dash-nav.active .dot { background: var(--accent); }

.dash-main { padding: 24px; }
.dash-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(168,180,255,0.10);
}
.dash-crumb { font-size: 13px; color: rgba(255,255,255,0.55); }
.dash-crumb .slash { opacity: .4; }
.dash-crumb strong { color: #fff; font-weight: 600; }
.dash-top-actions { display: flex; gap: 8px; }
.dash-btn {
  height: 28px; padding: 0 12px; font-size: 12px; border-radius: 6px;
  display: flex; align-items: center; gap: 6px;
}
.dash-btn.ghost { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
.dash-btn.primary { background: var(--accent); color: #fff; font-weight: 500; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-stat {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,180,255,0.10);
  border-radius: 10px; position: relative; overflow: hidden;
}
.dash-stat::after {
  content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(107,61,245,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.dash-stat-label {
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 6px;
}
.dash-stat-value { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.dash-stat-value.good { color: #4ade80; }
.dash-stat-sub { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.dash-table {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(168,180,255,0.08);
  border-radius: 10px; overflow: hidden;
}
.dash-row {
  display: grid; grid-template-columns: 32px 2fr 1fr 1fr 1fr 80px;
  padding: 10px 16px; align-items: center;
}
.dash-row.head {
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(168,180,255,0.08);
}
.dash-row.body {
  font-size: 12px; color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(168,180,255,0.06);
}
.dash-row.body:last-child { border-bottom: none; }
.dash-row .num { color: rgba(255,255,255,0.4); font-family: 'JetBrains Mono', monospace; }
.dash-row .name { font-weight: 500; }
.dash-row .family-pill {
  padding: 2px 8px; border-radius: 4px;
  background: rgba(168,180,255,0.10); font-size: 11px;
}
.dash-row .mono { font-family: 'JetBrains Mono', monospace; }
.dash-row .dilution { color: rgba(255,255,255,0.7); }
.dash-row .pct-wrap { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.dash-row .bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(168,180,255,0.12); max-width: 40px; }
.dash-row .bar-fill { height: 100%; border-radius: 2px; }
.dash-row .pct { font-family: 'JetBrains Mono', monospace; font-weight: 600; min-width: 36px; text-align: right; }
.dash-row.head span:last-child { text-align: right; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card { padding: 28px; position: relative; }
.pricing-card.highlight { border-color: var(--accent); box-shadow: var(--shadow-halo); }
.pricing-flag { position: absolute; top: -10px; right: 20px; }
.pricing-name {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.pricing-card.highlight .pricing-name { color: var(--accent); }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing-price-n { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.pricing-price-per { font-size: 13px; color: var(--text-muted); }
.pricing-blurb { font-size: 13px; margin-bottom: 20px; }
.pricing-cta { width: 100%; margin-bottom: 22px; }
.pricing-sep { height: 1px; background: var(--border-light); margin-bottom: 18px; }
.pricing-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pricing-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(107,61,245,0.12); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pricing-card.highlight .pricing-check { background: var(--accent); color: #fff; }

/* Final CTA */
.cta-section { padding: 96px 0; }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1d2a8a 0%, #6b3df5 100%);
  border-radius: 16px; padding: 72px 64px;
  color: #fff; text-align: center;
}
.cta-card h2 { color: #fff; margin-bottom: 14px; }
.cta-glow-a {
  position: absolute; top: -20%; left: -10%; width: 500px; height: 500px;
  background: rgba(255,255,255,0.14); border-radius: 50%; filter: blur(80px);
}
.cta-glow-b {
  position: absolute; bottom: -30%; right: -10%; width: 400px; height: 400px;
  background: rgba(0,0,0,0.14); border-radius: 50%; filter: blur(80px);
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-halo { width: 64px; height: 64px; margin: 0 auto 24px; }
.cta-lead { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { opacity: .95; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }

/* Footer */
.footer { border-top: 1px solid var(--border-light); padding: 64px 0 28px; background: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-name { font-weight: 600; font-size: 16px; }
.footer p { font-size: 13px; max-width: 260px; }
.footer-col-head {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 13px; color: var(--foreground); }
.footer-highlights {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border-light);
}
.footer-highlight { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.footer-highlight .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}
.footer-copy { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 20px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash-side { border-right: none; border-bottom: 1px solid rgba(168,180,255,0.10); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .cta-card { padding: 56px 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 64px; }
  .section, .showcase, .cta-section { padding: 64px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-row { grid-template-columns: 24px 1.5fr 1fr 70px; }
  .dash-row .cell-hide { display: none; }
  .cta-buttons { flex-direction: column; }
}
