:root {
  --bg: #07111f;
  --bg-deep: #050b14;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(167, 207, 255, 0.18);
  --text: #f4f8ff;
  --muted: #afbdd2;
  --muted-strong: #d8e5f7;
  --blue: #4aa8ff;
  --cyan: #61dafb;
  --violet: #9d7cff;
  --green: #39e98c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 16% 8%, rgba(74, 168, 255, 0.22), transparent 29rem),
    radial-gradient(circle at 86% 18%, rgba(157, 124, 255, 0.17), transparent 31rem),
    radial-gradient(circle at 52% 88%, rgba(97, 218, 251, 0.08), transparent 28rem),
    linear-gradient(135deg, var(--bg), var(--bg-deep) 62%, #101427);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
}

a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 108px 0; scroll-margin-top: 96px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.74);
  backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 30px rgba(74, 168, 255, 0.32); font-size: 0.95rem; }
.nav__links { display: flex; gap: 24px; color: var(--muted); font-size: 0.95rem; }
.nav__links a, .nav__button, .button { transition: color .2s ease, transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:focus-visible, .nav__button:focus-visible, .button:focus-visible, .logo:focus-visible { outline: 3px solid rgba(97, 218, 251, 0.72); outline-offset: 5px; border-radius: 999px; }
.nav__button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(97, 218, 251, 0.34);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(74, 168, 255, 0.12);
  font-weight: 700;
}
.nav__button:hover, .button:hover { transform: translateY(-2px); border-color: rgba(97, 218, 251, 0.68); box-shadow: 0 12px 32px rgba(74, 168, 255, 0.16); }

.hero { padding-top: 96px; }
.hero__grid, .infrastructure__grid, .status-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
h1, h2, h3 { margin-top: 0; color: var(--text); }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -0.07em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.05em; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
.hero__lead { max-width: 680px; color: var(--muted-strong); font-size: clamp(1.1rem, 2vw, 1.45rem); }
.hero__text, .infrastructure p, .notice p, .card p, .section__heading p, .process__item p, .status-summary { color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button--primary { border-color: transparent; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 16px 40px rgba(74, 168, 255, .22); }
.button--secondary { background: rgba(255, 255, 255, .06); }
.hero__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 34px 0 0; }
.hero__badges div { border: 1px solid var(--border); border-radius: 20px; padding: 14px; background: rgba(255, 255, 255, 0.055); }
.hero__badges dt { color: var(--muted); font-size: 0.78rem; }
.hero__badges dd { margin: 3px 0 0; color: var(--text); font-weight: 800; }

.hero__visual { min-height: 430px; display: grid; place-items: center; }
.cloud-orbit { position: relative; width: min(100%, 480px); aspect-ratio: 1.18; overflow: hidden; border: 1px solid var(--border); border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: var(--shadow), inset 0 0 80px rgba(74,168,255,.12); }
.cloud-orbit::after { content: ""; position: absolute; inset: auto 12% 8% 12%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse, rgba(97, 218, 251, 0.18), transparent 68%); filter: blur(14px); }
.orbital-ring { position: absolute; inset: 11%; border: 1px solid rgba(97, 218, 251, 0.16); border-radius: 50%; transform: rotate(-18deg); }
.orbital-ring--inner { inset: 24%; border-color: rgba(157, 124, 255, 0.22); transform: rotate(22deg); }
.network { position: absolute; inset: 5%; width: 90%; height: 90%; fill: none; stroke: url(#lineGradient); stroke-width: 2; opacity: .65; filter: drop-shadow(0 0 10px rgba(97,218,251,.45)); }
.node { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 26px var(--cyan); animation: pulse 3.2s ease-in-out infinite; }
.node--one { left: 18%; top: 28%; } .node--two { right: 18%; top: 25%; animation-delay: .5s; } .node--three { left: 26%; bottom: 24%; animation-delay: .9s; } .node--four { right: 24%; bottom: 28%; animation-delay: 1.3s; }
.server-stack { position: absolute; left: 50%; top: 50%; z-index: 1; width: 210px; display: grid; gap: 14px; transform: translate(-50%, -50%); }
.server-stack span { height: 54px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: linear-gradient(90deg, rgba(97,218,251,.18), rgba(157,124,255,.22)); box-shadow: 0 18px 36px rgba(0,0,0,.24); }
.server-stack span::after { content: ""; display: block; width: 42px; height: 8px; margin: 23px 0 0 22px; border-radius: 999px; background: rgba(57,233,140,.9); box-shadow: 0 0 18px rgba(57,233,140,.8); }

.section__heading { max-width: 760px; margin-bottom: 32px; }
.cards, .process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .metric, .status-card, .notice, .process__item {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.card { padding: 28px; min-height: 250px; }
.card__icon {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 30px rgba(74, 168, 255, .32);
}
.card__icon::before,
.card__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}
.card__icon--technology { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.card__icon--security { background: linear-gradient(135deg, #2f7bff, var(--cyan)); }
.card__icon--scale { background: linear-gradient(135deg, #6df4d6, var(--violet)); }
.card__icon--uptime::before {
  width: 22px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -2px);
}
.card__icon--technology::before {
  width: 21px;
  height: 21px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}
.card__icon--technology::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    -15px 0 0 rgba(255, 255, 255, 0.75),
    15px 0 0 rgba(255, 255, 255, 0.75),
    0 -15px 0 rgba(255, 255, 255, 0.75),
    0 15px 0 rgba(255, 255, 255, 0.75);
}
.card__icon--security::before {
  width: 22px;
  height: 26px;
  border-radius: 12px 12px 14px 14px;
  background: rgba(255, 255, 255, 0.88);
  clip-path: polygon(50% 0, 94% 17%, 86% 74%, 50% 100%, 14% 74%, 6% 17%);
}
.card__icon--security::after {
  width: 8px;
  height: 8px;
  top: -2px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(57, 233, 140, 0.9);
}
.card__icon--scale::before {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(-45deg) translate(-1px, 3px);
}
.card__icon--scale::after {
  width: 18px;
  height: 18px;
  right: 7px;
  bottom: 7px;
  border-right: 3px solid rgba(255, 255, 255, 0.9);
  border-bottom: 3px solid rgba(255, 255, 255, 0.9);
}
.metrics { display: grid; gap: 16px; }
.metric { padding: 24px; background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.055)); }
.metric strong { display: block; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.05em; }
.metric span { color: var(--muted); }
.operations { position: relative; }
.process { grid-template-columns: repeat(3, 1fr); }
.process__item { padding: 28px; }
.process__item span { display: inline-flex; margin-bottom: 18px; color: var(--cyan); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.12em; }
.status-card, .notice { padding: 32px; }
.status-summary { margin-bottom: 0; }
.status-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.status-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; color: #d7e4f8; }
.status-list strong { color: var(--green); font-size: .95rem; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(57,233,140,.95); }
.status-updated { margin: 24px 0 0; color: var(--muted); font-size: 0.92rem; }
.notice { align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(157, 124, 255, 0.13), rgba(255, 255, 255, 0.055)); }
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 30px 0; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.35); opacity: 1; } }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: 14px 0; }
  .nav__links { order: 3; width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
  .hero__grid, .infrastructure__grid, .status-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 82px 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav__button { display: none; }
  .nav__links { font-size: .86rem; }
  .hero { padding-top: 64px; }
  .hero__badges, .process { grid-template-columns: 1fr; }
  .hero__visual { min-height: 310px; }
  .cloud-orbit { border-radius: 30px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .status-list li { grid-template-columns: auto 1fr; }
  .status-list strong { grid-column: 2; }
}

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