/* ═══════════════════════════════════════════════════════════════
   AI Security Scanner — styles.css
   Palette: Volcanic Glass × Cyber Teal
   Fonts: Outfit (body) + JetBrains Mono (code/labels)
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-base:       #0A0A0F;
  --bg-surface:    #0F0F1A;
  --bg-elevated:   #141428;
  --bg-card:       #111120;
  --bg-card-hover: #161630;

  --cyan:          #00D4FF;
  --cyan-dim:      #00D4FF33;
  --cyan-glow:     #00D4FF18;
  --orange:        #FF6B2B;
  --orange-dim:    #FF6B2B33;
  --purple:        #7B2FBE;
  --purple-bright: #9B4FDE;
  --purple-dim:    #7B2FBE33;
  --green:         #00E676;
  --green-dim:     #00E67633;
  --red:           #FF3D57;
  --red-dim:       #FF3D5733;
  --yellow:        #FFD600;

  --text-primary:  #F0F0FF;
  --text-secondary:#A0A0C0;
  --text-muted:    #606080;
  --text-mono:     #7FDBFF;

  --border:        #1E1E3A;
  --border-bright: #2A2A50;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  --font-body:     'Outfit', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --transition:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── Scanlines overlay ──────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
  animation: scanline-drift 8s linear infinite;
}
@keyframes scanline-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

/* ── Particle canvas ────────────────────────────────────────── */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Typography helpers ─────────────────────────────────────── */
.title-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-bright) 60%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099BB 100%);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-dim), 0 4px 12px rgba(0,0,0,0.4);
}
.btn-primary::before { background: linear-gradient(135deg, #33DDFF 0%, var(--cyan) 100%); }
.btn-primary:hover { box-shadow: 0 0 35px rgba(0,212,255,0.5), 0 6px 20px rgba(0,0,0,0.5); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: inset 0 0 0 0 var(--cyan-dim);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  box-shadow: 0 0 20px var(--cyan-dim);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: rgba(255,255,255,0.04);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Section helpers ────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--cyan-dim);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.97);
  border-bottom-color: var(--border-bright);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg { display: block; }

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(123,47,190,0.15) 0%, transparent 70%);
  top: 100px;
  right: 10%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,214,0,0.08);
  border: 1px solid rgba(255,214,0,0.25);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 44px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-feat {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feat-arrow {
  color: var(--cyan);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 48px;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-bright);
  flex-shrink: 0;
  margin: 0 32px;
}

/* ════════════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,212,255,0.03) 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-card--highlight {
  border-color: rgba(123,47,190,0.4);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(123,47,190,0.08) 100%);
  grid-column: span 1;
}

.feature-card--highlight:hover {
  border-color: var(--purple-bright);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(123,47,190,0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon--orange { background: var(--orange-dim); color: var(--orange); }
.feature-icon--cyan   { background: var(--cyan-dim);   color: var(--cyan); }
.feature-icon--purple { background: var(--purple-dim); color: var(--purple-bright); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════
   PIPELINE
════════════════════════════════════════════════════════════ */
.pipeline-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.02) 50%, transparent 100%);
  position: relative;
  z-index: 1;
}

/* Input groups */
.pipeline-inputs {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.input-group {
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
}

.input-group--orange { border: 1px solid var(--orange-dim); background: rgba(255,107,43,0.04); }
.input-group--green  { border: 1px solid var(--green-dim);  background: rgba(0,230,118,0.04); }
.input-group--gray   { border: 1px solid var(--border-bright); background: rgba(255,255,255,0.02); }

.input-group-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.input-group--orange .input-group-label { color: var(--orange); }
.input-group--green  .input-group-label { color: var(--green); }
.input-group--gray   .input-group-label { color: var(--text-muted); }

.input-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.input-node {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.input-node svg { flex-shrink: 0; opacity: 0.7; }

/* Arrow down */
.pipeline-arrow-down {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

/* Pipeline stages */
.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.pipeline-stage {
  padding: 28px 20px;
  position: relative;
  transition: background var(--transition);
  cursor: default;
}

.pipeline-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border-bright);
}

.pipeline-stage.stage--active {
  background: rgba(0,212,255,0.05);
}

.pipeline-stage.stage--ai {
  background: linear-gradient(135deg, rgba(123,47,190,0.12) 0%, rgba(123,47,190,0.06) 100%);
  border-top: 2px solid var(--purple-bright);
}

.pipeline-stage:hover {
  background: rgba(255,255,255,0.03);
}

.pipeline-stage.stage--ai:hover {
  background: rgba(123,47,190,0.15);
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.stage-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 14px;
}

.stage--ai .stage-icon {
  background: rgba(123,47,190,0.15);
  border-color: var(--purple-dim);
  color: var(--purple-bright);
}

.stage-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.stage-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.stage-ai-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--purple-bright);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 100px;
  animation: ai-pulse 2s ease infinite;
}

