:root {
  --bg: #09111f;
  --bg-soft: #111d33;
  --panel: rgba(9, 17, 31, 0.82);
  --panel-strong: #0f1a2f;
  --line: rgba(184, 211, 255, 0.14);
  --line-strong: rgba(113, 247, 194, 0.28);
  --text: #eff5ff;
  --muted: #9eb0cb;
  --muted-strong: #bfd0ec;
  --green: #71f7c2;
  --blue: #6db7ff;
  --blue-deep: #1b67c9;
  --shadow: 0 24px 80px rgba(2, 7, 15, 0.45);
  --radius: 24px;
  --radius-small: 18px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(113, 247, 194, 0.14), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(109, 183, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #09111f 0%, #0c1730 48%, #09101d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    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: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 85%);
}

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

button {
  font: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  background: rgba(9, 17, 31, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brandMark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(113, 247, 194, 0.24), rgba(109, 183, 255, 0.28));
  border: 1px solid rgba(113, 247, 194, 0.34);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brandWord,
.sectionKicker,
.eyebrow,
.windowLabel,
.signalLabel,
.priceName {
  font-family: "Space Grotesk", sans-serif;
}

.brandWord {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brandNote {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.navlinks,
.actions,
.heroMeta,
.heroActions,
.priceActions,
.ctaActions,
.footLinks {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navlinks {
  gap: 6px;
}

.navlinks a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted-strong);
}

.navlinks a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--green), #57ddb3);
  color: #04121c;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(113, 247, 194, 0.2);
}

.btn.secondary,
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn.secondary:hover,
.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger span + span {
  margin-top: 6px;
}

.mobileMenu {
  display: none;
  padding-bottom: 18px;
}

.mobileMenu.open {
  display: grid;
  gap: 10px;
}

.mobileMenu a {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero,
.section,
.proof {
  padding: 34px 0;
}

.hero {
  padding-top: 56px;
}

.heroGrid,
.moduleGrid,
.useCaseGrid,
.compareGrid,
.journeyGrid,
.priceGrid,
.statGrid {
  display: grid;
  gap: 18px;
}

.heroGrid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
}

.heroCopy,
.heroPanel,
.compareShell,
.cta,
.statCard,
.moduleCard,
.useCaseCard,
.compareCard,
.journeyCard,
.priceCard {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 29, 51, 0.72), rgba(9, 17, 31, 0.92));
  box-shadow: var(--shadow);
}

.heroCopy,
.cta {
  border-radius: calc(var(--radius) + 8px);
}

.heroCopy {
  padding: 42px;
}

.eyebrow,
.sectionKicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(113, 247, 194, 0.24);
  background: rgba(113, 247, 194, 0.08);
  color: var(--green);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
.windowLabel {
  margin: 0;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.96;
  max-width: 10ch;
}

.heroSub {
  margin: 22px 0 0;
  max-width: 62ch;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.7;
}

.heroActions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.heroMeta {
  margin-top: 28px;
  flex-wrap: wrap;
}

.metaPill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.heroPanel {
  padding: 18px;
  border-radius: calc(var(--radius) + 12px);
}

.heroCopy::after,
.heroPanel::after,
.cta::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 247, 194, 0.2), transparent 65%);
}

.panelWindow {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    rgba(5, 11, 23, 0.88);
  padding: 18px;
}

.windowTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.windowDots {
  display: flex;
  gap: 6px;
}

.windowDots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.windowDots span:first-child {
  background: #ff7b72;
}

.windowDots span:nth-child(2) {
  background: #ffd166;
}

.windowDots span:last-child {
  background: #71f7c2;
}

.windowLabel {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.signalGrid {
  display: grid;
  gap: 12px;
}

.signalCard {
  padding: 18px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.signalCardAccent {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(113, 247, 194, 0.1), rgba(109, 183, 255, 0.08));
}

.signalLabel {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signalCard strong,
.statCard strong,
.priceCard strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.signalCard p,
.streamRow,
.statCard p,
.moduleCard p,
.useCaseCard p,
.compareIntro p,
.compareList,
.journeyCard p,
.priceCard p,
.sectionHead p,
.cta p,
.foot p {
  color: var(--muted);
  line-height: 1.65;
}

.eventStream {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.streamRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.streamTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.streamTag.ok {
  background: rgba(113, 247, 194, 0.12);
  color: var(--green);
}

.streamTag.info {
  background: rgba(109, 183, 255, 0.12);
  color: var(--blue);
}

.statGrid,
.moduleGrid,
.journeyGrid,
.priceGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statCard,
.moduleCard,
.priceCard {
  border-radius: var(--radius);
  padding: 24px;
}

.statCard span,
.priceName {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sectionAlt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.sectionHead h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 13ch;
}

.sectionHead p {
  max-width: 56ch;
}

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

.moduleCard {
  min-height: 220px;
}

.cardIndex,
.journeyStep {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(109, 183, 255, 0.12);
  border: 1px solid rgba(109, 183, 255, 0.2);
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.moduleCard h3,
.useCaseCard h3,
.compareCard h3,
.journeyCard h3,
.priceCard strong,
.cta h2 {
  margin-top: 18px;
}

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

.useCaseCard,
.compareCard,
.journeyCard {
  padding: 26px;
  border-radius: var(--radius);
}

.useCaseCard a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--green);
  font-weight: 700;
}

.compareShell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px;
  border-radius: calc(var(--radius) + 8px);
}

.compareIntro,
.compareGrid {
  padding: 18px;
}

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

.compareCardHighlight {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 46, 53, 0.88), rgba(9, 17, 31, 0.92));
}

.compareList {
  margin: 18px 0 0;
  padding-left: 18px;
}

.compareList li + li {
  margin-top: 12px;
}

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

.journeyCard {
  min-height: 220px;
}

.priceCardFeatured {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(21, 49, 58, 0.9), rgba(11, 24, 38, 0.95));
}

.priceActions {
  margin-top: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.cta h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  max-width: 15ch;
}

.cta p {
  max-width: 56ch;
}

footer {
  padding: 18px 0 42px;
}

.foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot p {
  margin: 8px 0 0;
}

.footLinks {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footLinks a {
  color: var(--muted-strong);
}

@media (max-width: 1080px) {
  .heroGrid,
  .compareShell {
    grid-template-columns: 1fr;
  }

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

  .statGrid,
  .useCaseGrid,
  .priceGrid,
  .compareGrid {
    grid-template-columns: 1fr;
  }

  .sectionHead,
  .cta,
  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 24px));
  }

  .navlinks,
  .actions .ghost {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .heroCopy,
  .heroPanel,
  .statCard,
  .moduleCard,
  .useCaseCard,
  .compareCard,
  .journeyCard,
  .priceCard,
  .cta {
    padding: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .heroActions,
  .heroMeta,
  .ctaActions,
  .priceActions,
  .footLinks {
    width: 100%;
  }

  .heroActions .btn,
  .ctaActions .btn,
  .priceActions .btn {
    width: 100%;
  }

  .moduleGrid,
  .journeyGrid {
    grid-template-columns: 1fr;
  }

  .streamRow {
    align-items: flex-start;
    flex-direction: column;
  }
}
