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

:root {
  --black: #050709;
  --deep: #080d14;
  --navy: #0a1220;
  --panel: #0e1825;
  --border: rgba(0,210,255,0.12);
  --border-bright: rgba(0,210,255,0.35);
  --cyan: #00d2ff;
  --cyan-glow: rgba(0,210,255,0.15);
  --white: #e8eef5;
  --muted: #6a7f96;
  --danger: #ff4560;
  --warn: #ffa040;
  --green: #00e5a0;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(0,210,255,0.3); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(5,7,9,0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

nav.scrolled {
  background: rgba(5,7,9,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--border-bright);
  padding: 10px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--cyan-glow); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,210,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  width: 900px; height: 900px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(0,210,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 600px; height: 600px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(0,229,160,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  animation: fadeUp 0.8s 0.2s both;
}

.hero-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--cyan);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.35s both;
}

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

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.65s both;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--black);
  padding: 16px 36px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 36px;
  text-decoration: none;
  border: 1px solid var(--border);
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--border-bright); color: var(--cyan); }

.hero-stats {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s both;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num span { color: var(--cyan); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION SHARED ── */
section { padding: 120px 48px; position: relative; }

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ── PRODUCTS ── */
#products { background: var(--deep); }

.products-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.products-header p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 540px; }

.products-grid { display: flex; flex-direction: column; gap: 2px; }

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover { border-color: var(--border-bright); }
.product-card:hover::before { opacity: 1; }

.product-card.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-card.phantom::before {
  background: linear-gradient(90deg, transparent, var(--danger), transparent);
}

.product-card.phantom:hover { border-color: rgba(255,69,96,0.35); }

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

.product-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.product-badge {
  background: rgba(0,210,255,0.12);
  color: var(--cyan);
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.15em;
  border: 1px solid rgba(0,210,255,0.2);
}

.product-badge.red {
  background: rgba(255,69,96,0.08);
  color: var(--danger);
  border-color: rgba(255,69,96,0.2);
}

.product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.product-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

.product-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.product-features li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-features li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.product-features.red li::before { background: var(--danger); }

.product-visual {
  background: var(--navy);
  border: 1px solid var(--border);
  height: 280px;
  position: relative;
  overflow: hidden;
}

.product-visual::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0,210,255,0.03), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none;
}

/* Mini Dashboard */
.mini-dash { width: 100%; height: 100%; padding: 20px; display: flex; flex-direction: column; }

.mini-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mini-dot { width: 8px; height: 8px; border-radius: 50%; }
.mini-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-left: auto; }

.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }

.mini-stat {
  background: rgba(0,210,255,0.05);
  border: 1px solid var(--border);
  padding: 10px;
  text-align: center;
}

.mini-stat-n { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; margin-bottom: 4px; }
.mini-stat-l { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.mini-bars { display: flex; flex-direction: column; gap: 8px; }

.mini-bar-row { display: flex; align-items: center; gap: 8px; }
.mini-bar-lbl { font-family: var(--font-mono); font-size: 8px; color: var(--muted); width: 56px; flex-shrink: 0; }
.mini-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
.mini-bar-fill { height: 100%; border-radius: 2px; }
.mini-bar-val { font-family: var(--font-mono); font-size: 8px; color: var(--muted); width: 28px; text-align: right; }

/* Integration card */
.int-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.int-row.active { border-color: rgba(0,229,160,0.2); background: rgba(0,229,160,0.03); }
.int-name { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.int-row.active .int-name { color: var(--green); }
.int-status { margin-left: auto; font-family: var(--font-mono); font-size: 9px; color: var(--muted); }

/* ── THREAT STRIP ── */
.threat-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 48px;
}

.threat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }

.threat-card {
  padding: 32px;
  background: var(--black);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.threat-card:hover { border-color: var(--border-bright); }

.threat-num { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; margin-bottom: 8px; }
.threat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
#how { background: var(--black); }

.how-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.how-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: padding-left 0.2s;
}

.how-step.active { padding-left: 16px; }

.how-step.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--cyan);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: rgba(0,210,255,0.25);
  width: 32px;
  flex-shrink: 0;
  padding-top: 4px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.how-step.active .step-num { color: var(--cyan); }

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  transition: color 0.3s;
  margin-bottom: 0;
}

.how-step.active .step-title { color: var(--white); margin-bottom: 8px; }

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: none;
}

.how-step.active .step-desc { display: block; }

/* Terminal */
.terminal-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  height: 480px;
  position: relative;
  overflow: hidden;
}

