/* =========================================================
   PROJECT CHIMERA — Cyberpunk Landing Page
   Pure CSS / no framework dependency
   ========================================================= */

:root {
  --bg: #05070d;
  --bg-soft: #080c15;
  --panel: rgba(8, 13, 24, 0.78);
  --panel-strong: rgba(7, 11, 20, 0.94);
  --line: rgba(111, 232, 255, 0.2);
  --line-bright: rgba(0, 240, 255, 0.7);
  --cyan: #00f0ff;
  --cyan-soft: #73f7ff;
  --pink: #ff2bd6;
  --purple: #8257ff;
  --red: #ff3158;
  --green: #5dffb2;
  --text: #eefcff;
  --muted: #91a7b5;
  --dim: #526877;
  --display: "Arial Narrow", "Bahnschrift SemiCondensed", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Noto Sans Mono CJK JP", monospace;
  --shadow-cyan: 0 0 8px rgba(0, 240, 255, 0.55), 0 0 30px rgba(0, 240, 255, 0.12);
  --shadow-pink: 0 0 10px rgba(255, 43, 214, 0.5), 0 0 30px rgba(255, 43, 214, 0.14);
  --header-h: 86px;
  --container: min(1400px, calc(100vw - 120px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(50, 28, 124, 0.18), transparent 35rem),
    radial-gradient(circle at 15% 35%, rgba(0, 161, 255, 0.08), transparent 30rem),
    var(--bg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-menu-open,
body.is-dialog-open { overflow: hidden; }

::selection { color: #001013; background: var(--cyan); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(0, 240, 255, 0.12);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #001014;
  background: var(--cyan);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.desktop-only { display: initial; }

/* Persistent visual layers */
#particleCanvas {
  position: fixed;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .75;
}
.cursor-glow {
  position: fixed;
  z-index: 2;
  width: 380px;
  height: 380px;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: .25;
  background: radial-gradient(circle, rgba(0,240,255,.11), rgba(130,87,255,.04) 38%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}
.noise,
.scanlines {
  position: fixed;
  z-index: 9990;
  inset: 0;
  pointer-events: none;
}
.noise {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.scanlines {
  opacity: .08;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(90,220,255,.22) 4px);
  background-size: 100% 5px;
}

/* Boot sequence */
.boot {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #020407;
  transition: opacity .55s ease, visibility .55s ease;
  animation: bootFallback .1s linear 8s forwards;
}
.boot::before,
.boot::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(0,240,255,.18);
  clip-path: polygon(0 0, 12% 0, 12% 1px, 88% 1px, 88% 0, 100% 0, 100% 100%, 88% 100%, 88% calc(100% - 1px), 12% calc(100% - 1px), 12% 100%, 0 100%);
}
.boot::after {
  inset: 0;
  border: 0;
  background: linear-gradient(transparent 49%, rgba(0,240,255,.04) 50%, transparent 51%);
  background-size: 100% 8px;
  animation: scan 3s linear infinite;
}
.boot.is-complete { opacity: 0; visibility: hidden; }
.boot__frame { position: relative; z-index: 1; width: min(540px, 100%); }
.boot__brand { width: 68px; margin-bottom: 26px; color: var(--cyan); filter: drop-shadow(0 0 14px rgba(0,240,255,.7)); }
.boot__brand svg { fill: none; stroke: currentColor; stroke-width: 2; }
.boot__label { margin: 0 0 20px; color: var(--cyan); font-size: 12px; letter-spacing: .22em; }
.boot__terminal { min-height: 28px; margin-bottom: 14px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.boot__terminal::after { content: "_"; color: var(--pink); animation: blink .7s steps(1) infinite; }
.boot__bar { height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.boot__bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink)); box-shadow: var(--shadow-cyan); transition: width .12s linear; }
.boot__meta { display: flex; justify-content: space-between; margin-top: 10px; color: var(--dim); font-size: 10px; letter-spacing: .16em; }
@keyframes bootFallback { to { opacity: 0; visibility: hidden; } }

/* Header / HUD navigation */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 34px;
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(3, 6, 12, .82);
  border-color: rgba(0,240,255,.16);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand__mark { width: 40px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0,240,255,.5)); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(120deg) scale(1.08); }
.brand__mark svg { fill: none; stroke: currentColor; stroke-width: 2.1; }
.brand__type { display: flex; flex-direction: column; line-height: 1; letter-spacing: .18em; }
.brand__type small { margin-bottom: 5px; color: var(--muted); font-size: 8px; }
.brand__type strong { font-family: var(--display); font-size: 17px; font-weight: 800; }

