/* ============================================
   BugZeroAI Marketing — Premium Command Center
   v3.0 — Glossy Polish Upgrade
   ============================================ */

:root {
  --bg: #060d1a;
  --bg-card: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  --bg-card-flat: rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.09);
  --accent: #5BB8D4;
  --accent-deep: #4AA3BF;
  --accent-glow: rgba(91,184,212,0.3);
  --accent-subtle: rgba(91,184,212,0.08);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --purple: #a78bfa;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.12);
  --border-hover: rgba(91,184,212,0.3);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: #060d1a;
  background-image:
    radial-gradient(ellipse at 30% 0%, rgba(58,180,242,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 0%, rgba(91,120,212,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 30%, rgba(58,180,242,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 60%, rgba(139,92,246,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(58,180,242,0.04) 0%, transparent 40%),
    linear-gradient(180deg, #0a1628 0%, #060d1a 30%, #080e1c 60%, #060d1a 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* --- Typography — Premium tighter spacing --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #c8d6e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { font-size: 1.1rem; font-weight: 400; line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #8DD4ED; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 72px 0; position: relative; }
.section-sm { padding: 70px 0; position: relative; }

/* Alternate section gradient washes */
.section:nth-child(even) {
  background: linear-gradient(180deg, rgba(91,184,212,0.03) 0%, transparent 100%);
}

/* --- Section glow backgrounds --- */
.section-glow { position: relative; }
.section-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  pointer-events: none;
  z-index: 0;
}
.section-glow--cyan::before {
  background: radial-gradient(ellipse, rgba(91,184,212,0.08) 0%, transparent 60%);
}
.section-glow--purple::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(167,139,250,0.06) 0%, transparent 60%);
}
.section-glow--green::before {
  background: radial-gradient(ellipse at 50% 30%, rgba(34,197,94,0.05) 0%, transparent 55%);
}
.section-glow--dual::before {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(91,184,212,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(167,139,250,0.06) 0%, transparent 50%);
}

/* --- Section divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,184,212,0.25), var(--accent), rgba(91,184,212,0.25), transparent);
  margin: 0 auto;
  max-width: 600px;
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(91,184,212,0.4), transparent);
  filter: blur(6px);
}

/* --- Navigation — transparent, blends with gradient bg --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,13,26,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 24px;
  box-shadow: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(6,13,26,0.92);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav::after {
  display: none;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #ffffff;
  padding: 5px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(58,180,242,0.4);
  box-shadow: 0 0 8px rgba(58,180,242,0.15), inset 0 1px 0 rgba(255,255,255,0.8);
}
.nav-logo .logo-dot { display: none; }
.nav-logo .logo-icon { display: none; }
.nav-logo .logo-full {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--success), 0 0 20px rgba(34,197,94,0.3); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--success), 0 0 10px rgba(34,197,94,0.15); }
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #f9fafb !important; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #5BB8D4, #8DD4ED);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
  border-radius: 1px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta .btn-primary {
  font-size: 0.8rem;
  padding: 8px 22px;
  background: linear-gradient(135deg, #5BB8D4, #4AA3BF);
  color: #ffffff;
  border: none;
}
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3D4F5C;
  margin: 5px 0;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6,13,26,0.97);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  z-index: 999;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 24px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

/* --- Buttons — Glossy with light reflection --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #5BB8D4 0%, #4AA3BF 100%);
  color: #ffffff;
  box-shadow:
    0 4px 15px rgba(91,184,212,0.3),
    0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #6dcbf7 0%, #5BB8D4 100%);
  color: #ffffff;
  box-shadow:
    0 8px 25px rgba(91,184,212,0.4),
    0 0 40px rgba(91,184,212,0.15),
    0 1px 0 rgba(255,255,255,0.3) inset;
}
/* Glossy shine sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(91,184,212,0.3);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.btn-ghost:hover {
  background: rgba(91,184,212,0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(91,184,212,0.15), 0 1px 0 rgba(255,255,255,0.05) inset;
}

/* --- Cards — Glassmorphism with REAL depth --- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.2),
    0 1px 0 rgba(255,255,255,0.06) inset;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,184,212,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.3),
    0 0 20px rgba(91,184,212,0.1),
    0 1px 0 rgba(255,255,255,0.08) inset;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
}
.card:hover::before { opacity: 1; }

/* Card with left accent border */
.card-accent-cyan { border-left: 3px solid var(--accent); }
.card-accent-green { border-left: 3px solid var(--success); }
.card-accent-red { border-left: 3px solid var(--danger); }
.card-accent-amber { border-left: 3px solid var(--warning); }
.card-accent-purple { border-left: 3px solid var(--purple); }

/* --- Icon classes --- */
.icon-container {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.icon-cyan { color: var(--accent); }
.icon-green { color: var(--success); }
.icon-red { color: var(--danger); }
.icon-amber { color: var(--warning); }
.icon-purple { color: var(--purple); }
.icon-container.icon-bg-cyan { background: rgba(91,184,212,0.1); border-color: rgba(91,184,212,0.2); }
.icon-container.icon-bg-green { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }
.icon-container.icon-bg-red { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); }
.icon-container.icon-bg-amber { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); }
.icon-container.icon-bg-purple { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.2); }