.terminal-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0,210,255,0.03), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none;
}

.terminal { width: 100%; height: 100%; padding: 28px; font-family: var(--font-mono); font-size: 12px; line-height: 1.8; overflow: hidden; }

.term-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-title { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-left: auto; }

.term-line { }
.tc-cyan { color: var(--cyan); }
.tc-muted { color: var(--muted); }
.tc-green { color: var(--green); }
.tc-danger { color: var(--danger); }
.tc-warn { color: var(--warn); }
.tc-white { color: var(--white); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,7,9,0.85);
  backdrop-filter: blur(8px);
  z-index: 800;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--panel);
  border: 1px solid var(--border-bright);
  padding: 48px;
  width: 100%;
  max-width: 560px;
  position: relative;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.modal-close:hover { color: var(--white); }

.modal-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.modal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.modal p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--border-bright); }

.form-group textarea { height: 100px; resize: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--black);
  border: none;
  padding: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.form-submit:hover { opacity: 0.85; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success .check {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success p { font-size: 15px; color: var(--muted); }

/* ── CTA ── */
.cta-section {
  padding: 120px 48px;
  background: var(--deep);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(0,210,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-inner .section-tag { justify-content: center; }
.cta-inner .section-tag::before { display: none; }

.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.cta-inner p { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 48px; }

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

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 48px 40px;
}

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

.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }

.footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 4px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

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

.footer-bottom p { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

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

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scanline {
  from { transform: translateY(-100%); }
  to { transform: translateY(300%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  section { padding: 80px 24px; }
  .products-header { grid-template-columns: 1fr; gap: 24px; }
  .product-card.featured { grid-template-columns: 1fr; }
  .product-bottom { grid-template-columns: 1fr; }
  .how-layout { grid-template-columns: 1fr; }
  .threat-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px; margin: 0 16px; }
}

/* ── INNER PAGES SHARED ── */
.page-hero {
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(0,210,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .hero-tag { animation: none; }
.page-hero h1 { animation: none; font-size: clamp(40px, 5vw, 72px); }
.page-hero .hero-sub { animation: none; }

.page-body { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }

.page-section { margin-bottom: 96px; }

.page-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 20px;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 64px 0;
}

/* ── ABOUT ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.mission-grid p { max-width: 100%; }

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.value-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.value-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.value-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.timeline { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--cyan);
  line-height: 1;
  padding-top: 4px;
}

.timeline-content-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-content-desc { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 540px; }

/* ── CAREERS ── */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.perk-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
}

.perk-icon { font-size: 24px; margin-bottom: 12px; }

.perk-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.perk-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.job-list { display: flex; flex-direction: column; gap: 2px; }

.job-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 1px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s;
}

.job-card:hover { border-color: var(--border-bright); }
.job-card:hover::before { opacity: 1; }

.job-dept {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,210,255,0.08);
  border: 1px solid rgba(0,210,255,0.15);
  padding: 4px 10px;
  white-space: nowrap;
}

.job-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  flex: 1;
}

.job-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.job-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.job-card:hover .job-arrow { opacity: 1; transform: translateX(4px); }

.no-jobs {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 64px;
  text-align: center;
}

.no-jobs h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
}

.no-jobs p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ── INTEGRATIONS ── */
.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.int-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.int-card:hover { border-color: var(--border-bright); }

.int-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.int-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 20px;
  border: 1px solid;
}

.int-card-badge.live { color: var(--green); border-color: rgba(0,229,160,0.25); background: rgba(0,229,160,0.06); }
.int-card-badge.soon { color: var(--muted); border-color: var(--border); background: transparent; }

.int-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
}

.int-card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

.int-card-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.int-card-features li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.int-card-features li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ── API ACCESS ── */
.api-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.api-sidebar {
  position: sticky;
  top: 96px;
}

.api-nav-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.api-nav-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.api-nav-links a {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-left: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.api-nav-links a:hover,
.api-nav-links a.active { color: var(--cyan); border-left-color: var(--cyan); }

.api-content { min-width: 0; }

.api-section { margin-bottom: 64px; }

.api-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.api-section p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; max-width: 100%; }

.code-block {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 28px;
  margin: 24px 0;
  position: relative;
  overflow-x: auto;
}

.code-block-label {
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--white);
  margin: 0;
}

.code-block .c-cyan { color: var(--cyan); }
.code-block .c-green { color: var(--green); }
.code-block .c-warn { color: var(--warn); }
.code-block .c-muted { color: var(--muted); }
.code-block .c-danger { color: var(--danger); }

