:root {
  --obsidian: #05070D;
  --deep-navy: #08111F;
  --cloud-blue: #1677FF;
  --electric-cyan: #19D9FF;
  --pearl: #F4F7FB;
  --silver: #A7B2C5;
  --violet: #7957FF;
  --success: #36E0A0;
  --border: rgba(255, 255, 255, 0.10);
  --border-bright: rgba(25, 217, 255, 0.28);
  --glass: rgba(8, 17, 31, 0.62);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --nav-h: 84px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  color-scheme: dark;
}

html.reduce-motion {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--pearl);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(25, 217, 255, 0.28);
  color: var(--pearl);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--cloud-blue);
  border-radius: 10px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  margin: 18px 0 22px;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  margin: 12px 0 18px;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pearl) 10%, var(--electric-cyan) 55%, var(--cloud-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 12px var(--electric-cyan);
}

.lede {
  color: var(--silver);
  font-size: 1.06rem;
  max-width: 34em;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(120deg, var(--electric-cyan), var(--cloud-blue));
  color: #041018;
  box-shadow: 0 10px 30px rgba(22, 119, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(25, 217, 255, 0.32);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--pearl);
}

.btn-ghost:hover {
  border-color: var(--border-bright);
  background: rgba(25, 217, 255, 0.06);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  padding: 11px 18px;
  font-size: 0.86rem;
}

.btn:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1180px);
  z-index: 100;
  border-radius: 22px;
  background: rgba(5, 7, 13, 0.28);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav.is-scrolled {
  background: rgba(8, 17, 31, 0.82);
  border-color: var(--border-bright);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(25, 217, 255, 0.08), 0 0 32px rgba(25, 217, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.02rem;
  line-height: 1;
}

.logo-tld {
  font-size: 0.72em;
  color: var(--electric-cyan);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--silver);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--electric-cyan);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover {
  color: var(--pearl);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--pearl);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), top 0.45s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav.is-open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 7, 13, 0.96);
  backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  padding: 100px 32px 40px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mobile-menu .btn {
  margin-top: 12px;
  align-self: flex-start;
  font-size: 1rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) var(--gutter) 48px;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(22, 119, 255, 0.12), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(121, 87, 255, 0.08), transparent 50%),
    linear-gradient(180deg, var(--deep-navy), var(--obsidian) 70%);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  color: var(--silver);
  font-size: 0.86rem;
}

.hero-pills li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.core-stage {
  position: relative;
}

.topology-svg,
.control-core {
  width: 100%;
  height: auto;
  overflow: visible;
}

.orbit,
.core-ring {
  transform-box: view-box;
  transform-origin: 280px 268px;
}

.orbit {
  animation: spin 48s linear infinite;
}

.orbit-b {
  animation-duration: 72s;
  animation-direction: reverse;
}

.orbit-c {
  animation-duration: 96s;
}

.core-ring {
  transform-origin: 280px 268px;
  animation: spin 22s linear infinite;
}

.inode-core {
  fill: var(--electric-cyan);
  filter: url(#nodeGlow);
}

.inode-pulse {
  fill: rgba(25, 217, 255, 0.08);
  stroke: rgba(25, 217, 255, 0.22);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 4.8s var(--ease) infinite;
}

.inode:nth-child(3n) .inode-pulse { animation-delay: 0.6s; }
.inode:nth-child(3n+1) .inode-pulse { animation-delay: 1.4s; }
.inode:nth-child(4n) .inode-pulse { animation-delay: 2.2s; }

.inode text {
  fill: var(--silver);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.packet {
  fill: #19D9FF;
  filter: drop-shadow(0 0 4px #19D9FF);
}

/* ---------- TRUST ---------- */
.trust {
  padding: 28px var(--gutter) 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.6), transparent);
}

.trust-statement {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 32px;
}

.trust-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pearl);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-row svg {
  width: 22px;
  height: 22px;
  color: var(--electric-cyan);
}

/* ---------- SERVICES ---------- */
.services {
  padding: 110px var(--gutter);
}

.services-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "a core d"
    "b core e"
    "c core f";
  gap: 18px 28px;
  align-items: center;
}

.service-item:nth-child(1) { grid-area: a; }
.service-item:nth-child(2) { grid-area: b; }
.service-item:nth-child(3) { grid-area: c; }
.services-core { grid-area: core; }
.service-item:nth-child(5) { grid-area: d; }
.service-item:nth-child(6) { grid-area: e; }
.service-item:nth-child(7) { grid-area: f; }

.service-item {
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.service-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.svc-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--electric-cyan);
  margin-bottom: 10px;
}

.service-item h3 {
  margin-bottom: 8px;
}

.service-item p {
  color: var(--silver);
  font-size: 0.94rem;
}