/* --- Eyebrow --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(91,184,212,0.3);
}

/* --- Badge / Pill — Glossy pill badges --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}
.pill-cyan {
  background: linear-gradient(135deg, rgba(91,184,212,0.15), rgba(91,184,212,0.06));
  color: var(--accent);
  border: 1px solid rgba(91,184,212,0.25);
}
.pill-green {
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #ffffff;
  border: 1px solid rgba(34,197,94,0.4);
  box-shadow: 0 0 12px rgba(34,197,94,0.3), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.pill-yellow {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.06));
  color: var(--warning);
  border: 1px solid rgba(245,158,11,0.25);
}
.pill-red {
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.06));
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.25);
}
.pill-purple {
  background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(167,139,250,0.06));
  color: var(--purple);
  border: 1px solid rgba(167,139,250,0.25);
}

/* --- Unique label --- */
.unique-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(91,184,212,0.18), rgba(167,139,250,0.12));
  color: var(--accent);
  border: 1px solid rgba(91,184,212,0.3);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}

/* --- Stats row — Glossy glass pills --- */
.stats-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: all 0.3s;
}
.stat-chip:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.stat-chip strong { color: var(--accent); font-weight: 700; }

/* --- Code Blocks — Terminal-like with glow --- */
.code-block {
  background: linear-gradient(160deg, #0a1628 0%, #060d1a 100%);
  border: 1px solid rgba(91,184,212,0.15);
  border-radius: 12px;
  padding: 24px 26px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-muted);
  position: relative;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    0 0 0 1px rgba(91,184,212,0.05) inset;
}
.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,184,212,0.3), transparent);
}
/* Subtle gradient sheen across top of code block */
.code-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 12px 12px 0 0;
}
.code-block .kw { color: var(--accent); }
.code-block .str { color: var(--success); }
.code-block .cm { color: #475569; }
.code-block .fn { color: var(--warning); }
.code-block .num { color: var(--purple); }

/* Code block with line numbers */
.code-block-numbered {
  counter-reset: code-line;
  padding-left: 56px;
}
.code-block-numbered .code-line {
  display: block;
  position: relative;
}
.code-block-numbered .code-line::before {
  counter-increment: code-line;
  content: counter(code-line);
  position: absolute;
  left: -36px;
  width: 24px;
  text-align: right;
  color: #334155;
  font-size: 0.75rem;
  user-select: none;
}

/* Copy button */
.code-block-wrap { position: relative; }
.code-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(6,13,26,0.8);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.code-copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 8px rgba(91,184,212,0.15);
}

/* --- Grid helpers --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Section headings — Accent line above --- */
.section-head { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.section-head::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #5BB8D4, #8DD4ED);
  margin: 0 auto 24px;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(91,184,212,0.4);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.15rem; }

