:root {
  --black-0: #272932;
  --black-1: #040a10;
  --black-2: #210e15;
  --surface: #14101f;
  --red-0: #710100;
  --red-1: #fb3048;
  --red-2: #ff5048;
  --yellow: #fdf500;
  --yellow-1: #cfed58;
  --cyan: #1ac5b0;
  --blue: #5df4fe;
  --green: #28c775;
  --pink: #e455ae;
  --magenta: #cb1dcd;
  --text: rgba(93, 244, 254, 0.88);
  --text-dim: rgba(93, 244, 254, 0.58);
  --border: rgba(253, 245, 0, 0.18);
  --shadow-yellow: 0 0 18px rgba(253, 245, 0, 0.25), inset 0 0 18px rgba(253, 245, 0, 0.05);
  --shadow-cyan: 0 0 22px rgba(26, 197, 176, 0.3), inset 0 0 22px rgba(26, 197, 176, 0.08);
  --shadow-blue: 0 0 22px rgba(93, 244, 254, 0.3), inset 0 0 22px rgba(93, 244, 254, 0.06);
  --shadow-pink: 0 0 22px rgba(228, 85, 174, 0.28), inset 0 0 22px rgba(228, 85, 174, 0.06);
  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  background:
    radial-gradient(circle at top right, rgba(228, 85, 174, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(26, 197, 176, 0.08), transparent 30%),
    linear-gradient(180deg, #15060d 0%, #090811 40%, #040a10 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 244, 254, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 244, 254, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(112, 1, 0, 0.2), transparent 35%),
    linear-gradient(310deg, rgba(251, 48, 72, 0.1), transparent 30%);
  z-index: -1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-frame {
  position: relative;
}

.section-frame::before,
.section-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-color: rgba(251, 48, 72, 0.36);
}

.section-frame::before {
  top: 1.5rem;
  left: 1rem;
  width: clamp(80px, 16vw, 180px);
  height: clamp(80px, 16vw, 180px);
  border-top: 1px solid;
  border-left: 1px solid;
}

.section-frame::after {
  right: 1rem;
  bottom: 1.5rem;
  width: clamp(120px, 22vw, 240px);
  height: clamp(40px, 8vw, 72px);
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.alt-surface {
  background: linear-gradient(180deg, rgba(33, 14, 21, 0.84), rgba(20, 16, 31, 0.68));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(4, 10, 16, 0.84);
  border-bottom: 1px solid rgba(253, 245, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-text {
  font-family: "Orbitron", monospace;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.42rem;
  border: 1px solid rgba(253, 245, 0, 0.25);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(39, 41, 50, 0.42);
  box-shadow: var(--shadow-cyan);
}

.brand-mark.small {
  width: 2.2rem;
  height: 2.2rem;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg path {
  fill: currentColor;
  stroke: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(253, 245, 0, 0.4);
}

.nav-cta {
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(253, 245, 0, 0.4);
  border-radius: 999px;
}

.mobile-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  background: transparent;
  border: 1px solid rgba(26, 197, 176, 0.3);
  border-radius: 12px;
  color: var(--cyan);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.hero-frame::before {
  top: 6rem;
}

.eyebrow,
.hud-label,
.panel-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(253, 245, 0, 0.3);
  background: rgba(39, 41, 50, 0.32);
}

.hero-title,
.section-heading h2,
.pricing-card h3,
.status-panel h3,
.footer-grid h4 {
  font-family: "Orbitron", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(253, 245, 0, 0.24);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-glitch);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-title::before {
  color: rgba(26, 197, 176, 0.7);
  transform: translate(2px, -1px);
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 51%);
  animation: glitch-a 3s infinite linear alternate-reverse;
}

.hero-title::after {
  color: rgba(251, 48, 72, 0.6);
  transform: translate(-2px, 1px);
  clip-path: polygon(0 56%, 100% 48%, 100% 100%, 0 100%);
  animation: glitch-b 2.6s infinite linear alternate-reverse;
}

.hero-type {
  min-height: 2.5rem;
  margin: 0 0 1.4rem;
  color: var(--cyan);
  font-size: clamp(1.05rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
}

.caret {
  animation: caret-blink 1s steps(1, end) infinite;
}

.hero-description,
.section-heading p,
.muted-text,
.plan-description,
.plan-feature,
.feature-description,
.region-latency,
.waitlist-message {
  color: var(--text-dim);
}

.hero-description {
  max-width: 56ch;
  margin: 0 0 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(4, 10, 16, 0.45);
  font-family: "Orbitron", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-yellow {
  color: var(--yellow);
  box-shadow: var(--shadow-yellow);
}

.btn-yellow:hover,
.btn-yellow:focus-visible {
  background: rgba(253, 245, 0, 0.12);
}

.btn-cyan {
  color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.btn-cyan:hover,
.btn-cyan:focus-visible {
  background: rgba(26, 197, 176, 0.12);
}

.hud-panel,
.pricing-card,
.feature-card,
.stat-card,
.region-row,
.waitlist-panel {
  position: relative;
  border: 1px solid rgba(93, 244, 254, 0.18);
  background: linear-gradient(180deg, rgba(33, 14, 21, 0.78), rgba(20, 16, 31, 0.88));
  border-radius: var(--radius);
  overflow: hidden;
}

.hud-panel::before,
.pricing-card::before,
.feature-card::before,
.stat-card::before,
.region-row::before,
.waitlist-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(251, 48, 72, 0.18), transparent 18%) top left,
    linear-gradient(315deg, rgba(26, 197, 176, 0.12), transparent 18%) bottom right;
  background-repeat: no-repeat;
}

.hero-panel {
  padding: 1.3rem;
  box-shadow: var(--shadow-cyan);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.metric-card {
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid rgba(253, 245, 0, 0.16);
  border-radius: 14px;
  background: rgba(4, 10, 16, 0.42);
}

.metric-value {
  font-family: "Orbitron", monospace;
  font-size: 1.9rem;
  color: var(--yellow);
}

.metric-label {
  margin-top: 0.45rem;
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 2.2rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--yellow);
}

.section-heading p {
  max-width: 62ch;
  margin: 0 auto;
  line-height: 1.8;
}

.pricing-grid,
.features-grid,
.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-yellow);
}

.pricing-card.featured {
  transform: translateY(-4px);
  border-color: rgba(253, 245, 0, 0.44);
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(253, 245, 0, 0.35);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.plan-description {
  margin: 0 0 1rem;
  line-height: 1.7;
  min-height: 3.2rem;
}

.plan-price {
  margin-bottom: 1.2rem;
  font-family: "Orbitron", monospace;
  font-size: 2.1rem;
  font-weight: 800;
}

.plan-price small {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.plan-features {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 0 1.3rem;
  margin: 0 0 1.1rem;
  list-style: none;
  border-top: 1px solid rgba(93, 244, 254, 0.12);
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.6;
}

.plan-feature::before {
  content: "▣";
  color: var(--cyan);
  margin-top: 0.1rem;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.3rem;
  box-shadow: var(--shadow-cyan);
}

.feature-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: rgba(4, 10, 16, 0.4);
}

.feature-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  color: var(--yellow);
  font-size: 1.15rem;
}

.feature-description {
  margin: 0;
  line-height: 1.8;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.4rem;
}

.stat-card {
  padding: 1.1rem;
  box-shadow: var(--shadow-blue);
}

.stat-label {
  margin-bottom: 0.5rem;
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-value {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  color: var(--yellow);
}

.status-panel {
  padding: 1.2rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-header h3 {
  margin: 0;
  color: var(--yellow);
  font-size: 1.3rem;
}

.regions-list {
  display: grid;
  gap: 0.8rem;
}

.region-row {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.region-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 5.25rem;
}

.status-dot {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  box-shadow: 0 0 10px currentColor;
}

.status-pill.online {
  color: var(--green);
}

.status-pill.offline {
  color: var(--red-1);
}

.status-pill.warning {
  color: var(--yellow);
}

.region-code {
  color: var(--yellow);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.region-name {
  color: var(--cyan);
  font-weight: 700;
}

.region-latency,
.region-uptime {
  font-size: 0.9rem;
}

.region-uptime {
  color: var(--green);
}

.site-footer {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.95rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(93, 244, 254, 0.2);
  border-radius: 999px;
  background: rgba(4, 10, 16, 0.42);
}

.waitlist-panel {
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-yellow);
}

.waitlist-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.waitlist-form input {
  flex: 1 1 320px;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(253, 245, 0, 0.28);
  border-radius: 999px;
  background: rgba(4, 10, 16, 0.6);
  color: var(--yellow);
  outline: none;
  box-shadow: inset 0 0 12px rgba(253, 245, 0, 0.04);
}

.waitlist-form input::placeholder {
  color: rgba(253, 245, 0, 0.4);
}

.waitlist-form input:focus {
  border-color: rgba(26, 197, 176, 0.5);
  box-shadow: var(--shadow-cyan);
}

.waitlist-message {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
}

.waitlist-message.success {
  color: var(--green);
}

.waitlist-message.error {
  color: var(--red-1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(93, 244, 254, 0.12);
  color: rgba(93, 244, 254, 0.52);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-noise,
.scanline-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.8px, transparent 0.8px);
  background-size: 4px 4px;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  z-index: 9998;
}

.scanline-overlay {
  background: repeating-linear-gradient(
    180deg,
    rgba(253, 245, 0, 0.04) 0,
    rgba(253, 245, 0, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.18;
  animation: scanline 8s linear infinite;
  z-index: 9999;
}

.color-yellow {
  color: var(--yellow);
}

.color-cyan {
  color: var(--cyan);
}

.color-blue {
  color: var(--blue);
}

.color-pink {
  color: var(--pink);
}

.color-green {
  color: var(--green);
}

.color-magenta {
  color: var(--magenta);
}

@keyframes glitch-a {
  0%, 100% { transform: translate(1px, 0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 1px); }
}

@keyframes glitch-b {
  0%, 100% { transform: translate(-1px, 0); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 1px); }
}

@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes scanline {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .pricing-grid,
  .features-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .mobile-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(93, 244, 254, 0.2);
    border-radius: 18px;
    background: rgba(4, 10, 16, 0.96);
    box-shadow: var(--shadow-cyan);
  }

  .site-nav.is-open {
    display: flex;
  }

  .pricing-grid,
  .features-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .region-row,
  .footer-bottom,
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}
