/* TestivAI Landing Page v3 Theme */
:root {
  --navy:       #08111f;
  --navy2:      #0e1c32;
  --navy3:      #112236;
  --navy4:      #172d44;
  --border:     rgba(0,180,220,0.1);
  --border2:    rgba(255,255,255,0.09);
  --text:       #f0f6ff;
  --text2:      #dbe4f4;
  --muted:      #96b3cf;
  --cyan:       #00d4ff;
  --cyan2:      #00a8e8;
  --cyan3:      #0090cc;
  --cyan-glow:  rgba(0,212,255,0.15);
  --grad:       linear-gradient(135deg, #00d4ff, #00a8e8);
  --grad-text:  linear-gradient(135deg, #00d4ff 0%, #00a8e8 60%, #0090cc 100%);
  --green:      #00e5b0;
  --red:        #ff5577;
  --font:       'Plus Jakarta Sans', sans-serif;
  --mono:       'Fira Code', monospace;
}

*, *::before, *::after { 
  margin:0; 
  padding:0; 
  box-sizing:border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 19.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--cyan3); border-radius: 4px; }

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(8,17,31,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

/* SVG code icon from the logo */
.logo-icon {
  width: 32px; height: 32px;
}

.logo-text {
  font-family: var(--font); font-weight: 800; font-size: 1.2rem;
  color: var(--text); letter-spacing: -0.02em;
}
.logo-text span { 
  background: var(--grad-text); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}

.nav-links { 
  display: flex; gap: 32px; list-style: none; 
}
.nav-links a {
  color: var(--text2); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-right { 
  display: flex; gap: 10px; align-items: center; 
}

.btn-ghost {
  padding: 8px 18px; border-radius: 8px;
  border: 1px solid var(--border2); background: transparent;
  color: var(--text2); font-family: var(--font); font-size: 1.01rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { 
  border-color: rgba(0,212,255,0.3); 
  color: var(--cyan); 
}

.btn-grad {
  padding: 9px 22px; border-radius: 8px;
  background: var(--grad); color: var(--navy);
  font-family: var(--font); font-size: 1.01rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,180,220,0.25);
}
.btn-grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,180,220,0.4);
  filter: brightness(1.08);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 52px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}

/* Large blurred orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,144,204,0.06) 0%, transparent 70%);
  bottom: 0; right: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
  bottom: 100px; left: -80px;
}

/* Grid lines */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  color: var(--cyan); letter-spacing: 0.04em;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.5s ease 0.15s forwards;
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}

h1 {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1; letter-spacing: -0.04em;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.6s ease 0.2s forwards;
  margin-bottom: 16px;
}

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

.h1-muted {
  color: rgba(255,255,255,0.38);
}

.hero-p {
  margin-top: 20px; max-width: 540px;
  font-size: 1.32rem; color: var(--text2); font-weight: 400; line-height: 1.75;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.6s ease 0.35s forwards;
}

.hero-btns {
  margin-top: 32px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.5s ease 0.48s forwards;
}

.btn-grad-lg {
  padding: 14px 34px; border-radius: 10px;
  background: var(--grad); color: var(--navy);
  font-family: var(--font); font-size: 1.15rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 4px 28px rgba(0,180,220,0.3);
  display: flex; align-items: center; gap: 8px;
}
.btn-grad-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,180,220,0.5);
  filter: brightness(1.07);
}

.btn-ghost-lg {
  padding: 14px 34px; border-radius: 10px;
  border: 1px solid var(--border2); background: rgba(255,255,255,0.03);
  color: var(--text2); font-family: var(--font); font-size: 1.15rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost-lg:hover {
  border-color: rgba(0,212,255,0.3); color: var(--cyan);
  background: rgba(0,212,255,0.04);
}

.hero-trust {
  margin-top: 20px;
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.5s ease 0.58s forwards;
}

.trust-item {
  font-family: var(--mono); font-size: 0.9rem; color: var(--text2);
  display: flex; align-items: center; gap: 6px;
}
.trust-item::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); opacity: 0.6;
}

/* ── SPLIT VISUAL ── */
.split-visual {
  margin-top: 48px; width: 100%; max-width: 820px;
  position: relative; z-index: 1;
  opacity: 0; animation: rise 0.9s ease 0.7s forwards;
}

/* Glow border trick */
.split-glow-wrap {
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(0,144,204,0.1), rgba(0,212,255,0.3));
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,212,255,0.06);
}