/* --- Module Ticker — infinite scroll --- */
.module-ticker-wrap {
  margin-top: 48px;
  padding-bottom: 40px;
  position: relative;
}
.module-ticker-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #475569;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.module-ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.module-ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}
.mt-item {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid;
}
.mt-red    { color: #f87171; background: rgba(239,68,68,0.06);  border-color: rgba(239,68,68,0.15); }
.mt-cyan   { color: #5BB8D4; background: rgba(91,184,212,0.06); border-color: rgba(91,184,212,0.15); }
.mt-green  { color: #4ade80; background: rgba(74,222,128,0.06); border-color: rgba(74,222,128,0.15); }
.mt-purple { color: #a78bfa; background: rgba(167,139,250,0.06);border-color: rgba(167,139,250,0.15); }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Early Access Banner — distinct section --- */
.early-access-banner {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(180deg, #0d1a2d 0%, #0f1e33 50%, #0a1225 100%);
  border-top: 1px solid rgba(58,180,242,0.12);
  border-bottom: 1px solid rgba(58,180,242,0.12);
  position: relative;
}
.early-access-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,180,242,0.6), transparent);
}
.early-access-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.early-access-badge {
  display: inline-block;
  background: rgba(58,180,242,0.1);
  border: 1px solid rgba(58,180,242,0.3);
  border-radius: 24px;
  padding: 8px 24px;
  color: #3ab4f2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.early-access-text {
  color: #cbd5e1;
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}
.early-access-stats {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 16px;
}
.ea-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ea-num { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: #f1f5f9; }
.ea-label { font-size: 14px; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.ea-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* --- Scroll animations — with aggressive CSS-only fallback --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  /* Fallback: force visible after 0.6s if JS observer never fires */
  animation: forceFadeIn 0.6s ease 0.6s forwards;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none; /* cancel fallback when JS works */
}
@keyframes forceFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-delay-1 { transition-delay: 0.12s; animation-delay: 0.72s; }
.fade-in-delay-2 { transition-delay: 0.24s; animation-delay: 0.84s; }
.fade-in-delay-3 { transition-delay: 0.36s; animation-delay: 0.96s; }
.fade-in-delay-4 { transition-delay: 0.48s; }

/* --- Hero scan mockup — Premium app screenshot effect --- */
.scan-mockup {
  background: linear-gradient(160deg, #0f1a2e 0%, #0a1220 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  min-height: 370px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.05) inset;
}
/* Subtle gradient sheen across top */
.scan-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
/* Animated border gradient */
.scan-mockup::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: borderRotate 6s linear infinite;
  pointer-events: none;
}
@keyframes borderRotate {
  0% { background: linear-gradient(0deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3)); }
  25% { background: linear-gradient(90deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3)); }
  50% { background: linear-gradient(180deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3)); }
  75% { background: linear-gradient(270deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3)); }
  100% { background: linear-gradient(360deg, rgba(91,184,212,0.3), transparent 40%, transparent 60%, rgba(167,139,250,0.3)); }
}

.scan-url-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 10px;
  opacity: 0;
  animation: fadeScaleIn 0.5s 0.3s forwards;
  position: relative;
  z-index: 2;
}
.scan-url-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.scan-url-bar .dot-r { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.scan-url-bar .dot-y { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.scan-url-bar .dot-g { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.scan-url-bar .url-text {
  color: var(--text-muted);
  margin-left: 8px;
  flex: 1;
  position: relative;
}
.scan-url-bar .url-text .cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
  margin-left: 1px;
  box-shadow: 0 0 4px var(--accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.scan-progress {
  height: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: rgba(91,184,212,0.08);
  opacity: 0;
  animation: fadeScaleIn 0.4s 0.8s forwards;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.scan-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--success));
  width: 0;
  animation: fillBar 3s 1.2s forwards;
  box-shadow: 0 0 12px rgba(91,184,212,0.5);
  position: relative;
}
.scan-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(91,184,212,0.4);
  animation: pulseGlow 1s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(91,184,212,0.3); }
  50% { box-shadow: 0 0 16px var(--accent), 0 0 32px rgba(91,184,212,0.4); }
}