.services-core {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.layer-diagram {
  width: min(320px, 100%);
  animation: floaty 8s ease-in-out infinite;
}

/* ---------- WATCH / TIMELINE ---------- */
.watch {
  padding: 110px var(--gutter);
  background:
    radial-gradient(700px 300px at 50% 100%, rgba(22, 119, 255, 0.1), transparent 60%),
    var(--deep-navy);
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
}

.timeline-track {
  position: relative;
  padding: 28px 0 12px;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), var(--violet), var(--border-bright), transparent);
}

.timeline-signal {
  position: absolute;
  top: 34px;
  left: 4%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 18px var(--electric-cyan);
  animation: travel 10s var(--ease) infinite;
  z-index: 2;
}

.timeline-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}

.timeline-stages li {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--silver);
  padding-top: 36px;
  position: relative;
  transition: color 0.4s var(--ease);
}

.timeline-stages li::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--deep-navy);
  border: 1px solid var(--electric-cyan);
}

.timeline-stages li.is-active {
  color: var(--pearl);
}

.timeline-stages li.is-active::before {
  background: var(--electric-cyan);
  box-shadow: 0 0 16px var(--electric-cyan);
}

.timeline-events {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.timeline-events li {
  font-size: 0.86rem;
  color: var(--silver);
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}

.timeline-events li.is-active {
  opacity: 1;
  color: var(--pearl);
  border-color: var(--border-bright);
  background: rgba(25, 217, 255, 0.05);
}

/* ---------- MULTI-CLOUD ---------- */
.multicloud {
  padding: 110px var(--gutter);
}

.multicloud-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.topology-svg {
  width: 100%;
  overflow: visible;
}

.topo-hub circle:first-child {
  filter: drop-shadow(0 0 18px rgba(25, 217, 255, 0.25));
}

/* ---------- SECURITY ---------- */
.security {
  padding: 110px var(--gutter);
  background:
    radial-gradient(600px 400px at 70% 50%, rgba(121, 87, 255, 0.1), transparent 55%),
    var(--deep-navy);
}

.security-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.security-grid .section-head {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.shield-wrap {
  position: relative;
}

.shield-svg {
  width: min(420px, 100%);
  margin: 0 auto;
}

.scan-line {
  animation: scan 3.8s ease-in-out infinite;
}

.shield-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.shield-labels li {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
}

.sec-status {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sec-status li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.sec-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sec-status .live {
  background: var(--electric-cyan);
  box-shadow: 0 0 10px var(--electric-cyan);
  animation: blink 1.8s ease-in-out infinite;
}

.sec-status .ok {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

/* ---------- OPTIMIZE ---------- */
.optimize {
  padding: 110px var(--gutter);
}

.optimize .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.optimize .lede {
  margin: 0 auto;
}

.before-after {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.state {
  padding: 28px 26px;
  border-radius: 22px;
  min-height: 320px;
}

.state h3 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.state ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--silver);
}

.state-before {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.state-before li {
  text-decoration: line-through;
  text-decoration-color: rgba(167, 178, 197, 0.35);
}

.state-after {
  border: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(25, 217, 255, 0.08), rgba(22, 119, 255, 0.04));
}

.state-after li {
  color: var(--pearl);
}

.transform-line {
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, rgba(167, 178, 197, 0.3), var(--electric-cyan));
  position: relative;
}

.transform-pearl {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 16px var(--electric-cyan);
  transform: translate(-50%, -50%);
  animation: pearlRun 2.8s var(--ease) infinite;
}

/* ---------- GLOBAL ---------- */
.global {
  position: relative;
  min-height: 620px;
  padding: 90px var(--gutter);
  overflow: hidden;
  background: #03050a;
}

.world {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.world canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.global-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.global-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.global-copy h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--silver);
  margin: 18px 0 28px;
}

.global-cycle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--pearl);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.global-cycle li + li::before {
  content: "·";
  margin-right: 18px;
  color: var(--electric-cyan);
}

/* ---------- WHY ---------- */
.why {
  padding: 110px var(--gutter);
}

.why-list {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.why-item {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.why-item:last-child {
  border-bottom: 1px solid var(--border);
}

.why-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 217, 255, 0.45);
}

.why-item h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.why-item p {
  color: var(--silver);
  max-width: 38em;
}

.why-visual {
  width: 120px;
  height: 120px;
  position: relative;
  justify-self: end;
}

.pulse-ring,
.pulse-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
}

.pulse-core {
  background: var(--electric-cyan);
  box-shadow: 0 0 20px var(--electric-cyan);
}

.pulse-ring {
  inset: 10%;
  border: 1px solid var(--electric-cyan);
  animation: nodePulse 2.6s var(--ease) infinite;
}

.shield-mini {
  background: radial-gradient(circle at 50% 40%, rgba(25, 217, 255, 0.2), transparent 60%);
}

.shield-mini::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid var(--electric-cyan);
  clip-path: polygon(50% 0, 100% 22%, 100% 62%, 50% 100%, 0 62%, 0 22%);
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric-cyan), transparent);
  top: 48%;
}

.spark::after {
  transform: rotate(90deg);
}

