:root {
  --ink: #050607;
  --panel: #0a0d10;
  --panel-soft: #10151a;
  --text: #f4f4ef;
  --muted: #9da4aa;
  --gold: #f0a900;
  --gold-soft: #ffd66a;
  --cyan: #11ccf4;
  --line: rgba(255,255,255,.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font-geist-sans), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-shell {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 35%, rgba(17, 204, 244, .08), transparent 26rem),
    linear-gradient(135deg, #050607 0%, #080a0d 60%, #050607 100%);
}

.grid-overlay {
  position: absolute; inset: 0; z-index: -3; opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.grid-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0, transparent 17%, transparent 83%, var(--ink) 100%);
}

.aurora { position: absolute; z-index: -2; width: 32rem; height: 32rem; filter: blur(100px); opacity: .12; border-radius: 50%; }
.aurora-gold { background: var(--gold); left: -17rem; top: 35%; }
.aurora-cyan { background: var(--cyan); right: -18rem; bottom: -12rem; }

.topbar, .footer { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.topbar { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; letter-spacing: .1em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--gold); border: 1px solid rgba(240,169,0,.5); font: 700 28px/1 var(--font-geist-mono), monospace; transform: rotate(-6deg); box-shadow: inset 0 0 18px rgba(240,169,0,.09); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .88rem; }
.brand small { color: var(--muted); font-size: .58rem; margin-top: 3px; letter-spacing: .28em; }
.build-status { display: flex; align-items: center; gap: 9px; color: #adb4ba; font: 500 .66rem/1 var(--font-geist-mono), monospace; letter-spacing: .13em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #59f28d; box-shadow: 0 0 0 5px rgba(89,242,141,.08), 0 0 13px #59f28d; animation: pulse 2s ease-in-out infinite; }

.hero { width: min(1440px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); padding: clamp(60px, 8vh, 110px) 0; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font: 600 .68rem/1 var(--font-geist-mono), monospace; letter-spacing: .22em; }
.eyebrow span { color: var(--gold); border-right: 1px solid rgba(240,169,0,.45); padding-right: 12px; margin-right: 12px; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.6rem, 6.5vw, 7.7rem); font-weight: 740; letter-spacing: -.073em; line-height: .86; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(244,244,239,.62); text-stroke: 1px rgba(244,244,239,.62); }
.intro { max-width: 590px; color: #acb2b7; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.7; margin: 34px 0 32px; }
.ai-statement { max-width: 660px; padding: 18px 21px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border: 1px solid rgba(17,204,244,.24); border-left: 3px solid var(--cyan); background: rgba(9,18,23,.75); box-shadow: 0 16px 50px rgba(0,0,0,.25), inset 0 0 30px rgba(17,204,244,.025); }
.terminal-prompt { color: var(--cyan); font: 500 .72rem/1.65 var(--font-geist-mono), monospace; white-space: nowrap; }
.ai-statement p { margin: 0; font: 500 clamp(.82rem, 1.3vw, 1rem)/1.65 var(--font-geist-mono), monospace; color: #d6dade; }
.ai-statement strong { color: var(--gold-soft); font-weight: 600; }
.cursor { animation: blink 1s steps(1) infinite; }
.launch-row { display: grid; grid-template-columns: auto minmax(100px, 190px) auto; align-items: center; gap: 15px; margin-top: 34px; max-width: 460px; font: 600 .62rem/1 var(--font-geist-mono), monospace; letter-spacing: .17em; }
.launch-label { color: var(--text); }
.progress-track { height: 3px; overflow: hidden; background: rgba(255,255,255,.1); }
.progress-track i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--cyan)); box-shadow: 0 0 12px var(--cyan); animation: loading 4s ease-in-out infinite alternate; }
.progress-value { color: var(--muted); }