.scan-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.scan-module-pill {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(91,184,212,0.1), rgba(91,184,212,0.04));
  color: var(--accent);
  border: 1px solid rgba(91,184,212,0.15);
  opacity: 0;
  transform: scale(0.8);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.scan-module-pill:nth-child(1) { animation: fadeScaleIn 0.35s 1.4s forwards; }
.scan-module-pill:nth-child(2) { animation: fadeScaleIn 0.35s 1.6s forwards; }
.scan-module-pill:nth-child(3) { animation: fadeScaleIn 0.35s 1.8s forwards; }
.scan-module-pill:nth-child(4) { animation: fadeScaleIn 0.35s 2.0s forwards; }
.scan-module-pill:nth-child(5) { animation: fadeScaleIn 0.35s 2.2s forwards; }
.scan-module-pill:nth-child(6) { animation: fadeScaleIn 0.35s 2.4s forwards; }

.scan-results {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeScaleIn 0.5s 3s forwards;
  position: relative;
  z-index: 2;
}
.scan-stat { text-align: center; }
.scan-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.scan-stat .label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.scan-stat.pass .num { color: var(--success); text-shadow: 0 0 24px rgba(34,197,94,0.4); }
.scan-stat.warn .num { color: var(--warning); text-shadow: 0 0 24px rgba(245,158,11,0.4); }
.scan-stat.fail .num { color: var(--danger); text-shadow: 0 0 24px rgba(239,68,68,0.4); }

.scan-verdict {
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(34,197,94,0.04));
  border: 1px solid rgba(34,197,94,0.3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--success);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: verdictGlow 0.6s 3.6s forwards;
  box-shadow: 0 0 40px rgba(34,197,94,0.1);
  position: relative;
  z-index: 2;
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fillBar {
  0% { width: 0; }
  50% { width: 65%; }
  75% { width: 88%; }
  100% { width: 100%; }
}
@keyframes verdictGlow {
  0% { opacity: 0; transform: translateY(8px); box-shadow: 0 0 0 rgba(34,197,94,0); }
  100% { opacity: 1; transform: translateY(0); box-shadow: 0 0 50px rgba(34,197,94,0.15); }
}

/* --- Module grid cards — Category colored left border + glass --- */
.module-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  cursor: default;
  transition: all 0.3s var(--ease-smooth);
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.module-card .mod-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.module-card .mod-name {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.module-card .mod-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, opacity 0.3s;
  opacity: 0;
  line-height: 1.4;
}
.module-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.module-card:hover .mod-desc { max-height: 70px; opacity: 1; }

