:root {
  color-scheme: dark;
  --bg: #05070d;
  --panel: rgba(13, 18, 31, 0.86);
  --panel-2: rgba(18, 24, 41, 0.9);
  --text: #f7f7fb;
  --muted: #aeb3c2;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #19e7ff;
  --teal-2: #63f5ff;
  --teal-dark: #087b91;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: #05070d;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 18%, rgba(25, 231, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 74% 38%, rgba(42, 210, 255, 0.11), transparent 24rem),
    linear-gradient(180deg, #02040a 0%, #070914 48%, #05070d 100%);
  z-index: -3;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 16px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 5, 12, 0.86);
  backdrop-filter: blur(18px);
}
.brand, .login-link, .site-nav a { color: var(--text); text-decoration: none; }
.brand { display: inline-flex; align-items: center; justify-self: start; width: 250px; height: 52px; overflow: visible; }
.brand-logo, .brand img { display: block; width: 250px; height: auto; max-height: 52px; object-fit: contain; }
.site-nav nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px; color: var(--text); font-size: 15px; }
.site-nav nav a { color: #f1f1f6; border: 0; background: transparent; padding: 0; min-height: auto; }
.site-nav nav a:hover { color: var(--teal-2); }
.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(25, 231, 255, 0.85);
  border-radius: 8px;
  background: rgba(25, 231, 255, 0.07);
  font-weight: 800;
}
.login-link:hover { background: rgba(25, 231, 255, 0.15); }
main { width: 100%; margin: 0; }
.page-section { width: 100%; border-bottom: 1px solid var(--line); }
.hero {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: 78px 62px 64px;
  overflow: hidden;
  isolation: isolate;
  background: #05070d;
}
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero::before { content: none; display: none; }
.hero::after { content: none; display: none; }
.hero > div:first-of-type, .hero-panel { position: relative; z-index: 2; }
.hero > div:first-of-type { max-width: 620px; }
.eyebrow { margin: 0 0 16px; color: var(--teal-2); font-size: 12px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -0.055em; }
h1 { max-width: 720px; font-size: clamp(44px, 5.8vw, 64px); line-height: 1.05; text-shadow: 0 12px 44px rgba(0,0,0,0.92), 0 2px 6px rgba(0,0,0,0.82); }
h2 { max-width: 760px; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; }
h3 { margin: 0 0 10px; font-size: 18px; }
.lead, .product-page p:not(.eyebrow), .hero-panel p { max-width: 640px; color: var(--muted); font-size: 21px; line-height: 1.55; }
.lead { text-shadow: 0 10px 34px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.78); }
.actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-width: 198px; min-height: 58px; border-radius: 7px; font-weight: 850; text-decoration: none; }
.primary { color: #021017; border: 1px solid rgba(99, 245, 255, 0.95); background: linear-gradient(135deg, #63f5ff, #19e7ff 45%, #087b91); box-shadow: 0 12px 34px rgba(25, 231, 255, 0.24); }
.secondary { color: white; border: 1px solid rgba(99, 245, 255, 0.34); background: rgba(25, 231, 255, 0.035); }
.hero-panel { justify-self: stretch; min-height: 240px; border: 0; background: transparent; box-shadow: none; opacity: 0.9; }
.hero-panel span, .hero-panel strong, .hero-panel p { display: none; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.metric-grid div { padding: 18px; border: 1px solid rgba(75, 220, 255, .22); border-radius: 18px; background: rgba(8,10,22,.58); box-shadow: 0 20px 80px rgba(0,0,0,.32); backdrop-filter: blur(12px); }
.metric-grid b { display: block; font-size: 28px; }
.metric-grid small { color: var(--muted); }
.product-page { width: min(1240px, calc(100% - 64px)); min-height: auto; margin: 0 auto; padding: 72px 32px; display: grid; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
.platform-section { grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: 46px; }
.reverse-section { grid-template-columns: minmax(360px, 520px) minmax(0, 1fr); }
.section-copy p:not(.eyebrow) { max-width: 760px; }
.capability-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.capability-list span, .db-tags span, .tab-list span { border: 1px solid rgba(99,245,255,.24); background: rgba(25,231,255,.055); color: #dffcff; border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 800; }
.feature-grid { display: grid; gap: 14px; }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.feature-grid article { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: linear-gradient(180deg, rgba(21,25,42,.82), rgba(10,13,24,.82)); box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.feature-grid article:hover { border-color: rgba(99, 245, 255, 0.48); transform: translateY(-2px); transition: 180ms ease; }
.feature-grid p { margin: 0; font-size: 15px !important; line-height: 1.5 !important; }
.visual-card { position: relative; min-height: 320px; padding: 28px; border: 1px solid rgba(99,245,255,.2); border-radius: 28px; background: radial-gradient(circle at 70% 18%, rgba(25,231,255,.14), transparent 36%), linear-gradient(180deg, rgba(14,22,38,.88), rgba(5,8,16,.92)); box-shadow: 0 28px 90px rgba(0,0,0,.38), inset 0 0 70px rgba(25,231,255,.04); overflow: hidden; }
.visual-card::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(99,245,255,.08); border-radius: 22px; pointer-events: none; }
.board-title, .meter-title, .watcher-head, .tunnel-head { display: flex; justify-content: space-between; align-items: center; color: #eaffff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 18px; }
.pipeline-row, .tunnel-row, .core-console div { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; margin: 12px 0; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.pipeline-row em, .tunnel-row em, .core-console b { color: var(--teal-2); font-style: normal; }
.spine-visual { min-height: 390px; display: grid; place-items: center; }
.spine-core { width: 144px; height: 144px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(99,245,255,.7); color: #041014; background: radial-gradient(circle, #63f5ff, #19e7ff 50%, #087b91); font-weight: 950; box-shadow: 0 0 50px rgba(25,231,255,.35); }
.spine-lane { position: absolute; padding: 10px 14px; border: 1px solid rgba(99,245,255,.26); border-radius: 14px; background: rgba(5,10,18,.9); color: #dffcff; font-weight: 800; }
.lane-a { top: 42px; left: 46px; } .lane-b { top: 50px; right: 46px; } .lane-c { bottom: 42px; left: 58px; } .lane-d { bottom: 50px; right: 54px; } .lane-e { left: 50%; bottom: 26px; transform: translateX(-50%); }
.vault-door { display: grid; grid-template-columns: 1fr; place-items: center; }
.vault-ring { width: 210px; height: 210px; border-radius: 50%; border: 18px solid rgba(99,245,255,.2); display: grid; place-items: center; background: radial-gradient(circle, rgba(25,231,255,.22), rgba(2,8,14,.9) 58%); box-shadow: inset 0 0 35px rgba(25,231,255,.16), 0 0 55px rgba(25,231,255,.18); }
.vault-lock { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(99,245,255,.5); color: var(--teal-2); font-size: 28px; font-weight: 950; }
.vault-shelves { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; margin-top: 24px; }
.vault-shelves span { text-align: center; padding: 12px 8px; border-radius: 12px; background: rgba(255,255,255,.04); color: #dffcff; }
.storage-meter { display: flex; flex-direction: column; justify-content: center; }
.meter-bar { height: 18px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(99,245,255,.18); }
.meter-bar span { display: block; height: 100%; background: linear-gradient(90deg, #087b91, #19e7ff, #63f5ff); box-shadow: 0 0 28px rgba(25,231,255,.34); }
.storage-meter b { display: block; margin-top: 18px; color: var(--teal-2); font-size: 58px; line-height: 1; }
.db-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: center; }
.shield-card { min-height: 190px; clip-path: polygon(50% 0%, 95% 18%, 82% 82%, 50% 100%, 18% 82%, 5% 18%); display: grid; place-items: center; text-align: center; background: linear-gradient(180deg, rgba(99,245,255,.25), rgba(8,15,26,.8)); border: 1px solid rgba(99,245,255,.35); color: #eaffff; font-weight: 950; }
.shield-card span { display: block; color: var(--teal-2); font-size: 12px; margin-top: 6px; }
.guard-pipeline { display: grid; gap: 12px; }
.guard-pipeline span { padding: 14px 18px; border: 1px solid rgba(99,245,255,.22); border-radius: 14px; background: rgba(25,231,255,.055); font-weight: 850; color: #eaffff; }
.watcher-head span, .tunnel-head span { color: #021017; background: var(--teal-2); padding: 6px 10px; border-radius: 999px; font-size: 11px; }
.ai-track { padding: 18px; border: 1px solid rgba(99,245,255,.22); border-radius: 18px; background: rgba(25,231,255,.055); }
.ai-track strong { display: block; font-size: 24px; } .ai-track em { color: var(--teal-2); font-style: normal; letter-spacing: .14em; } .ai-track small { display: block; color: var(--muted); margin-top: 6px; }
.file-map { display: grid; gap: 8px; margin: 16px 0; }
.file-map span { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: #b9c8d3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.file-map .active-file { color: #eaffff; border: 1px solid rgba(99,245,255,.26); box-shadow: 0 0 20px rgba(25,231,255,.12); }
.scan-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.scan-feed p { margin: 0; padding: 9px; border-radius: 10px; background: rgba(99,245,255,.06); font-size: 13px !important; }
.core-console { display: grid; align-content: center; }
.tunnel-manager { display: grid; align-content: start; }
.bridge-strip { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.bridge-strip span { padding: 10px 12px; border-radius: 999px; background: rgba(25,231,255,.08); border: 1px solid rgba(99,245,255,.24); font-weight: 800; }
.bridge-strip i { width: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--teal-2), transparent); }
.comparison-card { display: grid; gap: 14px; align-content: center; }
.comparison-card div { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(99,245,255,.16); }
.comparison-card span { display: block; color: var(--teal-2); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.final { margin-bottom: 72px; }
@media (max-width: 980px) {
  .site-nav { grid-template-columns: 1fr; align-items: flex-start; padding: 18px 24px; }
  .site-nav nav { justify-content: flex-start; gap: 14px; }
  .brand { width: 190px; height: 46px; }
  .brand-logo, .brand img { width: 190px; max-height: 46px; }
  .hero { grid-template-columns: 1fr; padding: 54px 24px; min-height: 620px; }
  .platform-section, .reverse-section { grid-template-columns: 1fr; }
  .product-page { width: min(100% - 36px, 1180px); padding: 48px 0; }
  .metric-grid, .compact-grid, .security-grid, .vault-shelves, .scan-feed { grid-template-columns: 1fr; }
}