.endpoint-table { width: 100%; border-collapse: collapse; margin: 24px 0; }

.endpoint-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.endpoint-table td {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.endpoint-table td:first-child { color: var(--cyan); }
.endpoint-table td:nth-child(2) { color: var(--green); }
.endpoint-table tr:hover td { background: rgba(0,210,255,0.03); }

.method-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 2px;
}

.method-get { background: rgba(0,229,160,0.15); color: var(--green); }
.method-post { background: rgba(0,210,255,0.15); color: var(--cyan); }
.method-delete { background: rgba(255,69,96,0.15); color: var(--danger); }

/* ── COMING SOON ── */
.coming-soon {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px;
}

.coming-soon-icon {
  font-size: 56px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.coming-soon h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.coming-soon p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.notify-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  width: 100%;
}

.notify-form input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input:focus { border-color: var(--border-bright); }

.notify-form button {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--black);
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.notify-form button:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .page-hero { padding: 120px 24px 60px; }
  .page-body { padding: 60px 24px; }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-cards { grid-template-columns: 1fr; }
  .careers-intro { grid-template-columns: 1fr; gap: 32px; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .int-grid { grid-template-columns: 1fr; }
  .api-layout { grid-template-columns: 1fr; }
  .api-sidebar { position: static; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .job-card { flex-wrap: wrap; gap: 16px; }
}
/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV — Hamburger + Drawer
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .desktop-only { display: none !important; }

  /* Nav layout — shrink logo so hamburger never gets clipped */
  nav {
    padding: 0 16px;
    height: 58px;
    gap: 8px;
  }

  /* Shrink logo text on mobile */
  .logo-text {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  /* Shrink logo SVG */
  .nav-logo svg {
    width: 26px;
    height: 26px;
  }

  .nav-logo { gap: 8px; }

  .nav-links { display: none !important; }
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(0,210,255,0.2);
  border-radius: 4px;
  padding: 7px 9px;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-nav.open { display: block; }

.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 80vw);
  background: #0a1220;
  border-left: 1px solid rgba(0,210,255,0.12);
  display: flex;
  flex-direction: column;
  animation: mobileNavIn 0.22s ease;
}
@keyframes mobileNavIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,210,255,0.08);
  flex-shrink: 0;
}

.mobile-nav-close {
  background: none;
  border: 1px solid rgba(0,210,255,0.15);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.mobile-nav-close:hover { border-color: var(--cyan); color: var(--cyan); }

.mobile-nav-links {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}
.mobile-nav-links li a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a7490;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a:active {
  color: var(--cyan);
  background: rgba(0,210,255,0.05);
}

.mobile-nav-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(0,210,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.mobile-nav-footer .nav-cta {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 11px;
}
.mobile-login-btn {
  display: block;
  text-align: center;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a7490;
  border: 1px solid rgba(0,210,255,0.1);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-login-btn:hover { color: var(--white); border-color: rgba(0,210,255,0.3); }

/* ═══════════════════════════════════════════════════════════════
   FULL MOBILE RESPONSIVE
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero { padding: 86px 20px 48px; text-align: center; }
  .hero h1 { font-size: clamp(30px, 8vw, 50px); }
  .hero-sub { font-size: 15px; max-width: 100%; margin: 0 auto 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; margin: 0 auto; }
  .hero-actions a, .hero-actions button { text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .hero-badge { justify-content: center; }

  section { padding: 56px 20px; }

  .products-header { grid-template-columns: 1fr; }
  .product-card.featured { grid-template-columns: 1fr; }
  .product-card { padding: 24px 18px; }
  .product-bottom { grid-template-columns: 1fr; }
  .how-layout { grid-template-columns: 1fr; }
  .threat-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .pricing-card.featured { transform: none !important; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .modal { padding: 24px 18px; margin: 0 12px; width: calc(100% - 24px); }
  .page-hero { padding: 94px 20px 48px; }
  .page-body { padding: 44px 20px; }
  .mission-grid { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .careers-intro { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .job-card { flex-wrap: wrap; gap: 12px; }
  .int-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .api-layout { grid-template-columns: 1fr; }
  .api-sidebar { position: static; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(24px, 7.5vw, 34px); }
  .threat-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: 1fr; }
  .framework-grid { grid-template-columns: 1fr; }
  section { padding: 44px 16px; }
  .page-hero { padding: 76px 16px 36px; }
  .page-body { padding: 36px 16px; }
}