/* Module card category borders */
.module-card[data-cat="security"] { border-left-color: #5BB8D4; }
.module-card[data-cat="security"]:hover { border-color: rgba(91,184,212,0.3); box-shadow: 0 8px 32px rgba(91,184,212,0.1); }
.module-card[data-cat="functional"] { border-left-color: #22C55E; }
.module-card[data-cat="functional"]:hover { border-color: rgba(34,197,94,0.3); box-shadow: 0 8px 32px rgba(34,197,94,0.1); }
.module-card[data-cat="quality"] { border-left-color: #F59E0B; }
.module-card[data-cat="quality"]:hover { border-color: rgba(245,158,11,0.3); box-shadow: 0 8px 32px rgba(245,158,11,0.1); }
.module-card[data-cat="ai"] { border-left-color: #A78BFA; }
.module-card[data-cat="ai"]:hover { border-color: rgba(167,139,250,0.3); box-shadow: 0 8px 32px rgba(167,139,250,0.1); }

/* Module card icon colors */
.module-card[data-cat="security"] .mod-icon { color: #5BB8D4; }
.module-card[data-cat="functional"] .mod-icon { color: #22C55E; }
.module-card[data-cat="quality"] .mod-icon { color: #F59E0B; }
.module-card[data-cat="ai"] .mod-icon { color: #A78BFA; }

/* --- Tabs --- */
.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 9px 22px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
  background: linear-gradient(135deg, rgba(91,184,212,0.15), rgba(91,184,212,0.06));
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(91,184,212,0.12), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Release gate mockup — Green glow for PASS --- */
.gate-mockup {
  background: linear-gradient(160deg, #0f1a2e 0%, #0a1220 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(34,197,94,0.06),
    0 1px 0 rgba(255,255,255,0.05) inset;
  position: relative;
  overflow: hidden;
}
/* Sheen on gate mockup */
.gate-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}
.gate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.gate-header h3 { font-size: 1rem; }
.gate-score-bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 20px;
  overflow: hidden;
}
.gate-score-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--success));
  width: 87%;
  box-shadow: 0 0 16px rgba(91,184,212,0.4);
}
.gate-checks { display: flex; flex-direction: column; gap: 12px; }
.gate-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 0;
}
.gate-check .check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* SVG checkmark draw animation */
.gate-check .check-icon svg {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.gate-mockup.animated .gate-check:nth-child(1) .check-icon svg { animation: drawCheck 0.5s 0.3s forwards; }
.gate-mockup.animated .gate-check:nth-child(2) .check-icon svg { animation: drawCheck 0.5s 0.6s forwards; }
.gate-mockup.animated .gate-check:nth-child(3) .check-icon svg { animation: drawCheck 0.5s 0.9s forwards; }
.gate-mockup.animated .gate-check:nth-child(4) .check-icon svg { animation: drawCheck 0.5s 1.2s forwards; }
.gate-mockup.animated .gate-check:nth-child(5) .check-icon svg { animation: drawCheck 0.5s 1.5s forwards; }
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* --- Comparison table --- */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.cmp-table th, .cmp-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.cmp-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.cmp-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}
.cmp-table td:first-child { text-align: left; font-weight: 600; }
.cmp-table .bugzero-col { background: rgba(91,184,212,0.06); }
.cmp-table .check-mark { color: var(--success); }
.cmp-table .cross-mark { color: #334155; }

/* --- Accordion / FAQ --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.faq-item:hover {
  border-color: rgba(91,184,212,0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '\2212'; transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: faqOpen 0.3s ease-out;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Pricing toggle --- */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}
.toggle-label { color: var(--text-muted); transition: color 0.2s; }
.toggle-label.active { color: var(--text); }
.toggle-track {
  width: 54px;
  height: 28px;
  border-radius: 100px;
  background: rgba(91,184,212,0.15);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}
.toggle-track:hover { border-color: var(--accent); }
.toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5BB8D4, #4AA3BF);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s var(--ease-smooth);
  box-shadow: 0 0 12px var(--accent-glow), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.toggle-track.annual .toggle-thumb { transform: translateX(26px); }

/* --- Pricing card highlight --- */
.pricing-card {
  text-align: center;
  padding: 44px 36px;
  position: relative;
  backdrop-filter: blur(20px);
}
.pricing-card.featured {
  border-color: rgba(91,184,212,0.4);
  box-shadow:
    0 0 50px rgba(91,184,212,0.1),
    0 20px 60px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.08) inset;
  transform: scale(1.05);
  background: linear-gradient(145deg, rgba(91,184,212,0.08), rgba(255,255,255,0.03));
  z-index: 1;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, #5BB8D4, #4AA3BF);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(91,184,212,0.3);
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
  letter-spacing: 0.02em;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 36px; }
.pricing-card li {
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li .icon-check { color: var(--success); flex-shrink: 0; }
.pricing-card li .icon-cross { color: #334155; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* --- Pipeline (how it works) --- */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 0;
  overflow-x: auto;
}
.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.pipeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  color: var(--accent);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.pipeline-icon:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(91,184,212,0.2), 0 8px 24px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.08) inset;
  transform: translateY(-3px);
}
.pipeline-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.pipeline-arrow {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), rgba(91,184,212,0.4));
  position: relative;
  flex-shrink: 0;
}
.pipeline-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.pipeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: -2px;
  left: 0;
  animation: flowDot 2s infinite linear;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes flowDot {
  from { left: 0; opacity: 1; }
  to { left: 100%; opacity: 0; }
}

/* --- Timeline --- */
.timeline { position: relative; padding-left: 48px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border), transparent);
}
.timeline-step { position: relative; margin-bottom: 52px; }
.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -48px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91,184,212,0.2), rgba(91,184,212,0.06));
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 32px;
  text-align: center;
  box-shadow: 0 0 16px rgba(91,184,212,0.2);
}
.timeline-step h3 { margin-bottom: 8px; }
.timeline-step p { color: var(--text-muted); }