.hud-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 34px); }
.hud-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 1px;
  color: #6f8796;
  font-size: 9px;
  letter-spacing: .16em;
  transition: color .25s ease, text-shadow .25s ease;
}
.hud-nav a span { color: #465968; font-size: 8px; }
.hud-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.hud-nav a:hover,
.hud-nav a.is-active { color: var(--cyan); text-shadow: 0 0 12px rgba(0,240,255,.45); }
.hud-nav a.is-active span { color: var(--pink); }
.hud-nav a:hover::after,
.hud-nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.system-status { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 8px; letter-spacing: .15em; }
.system-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: statusPulse 1.8s ease infinite; }
.icon-button,
.menu-toggle {
  border: 1px solid rgba(0,240,255,.28);
  background: rgba(4, 12, 18, .55);
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
.icon-button:hover,
.menu-toggle:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,240,255,.05); box-shadow: inset 0 0 20px rgba(0,240,255,.05), var(--shadow-cyan); }
.sound-toggle { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.sound-toggle svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-icon--on { display: none; }
.sound-toggle[aria-pressed="true"] { color: var(--cyan); }
.sound-toggle[aria-pressed="true"] .sound-icon--on { display: block; }
.sound-toggle[aria-pressed="true"] .sound-icon--off { display: none; }
.menu-toggle { display: none; position: relative; width: 42px; height: 40px; padding: 0; }
.menu-toggle span { position: absolute; left: 11px; width: 18px; height: 1px; background: currentColor; transition: transform .3s ease, top .3s ease; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Shared section system */
.section { position: relative; padding: 150px 0; border-top: 1px solid rgba(105, 226, 255, .1); }
.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(0,240,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.section-index {
  position: absolute;
  z-index: 3;
  top: 118px;
  left: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  color: var(--dim);
}
.section-index::after { content: ""; width: 1px; height: 130px; margin-top: 17px; background: linear-gradient(var(--cyan), transparent); }
.section-index b { color: var(--cyan); font-size: 24px; font-weight: 300; line-height: 1; text-shadow: var(--shadow-cyan); }
.section-index span { margin-top: 10px; font-size: 7px; letter-spacing: .16em; writing-mode: vertical-rl; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--pink); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { position: relative; width: 22px; height: 1px; background: var(--pink); box-shadow: var(--shadow-pink); }
.eyebrow > span::before { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; background: var(--pink); transform: rotate(45deg); }
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: .035em;
  text-wrap: balance;
}
.section-title em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--cyan); text-shadow: 0 0 24px rgba(0,240,255,.2); }
.section-lead { color: #d8e9ee; font-size: 17px; line-height: 2; }
.section-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 8vw; margin-bottom: 78px; }
.section-heading > p { max-width: 560px; margin: 0 0 8px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--cyan); font-size: 11px; letter-spacing: .12em; }
.text-link::after { content: ""; width: 54px; height: 1px; background: currentColor; transition: width .3s ease; }
.text-link:hover::after { width: 82px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--left { transform: translateX(-42px); }
.reveal--right { transform: translateX(42px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Buttons */
.cyber-button {
  --button-color: var(--cyan);
  position: relative;
  isolation: isolate;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 30px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--button-color) 70%, transparent);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  background: rgba(0,240,255,.035);
  color: var(--button-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .18s ease;
}
.cyber-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255,255,255,.25) 50%, transparent 90%);
  transform: translateX(-130%);
  transition: transform .65s var(--ease);
}
.cyber-button::after { content: ""; position: absolute; inset: 5px; border: 1px solid color-mix(in srgb, var(--button-color) 18%, transparent); clip-path: inherit; pointer-events: none; }
.cyber-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s ease; }
.cyber-button:hover { color: #001014; background: var(--button-color); box-shadow: 0 0 12px color-mix(in srgb, var(--button-color) 60%, transparent), 0 0 45px color-mix(in srgb, var(--button-color) 20%, transparent); }
.cyber-button:hover::before { transform: translateX(130%); }
.cyber-button:hover svg { transform: translateX(5px); }
.cyber-button:active { transform: scale(.985); }
.cyber-button--primary { --button-color: var(--cyan); background: linear-gradient(90deg, rgba(0,240,255,.12), rgba(0,240,255,.025)); }
.cyber-button--ghost { --button-color: #9aaeb9; border-color: rgba(150,177,190,.24); background: transparent; }
.cyber-button--ghost:hover { --button-color: var(--pink); color: #13000f; }
.cyber-button--wide { width: 100%; }

/* Hero */
.hero {
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 74px) 0 94px;
  overflow: hidden;
  border-top: 0;
}
.hero::before {
  opacity: .5;
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 70% 45%, #000 0, transparent 74%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,7,13,1) 0%, rgba(5,7,13,.94) 31%, rgba(5,7,13,.15) 69%, rgba(5,7,13,.65) 100%);
  pointer-events: none;
}
.hero__ambient { position: absolute; z-index: -1; width: 48vw; aspect-ratio: 1; border-radius: 50%; filter: blur(100px); opacity: .12; pointer-events: none; }
.hero__ambient--cyan { left: -28vw; top: 10%; background: var(--cyan); }
.hero__ambient--pink { right: -20vw; bottom: -35%; background: var(--pink); }
.hero__grid { display: grid; grid-template-columns: minmax(480px, .92fr) minmax(560px, 1.22fr); align-items: center; gap: clamp(30px, 3.5vw, 74px); }
.hero__copy { position: relative; z-index: 5; }
.hero h1 {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.1vw, 104px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .03em;
  text-shadow: 3px 0 0 rgba(255,43,214,.25), -3px 0 0 rgba(0,240,255,.25);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  white-space: pre-line;
}
.glitch::before { color: var(--cyan); transform: translateX(2px); text-shadow: -2px 0 var(--pink); }
.glitch::after { color: var(--pink); transform: translateX(-2px); text-shadow: 2px 0 var(--cyan); }
.glitch.is-glitching::before { opacity: .8; animation: glitchTop .3s steps(2) both; }
.glitch.is-glitching::after { opacity: .65; animation: glitchBottom .3s steps(2) both; }
.hero__english { margin: 26px 0 15px; color: var(--cyan); font-family: var(--display); font-size: clamp(18px, 1.8vw, 28px); font-weight: 700; letter-spacing: .28em; }
.hero__english em { color: var(--pink); font-style: normal; }
.hero__lead { max-width: 600px; margin: 0 0 31px; color: #c0d1d8; font-size: 15px; line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__metrics { display: flex; gap: 0; margin: 46px 0 0; }
.hero__metrics > div { min-width: 128px; padding: 2px 20px; border-left: 1px solid rgba(0,240,255,.22); }
.hero__metrics > div:first-child { padding-left: 0; border-left: 0; }
.hero__metrics dt { margin-bottom: 3px; color: var(--dim); font-size: 8px; letter-spacing: .15em; }
.hero__metrics dd { margin: 0; color: var(--cyan); line-height: 1; }
.hero__metrics strong { font-family: var(--display); font-size: 24px; font-weight: 500; }
.hero__metrics small { margin-left: 4px; color: var(--muted); font-size: 9px; }

.hero__visual { position: relative; min-width: 0; perspective: 1200px; }
.visual-frame {
  position: relative;
  aspect-ratio: 1.42;
  margin-right: -8vw;
  overflow: hidden;
  border: 1px solid rgba(0,240,255,.35);
  clip-path: polygon(36px 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%, 0 36px);
  background: #030914;
  box-shadow: inset 0 0 80px rgba(2,6,15,.7), 0 0 80px rgba(0,129,255,.1);
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.visual-frame::before,
.visual-frame::after { content: ""; position: absolute; z-index: 5; width: 62px; height: 62px; pointer-events: none; }
.visual-frame::before { top: 14px; left: 14px; border-top: 2px solid var(--pink); border-left: 2px solid var(--pink); }
.visual-frame::after { right: 14px; bottom: 14px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.08) saturate(1.08); transform: scale(1.01); }
.visual-frame__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,13,.55), transparent 28%, transparent 75%, rgba(5,7,13,.25)), linear-gradient(0deg, rgba(2,4,10,.6), transparent 40%); mix-blend-mode: multiply; }
.visual-frame__scanner { position: absolute; inset-inline: 0; top: -18%; height: 18%; background: linear-gradient(transparent, rgba(0,240,255,.08), rgba(0,240,255,.35), rgba(255,255,255,.28), transparent); opacity: .8; animation: visualScan 5.4s linear infinite; }
.visual-frame__label { position: absolute; z-index: 6; left: 26px; bottom: 24px; display: flex; flex-direction: column; padding-left: 12px; border-left: 2px solid var(--pink); }
.visual-frame__label span { color: var(--muted); font-size: 7px; letter-spacing: .18em; }
.visual-frame__label b { color: var(--cyan); font-size: 10px; letter-spacing: .15em; }
.visual-frame__telemetry { position: absolute; z-index: 6; top: 34px; right: 30px; width: 170px; padding: 15px; border: 1px solid rgba(0,240,255,.35); background: rgba(2,7,13,.65); backdrop-filter: blur(6px); clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
.visual-frame__telemetry > div:first-child { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 7px; letter-spacing: .1em; }
.visual-frame__telemetry b { color: var(--cyan); }
.visual-frame__telemetry small { color: var(--dim); font-size: 6px; letter-spacing: .08em; }
.telemetry-bars { display: flex; align-items: end; gap: 3px; height: 31px; margin-bottom: 10px; }
.telemetry-bars i { flex: 1; height: calc(10% + var(--n, 2) * 8%); background: linear-gradient(var(--pink), var(--cyan)); box-shadow: 0 0 7px rgba(0,240,255,.35); animation: barPulse 1.3s ease-in-out infinite alternate; }
.telemetry-bars i:nth-child(1) { --n: 2; animation-delay: -.3s; } .telemetry-bars i:nth-child(2) { --n: 6; animation-delay: -.8s; } .telemetry-bars i:nth-child(3) { --n: 3; animation-delay: -.2s; } .telemetry-bars i:nth-child(4) { --n: 8; animation-delay: -.6s; } .telemetry-bars i:nth-child(5) { --n: 5; animation-delay: -.9s; } .telemetry-bars i:nth-child(6) { --n: 7; animation-delay: -.5s; } .telemetry-bars i:nth-child(7) { --n: 3; animation-delay: -.4s; } .telemetry-bars i:nth-child(8) { --n: 6; animation-delay: -.1s; } .telemetry-bars i:nth-child(9) { --n: 4; animation-delay: -.7s; }
.reticle { position: absolute; z-index: 4; width: 90px; height: 90px; border: 1px solid rgba(0,240,255,.32); border-radius: 50%; }
.reticle::before,
.reticle::after { content: ""; position: absolute; background: rgba(0,240,255,.5); }
.reticle::before { left: 50%; top: -10px; width: 1px; height: calc(100% + 20px); }
.reticle::after { top: 50%; left: -10px; height: 1px; width: calc(100% + 20px); }
.reticle--one { left: 54%; top: 29%; animation: reticleSpin 14s linear infinite; }
.reticle--two { width: 34px; height: 34px; right: 24%; bottom: 18%; border-color: rgba(255,43,214,.45); animation: reticleSpin 7s linear reverse infinite; }
.orbit { position: absolute; z-index: -1; border: 1px solid rgba(0,240,255,.15); border-radius: 50%; pointer-events: none; }
.orbit::after { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: var(--shadow-cyan); }
.orbit--outer { width: 540px; height: 540px; right: -220px; top: 50%; margin-top: -270px; animation: reticleSpin 22s linear infinite; }
.orbit--inner { width: 360px; height: 360px; left: 20%; bottom: -180px; border-color: rgba(255,43,214,.14); animation: reticleSpin 17s linear reverse infinite; }
.hero__ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; overflow: hidden; border-top: 1px solid rgba(0,240,255,.16); border-bottom: 1px solid rgba(0,240,255,.1); background: rgba(2,7,13,.6); }
.hero__ticker div { width: max-content; display: flex; align-items: center; gap: 28px; height: 100%; color: #557181; font-size: 8px; letter-spacing: .18em; animation: ticker 28s linear infinite; }
.hero__ticker i { color: var(--pink); font-style: normal; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 52px; display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 7px; letter-spacing: .16em; transform: translateX(-50%); }
.scroll-cue span { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(0,240,255,.2); }
.scroll-cue span::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 70%; background: var(--cyan); animation: scrollLine 1.8s ease infinite; }

