:root {
  --ink: #eff4ef;
  --muted: #9daaa1;
  --bg: #09100e;
  --panel: #111a17;
  --line: rgba(239, 244, 239, .12);
  --lime: #bcff38;
  --cyan: #73e6dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: .13; }
.ambient-one { width: 500px; height: 500px; right: -160px; top: 50px; background: var(--lime); }
.ambient-two { width: 420px; height: 420px; left: -250px; top: 600px; background: var(--cyan); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #09100e; background: var(--lime); border-radius: 9px; }
.brand-dot { color: var(--lime); }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--ink); }
.nav-button { padding: 10px 17px; border: 1px solid var(--line); border-radius: 99px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 100px 0 92px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}
.eyebrow, .kicker { color: var(--lime); text-transform: uppercase; font: 500 12px/1.4 Consolas, monospace; letter-spacing: .14em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(188,255,56,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(188,255,56,0); } }
h1 { margin: 25px 0; font-size: clamp(48px, 6vw, 82px); line-height: 1.02; letter-spacing: -.065em; }
h1 em { color: var(--lime); font-style: normal; }
.lead { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { appearance: none; border-radius: 8px; padding: 15px 21px; font: 700 14px "Segoe UI", Arial, sans-serif; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { border: 1px solid var(--lime); color: #0b120f; background: var(--lime); }
.primary span { margin-left: 10px; }
.secondary { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.secondary:hover { background: rgba(255,255,255,.05); }
.test-result { min-height: 22px; margin: 15px 0 0; color: var(--cyan); font: 12px Consolas, monospace; }

.lab-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,26,23,.82); box-shadow: 0 35px 80px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.terminal-top { display: flex; align-items: center; gap: 7px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.terminal-top > span { width: 9px; height: 9px; border-radius: 50%; background: #34413b; }
.terminal-top > span:first-child { background: var(--lime); }
.terminal-top p { margin: 0 0 0 auto; color: #65736b; font: 10px Consolas, monospace; }
.terminal-body { padding: 28px; font: 12px Consolas, monospace; }
.prompt { color: var(--lime); }
.status-row { display: flex; justify-content: space-between; margin-top: 20px; padding-bottom: 13px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.status-row strong { color: var(--lime); font-weight: 500; }
.status-row strong i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--lime); }
.status-row b { color: var(--cyan); font-weight: 500; }
.signal { height: 75px; margin: 32px 0 20px; display: flex; align-items: end; gap: 8px; }
.signal span { flex: 1; height: 25%; background: var(--lime); opacity: .7; animation: bars 2s ease-in-out infinite alternate; }
.signal span:nth-child(2n) { height: 65%; animation-delay: -.4s; }
.signal span:nth-child(3n) { height: 90%; animation-delay: -.9s; }
@keyframes bars { to { height: 85%; opacity: 1; } }
.terminal-note { margin: 0; color: #7b8a81; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.about { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
h2 { margin: 12px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features article { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent); }
.feature-number { color: var(--lime); font: 12px Consolas, monospace; }
.features h3 { margin: 70px 0 12px; font-size: 20px; }
.features p, .server-section > div > p:last-child { color: var(--muted); line-height: 1.7; }

.server-section { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; border-top: 1px solid var(--line); }
.server-badge { padding: 34px; border-left: 4px solid var(--lime); background: var(--panel); }
.server-badge span, .server-badge small { display: block; color: var(--muted); font: 11px Consolas, monospace; }
.server-badge strong { display: block; margin: 10px 0 30px; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.04em; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 35px 0; display: flex; justify-content: space-between; color: #6e7a73; border-top: 1px solid var(--line); font: 11px Consolas, monospace; }
footer span { color: var(--lime); }

@media (max-width: 850px) {
  nav a:not(.nav-button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .lab-card { max-width: 600px; transform: none; }
  .features { grid-template-columns: 1fr; }
  .features article { min-height: auto; }
  .features h3 { margin-top: 38px; }
  .server-section { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 520px) {
  .site-header, .hero, .section, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 76px; }
  .nav-button { padding: 8px 12px; }
  .hero { min-height: auto; padding: 55px 0 75px; gap: 45px; }
  h1 { font-size: 45px; }
  .lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { text-align: center; }
  .section { padding: 75px 0; }
  footer { gap: 14px; flex-direction: column; }
}

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