.split-inner {
  display: grid; grid-template-columns: 1fr 48px 1fr;
  background: var(--navy2); border-radius: 13px; overflow: hidden;
}

.sp-header {
  padding: 10px 16px; border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.7rem;
}

.sp-dot { width: 8px; height: 8px; border-radius: 50%; }

.sp-ci { background: var(--navy3); }
.sp-ci .sp-header { background: rgba(0,229,176,0.04); }
.sp-ci .sp-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.sp-ci .sp-title { color: var(--green); }

.sp-bug { background: var(--navy3); }
.sp-bug .sp-header { background: rgba(255,85,119,0.04); }
.sp-bug .sp-dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.sp-bug .sp-title { color: var(--red); }

.sp-divider {
  background: var(--navy2);
  border-left: 1px solid var(--border2);
  border-right: 1px solid var(--border2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.sp-div-icon {
  width: 28px; height: 28px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.6rem; color: var(--cyan);
}

.sp-body {
  padding: 14px; font-family: var(--mono); font-size: 0.72rem; line-height: 1.9;
}

.ln-g { color: var(--green); }
.ln-r { color: var(--red); }
.ln-m { color: rgba(255,255,255,0.22); }
.ln-c { color: rgba(255,255,255,0.3); font-style: italic; }

/* broken UI */
.ui-sim { padding: 14px; }
.ui-row { height: 8px; border-radius: 2px; margin-bottom: 8px; }
.ur-dim { background: rgba(255,255,255,0.06); }
.ur-mid { background: rgba(255,255,255,0.1); width: 65%; }

.invis-btn {
  margin: 10px 0; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,85,119,0.35);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.invis-btn span { font-family: var(--mono); font-size: 0.6rem; color: rgba(255,255,255,0.12); }

.bug-chip {
  position: absolute; top: -10px; right: -6px;
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 0.56rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em;
  animation: chipglow 2s ease infinite;
}
@keyframes chipglow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,85,119,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(255,85,119,0); }
}

.bug-msg {
  font-family: var(--mono); font-size: 0.64rem; color: var(--red);
  margin-top: 10px; display: flex; align-items: center; gap: 6px;
  opacity: 0.9;
}

/* blinking cursor */
.cur {
  display: inline-block; width: 7px; height: 13px;
  background: var(--cyan); opacity: 0.7;
  vertical-align: middle; margin-left: 2px;
  animation: blink 1s step-end infinite; border-radius: 1px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── STATS ── */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-box {
  padding: 40px 0; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; cursor: default;
  transition: background 0.3s;
}
.stat-box:hover { background: rgba(0,212,255,0.03); }
.stat-box:last-child { border-right: none; }

.stat-box::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--grad);
  transition: width 0.4s ease;
}
.stat-box:hover::after { width: 60%; }

.sn {
  font-family: var(--font); font-weight: 800;
  font-size: 3rem; line-height: 1; letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.sl {
  margin-top: 6px; font-family: var(--mono);
  font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── SHARED SECTION ── */
section { 
  padding: 104px 52px; 
  position: relative; 
}
.inner { 
  max-width: 1140px; 
  margin: 0 auto; 
}

.stag {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.ssub {
  color: var(--text2); font-size: 1.24rem;
  font-weight: 400; max-width: 520px; line-height: 1.75;
}

/* ── PROBLEM ── */
.prob-bg { background: var(--navy2); }

.prob-2col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 52px;
}

.prob-copy p {
  color: var(--text2); font-size: 1.17rem; font-weight: 400;
  line-height: 1.85; margin-bottom: 18px; max-width: 680px;
}
.prob-copy strong { color: var(--text); font-weight: 600; }

/* Code window */
.cwin {
  border: 1px solid var(--border2); border-radius: 10px; overflow: hidden;
  background: rgba(8,17,31,0.7);
}

.cwin-bar {
  background: rgba(255,255,255,0.03); padding: 9px 14px;
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 7px;
}
.cd { width: 9px; height: 9px; border-radius: 50%; }
.cd-r { background: rgba(255,95,87,0.7); }
.cd-y { background: rgba(254,188,46,0.7); }
.cd-g { background: rgba(40,200,64,0.7); }
.cwin-file { margin-left: 4px; font-family: var(--mono); font-size: 0.66rem; color: var(--muted); }

.cwin-body {
  padding: 20px; font-family: var(--mono); font-size: 0.78rem; line-height: 2.1;
}
.cg { color: var(--green); }
.cr { color: var(--red); }
.cc { color: rgba(255,255,255,0.28); font-style: italic; }

/* ── LAYERS ── */
.layers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 52px;
}

/* How It Works Layout */
section#how-it-works .how-it-works-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 32px;
  align-items: start;
}