/* Prologue */
.prologue { overflow: hidden; background: linear-gradient(180deg, rgba(11,7,28,.22), transparent 40%); }
.prologue__grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 7vw; }
.signal-board { border: 1px solid rgba(0,240,255,.19); background: rgba(5,10,20,.7); clip-path: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.signal-board__header { display: flex; justify-content: space-between; padding: 13px 17px; border-bottom: 1px solid rgba(0,240,255,.15); color: var(--dim); font-size: 8px; letter-spacing: .12em; }
.signal-board__header b { color: var(--red); font-weight: 500; animation: blink 1.2s steps(1) infinite; }
.signal-map { position: relative; height: 360px; overflow: hidden; }
.signal-map__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,240,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,240,255,.07) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(500px) rotateX(54deg) scale(1.4) translateY(24%); transform-origin: center bottom; }
.signal-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.signal-wave { fill: none; stroke: url(#waveGradient); stroke-width: 2.5; filter: url(#signalGlow); stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.1s var(--ease); }
.signal-wave--dim { opacity: .25; transform: translateY(20px); }
.signal-fill { fill: url(#waveGradient); opacity: 0; transition: opacity 1s ease .8s; }
.signal-board.is-animated .signal-wave { stroke-dashoffset: 0; }
.signal-board.is-animated .signal-fill { opacity: .08; }
.anomaly { position: absolute; padding: 7px 10px; border: 1px solid rgba(255,49,88,.5); background: rgba(41,3,14,.68); color: var(--red); font-size: 7px; line-height: 1.45; box-shadow: 0 0 20px rgba(255,49,88,.08); }
.anomaly span { display: block; color: #af6173; }
.anomaly b { font-size: 12px; }
.anomaly--a { top: 22%; left: 13%; }
.anomaly--b { top: 15%; right: 19%; }
.anomaly--c { right: 11%; bottom: 17%; }
.map-pulse { position: absolute; left: 61%; top: 40%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,240,255,.55); animation: mapPulse 2s ease-out infinite; }
.signal-board__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,240,255,.14); }
.signal-board__stats > div { min-height: 100px; padding: 16px; border-left: 1px solid rgba(0,240,255,.12); }
.signal-board__stats > div:first-child { border-left: 0; }
.signal-board__stats span { display: block; color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.signal-board__stats strong { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--cyan); font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }
.signal-board__stats small { color: var(--pink); font-family: var(--mono); font-size: 8px; }

/* Solution */
.solution { background: radial-gradient(circle at 50% 45%, rgba(87,35,185,.1), transparent 38rem); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 430px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(0,240,255,.18);
  background: linear-gradient(145deg, rgba(12,20,34,.85), rgba(4,8,16,.88));
  clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: border-color .3s ease, box-shadow .3s ease, transform .18s ease-out;
}
.feature-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(0,240,255,.14), transparent 36%); transition: opacity .3s ease; }
.feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); transform: scaleX(0); transition: transform .35s ease; }
.feature-card:hover,
.feature-card:focus-visible { border-color: rgba(0,240,255,.62); box-shadow: 0 18px 60px rgba(0,0,0,.35), inset 0 0 35px rgba(0,240,255,.04); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card > * { position: relative; z-index: 1; transform: translateZ(18px); }
.feature-card:nth-child(even) { border-color: rgba(255,43,214,.18); }
.feature-card:nth-child(even):hover { border-color: rgba(255,43,214,.6); }
.feature-card__top { display: flex; justify-content: space-between; color: var(--dim); font-size: 7px; letter-spacing: .14em; }
.feature-card__top i { color: var(--green); font-style: normal; }
.feature-card__icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 47px 0 24px; border: 1px solid rgba(0,240,255,.3); color: var(--cyan); background: rgba(0,240,255,.03); box-shadow: inset 0 0 24px rgba(0,240,255,.06), var(--shadow-cyan); transform: translateZ(30px) rotate(0); transition: transform .45s var(--ease); }
.feature-card:hover .feature-card__icon { transform: translateZ(42px) rotate(4deg) scale(1.04); }
.feature-card__icon svg { width: 43px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 0; font-family: var(--display); font-size: 23px; letter-spacing: .04em; }
.feature-card__en { margin: 3px 0 17px !important; color: var(--cyan) !important; font-size: 8px !important; letter-spacing: .12em; }
.feature-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.feature-card__meter { height: 2px; margin-top: 28px; overflow: hidden; background: rgba(255,255,255,.06); }
.feature-card__meter span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); box-shadow: var(--shadow-cyan); transition: width 1.4s var(--ease) .2s; }
.feature-card.is-visible .feature-card__meter span { width: var(--value); }
.feature-card > small { display: block; margin-top: 8px; color: var(--dim); font-size: 6px; letter-spacing: .09em; }