/* --- Integration pills --- */
.integration-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.int-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.int-pill:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(91,184,212,0.12), 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* --- CTA Section — Gradient atmosphere --- */
.cta-section {
  text-align: center;
  padding: 72px 0;
  position: relative;
  background: linear-gradient(180deg, #060d1a 0%, #0a1628 50%, #060d1a 100%);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(91,184,212,0.06), transparent 70%);
  pointer-events: none;
}
.cta-input-wrap {
  display: flex;
  max-width: 520px;
  margin: 28px auto 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0c1628, #0a1220);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.04) inset;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow:
    0 0 20px rgba(91,184,212,0.12),
    0 8px 32px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.04) inset;
}
.cta-input-wrap input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.cta-input-wrap input::placeholder { color: var(--text-muted); }
.cta-input-wrap .btn { border-radius: 0; }

/* --- Docs sidebar --- */
.docs-layout { display: flex; gap: 48px; min-height: calc(100vh - 68px); }
.docs-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 36px 0;
  border-right: 1px solid var(--border);
}
.docs-sidebar a {
  display: block;
  padding: 9px 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.docs-sidebar a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.docs-sidebar a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(91,184,212,0.06);
}
.docs-sidebar h4 {
  padding: 9px 22px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 24px;
}
.docs-content { flex: 1; padding: 44px 0; max-width: 800px; }
.docs-content h2 { margin: 52px 0 16px; }
.docs-content h3 { margin: 36px 0 12px; font-size: 1.1rem; }
.docs-content p { margin-bottom: 16px; color: var(--text-muted); }
.docs-content .code-block { margin: 16px 0 28px; }

/* --- Endpoint card --- */
.endpoint-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.endpoint-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(91,184,212,0.08);
}
.endpoint-method {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.endpoint-method.get { background: rgba(34,197,94,0.12); color: var(--success); }
.endpoint-method.post { background: rgba(91,184,212,0.12); color: var(--accent); }
.endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  margin-left: 10px;
}

/* --- Footer — Cleaner with gradient top border --- */
.footer {
  background: #050a14;
  border-top: 1px solid rgba(91,184,212,0.1);
  padding: 70px 0 44px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5BB8D4, transparent);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-links { display: flex; gap: 52px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 22px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Differentiator card --- */
.diff-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: all 0.35s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.diff-card:hover {
  transform: translateX(4px);
  border-color: var(--border-hover);
  border-left-color: var(--accent);
  box-shadow: 0 8px 40px rgba(91,184,212,0.1), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.diff-card .diff-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91,184,212,0.12), rgba(91,184,212,0.04));
  border: 1px solid rgba(91,184,212,0.2);
  flex-shrink: 0;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.diff-card .diff-content { flex: 1; }
.diff-card h3 { margin-bottom: 8px; }

/* --- Counter animation --- */
.counter { display: inline-block; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-split { flex-direction: column !important; }
  .hero-split .hero-left, .hero-split .hero-right { width: 100% !important; }

  .section { padding: 80px 0; }
  .section-sm { padding: 50px 0; }
  h1 { font-size: 2rem; letter-spacing: -0.01em; }

  .pipeline { flex-direction: column; }
  .pipeline-arrow { width: 2px; height: 40px; }
  .pipeline-arrow::after {
    right: auto; top: auto; bottom: -1px; left: -3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent);
  }

  .docs-layout { flex-direction: column; }
  .docs-sidebar {
    width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }

  .cmp-table { font-size: 0.75rem; }
  .cmp-table th, .cmp-table td { padding: 10px 8px; }

  .pricing-card.featured { transform: none; }

  .diff-card { flex-direction: column; gap: 16px; padding: 28px; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-head::before { margin: 0 auto 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .scan-mockup { padding: 18px; }
  .stats-row { flex-direction: column; gap: 8px; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.relative { position: relative; }
.z-1 { z-index: 1; }