section#how-it-works .how-it-works-content {
  padding-right: 60px;
}

section#how-it-works .how-it-works-content h2 {
  margin-bottom: 16px;
}

section#how-it-works .how-it-works-content .ssub {
  margin-bottom: 40px;
}

.how-it-works-content p {
  color: var(--text2);
  font-size: 1.17rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.layer-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.layer-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.layer-feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.9;
  flex-shrink: 0;
  margin-top: 2px;
}

.layer-feature-text {
  color: var(--text2);
  font-size: 1.01rem;
  line-height: 1.6;
}

.layer-feature-text strong {
  color: var(--text);
  font-weight: 600;
}

/* Layers Stack */
.layers-column {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.layers-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 120px;
  height: fit-content;
  max-width: 400px;
  width: 100%;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border2);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.layer-item:hover {
  background: rgba(0,212,255,0.04);
  border-color: rgba(0,212,255,0.2);
  transform: translateX(-4px);
}

.layer-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.1);
  border-radius: 10px;
  color: var(--cyan);
  flex-shrink: 0;
}

.layer-content {
  flex: 1;
}

.layer-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.layer-title {
  font-size: 1.01rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.layer-desc {
  font-size: 0.86rem;
  color: var(--text2);
}

/* Layer specific colors */
.layer-1 .layer-icon { background: rgba(0,212,255,0.1); color: var(--cyan); }
.layer-2 .layer-icon { background: rgba(40,200,64,0.1); color: var(--green); }
.layer-3 .layer-icon { background: rgba(254,188,46,0.1); color: #feca1e; }
.layer-4 .layer-icon { background: rgba(156,39,176,0.1); color: #9c27b0; }
.layer-5 .layer-icon { background: rgba(255,95,87,0.1); color: var(--red); }

.lcard {
  background: rgba(16,30,52,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: all 0.3s; cursor: default;
}
.lcard:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(0,212,255,0.06);
}

.lcard-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  transition: opacity 0.3s; opacity: 0;
}
.lcard:hover .lcard-glow { opacity: 1; }

.lc-n {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  color: var(--cyan); letter-spacing: 0.08em;
  margin-bottom: 12px; text-transform: uppercase;
}

.lc-t {
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  margin-bottom: 10px; color: var(--text);
}

.lc-d { color: var(--text2); font-size: 1.15rem; line-height: 1.75; }

.lc-s {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--mono); font-size: 0.86rem; color: var(--text2);
}
.lc-s strong { color: var(--cyan); }

/* ── DEMO ── */
.demo-bg { background: var(--navy2); }

.demo-frame {
  margin-top: 52px;
  border: 1px solid var(--border2); border-radius: 12px; overflow: hidden;
  background: rgba(8,17,31,0.8);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.demo-tabs {
  display: flex; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border2);
}

.dtab {
  padding: 13px 22px; background: transparent; border: none;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  color: var(--muted); cursor: pointer; letter-spacing: 0.05em;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.dtab:hover { color: var(--text2); }
.dtab.active {
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  border-bottom-color: var(--cyan); background-color: rgba(0,212,255,0.04);
  /* fallback for non-webkit */
  color: var(--cyan);
}

.demo-body { padding: 32px; }
.dpane { display: none; }
.dpane.active { display: block; }

/* DB mockup */
.db-mock {
  border: 1px solid var(--border2); border-radius: 10px; overflow: hidden;
}

.db-chrome {
  background: rgba(255,255,255,0.02); padding: 9px 16px;
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 10px;
}

.dbc-dots { display: flex; gap: 6px; }
.dbc-d { width: 9px; height: 9px; border-radius: 50%; }
.dbc-r { background: rgba(255,95,87,0.5); }
.dbc-y { background: rgba(254,188,46,0.5); }
.dbc-g { background: rgba(40,200,64,0.5); }

.dbc-url {
  flex: 1; font-family: var(--mono); font-size: 0.68rem;
  color: var(--muted); text-align: center;
}

.db-body { padding: 22px; }

/* Shimmer */
.sh {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: sh 2s linear infinite;
  border-radius: 3px;
}
@keyframes sh { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

.rrow {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rrow:last-of-type { border-bottom: none; }
.rr-n { flex: 1; height: 10px; border-radius: 2px; }
.rr-b { width: 140px; height: 10px; border-radius: 2px; }
.rr-s { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; width: 58px; text-align: right; }
.rs-p { color: var(--green); }
.rs-r { color: var(--red); }

.kpis { display: flex; gap: 12px; margin-top: 20px; }

.kpi {
  flex: 1; background: rgba(255,255,255,0.02); border: 1px solid var(--border2);
  border-radius: 8px; padding: 14px 16px;
  transition: border-color 0.2s;
}
.kpi:hover { border-color: rgba(0,212,255,0.2); }

.kpi-l { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.kpi-v { font-family: var(--font); font-weight: 800; font-size: 1.7rem; }
.kvg { color: var(--green); }
.kvr { color: var(--red); }
.kvc { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.kvm { color: var(--muted); font-size: 1.1rem; }

.mock-note {
  padding: 10px 14px; text-align: center;
  font-family: var(--mono); font-size: 0.63rem; color: rgba(255,255,255,0.22);
  border-top: 1px dashed var(--border2); font-style: italic;
}

/* Diff cols */
.diff-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.dc-label { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.dcl-g { color: var(--green); }
.dcl-r { color: var(--red); }
.dcl-c { color: var(--cyan); }

.dbox {
  border-radius: 8px; height: 164px; border: 1px solid;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.dbox-g { border-color: rgba(0,229,176,0.2); background: rgba(0,229,176,0.04); }
.dbox-r { border-color: rgba(255,85,119,0.2); background: rgba(255,85,119,0.04); }
.dbox-c { border-color: rgba(0,212,255,0.2); background: rgba(0,212,255,0.04); }

.verdict-box { font-family: var(--mono); font-size: 0.7rem; line-height: 1.75; color: var(--muted); }
.vb-label { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; display: block; margin-bottom: 6px; }
.vb-conf { color: rgba(255,255,255,0.32); font-size: 0.6rem; display: block; margin-top: 10px; }

/* Code tab */
.setup-code {
  background: rgba(8,17,31,0.8); border: 1px solid var(--border2);
  border-radius: 10px; padding: 26px;
  font-family: var(--mono); font-size: 0.8rem; line-height: 2;
}
.sk { color: var(--cyan); }
.ss { color: #7ec8a0; }
.sv { color: #f0c27f; }
.sc { color: rgba(255,255,255,0.32); }

/* ── STEPS ── */
.steps-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}

.step {
  background: rgba(16,30,52,0.9);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.step:hover {
  border-color: rgba(0,212,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.step-bg-n {
  position: absolute; bottom: -10px; right: 10px;
  font-family: var(--font); font-weight: 800; font-size: 6rem;
  line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.06;
}

.step-t { font-family: var(--font); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; color: var(--text); }
.step-d { color: var(--text2); font-size: 1.04rem; line-height: 1.7; margin-bottom: 14px; }
.step-c {
  background: rgba(8,17,31,0.8); border: 1px solid var(--border2);
  border-radius: 6px; padding: 10px 14px;
  font-family: var(--mono); font-size: 0.85rem; color: var(--cyan);
}

/* ── TABLE ── */
.tbl-wrap {
  margin-top: 52px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden;
}

table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--navy2); border-bottom: 1px solid var(--border2); }
th {
  padding: 14px 20px; text-align: left;
  font-family: var(--mono); font-size: 0.81rem; font-weight: 600;
  color: var(--text2); letter-spacing: 0.08em; text-transform: uppercase;
}
th.hl { background: rgba(0,212,255,0.04); }

/* Gradient text on highlight column header */
.th-grad {
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

td {
  padding: 14px 20px; font-size: 0.98rem; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text2);
}
td.hl { background: rgba(0,212,255,0.03); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.015); }
tr:hover td.hl { background: rgba(0,212,255,0.05); }

.td-f { color: var(--text2); font-size: 1.01rem; }
.td-v { font-family: var(--mono); font-size: 0.98rem; }
.ck { color: var(--cyan); font-weight: 600; }
.cx { color: rgba(255,255,255,0.28); }
.tc-good { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

/* ── CTA ── */
.cta-sec {
  text-align: center; padding: 110px 52px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.cta-orb {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-sec h2 { max-width: 640px; margin: 0 auto 16px; position: relative; z-index: 1; }
.cta-sec .ssub { margin: 0 auto 40px; text-align: center; max-width: 440px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 36px 52px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo {
  font-family: var(--font); font-weight: 800; font-size: 1.1rem;
  text-decoration: none; color: var(--muted);
  letter-spacing: -0.02em;
}
.footer-logo span { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: 0.86rem; color: var(--text2);
  text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-copy { font-family: var(--mono); font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ── DASHBOARD DEMO ENHANCEMENTS ── */
.test-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border2);
  transition: all 0.2s;
  opacity: 0;
  transform: translateY(10px);
}

.test-row.animate-in {
  animation: fadeInUp 0.4s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.test-row:hover {
  background: rgba(0,212,255,0.02);
}

.test-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.test-col-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.test-name {
  font-family: var(--font);
  font-size: 1.04rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}

.test-branch {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--text2);
  line-height: 1.4;
}

.test-layer {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.test-time {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.test-duration {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--text2);
  flex-shrink: 0;
  margin-top: 2px;
}

.test-status {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.status-pass {
  color: var(--text);
}

.status-review {
  color: #ffa500;
}

/* Diff viewer enhancements */
.diff-panel {
  opacity: 0;
  transform: translateY(20px);
}

.diff-panel[data-animate="baseline"].animate-in {
  animation: fadeInUp 0.5s ease 0.2s forwards;
}

.diff-panel[data-animate="candidate"].animate-in {
  animation: slideIn 0.5s ease 0.5s forwards;
}

.diff-panel[data-animate="verdict"].animate-in {
  animation: fadeInUp 0.5s ease 0.8s forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ui-mockup {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ui-header {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text2);
}

.ui-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.ui-button-good {
  background: var(--grad);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,212,255,0.2);
}

.ui-button-broken {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.15);
  border: 2px dashed rgba(255,85,119,0.4);
  position: relative;
  animation: bugPulse 2s ease infinite;
}

@keyframes bugPulse {
  0%, 100% { 
    border-color: rgba(255,85,119,0.4);
    box-shadow: 0 0 0 0 rgba(255,85,119,0.3);
  }
  50% { 
    border-color: rgba(255,85,119,0.6);
    box-shadow: 0 0 0 6px rgba(255,85,119,0);
  }
}

.bug-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--red);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.ui-text {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

/* AI Verdict */
.ai-verdict {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.verdict-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.layer-badge-sm {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
}

.confidence-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(0,229,176,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,229,176,0.2);
}

.verdict-text {
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text2);
  min-height: 60px;
  word-wrap: break-word;
}

.verdict-text.typing {
  opacity: 0;
  animation: fadeInText 0.8s ease 0.3s forwards;
}

@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.verdict-footer {
  display: flex;
  justify-content: flex-end;
}

.analysis-time {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ── SCROLL ANIM ── */
.fu { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fu { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  .test-row, .diff-panel { opacity: 1; transform: none; }
  .test-row.animate-in, .diff-panel.animate-in { animation: none; }
  .status-dot, .ui-button-broken, .bug-indicator { animation: none; }
}

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: linear-gradient(90deg, #0a1628 0%, rgba(0,212,255,0.12) 50%, #0a1628 100%);
  border-bottom: 1px solid rgba(0,212,255,0.2);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font); font-size: 0.88rem; color: var(--text2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease;
}
.announce-bar.ab-hidden { transform: translateY(-100%); }

.announce-bar .ab-text {
  display: flex; align-items: center; gap: 10px;
}
.announce-bar .ab-sparkle {
  display: inline-block; animation: sparkle-pulse 2s ease-in-out infinite;
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.announce-bar .ab-highlight {
  color: var(--cyan); font-weight: 600;
}
.announce-bar .ab-cta {
  padding: 6px 18px; border-radius: 6px;
  background: var(--grad); color: var(--navy);
  font-family: var(--font); font-size: 0.82rem; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; text-decoration: none;
}
.announce-bar .ab-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}
.announce-bar .ab-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: 4px;
  transition: color 0.2s;
}
.announce-bar .ab-close:hover { color: var(--text); }

body.has-announce-bar { padding-top: 44px; }
body.has-announce-bar nav { top: 44px; }

/* ── EARLY BIRD MODAL ── */
.eb-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,10,20,0.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.eb-overlay.eb-open {
  opacity: 1; pointer-events: auto;
}

.eb-modal {
  position: relative;
  width: 100%; max-width: 480px; margin: 24px;
  background: linear-gradient(168deg, rgba(14,26,46,0.98) 0%, rgba(8,17,31,0.99) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  padding: 44px 36px 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
}
.eb-open .eb-modal {
  transform: translateY(0) scale(1);
}

.eb-modal .eb-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 1.3rem; line-height: 1; padding: 4px;
  transition: color 0.2s;
}
.eb-modal .eb-close:hover { color: var(--text); }

.eb-modal .eb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  color: var(--cyan); letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.eb-modal h3 {
  font-family: var(--font); font-weight: 800;
  font-size: 1.5rem; color: var(--text);
  line-height: 1.3; margin-bottom: 10px;
}
.eb-modal h3 span { color: var(--cyan); }

.eb-modal .eb-sub {
  color: var(--text2); font-size: 0.95rem;
  line-height: 1.65; margin-bottom: 28px;
}

.eb-modal .eb-perks {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.eb-modal .eb-perk {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text2);
}
.eb-modal .eb-perk-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

.eb-form {
  display: flex; gap: 10px;
}
.eb-form input {
  flex: 1; padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--text); font-family: var(--font); font-size: 0.92rem;
  outline: none; transition: border-color 0.2s;
}
.eb-form input::placeholder { color: var(--muted); }
.eb-form input:focus { border-color: rgba(0,212,255,0.4); }

.eb-form button {
  padding: 12px 24px; border-radius: 10px;
  background: var(--grad); color: var(--navy);
  font-family: var(--font); font-size: 0.92rem; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.eb-form button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.eb-modal .eb-note {
  margin-top: 14px; text-align: center;
  font-size: 0.75rem; color: var(--muted);
}

.eb-modal .eb-success {
  text-align: center; padding: 20px 0;
}
.eb-modal .eb-success-icon {
  font-size: 2.5rem; margin-bottom: 12px;
}
.eb-modal .eb-success h4 {
  font-family: var(--font); font-weight: 700;
  font-size: 1.2rem; color: var(--text); margin-bottom: 8px;
}
.eb-modal .eb-success p {
  color: var(--text2); font-size: 0.9rem; line-height: 1.6;
}

/* ── RESPONSIVE ── */
/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
  background: var(--text);
}

/* Mobile menu open state */
.mobile-menu-open .mobile-menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .mobile-menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Body scroll lock when menu is open */
.mobile-menu-open {
  overflow: hidden;
}

/* Mobile menu backdrop */
body.mobile-menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  pointer-events: none;
}

/* Tablet and Mobile Navigation */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  nav {
    padding: 0 24px;
    height: auto;
    min-height: 62px;
    justify-content: space-between;
  }
  
  .logo {
    order: 1;
  }
  
  .mobile-menu-btn {
    order: 2;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8,17,31,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    order: 3;
  }
  
  .mobile-menu-open .nav-links {
    display: flex;
  }
  
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }
  
  .nav-right {
    display: none;
  }
  
  .mobile-menu-open .nav-right {
    display: flex;
    margin-top: auto;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  
  .mobile-menu-open .nav-right .btn-ghost,
  .mobile-menu-open .nav-right .btn-grad {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  section { padding: 72px 24px; }
  .hero { padding: 88px 24px 60px; }
  .prob-2col { grid-template-columns: 1fr; gap: 40px; }
  .layers-grid { grid-template-columns: 1fr 1fr; }
  .steps-3 { grid-template-columns: 1fr; }
  .diff-3 { grid-template-columns: 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .sp-divider { display: none; }
  footer { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--border); }
  .announce-bar { font-size: 0.78rem; padding: 8px 40px 8px 16px; gap: 10px; }
  .announce-bar .ab-cta { padding: 5px 12px; font-size: 0.75rem; }
  .eb-modal { padding: 32px 24px 28px; }
  .eb-form { flex-direction: column; }
  .eb-form button { width: 100%; }
  
  /* How It Works Mobile */
  section#how-it-works .how-it-works-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  section#how-it-works .how-it-works-content {
    padding-right: 0;
  }
  
  section#how-it-works .layers-stack {
    position: static;
    gap: 16px;
    max-width: none;
    width: 100%;
  }
  
  section#how-it-works .layers-column {
    justify-content: stretch;
  }
  
  .layer-item {
    padding: 16px;
  }
  
  .layer-icon {
    width: 40px;
    height: 40px;
  }
  
  .layer-feature {
    gap: 12px;
  }
  
  .layer-feature-icon {
    font-size: 1.25rem;
  }
}

@media (max-width: 1200px) {
  section#how-it-works .how-it-works-layout {
    gap: 60px;
  }
  
  section#how-it-works .how-it-works-content {
    padding-right: 20px;
  }
  
  section#how-it-works .layers-stack {
    max-width: 360px;
  }
}
