:root {
  color-scheme: dark;
  --bg: #040509;
  --panel: rgba(11, 19, 35, .78);
  --panel-strong: rgba(17, 34, 56, .92);
  --text: #f8fbff;
  --muted: #b7c8d9;
  --line: rgba(75, 214, 255, .24);
  --accent: #4bd6ff;
  --accent-2: #b6ff4b;
  --purple: #9f6bff;
  --warm: #ffb545;
  --danger: #ff477e;
  --shadow: 0 28px 90px rgba(75, 214, 255, .12), 0 20px 70px rgba(0,0,0,.58);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(75,214,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182,255,75,.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(75,214,255,.28), transparent 24rem),
    radial-gradient(circle at 80% 5%, rgba(159,107,255,.22), transparent 26rem),
    radial-gradient(circle at 58% 90%, rgba(182,255,75,.10), transparent 24rem),
    linear-gradient(180deg, #040509 0%, #071221 46%, #040509 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  animation: background-drift 18s ease-in-out infinite alternate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 34%, rgba(0,0,0,.55));
  pointer-events: none;
  z-index: 0;
}
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
  opacity: .25;
  pointer-events: none;
  z-index: 20;
  animation: scanline-drift 6s linear infinite;
}
a { color: inherit; text-decoration: none; }
.hero { min-height: 92vh; padding: 24px; position: relative; overflow: hidden; }
.hero::before {
  content: "BUILD / OPERATE / VERIFY";
  position: absolute;
  top: 20%;
  right: -105px;
  transform: rotate(90deg);
  color: rgba(255,255,255,.075);
  font-size: clamp(2rem, 7vw, 7rem);
  font-weight: 950;
  letter-spacing: .06em;
  white-space: nowrap;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 380px;
  background: linear-gradient(90deg, rgba(75,214,255,.17), rgba(159,107,255,.14), rgba(182,255,75,.08));
  filter: blur(80px);
  pointer-events: none;
}
.nav, .section, footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.hero-grid { width: min(1280px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  animation: nav-drop .7s cubic-bezier(.2,.9,.2,1) both;
}
.brand { font-weight: 950; letter-spacing: -.05em; font-size: 1.25rem; text-transform: uppercase; }
.brand span { color: var(--accent-2); text-shadow: 0 0 18px rgba(182,255,75,.72); margin-left: 2px; }
.links { display: flex; gap: 22px; color: var(--muted); font-size: .92rem; }
.links a:hover { color: var(--accent); }
.hero-grid {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, .72fr);
  gap: clamp(64px, 9vw, 132px);
  align-items: center;
}
.hero-copy, .status-card { min-width: 0; }
.hero-copy { max-width: 670px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 950; }
h1, h2, h3 { line-height: 1.02; margin: 0 0 18px; letter-spacing: -.05em; }
h1 { font-size: clamp(2.85rem, 6.5vw, 6rem); max-width: 680px; text-shadow: 0 0 38px rgba(75,214,255,.18); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); margin: 0 0 18px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 720px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.primary { background: linear-gradient(135deg, var(--accent), var(--purple)); color: #02050b; border: 0; box-shadow: 0 0 36px rgba(75,214,255,.32); }
.ghost { background: rgba(255,255,255,.04); }
.status-card, .card, .steps > div, .split, .video-shell {
  background: linear-gradient(180deg, rgba(11, 22, 41, .86), rgba(4, 8, 15, .78));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.status-card { padding: 30px; position: relative; overflow: hidden; justify-self: end; max-width: 445px; animation: card-float-in .9s cubic-bezier(.2,.9,.2,1) .28s both, orbital-float 6s ease-in-out 1.35s infinite; }
.status-card::before, .card::before, .video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(75,214,255,.18), transparent 38%, rgba(182,255,75,.10));
  pointer-events: none;
}
.status-card > *, .card > *, .video-shell > * { position: relative; z-index: 1; }
.status-card ul { padding-left: 20px; color: var(--muted); }
.status-card li + li { margin-top: 12px; }
.risk-meter { height: 10px; width: 100%; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.09); }
.risk-meter span { display: block; width: 82%; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--warm), var(--accent)); box-shadow: 0 0 24px rgba(75,214,255,.65); transform-origin: left center; animation: meter-charge 1.4s cubic-bezier(.2,.9,.2,1) .7s both, pulse-glow 2.4s ease-in-out 2s infinite; }
.tag { color: var(--accent-2); font-weight: 950; letter-spacing: .16em; font-size: .72rem; }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy .lede, .hero-copy .actions { opacity: 0; transform: translateY(18px); animation: hero-rise .85s cubic-bezier(.2,.9,.2,1) forwards; }
.hero-copy h1 { animation-delay: .12s; }
.hero-copy .lede { animation-delay: .24s; }
.hero-copy .actions { animation-delay: .36s; }
.section { padding: 86px 0; }
.narrow { max-width: 880px; }
.video-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: center; }
.video-copy { padding-right: 14px; }
.video-shell { padding: 18px; min-height: 360px; position: relative; }
.video-shell video { width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(75,214,255,.34); border-radius: 20px; background: #03060a; display: block; box-shadow: inset 0 0 32px rgba(75,214,255,.12); }
.video-status { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; color: var(--muted); }
.video-status p { margin: 0; flex-basis: 100%; }
.warning-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 18px var(--accent-2); animation: warning-pulse 1.7s ease-in-out infinite; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; min-height: 230px; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.card:hover, .steps > div:hover, .video-shell:hover, .split:hover, .button:hover { transform: translateY(-6px); border-color: rgba(182,255,75,.46); box-shadow: 0 30px 95px rgba(182,255,75,.10), 0 28px 90px rgba(75,214,255,.16), 0 20px 70px rgba(0,0,0,.58); }
.flow { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; text-align: left; }
.steps > div { padding: 24px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.steps span { display: inline-flex; color: var(--accent-2); font-weight: 950; margin-bottom: 20px; text-shadow: 0 0 16px rgba(182,255,75,.45); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; padding: 44px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.feature-list p { border-top: 1px solid var(--line); padding-top: 18px; }
.feature-list strong { color: var(--text); }
footer { padding: 42px 0 70px; border-top: 1px solid var(--line); }
footer p { margin: 0; }
.reveal { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(8px); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.9,.2,1), filter .72s ease; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
@keyframes nav-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes card-float-in { from { opacity: 0; transform: translateY(24px) rotateX(8deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes orbital-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes meter-charge { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes pulse-glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
@keyframes warning-pulse { 0%, 100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes scanline-drift { from { background-position: 0 0; } to { background-position: 0 80px; } }
@keyframes background-drift { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 22px 28px, -18px 18px, 2% 1%, 78% 2%, 55% 90%, 0 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .hero-grid, .split, .video-section { grid-template-columns: 1fr; }
  .hero-grid { width: min(1120px, calc(100% - 32px)); gap: 34px; }
  .status-card { justify-self: stretch; max-width: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding: 18px 0; }
  .video-copy { padding-right: 0; }
}
