:root {
  --x: 68vw;
  --y: 34vh;
  --navy: #030b14;
  --cyan: #70f2df;
  --blue: #68b7ff;
  --orange: #ffb45c;
  --text: #f7fbff;
  --muted: #8da4b4;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(700px circle at var(--x) var(--y), rgba(41, 218, 205, .16), transparent 48%),
    radial-gradient(circle at 10% 95%, rgba(75, 116, 255, .12), transparent 30%),
    linear-gradient(135deg, #020811 0%, #061725 55%, #04101b 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(132, 234, 228, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 234, 228, .035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

header, footer, main { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
header {
  position: relative;
  z-index: 10;
  height: 76px;
  margin-top: 18px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(169, 242, 237, .15);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(17, 44, 61, .68), rgba(8, 26, 40, .38));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .12);
  backdrop-filter: blur(26px) saturate(145%);
}
.brand { display: block; width: 148px; height: 58px; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(79, 226, 215, .15)); }
.system-state { display: flex; align-items: center; gap: 9px; color: #7893a4; font-size: .62rem; font-weight: 700; letter-spacing: .15em; }
.system-state i, .status-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }

main {
  min-height: calc(100vh - 172px);
  padding: clamp(70px, 9vh, 120px) 3vw 64px;
  display: grid;
  grid-template-columns: 1.02fr .72fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}
