:root {
  --bg-1: #111524;
  --bg-2: #090a10;
  --surface: rgba(26, 34, 53, 0.40);
  --surface-strong: rgba(15, 23, 42, 0.46);
  --line: rgba(0, 229, 255, 0.15);
  --line-strong: rgba(0, 229, 255, 0.34);
  --text: #f8f9fa;
  --muted: #b0bec5;
  --accent: #4fc3f7;
  --accent-2: #00e5ff;
  --shadow-soft: 0 0 24px rgba(0, 229, 255, 0.10);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.30);
  --radius: 24px;
}
* { 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;
  background:
    radial-gradient(circle at top left, rgba(79, 195, 247, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.10), transparent 24%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 68%);
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  background-image:
    linear-gradient(rgba(79, 195, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 100%);
}
body::after {
  opacity: 0.04;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 18px 18px;
}
.orbit-ring {
  position: fixed;
  border: 1px solid rgba(0, 229, 255, 0.10);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.12));
  pointer-events: none;
}
.ring-a { width: 48vw; height: 48vw; right: -8vw; top: -10vw; }
.ring-b { width: 64vw; height: 64vw; left: -24vw; bottom: -26vw; }
.page {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(79,195,247,0.12), rgba(26,34,53,0.30));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.brand svg,
.icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-2);
  fill: none;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.30));
}
.hero,
.card,
.doc-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero {
  border-radius: 30px;
  padding: 42px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.14), transparent 62%);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,0.16);
  background: rgba(8,12,20,0.30);
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.26);
  backdrop-filter: blur(12px);
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(0,229,255,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,229,255,.45); }
  70% { box-shadow: 0 0 0 14px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 34px;
  align-items: start;
}
h1, h2, h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-size: clamp(40px, 5.8vw, 60px);
  line-height: 1.02;
  text-shadow: 0 0 18px rgba(79,195,247,.16);
  margin-top: 20px;
  max-width: 11ch;
}
h2 { font-size: clamp(24px, 4vw, 34px); }
.hero p,
.lead,
.doc-text p,
.doc-text li,
.doc-subtitle,
.card p { color: var(--muted); line-height: 1.72; }
.hero-copy { max-width: 700px; min-width: 0; padding-top: 8px; padding-left: 4px; }
.metrics {
  display: grid;
  gap: 12px;
  align-content: start;
}
.metric {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(79,195,247,.14);
  background: var(--surface-strong);
  backdrop-filter: blur(12px);
  min-width: 0;
}
.metric strong {
  display: block;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: .04em;
  margin-bottom: 6px;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.26);
}
.metric span { color: var(--text); font-size: 18px; }
.cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.card {
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 328px;
}
.card:hover {
  transform: scale(1.02);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}
.card-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 14px;
  width: 100%;
}

.icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  order: -1;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,.24);
  background: rgba(5,9,18,.28);
  box-shadow: inset 0 0 18px rgba(0,229,255,.06), 0 0 20px rgba(0,229,255,.10);
  backdrop-filter: blur(12px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,229,255,.28);
  color: var(--text);
  background: rgba(0,0,0,.12);
  box-shadow: 0 0 10px rgba(0,229,255,.12);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.24);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}
.btn:hover {
  transform: scale(1.02);
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(79,195,247,.22), rgba(9,10,16,.72));
  box-shadow: var(--shadow-glow);
}
.btn.secondary {
  border-color: rgba(79,195,247,.18);
  color: var(--muted);
  box-shadow: none;
}

.card > p {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  max-width: 34ch;
}

.card .actions {
  margin-top: auto;
  padding-top: 18px;
}

.card .btn {
  min-width: 184px;
}

.card h2 {
  min-width: 0;
  font-size: clamp(20px, 1.72vw, 26px);
  line-height: 1.16;
  max-width: none;
  text-wrap: balance;
  padding-right: 0;
  width: 100%;
}

.metric span,
.hero p,
.card p,
.btn,
.lead {
  overflow-wrap: anywhere;
}

.card h2,
.metric strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  line-break: auto;
}

.metric span {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.doc-layout {
  display: grid;
  gap: 18px;
}
.doc-shell {
  border-radius: 28px;
  padding: 28px;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.doc-title {
  font-size: clamp(30px, 5vw, 52px);
  text-shadow: 0 0 14px rgba(79,195,247,.14);
}
.doc-text h2,
.doc-text h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}
.doc-text ul { padding-left: 20px; }
.doc-text hr {
  border: 0;
  border-top: 1px solid rgba(79,195,247,.16);
  margin: 22px 0;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 312px; }
  .hero, .doc-shell { padding: 26px; }
  .topbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 980px) {
  .hero-copy .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-copy .actions .btn:last-child {
    grid-column: 1 / -1;
  }

  .hero-copy .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .hero-copy .actions {
    grid-template-columns: 1fr;
  }

  .hero-copy .actions .btn:last-child {
    grid-column: auto;
  }
}
@media (max-width: 767px) {
  .page {
    width: min(100% - 20px, 1160px);
    padding: 20px 0 40px;
  }
  .hero, .doc-shell, .card { width: 100%; }
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; }
  .hero {
    padding: 24px;
    border-radius: 24px;
  }
  .doc-shell {
    padding: 24px;
    border-radius: 24px;
  }
  .card { padding: 20px; }
  .card-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 14px;
  width: 100%;
}

