:root {
  --bg: #040914;
  --bg-2: #09101d;
  --surface: rgba(8, 17, 32, 0.82);
  --surface-strong: rgba(10, 20, 36, 0.94);
  --surface-alt: rgba(6, 13, 24, 0.98);
  --text: #f3f7ff;
  --muted: #98a9c4;
  --line: rgba(151, 177, 214, 0.14);
  --brand: #79f0d2;
  --brand-2: #68a8ff;
  --accent: #8c7bff;
  --glow: rgba(104, 168, 255, 0.16);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(104, 168, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(140, 123, 255, 0.12), transparent 18%),
    radial-gradient(circle at 50% 120%, rgba(121, 240, 210, 0.08), transparent 26%),
    linear-gradient(180deg, #02060d 0%, var(--bg) 35%, var(--bg-2) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.glow-a {
  top: -10rem;
  left: -8rem;
  background: rgba(108, 227, 193, 0.16);
}

.glow-b {
  right: -10rem;
  top: 12rem;
  background: rgba(125, 184, 255, 0.16);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 17, 31, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(154, 182, 218, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06111d;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(108, 227, 193, 0.08);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}

nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero,
.section {
  padding: 5rem 0;
}

.hero {
  padding-top: 6rem;
}

.hero-grid,
.split,
.footer-row,
.cta-box {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 11ch;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}

.actions,
.contact-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.actions {
  margin-top: 1.75rem;
}

.hero-metrics {
  margin-top: 1.4rem;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #08111f;
  box-shadow: 0 16px 40px rgba(108, 227, 193, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  border-color: rgba(108, 227, 193, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.glass-panel,
.card,
.cta-box,
.visual-shell,
.feature-card,
.metric {
  background: linear-gradient(180deg, rgba(9, 19, 35, 0.9), rgba(5, 12, 23, 0.88));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card,
.feature-card,
.metric,
.hero-visual .floating-note,
.cta-box {
  position: relative;
  overflow: hidden;
}

.card::before,
.feature-card::before,
.metric::before,
.cta-box::before,
.visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}

.card::after,
.feature-card::after,
.metric::after,
.cta-box::after,
.visual-shell::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.75rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 240, 210, 0.35), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
}

.metric {
  padding: 1rem 1.1rem;
  min-width: 0;
  height: 100%;
}

.metric strong {
  display: block;
  margin-bottom: 0.2rem;
}

.metric span,
.card p,
.feature-card p,
.site-footer p {
  color: var(--muted);
}

.hero-visual {
  min-height: 28rem;
}

.visual-shell {
  padding: 1rem;
  min-height: 27rem;
}

.visual-topbar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.visual-topbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

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

.dashboard-card {
  min-height: 10rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(154, 182, 218, 0.12);
}

.dashboard-card p {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.dashboard-card strong {
  display: block;
  font-size: 1.5rem;
}

.dashboard-card.wide {
  grid-column: 1 / -1;
}

.mini-bars,
.signal-lines {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  margin-top: 1rem;
}

.mini-bars span,
.signal-lines span {
  display: block;
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  animation: drift 4s ease-in-out infinite;
}

.mini-bars span:nth-child(1) { height: 2.2rem; }
.mini-bars span:nth-child(2) { height: 3.8rem; }
.mini-bars span:nth-child(3) { height: 2.9rem; }
.mini-bars span:nth-child(4) { height: 4.7rem; }

.signal-lines span:nth-child(1) { height: 1.2rem; animation-delay: 0s; }
.signal-lines span:nth-child(2) { height: 2.4rem; animation-delay: 0.2s; }
.signal-lines span:nth-child(3) { height: 3.4rem; animation-delay: 0.4s; }
.signal-lines span:nth-child(4) { height: 2rem; animation-delay: 0.6s; }
.signal-lines span:nth-child(5) { height: 4.1rem; animation-delay: 0.8s; }

.ring {
  width: 5.5rem;
  height: 5.5rem;
  margin-top: 1rem;
  border-radius: 999px;
  border: 9px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--brand);
  border-right-color: var(--brand-2);
  animation: spin 8s linear infinite;
}

.floating {
  animation: float 7s ease-in-out infinite;
}

.floating-note {
  position: absolute;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.section-heading {
  max-width: 60rem;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

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

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
}

.icon-chip {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(125, 184, 255, 0.12);
  color: var(--brand);
  font-size: 1.15rem;
}

.alt-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(104, 168, 255, 0.035));
  border-top: 1px solid rgba(154, 182, 218, 0.07);
  border-bottom: 1px solid rgba(154, 182, 218, 0.07);
}

.split,
.footer-row,
.cta-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.feature-split {
  align-items: center;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem;
}

.feature-card span,
.numbered span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(108, 227, 193, 0.12);
  color: var(--brand);
  font-weight: 700;
}

.hero-card ul,
.checklist {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.hero-card li,
.checklist li {
  margin-bottom: 0.75rem;
}

.compact li {
  margin-bottom: 0.5rem;
}

.cta {
  padding-bottom: 6rem;
}

.cta-box {
  padding: 2rem;
}

.contact-direct {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.contact-direct span,
.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-direct a {
  color: var(--brand);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(151, 177, 214, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(152, 169, 196, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(121, 240, 210, 0.5);
  box-shadow: 0 0 0 3px rgba(121, 240, 210, 0.08);
}

.full-width {
  grid-column: 1 / -1;
}

.contact-form-actions {
  margin-top: 0.25rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(154, 182, 218, 0.08);
}

.site-footer a {
  justify-self: end;
  align-self: center;
  color: var(--brand);
  font-weight: 600;
}

.reveal,
.reveal-delay,
.reveal-delay-2,
.reveal-delay-3 {
  animation: rise 0.85s ease both;
}

.reveal-delay { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

.pulse-card {
  animation: pulseGlow 3.8s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  0%, 100% { transform: scaleY(0.92); opacity: 0.85; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(154, 182, 218, 0.08), 0 0 0 rgba(108, 227, 193, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(154, 182, 218, 0.14), 0 0 30px rgba(108, 227, 193, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .three-up,
  .two-up,
  .four-up,
  .split,
  .footer-row,
  .cta-box,
  .form-grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .hero,
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

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

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

  .note-one {
    position: static;
    margin-top: 1rem;
  }

  .site-footer a {
    justify-self: start;
  }
}