.hero { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid rgba(112, 242, 223, .18); border-radius: 999px; background: rgba(24, 72, 82, .18); color: #93b3c0; font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(112, 242, 223, .07), 0 0 15px rgba(112, 242, 223, .65); }
.coordinates { margin: 24px 0 13px; color: #476a7d; font: .57rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
h1 { max-width: 850px; margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(3.6rem, 6.2vw, 7rem); line-height: .94; letter-spacing: -.07em; text-wrap: balance; }
h1::first-line { color: #fff; }
.lede { max-width: 700px; margin: 32px 0 0; color: #a1b5c1; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.status-card { max-width: 660px; margin-top: 38px; padding: 19px; border: 1px solid rgba(140, 230, 225, .15); border-radius: 20px; background: linear-gradient(145deg, rgba(17, 48, 66, .62), rgba(7, 24, 37, .4)); box-shadow: 0 32px 80px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .08); backdrop-filter: blur(18px); }
.status-head { display: flex; justify-content: space-between; color: #69889a; font-size: .58rem; letter-spacing: .15em; }
.status-head b { display: flex; align-items: center; gap: 8px; color: #79e8d9; }
.progress { height: 3px; margin: 18px 0; overflow: hidden; border-radius: 99px; background: rgba(119, 178, 190, .12); }
.progress span { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange)); box-shadow: 0 0 18px rgba(104, 183, 255, .55); animation: breathe 3s ease-in-out infinite; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status-grid div { padding: 12px; border-radius: 12px; background: rgba(3, 15, 25, .34); }
.status-grid small, .status-grid strong { display: block; }
.status-grid small { color: #587487; font-size: .52rem; letter-spacing: .14em; }
.status-grid strong { margin-top: 7px; font-family: "Manrope", sans-serif; font-size: .84rem; }
.note { margin-top: 24px; color: #617e8e; font-size: .76rem; letter-spacing: .04em; }
.note strong { color: #a6c1cb; }

.runtime { position: relative; aspect-ratio: .82; max-height: 660px; border: 1px solid rgba(159, 239, 234, .19); border-radius: 36px; background: linear-gradient(145deg, rgba(30, 86, 99, .2), rgba(5, 23, 35, .5)); box-shadow: 0 60px 150px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .12); backdrop-filter: blur(22px); overflow: hidden; }
.runtime::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(175, 245, 240, .07); border-radius: 28px; }
.runtime-top { position: absolute; inset: 28px 30px auto; z-index: 4; display: flex; justify-content: space-between; color: #6f8d9e; font-size: .57rem; letter-spacing: .14em; }
.runtime-top b { color: #73e9da; }
.core { position: absolute; inset: 15%; display: grid; place-items: center; }
.core-ring { position: absolute; border: 1px solid rgba(91, 230, 218, .2); border-radius: 50%; }
.ring-one { width: 92%; height: 92%; animation: spin 24s linear infinite; }
.ring-one::before { content: ""; position: absolute; width: 7px; height: 7px; left: 14%; top: 13%; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px 6px rgba(75, 229, 214, .34); }
.ring-two { width: 68%; height: 68%; border-style: dashed; animation: spin 17s linear reverse infinite; }
.ring-two::after { content: ""; position: absolute; width: 6px; height: 6px; right: 3%; top: 45%; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px 5px rgba(255, 180, 92, .28); }
.ring-three { width: 43%; height: 43%; box-shadow: inset 0 0 60px rgba(53, 216, 208, .08), 0 0 70px rgba(61, 188, 197, .08); }
.core-center { position: relative; z-index: 2; width: 132px; height: 132px; display: grid; place-items: center; border: 1px solid rgba(128, 242, 233, .24); border-radius: 38px; background: linear-gradient(145deg, rgba(52, 139, 145, .28), rgba(5, 24, 37, .7)); box-shadow: 0 30px 80px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .16); transform: rotate(45deg); }
.core-center > * { transform: rotate(-45deg); }
.core-center i { position: absolute; width: 40px; height: 2px; top: 24px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.core-center strong { font-family: "Manrope", sans-serif; font-size: 3.7rem; letter-spacing: -.12em; background: linear-gradient(135deg, #fff, var(--cyan), var(--blue)); background-clip: text; color: transparent; }
.core-center small { position: absolute; bottom: 22px; color: #6c93a0; font-size: .42rem; line-height: 1.25; text-align: center; letter-spacing: .14em; }
.runtime-signals { position: absolute; left: 8%; right: 8%; bottom: 8%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.runtime-signals span { padding: 11px 7px; border: 1px solid rgba(117, 213, 209, .1); border-radius: 10px; color: #698594; background: rgba(2, 14, 24, .32); font-size: .48rem; text-align: center; letter-spacing: .1em; }
.runtime-signals i { display: inline-block; width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.scanline { position: absolute; left: 8%; right: 8%; top: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 245, 228, .8), transparent); box-shadow: 0 0 20px rgba(111, 245, 228, .55); animation: scan 6s ease-in-out infinite; }

.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.orbit { position: absolute; border: 1px solid rgba(99, 222, 216, .09); border-radius: 50%; }
.orbit-a { width: 760px; height: 760px; right: -250px; top: -160px; }
.orbit-b { width: 420px; height: 420px; left: -230px; bottom: -100px; border-style: dashed; }
.star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px 8px rgba(65, 225, 211, .22); animation: drift 9s ease-in-out infinite; }
.star-a { top: 22%; left: 8%; }.star-b { top: 18%; right: 12%; background: var(--orange); animation-delay: -3s; }.star-c { bottom: 13%; left: 56%; background: var(--blue); animation-delay: -6s; }

footer { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(115, 203, 199, .1); color: #476676; font-size: .63rem; letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 100% { top: 16%; opacity: 0; } 20% { opacity: .55; } 86% { top: 82%; opacity: 0; } }
@keyframes breathe { 50% { opacity: .62; } }
@keyframes drift { 50% { transform: translate3d(18px, -24px, 0); opacity: .5; } }

@media (max-width: 900px) {
  main { grid-template-columns: 1fr; padding-inline: 0; }
  .runtime { width: min(520px, 100%); margin-inline: auto; }
}
@media (max-width: 600px) {
  header, footer, main { width: min(100% - 24px, 1280px); }
  header { height: 64px; margin-top: 10px; padding: 0 14px; border-radius: 19px; }
  .brand { width: 128px; height: 48px; }
  .system-state { font-size: .48rem; }
  main { padding-top: 70px; gap: 56px; }
  h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .status-grid { grid-template-columns: 1fr; }
  .runtime { border-radius: 26px; }
  footer { padding: 18px 0; gap: 14px; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
