:root {
  --bg: #06070b;
  --bg-elevated: rgba(14, 17, 24, 0.82);
  --panel: rgba(10, 14, 20, 0.72);
  --panel-strong: rgba(18, 22, 29, 0.94);
  --text: #f3f5f8;
  --text-dim: #aab2c0;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #40d8ff;
  --magenta: #ff4ac4;
  --violet: #684dff;
  --amber: #ffb347;
  --green: #62ff98;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(104, 77, 255, 0.16), transparent 32%),
    radial-gradient(circle at left 20%, rgba(64, 216, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #030409 0%, #070910 100%);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.1rem 0 0;
}

.subtle-mark,
.footer-mark {
  margin: 0;
  color: var(--text-dim);
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.hero {
  position: relative;
  min-height: clamp(34rem, 72vh, 44rem);
  display: grid;
  align-items: center;
  padding: 4rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(4, 5, 9, 0.98), rgba(5, 7, 11, 0.96)),
    radial-gradient(circle at 76% 26%, rgba(104, 77, 255, 0.18), transparent 26%),
    radial-gradient(circle at 58% 18%, rgba(64, 216, 255, 0.1), transparent 24%);
  border-radius: 10px;
}

.hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  border-radius: 10px;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  background: #05060a;
  box-shadow: var(--shadow);
}

.hero-grid {
  background:
    linear-gradient(90deg, rgba(3, 5, 9, 0.97) 0%, rgba(3, 5, 9, 0.88) 32%, rgba(3, 5, 9, 0.34) 57%, rgba(3, 5, 9, 0.54) 100%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.38) 0%, rgba(3, 4, 7, 0) 28%, rgba(3, 4, 7, 0.36) 100%),
    radial-gradient(circle at 75% 24%, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.7), transparent 44%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: 2rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.future-card h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 8vw, 6.8rem);
  max-width: none;
  white-space: nowrap;
}

.hero-copy {
  margin: 1rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  max-width: 22ch;
}

.hero-note {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.section {
  padding: 6.5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.section h2,
.future-card h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  max-width: 12ch;
}

.mode-grid,
.current-grid,
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.mode-card,
.current-card,
.business-card,
.future-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 15, 22, 0.85), rgba(8, 10, 15, 0.92));
  box-shadow: var(--shadow);
}

.mode-card::before,
.current-card::before,
.future-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 50%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}

.mode-card-day::before {
  background: var(--cyan);
}

.mode-card-booked::before {
  background: var(--amber);
}

.mode-card-night::before {
  background: var(--magenta);
}

.current-card:nth-child(1)::before {
  background: var(--cyan);
}

.current-card:nth-child(2)::before {
  background: var(--violet);
}

.current-card:nth-child(3)::before {
  background: var(--amber);
}

.mode-index {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--text-dim);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
}

.mode-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mode-card p,
.current-card p,
.business-card p,
.datacenter-copy p,
.future-card p,
.hero-note strong,
.footer-copy {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.datacenter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.4rem;
  align-items: stretch;
}

.current-card h3,
.business-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.current-card strong,
.business-card strong,
.future-card strong {
  color: var(--text);
}

.business-grid {
  align-items: stretch;
}

.business-card {
  background:
    linear-gradient(180deg, rgba(12, 15, 22, 0.88), rgba(8, 10, 15, 0.94)),
    radial-gradient(circle at top right, rgba(64, 216, 255, 0.08), transparent 34%);
}

.business-card a,
.footer-contact a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 0.15em;
}

.datacenter-copy {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.glass-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 360px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(64, 216, 255, 0.08), rgba(104, 77, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--shadow);
}

.rack-column {
  display: grid;
  gap: 0.8rem;
}

.rack-column span {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(32, 37, 46, 0.92), rgba(16, 19, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 46px;
  overflow: hidden;
}

.rack-column span::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 14px;
  width: 9px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(98, 255, 152, 0.98) 0 52%, transparent 54%),
    radial-gradient(circle, rgba(64, 216, 255, 0.95) 0 52%, transparent 54%);
  background-repeat: no-repeat;
  background-size: 8px 8px, 8px 8px;
  background-position: 0 0, 0 15px;
  filter: drop-shadow(0 0 10px rgba(98, 255, 152, 0.45));
}

.rack-column span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 74, 196, 0.18), transparent);
  transform: translateX(-120%);
  animation: rack-sweep 9s linear infinite;
  opacity: 0.45;
}

.rack-column-tall span:nth-child(odd)::after {
  animation-duration: 12s;
}

.glass-reflection {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 18% 48%, rgba(255, 255, 255, 0.05) 63%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.future-card {
  padding: 2rem;
}

.future-card::before {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}

.future-card > * {
  position: relative;
  z-index: 1;
}

.future-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.future-meta div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.future-meta dt {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.future-meta dd {
  margin: 0.45rem 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
}

.footer-copy {
  text-align: right;
}

.footer-contact {
  margin: 0.45rem 0 0;
  color: var(--text-dim);
}

@keyframes rack-sweep {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 38rem;
    padding-top: 5.5rem;
  }

  .mode-grid,
  .current-grid,
  .business-grid,
  .datacenter-layout,
  .future-meta,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--content-width));
  }

  .hero-content,
  .datacenter-copy,
  .mode-card,
  .future-card {
    padding: 1.2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 10.2vw, 3.1rem);
    white-space: normal;
    line-height: 0.98;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