.resilience {
  display: grid;
  place-items: center;
}

.resilience .pulse-ring,
.resilience .pulse-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
}

.resilience .pulse-core {
  inset: 38%;
  background: var(--success);
  box-shadow: 0 0 20px var(--success);
}

.resilience .pulse-ring {
  inset: 10%;
  border: 1px solid var(--success);
  animation: nodePulse 2.6s var(--ease) infinite;
}

.human {
  border-radius: 50%;
  border: 1px dashed var(--border-bright);
}

.human::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pearl);
  transform: translateX(-50%);
}

.human::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 36px;
  height: 22px;
  border-radius: 18px 18px 4px 4px;
  background: var(--silver);
  transform: translateX(-50%);
}

/* ---------- TECH ---------- */
.tech {
  padding: 40px var(--gutter) 80px;
  text-align: center;
}

.tech-strip {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 10px;
}

.tech-strip li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tech-strip li:hover {
  color: var(--pearl);
  border-color: var(--border-bright);
}

/* ---------- INSIGHTS ---------- */
.insights {
  padding: 40px var(--gutter) 110px;
}

.insight-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.insight {
  padding: 28px 24px;
  border-top: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(25, 217, 255, 0.04), transparent);
}

.insight span {
  display: block;
  color: var(--electric-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.insight h3 {
  margin-bottom: 12px;
}

.insight p {
  color: var(--silver);
}

/* ---------- FINAL CTA ---------- */
.final {
  position: relative;
  padding: 140px var(--gutter);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(800px 500px at 50% 50%, rgba(22, 119, 255, 0.12), #03050a 70%);
}

.final-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(900px, 140vw);
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
}

.final-svg .orbit-a,
.final-svg .orbit-b,
.final-svg .orbit-c {
  transform-box: view-box;
  transform-origin: 400px 400px;
}

.final-svg .orbit-a { animation: spin 40s linear infinite; }
.final-svg .orbit-b { animation: spin 64s linear infinite reverse; }
.final-svg .orbit-c { animation: spin 88s linear infinite; }

.final-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.final-content .hero-actions {
  justify-content: center;
}

.final-content p {
  color: var(--silver);
  font-size: 1.08rem;
}

.final-trust {
  margin-top: 28px;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
.footer-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-cyan), var(--cloud-blue), var(--violet), var(--electric-cyan), transparent);
  background-size: 200% 100%;
  animation: sheen 8s linear infinite;
}

.footer {
  padding: 72px var(--gutter) 32px;
  background: #03050a;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--silver);
  margin-top: 16px;
  max-width: 28em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--pearl);
}

.footer-cols a {
  display: block;
  color: var(--silver);
  font-size: 0.92rem;
  margin: 8px 0;
  transition: color 0.3s var(--ease);
}

.footer-cols a:hover {
  color: var(--electric-cyan);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--silver);
  font-size: 0.84rem;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.reveal.is-in {
  animation: rise 0.9s var(--ease) forwards;
}

/* ---------- KEYFRAMES ---------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 0.15; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes travel {
  0% { left: 4%; }
  100% { left: calc(96% - 18px); }
}

@keyframes pearlRun {
  0% { left: 0; opacity: 0.3; }
  15% { opacity: 1; }
  100% { left: 100%; opacity: 0.2; }
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(360px); opacity: 0; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes sheen {
  to { background-position: 200% 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-grid,
  .multicloud-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .nav .logo-wordmark {
    font-size: 0.92rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .btn-nav {
    display: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .services-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "core core"
      "a d"
      "b e"
      "c f";
  }

  .why-item {
    grid-template-columns: 80px 1fr;
  }

  .why-visual {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .logo-wordmark {
    font-size: 0.9rem;
  }

  .services-layout,
  .insight-row,
  .before-after,
  .timeline-events,
  .timeline-stages,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-areas:
      "core"
      "a" "b" "c" "d" "e" "f";
  }

  .transform-line {
    width: 2px;
    height: 56px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(167, 178, 197, 0.3), var(--electric-cyan));
  }

  .transform-pearl {
    left: 50%;
    top: 0;
    animation-name: pearlRunY;
  }

  .timeline-track::before {
    left: 18px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .timeline-signal {
    left: 10px;
    top: 0;
    animation-name: travelY;
  }

  .timeline-stages li,
  .timeline-events li {
    text-align: left;
    padding-left: 42px;
  }

  .timeline-stages li::before {
    left: 14px;
    top: 38px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  h1 br,
  h2 br {
    display: none;
  }
}

@keyframes pearlRunY {
  0% { top: 0; opacity: 0.3; }
  15% { opacity: 1; }
  100% { top: 100%; opacity: 0.2; }
}

@keyframes travelY {
  0% { top: 0; }
  100% { top: calc(100% - 18px); }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--nav-h) + 36px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .orbit,
  .core-ring,
  .timeline-signal,
  .transform-pearl,
  .scan-line,
  .inode-pulse {
    animation: none !important;
  }
}