.visual-stage { position: relative; min-height: 610px; display: grid; place-items: center; perspective: 900px; }
.visual-stage::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(17,204,244,.13); border-radius: 50%; box-shadow: inset 0 0 80px rgba(17,204,244,.035), 0 0 80px rgba(17,204,244,.035); animation: orbit 18s linear infinite; }
.visual-stage::after { content: "01001001  N E U R A L  01000001"; position: absolute; right: -2%; top: 17%; color: rgba(17,204,244,.28); writing-mode: vertical-rl; font: 500 .55rem/1 var(--font-geist-mono), monospace; letter-spacing: .25em; }
.logo-frame { position: relative; z-index: 2; width: min(87%, 550px); padding: 12px; background: #f7f7f5; box-shadow: 0 45px 100px rgba(0,0,0,.55), 0 0 80px rgba(17,204,244,.07); transform: rotateY(-5deg) rotateX(2deg); animation: float 6s ease-in-out infinite; }
.logo-frame img { display: block; width: 100%; height: auto; }
.corner { position: absolute; z-index: 4; width: 26px; height: 26px; border-color: var(--gold); }
.corner-tl { left: -9px; top: -9px; border-left: 2px solid; border-top: 2px solid; }
.corner-tr { right: -9px; top: -9px; border-right: 2px solid; border-top: 2px solid; }
.corner-bl { left: -9px; bottom: -9px; border-left: 2px solid; border-bottom: 2px solid; }
.corner-br { right: -9px; bottom: -9px; border-right: 2px solid; border-bottom: 2px solid; }
.code-window { position: absolute; z-index: 3; width: min(66%, 430px); left: -3%; bottom: 2%; border: 1px solid rgba(255,255,255,.15); background: rgba(4,7,9,.94); box-shadow: 0 26px 70px rgba(0,0,0,.6); transform: rotateY(7deg); backdrop-filter: blur(12px); }
.window-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #4e555b; }
.window-bar span:first-child { background: #e6a300; }
.window-bar b { margin-left: 7px; color: #7d878e; font: 500 .58rem/1 var(--font-geist-mono), monospace; }
.code-body { padding: 14px 0; }
.code-line { display: grid; grid-template-columns: 34px 1fr; min-height: 23px; font: 500 clamp(.56rem, .8vw, .7rem)/1.6 var(--font-geist-mono), monospace; }
.code-line > span { color: #4b5359; text-align: right; padding-right: 10px; user-select: none; }
.code-line code { color: #d8dde0; white-space: pre; }
.code-line:nth-child(1) code, .code-line:nth-child(2) code { color: #60d8f4; }
.code-line:nth-child(3) code, .code-line:nth-child(4) code { color: #f5c557; }
.code-line:nth-child(5) code { color: #d6a2ff; }
.float-tag { position: absolute; z-index: 4; padding: 9px 12px; border: 1px solid var(--line); background: #090c0f; color: var(--cyan); font: 600 .56rem/1 var(--font-geist-mono), monospace; letter-spacing: .1em; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.tag-one { right: -1%; top: 9%; }
.tag-two { right: 4%; bottom: 13%; color: var(--gold-soft); }

.footer { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; border-top: 1px solid var(--line); color: #767f86; font: 500 .55rem/1.4 var(--font-geist-mono), monospace; letter-spacing: .14em; }
.footer > p:last-child { text-align: right; }
.footer div { display: flex; gap: 7px; }
.footer div span { color: #a5acb1; border: 1px solid var(--line); padding: 6px 9px; }

@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes loading { from { width: 58%; } to { width: 84%; } }
@keyframes float { 50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .visual-stage { min-height: 590px; width: min(760px, 100%); margin-inline: auto; }
  .hero-copy { max-width: 860px; }
  h1 { font-size: clamp(4rem, 10vw, 7rem); }
}

@media (max-width: 680px) {
  .topbar, .hero, .footer { width: min(100% - 34px, 1440px); }
  .topbar { min-height: 78px; }
  .build-status { font-size: 0; gap: 0; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); line-height: .9; }
  .intro { margin-top: 26px; }
  .ai-statement { grid-template-columns: 1fr; gap: 4px; }
  .terminal-prompt { font-size: .62rem; }
  .visual-stage { min-height: 430px; margin-top: 12px; }
  .logo-frame { width: 95%; }
  .code-window { width: 82%; left: -2%; bottom: 0; }
  .tag-one { top: 1%; }
  .tag-two { right: 0; bottom: 4%; }
  .footer { grid-template-columns: 1fr auto; min-height: 88px; }
  .footer > p:first-child { display: none; }
}

@media (max-width: 430px) {
  .hero { padding-top: 52px; gap: 2.2rem; }
  .eyebrow { letter-spacing: .12em; }
  .launch-row { grid-template-columns: auto 1fr; }
  .progress-value { display: none; }
  .visual-stage { min-height: 360px; }
  .code-window { width: 92%; }
  .float-tag { display: none; }
  .footer div span { padding: 5px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}