.module-console { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 400px; margin-top: 18px; border: 1px solid rgba(0,240,255,.16); background: rgba(4,8,17,.7); overflow: hidden; }
.module-console__visual { position: relative; display: grid; place-items: center; min-height: 400px; overflow: hidden; background-image: linear-gradient(rgba(0,240,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,240,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.module-console__visual::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(0,240,255,.12); border-radius: 50%; box-shadow: inset 0 0 100px rgba(92,28,187,.08); }
.core-orb { position: relative; width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid var(--purple); border-radius: 50%; color: var(--cyan); box-shadow: 0 0 35px rgba(130,87,255,.3), inset 0 0 35px rgba(0,240,255,.08); animation: orbFloat 4s ease-in-out infinite; }
.core-orb::before,
.core-orb::after { content: ""; position: absolute; inset: -28px; border: 1px dashed rgba(0,240,255,.28); border-radius: 50%; animation: reticleSpin 13s linear infinite; }
.core-orb::after { inset: -62px; border-color: rgba(255,43,214,.18); animation-direction: reverse; animation-duration: 19s; }
.core-orb span { position: absolute; inset: 13px; border: 1px solid rgba(0,240,255,.5); border-radius: 50%; }
.core-orb i { position: absolute; inset: 31px; border: 1px solid rgba(255,43,214,.7); transform: rotate(45deg); }
.core-orb b { font-size: 33px; font-weight: 300; text-shadow: var(--shadow-cyan); }
.module-tag { position: absolute; padding: 7px 10px; border: 1px solid rgba(0,240,255,.23); background: rgba(3,10,18,.72); color: var(--cyan); font-size: 7px; letter-spacing: .1em; }
.module-tag::after { content: ""; position: absolute; top: 50%; width: 85px; height: 1px; background: linear-gradient(90deg, rgba(0,240,255,.45), transparent); }
.module-tag--a { top: 18%; left: 11%; } .module-tag--a::after { left: 100%; }
.module-tag--b { top: 18%; right: 10%; color: var(--pink); border-color: rgba(255,43,214,.3); } .module-tag--b::after { right: 100%; transform: rotate(180deg); }
.module-tag--c { bottom: 16%; left: 12%; } .module-tag--c::after { left: 100%; }
.module-tag--d { bottom: 16%; right: 11%; color: var(--pink); border-color: rgba(255,43,214,.3); } .module-tag--d::after { right: 100%; transform: rotate(180deg); }
.module-console__log { min-width: 0; border-left: 1px solid rgba(0,240,255,.13); }
.console-header { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(0,240,255,.13); color: var(--dim); font-size: 8px; letter-spacing: .1em; }
.console-header b { color: var(--pink); font-weight: 400; }
.module-console pre { min-height: 276px; margin: 0; padding: 30px; overflow: auto; color: var(--cyan); font-family: var(--mono); font-size: 12px; line-height: 2; white-space: pre-wrap; }
.module-console__log > p { margin: 0; padding: 12px 20px; border-top: 1px solid rgba(0,240,255,.12); color: var(--dim); font-size: 8px; letter-spacing: .06em; }

/* Architecture */
.architecture { background: linear-gradient(180deg, rgba(7,13,28,.48), rgba(3,5,10,.25)); overflow: hidden; }
.architecture-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr); gap: 20px; }
.architecture-map { position: relative; min-height: 560px; border: 1px solid rgba(0,240,255,.17); overflow: hidden; background: radial-gradient(circle, rgba(81,35,161,.18), transparent 43%), linear-gradient(rgba(0,240,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,240,255,.045) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.architecture-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(0,240,255,.2); stroke-width: 1; stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
.architecture-node { position: absolute; width: 150px; min-height: 80px; padding: 12px; border: 1px solid rgba(0,240,255,.25); clip-path: polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px); background: rgba(3,11,20,.86); color: var(--muted); text-align: left; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease; }
.architecture-node:hover,
.architecture-node.is-active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,240,255,.055); box-shadow: var(--shadow-cyan); transform: translateY(-3px); }
.architecture-node small { display: block; margin-bottom: 6px; color: var(--dim); font-size: 6px; letter-spacing: .1em; }
.architecture-node strong { font-family: var(--display); font-size: 13px; letter-spacing: .07em; line-height: 1.2; }
.architecture-node span { display: block; margin-top: 8px; color: var(--green); font-size: 6px; letter-spacing: .1em; }
.architecture-node--core { left: 50%; top: 50%; width: 190px; min-height: 116px; transform: translate(-50%,-50%); text-align: center; border-color: var(--purple); color: var(--cyan); box-shadow: inset 0 0 30px rgba(130,87,255,.1); }
.architecture-node--core:hover,
.architecture-node--core.is-active { transform: translate(-50%,calc(-50% - 3px)); }
.architecture-node--ui { left: 6%; top: 9%; }
.architecture-node--ledger { right: 6%; top: 9%; }
.architecture-node--api { left: 6%; bottom: 9%; }
.architecture-node--data { right: 6%; bottom: 9%; }
.packet { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: var(--shadow-cyan); offset-path: path("M400 280 L145 110"); animation: packetMove 3s linear infinite; }
.packet--1 { offset-path: path("M400 280 L145 110"); left: 0; top: 0; }
.packet--2 { offset-path: path("M400 280 L655 110"); left: 0; top: 0; animation-delay: -.8s; }
.packet--3 { offset-path: path("M400 280 L145 450"); left: 0; top: 0; animation-delay: -1.6s; }
.packet--4 { offset-path: path("M400 280 L655 450"); left: 0; top: 0; animation-delay: -2.2s; }
.code-panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(255,43,214,.22); background: rgba(3,7,14,.88); clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
.code-panel__header,
.code-panel__footer { display: flex; justify-content: space-between; padding: 14px 18px; color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.code-panel__header { border-bottom: 1px solid rgba(255,43,214,.14); }
.code-panel__header b { color: var(--pink); font-weight: 400; }
.code-panel pre { flex: 1; margin: 0; padding: 30px 24px; overflow: auto; color: #a9c1cb; font-size: 11px; line-height: 1.85; tab-size: 2; }
.code-panel__footer { border-top: 1px solid rgba(255,43,214,.14); }
.code-key { color: var(--pink); } .code-this { color: var(--cyan); } .code-string { color: #b7ff88; } .code-num { color: #ffcf6b; } .code-comment { color: #526b78; }
.tech-accordion { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.tech-accordion details { border: 1px solid rgba(0,240,255,.14); background: rgba(6,11,20,.58); transition: border-color .25s ease, background .25s ease; }
.tech-accordion details[open] { border-color: rgba(0,240,255,.42); background: rgba(0,240,255,.025); }
.tech-accordion summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; min-height: 64px; padding: 14px 16px; cursor: pointer; }
.tech-accordion summary::-webkit-details-marker { display: none; }
.tech-accordion summary span { color: var(--pink); font-size: 9px; }
.tech-accordion summary strong { font-size: 10px; letter-spacing: .08em; }
.tech-accordion summary i { color: var(--cyan); font-style: normal; font-size: 18px; transition: transform .25s ease; }
.tech-accordion details[open] summary i { transform: rotate(45deg); }
.tech-accordion details p { margin: 0; padding: 0 16px 20px 47px; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* Future */
.future { overflow: hidden; }
.future::after { content: ""; position: absolute; z-index: -1; right: -15vw; bottom: 0; width: 55vw; height: 65%; background: radial-gradient(ellipse at bottom, rgba(0,127,255,.13), transparent 64%); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 58px; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 5%; right: 5%; top: 31px; height: 1px; background: linear-gradient(90deg, var(--cyan) 0 37%, rgba(0,240,255,.18) 37% 100%); }
.timeline__item { position: relative; padding: 0 21px; }
.timeline__marker { position: relative; z-index: 2; width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 27px; border: 1px solid rgba(0,240,255,.25); border-radius: 50%; background: var(--bg); color: var(--dim); }
.timeline__marker::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(0,240,255,.16); border-radius: inherit; }
.timeline__item.is-complete .timeline__marker,
.timeline__item.is-current .timeline__marker { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.timeline__item.is-current .timeline__marker { border-color: var(--pink); color: var(--pink); box-shadow: var(--shadow-pink); animation: currentPhase 2s ease-in-out infinite; }
.timeline__marker span { font-size: 10px; }
.timeline__content small { color: var(--dim); font-size: 7px; letter-spacing: .11em; }
.timeline__content h3 { margin: 7px 0 12px; font-family: var(--display); font-size: 21px; letter-spacing: .05em; }
.timeline__content p { min-height: 82px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.timeline__content b { display: inline-block; padding: 4px 7px; border: 1px solid rgba(92,112,123,.3); color: var(--dim); font-size: 6px; letter-spacing: .11em; }
.timeline__item.is-complete .timeline__content b { color: var(--green); border-color: rgba(93,255,178,.3); }
.timeline__item.is-current .timeline__content b { color: var(--pink); border-color: rgba(255,43,214,.35); animation: blink 1.1s steps(1) infinite; }
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.usecase { position: relative; min-height: 250px; padding: 25px; overflow: hidden; border: 1px solid rgba(0,240,255,.15); background: linear-gradient(135deg, rgba(9,18,31,.78), rgba(4,7,14,.82)); clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px); transition: border-color .3s ease, transform .3s var(--ease); }
.usecase::before { content: attr(data-index); position: absolute; right: -10px; bottom: -48px; color: rgba(0,240,255,.035); font-family: var(--display); font-size: 180px; font-weight: 900; line-height: 1; }
.usecase:nth-child(1)::before { content: "01"; } .usecase:nth-child(2)::before { content: "02"; } .usecase:nth-child(3)::before { content: "03"; }
.usecase:hover { border-color: rgba(0,240,255,.5); transform: translateY(-5px); }
.usecase > span { color: var(--pink); font-size: 7px; letter-spacing: .14em; }
.usecase h3 { margin: 42px 0 14px; color: var(--cyan); font-family: var(--display); font-size: 20px; letter-spacing: .05em; }
.usecase p { max-width: 88%; color: var(--muted); font-size: 11px; line-height: 1.8; }
.usecase small { position: absolute; left: 25px; bottom: 20px; color: var(--dim); font-size: 7px; letter-spacing: .1em; }

/* Join CTA */
.join { padding: 120px 0; overflow: hidden; background: linear-gradient(110deg, rgba(17,6,33,.78), rgba(2,13,21,.78)); }
.join::before { opacity: .4; }
.join__matrix { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 2px 2px, rgba(0,240,255,.7) 1px, transparent 0); background-size: 34px 34px; mask-image: linear-gradient(90deg, #000, transparent 64%); animation: matrixDrift 18s linear infinite; }
.join__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 10vw; }
.join__copy > p:last-of-type { max-width: 610px; color: var(--muted); }
.benefits { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.benefits li { display: flex; align-items: center; gap: 8px; color: #b9cbd2; font-size: 9px; letter-spacing: .06em; }
.benefits span { color: var(--pink); }
.access-panel { padding: 30px; border: 1px solid rgba(255,43,214,.42); background: rgba(7,7,18,.75); clip-path: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px); box-shadow: 0 25px 80px rgba(0,0,0,.3), inset 0 0 60px rgba(130,87,255,.05); }
.access-panel__top { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid rgba(255,43,214,.17); color: var(--dim); font-size: 8px; letter-spacing: .12em; }
.access-panel__top b { color: var(--pink); }
.countdown { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin: 34px 0; }
.countdown > div { text-align: center; }
.countdown strong { display: block; color: var(--cyan); font-family: var(--display); font-size: clamp(34px, 4vw, 58px); font-weight: 400; line-height: 1; text-shadow: var(--shadow-cyan); }
.countdown span { display: block; margin-top: 8px; color: var(--dim); font-size: 6px; letter-spacing: .16em; }
.countdown i { color: var(--pink); font-size: 24px; font-style: normal; animation: blink 1s steps(1) infinite; }
.access-panel__note { display: flex; align-items: center; gap: 9px; margin: 16px 0 22px; color: var(--dim); font-size: 8px; }
.access-panel__note span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.access-panel__bar { height: 3px; overflow: hidden; background: rgba(255,255,255,.08); }
.access-panel__bar span { display: block; width: 78%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink)); box-shadow: var(--shadow-pink); }
.access-panel > small { display: block; margin-top: 8px; color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.access-panel > small b { color: var(--pink); font-weight: 400; }

/* Footer */
.site-footer { position: relative; padding: 70px 0 24px; border-top: 1px solid rgba(0,240,255,.16); background: #03050a; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent); opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 6vw; }
.footer-brand p { margin-top: 21px; color: var(--dim); font-size: 10px; line-height: 1.8; }
.footer-links,
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong,
.footer-social strong { margin-bottom: 8px; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.footer-links a { color: var(--dim); font-size: 9px; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--cyan); transform: translateX(3px); }
.footer-social > div { display: flex; gap: 8px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(0,240,255,.18); color: var(--muted); font-size: 14px; transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.footer-social a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--shadow-cyan); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 19px; border-top: 1px solid rgba(0,240,255,.09); color: #3e515d; font-size: 7px; letter-spacing: .11em; }

/* Registration dialog */
.register-dialog {
  width: min(650px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--text);
  background: transparent;
}
.register-dialog::backdrop { background: rgba(1,3,8,.83); backdrop-filter: blur(10px); }
.register-dialog[open] { animation: dialogIn .35s var(--ease) both; }
.dialog-shell { position: relative; max-height: min(820px, calc(100vh - 32px)); overflow: auto; padding: 30px; border: 1px solid rgba(0,240,255,.48); background: rgba(4,8,16,.97); clip-path: polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px); box-shadow: 0 0 80px rgba(0,240,255,.12); }
.dialog-shell::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,43,214,.13); pointer-events: none; clip-path: inherit; }
.dialog-header { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,240,255,.14); }
.dialog-header small { color: var(--pink); font-size: 7px; letter-spacing: .13em; }
.dialog-header h2 { margin: 5px 0 0; font-family: var(--display); font-size: 31px; letter-spacing: .04em; }
.dialog-close { position: relative; width: 42px; height: 42px; border: 1px solid rgba(0,240,255,.25); background: transparent; cursor: pointer; }
.dialog-close span { position: absolute; left: 11px; top: 20px; width: 18px; height: 1px; background: var(--cyan); }
.dialog-close span:first-child { transform: rotate(45deg); }
.dialog-close span:last-child { transform: rotate(-45deg); }
#registerForm { position: relative; z-index: 1; display: grid; gap: 18px; }
#registerForm label:not(.consent-row) { display: grid; gap: 8px; }
#registerForm label > span { color: var(--muted); font-size: 8px; letter-spacing: .11em; }
#registerForm input,
#registerForm select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(0,240,255,.2); border-radius: 0; color: var(--text); background: rgba(0,240,255,.025); outline: 0; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
#registerForm input::placeholder { color: #455a66; }
#registerForm select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 17px) 22px, calc(100% - 12px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
#registerForm option { color: var(--text); background: #07101a; }
#registerForm input:focus,
#registerForm select:focus { border-color: var(--cyan); background-color: rgba(0,240,255,.045); box-shadow: 0 0 0 3px rgba(0,240,255,.07), var(--shadow-cyan); }
#registerForm .is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,49,88,.07); }
.field-error { min-height: 13px; color: #ff718d; font-size: 8px; line-height: 1.4; }
.consent-row { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.consent-row input { flex: 0 0 17px; width: 17px !important; height: 17px !important; margin: 4px 0 0; accent-color: var(--cyan); }
.consent-row span { line-height: 1.7; }
.form-meta { margin: -4px 0 0; color: var(--dim); font-size: 7px; text-align: center; letter-spacing: .1em; }
.register-success { position: relative; z-index: 1; padding: 20px 4px 4px; text-align: center; }
.success-glyph { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: var(--shadow-cyan); }
.success-glyph span { color: var(--cyan); font-size: 35px; }
.register-success > small { color: var(--green); font-size: 8px; letter-spacing: .13em; }
.register-success h2 { margin: 8px 0 13px; font-family: var(--display); font-size: 34px; }
.register-success > p { max-width: 470px; margin: 0 auto 25px; color: var(--muted); font-size: 12px; }
.access-key { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; margin: 0 0 22px; padding: 14px; border: 1px solid rgba(0,240,255,.2); text-align: left; }
.access-key span { grid-column: 1 / -1; color: var(--dim); font-size: 7px; letter-spacing: .1em; }
.access-key strong { color: var(--cyan); font-size: 18px; letter-spacing: .12em; }
.access-key button { padding: 7px 10px; border: 1px solid rgba(0,240,255,.25); color: var(--cyan); background: transparent; font-size: 8px; cursor: pointer; }
.toast { position: fixed; z-index: 12000; right: 22px; bottom: 22px; max-width: min(390px, calc(100vw - 44px)); padding: 13px 18px; border: 1px solid rgba(0,240,255,.35); color: var(--cyan); background: rgba(3,10,18,.95); font-size: 9px; letter-spacing: .06em; transform: translateY(30px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s var(--ease); }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 12000; left: 0; right: 0; bottom: 0; padding: 15px; color: #160009; background: #ff7190; text-align: center; font-size: 12px; }

/* Motion keyframes */
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes statusPulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes visualScan { from { top: -18%; } to { top: 112%; } }
@keyframes reticleSpin { to { transform: rotate(360deg); } }
@keyframes barPulse { to { height: 90%; opacity: .55; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes scrollLine { from { top: -100%; } to { top: 120%; } }
@keyframes mapPulse { to { box-shadow: 0 0 0 30px rgba(0,240,255,0); opacity: .2; } }
@keyframes orbFloat { 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes dash { to { stroke-dashoffset: -280; } }
@keyframes packetMove { to { offset-distance: 100%; } }
@keyframes currentPhase { 50% { box-shadow: 0 0 8px rgba(255,43,214,.4), 0 0 34px rgba(255,43,214,.3); } }
@keyframes matrixDrift { to { background-position: 68px 34px; } }
@keyframes dialogIn { from { opacity: 0; transform: scale(.96) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes glitchTop { 0% { clip-path: inset(0 0 80% 0); transform: translate(5px,-2px); } 45% { clip-path: inset(35% 0 40% 0); transform: translate(-5px,1px); } 100% { clip-path: inset(80% 0 0 0); transform: translate(2px,0); } }
@keyframes glitchBottom { 0% { clip-path: inset(76% 0 0 0); transform: translate(-4px,2px); } 50% { clip-path: inset(52% 0 28% 0); transform: translate(6px,-1px); } 100% { clip-path: inset(5% 0 70% 0); transform: translate(-2px,0); } }

/* Responsive */
@media (max-width: 1240px) {
  :root { --container: min(1180px, calc(100vw - 72px)); }
  .site-header { grid-template-columns: 205px 1fr auto; padding-inline: 24px; gap: 18px; }
  .hud-nav { gap: 14px; }
  .hud-nav a { font-size: 8px; }
  .system-status { display: none; }
  .hero__grid { grid-template-columns: minmax(420px,.9fr) minmax(500px,1.1fr); }
  .feature-card { padding: 18px; }
  .feature-card h3 { font-size: 20px; }
  .section-index { display: none; }
}

@media (max-width: 1020px) {
  :root { --header-h: 72px; --container: min(920px, calc(100vw - 48px)); }
  .site-header { grid-template-columns: 1fr auto; }
  .hud-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 90px 12vw;
    background: rgba(3,6,12,.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s var(--ease);
  }
  .hud-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .hud-nav a { justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(0,240,255,.12); font-size: 15px; }
  .hud-nav a span { order: 2; font-size: 12px; }
  .hud-nav a::after { left: 0; transform: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__visual { width: 95%; margin-left: auto; }
  .visual-frame { margin: 22px 0 0; }
  .scroll-cue { display: none; }
  .prologue__grid { grid-template-columns: 1fr; }
  .section-copy { max-width: 760px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 400px; }
  .architecture-grid { grid-template-columns: 1fr; }
  .architecture-map { min-height: 560px; }
  .code-panel pre { min-height: 430px; }
  .tech-accordion { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 45px 0; }
  .timeline::before { display: none; }
  .timeline__content p { min-height: auto; }
  .join__grid { gap: 6vw; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: calc(100vw - 34px); }
  body { font-size: 14px; }
  .site-header { height: 66px; padding-inline: 17px; }
  .site-header.is-scrolled { height: 62px; }
  .brand__mark { width: 34px; }
  .brand__type strong { font-size: 14px; }
  .sound-toggle span { display: none; }
  .sound-toggle { width: 40px; padding: 0; justify-content: center; }
  .section { padding: 100px 0; }
  .section-title { font-size: clamp(38px, 11vw, 58px); }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
  .hero { padding: 120px 0 70px; }
  .hero::after { background: linear-gradient(180deg, rgba(5,7,13,.98) 0, rgba(5,7,13,.82) 50%, rgba(5,7,13,.45) 100%); }
  .hero h1 { font-size: clamp(52px, 15vw, 76px); }
  .hero__english { font-size: 16px; letter-spacing: .19em; }
  .hero__lead br { display: none; }
  .hero__actions { align-items: stretch; }
  .hero__actions .cyber-button { width: 100%; }
  .hero__metrics { justify-content: space-between; }
  .hero__metrics > div { min-width: 0; flex: 1; padding-inline: 12px; }
  .hero__metrics strong { font-size: 20px; }
  .hero__visual { width: calc(100% + 17px); }
  .visual-frame { aspect-ratio: 1.08; margin-right: -17px; clip-path: polygon(20px 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 20px); }
  .visual-frame img { object-position: 48% center; }
  .visual-frame__telemetry { top: 20px; right: 16px; width: 140px; }
  .visual-frame__label { left: 18px; bottom: 18px; }
  .reticle--one { width: 60px; height: 60px; }
  .hero__ticker { display: none; }
  .signal-map { height: 300px; }
  .signal-board__stats { grid-template-columns: 1fr; }
  .signal-board__stats > div { min-height: auto; border-left: 0; border-top: 1px solid rgba(0,240,255,.1); }
  .signal-board__stats > div:first-child { border-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 380px; }
  .module-console { grid-template-columns: 1fr; }
  .module-console__visual { min-height: 350px; }
  .module-console__log { border-left: 0; border-top: 1px solid rgba(0,240,255,.13); }
  .module-tag::after { width: 40px; }
  .architecture-map { min-height: 620px; }
  .architecture-node { width: 125px; }
  .architecture-node--core { width: 160px; }
  .architecture-node--ui { left: 3%; top: 7%; }
  .architecture-node--ledger { right: 3%; top: 7%; }
  .architecture-node--api { left: 3%; bottom: 7%; }
  .architecture-node--data { right: 3%; bottom: 7%; }
  .architecture-lines { opacity: .5; }
  .packet { display: none; }
  .code-panel pre { min-height: 0; font-size: 9px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 0; }
  .timeline__marker { margin: 0; }
  .usecase-grid { grid-template-columns: 1fr; }
  .join { padding: 90px 0; }
  .join__grid { grid-template-columns: 1fr; gap: 55px; }
  .countdown { gap: 5px; }
  .countdown strong { font-size: clamp(28px, 10vw, 48px); }
  .access-panel { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .dialog-shell { padding: 24px 18px; }
}

@media (max-width: 430px) {
  .header-actions { gap: 7px; }
  .hero__metrics dt { font-size: 6px; }
  .hero__metrics strong { font-size: 17px; }
  .visual-frame__telemetry { display: none; }
  .module-tag { font-size: 5px; padding: 5px 6px; }
  .module-tag--a, .module-tag--c { left: 4%; }
  .module-tag--b, .module-tag--d { right: 4%; }
  .architecture-node { width: 112px; padding: 9px; }
  .architecture-node strong { font-size: 11px; }
  .architecture-node--core { width: 142px; }
  .countdown span { font-size: 5px; }
  .access-key { grid-template-columns: 1fr; text-align: center; }
  .access-key strong { font-size: 14px; }
}

/* Accessible reduced-motion mode */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