@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,47,190,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(123,47,190,0); }
}

/* Output */
.pipeline-output {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.output-arrow { margin: 0; }

.output-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.output-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
}

.output-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.output-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.output-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.output-item--critical { background: rgba(255,61,87,0.08); border: 1px solid rgba(255,61,87,0.2); }
.output-item--high     { background: rgba(255,107,43,0.08); border: 1px solid rgba(255,107,43,0.2); }
.output-item--medium   { background: rgba(255,214,0,0.06); border: 1px solid rgba(255,214,0,0.15); }

.sev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.output-item--critical .sev-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.output-item--high     .sev-dot { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.output-item--medium   .sev-dot { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }

.sev-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 36px;
}
.output-item--critical .sev-label { color: var(--red); }
.output-item--high     .sev-label { color: var(--orange); }
.output-item--medium   .sev-label { color: var(--yellow); }

.sev-title {
  flex: 1;
  color: var(--text-secondary);
}

.sev-score {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   FINDINGS DEMO
════════════════════════════════════════════════════════════ */
.findings-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.findings-demo {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.findings-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.findings-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.filter-btn--active {
  color: var(--cyan);
  background: var(--cyan-glow);
  border-color: var(--cyan-dim);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 100px;
}

.filter-count--critical { background: var(--red-dim); color: var(--red); }
.filter-count--high     { background: var(--orange-dim); color: var(--orange); }
.filter-count--medium   { background: rgba(255,214,0,0.15); color: var(--yellow); }
.filter-count--low      { background: rgba(0,212,255,0.1); color: var(--cyan); }

.findings-list {
  display: flex;
  flex-direction: column;
}

.finding-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  transition: background var(--transition);
  width: 100%;
}

.finding-item:last-child { border-bottom: none; }

.finding-item:hover { background: rgba(255,255,255,0.03); }

.finding-item--active {
  background: rgba(0,212,255,0.06);
  border-left: 2px solid var(--cyan);
}

.finding-sev {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.finding-sev--critical { background: var(--red-dim); color: var(--red); }
.finding-sev--high     { background: var(--orange-dim); color: var(--orange); }
.finding-sev--medium   { background: rgba(255,214,0,0.12); color: var(--yellow); }
.finding-sev--low      { background: rgba(0,212,255,0.1); color: var(--cyan); }

.finding-title {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.finding-score {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Finding detail panel */
.finding-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 400px;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.detail-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.detail-badge--critical { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,61,87,0.3); }
.detail-badge--high     { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(255,107,43,0.3); }
.detail-badge--medium   { background: rgba(255,214,0,0.1); color: var(--yellow); border: 1px solid rgba(255,214,0,0.25); }
.detail-badge--low      { background: rgba(0,212,255,0.08); color: var(--cyan); border: 1px solid var(--cyan-dim); }

.detail-cvss {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 4px;
}

.detail-cve {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--cyan-dim);
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition);
}

.detail-cve:hover { background: var(--cyan-dim); }

.detail-section {
  margin-bottom: 24px;
}

.detail-section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
}

.label--desc::before   { background: var(--cyan); }
.label--risk::before   { background: var(--orange); }
.label--fix::before    { background: var(--green); }
.label--intel::before  { background: var(--red); }

.detail-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.detail-code {
  background: #0A0A14;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-comment { color: #4A5568; }
.code-bad     { color: var(--red); }
.code-good    { color: var(--green); }
.code-neutral { color: var(--text-secondary); }
.code-keyword { color: var(--purple-bright); }
.code-string  { color: var(--yellow); }

.detail-intel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,61,87,0.06);
  border: 1px solid rgba(255,61,87,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.intel-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--red);
  animation: pulse-dot 1.5s ease infinite;
}

/* ════════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.pricing-card--featured {
  border-color: var(--cyan-dim);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,0.04) 100%);
  box-shadow: 0 0 40px rgba(0,212,255,0.08);
}

.pricing-card--featured:hover {
  border-color: var(--cyan);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), #0099BB);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* ════════════════════════════════════════════════════════════
   CTA
════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  color: var(--cyan) !important;
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-stages { grid-template-columns: repeat(2, 1fr); }
  .pipeline-inputs { grid-template-columns: 1fr 1fr; }
  .input-group--gray { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.98);
    padding: 0 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .hero { padding: 120px 0 80px; }
  .hero-stats { padding: 20px 24px; flex-direction: column; gap: 20px; }
  .stat-divider { width: 80%; height: 1px; margin: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .pipeline-inputs { grid-template-columns: 1fr; }
  .input-group--gray { grid-column: span 1; }
  .pipeline-stages { grid-template-columns: 1fr 1fr; }

  .findings-demo { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-inner { padding: 48px 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .pipeline-stages { grid-template-columns: 1fr; }
  .hero-features { flex-direction: column; align-items: center; }
}