:root {
  --bg: hsl(240, 21%, 7%);
  --bg-soft: hsl(244, 20%, 10%);
  --panel: hsla(244, 27%, 14%, 0.82);
  --panel-strong: hsla(244, 26%, 17%, 0.92);
  --line: hsla(262, 48%, 46%, 0.28);
  --text: hsl(220, 22%, 92%);
  --muted: hsl(228, 14%, 70%);
  --brand: hsl(262, 73%, 27%);
  --brand-bright: hsl(262, 79%, 63%);
  --brand-soft: hsla(262, 79%, 63%, 0.14);
  --cyan: hsl(193, 100%, 69%);
  --success: hsl(151, 71%, 59%);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, hsla(262, 73%, 27%, 0.42), transparent 30%),
    radial-gradient(circle at 80% 18%, hsla(193, 100%, 69%, 0.12), transparent 22%),
    linear-gradient(180deg, hsl(240, 24%, 9%) 0%, hsl(240, 18%, 6%) 48%, hsl(235, 21%, 5%) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
}

body::after {
  background:
    radial-gradient(circle at 12% 10%, hsla(262, 79%, 63%, 0.28), transparent 18%),
    radial-gradient(circle at 88% 72%, hsla(193, 100%, 69%, 0.08), transparent 18%),
    radial-gradient(circle at 50% 100%, hsla(262, 73%, 27%, 0.35), transparent 36%);
  filter: blur(24px);
  z-index: -1;
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(7, 6, 15, 0.86), rgba(7, 6, 15, 0.52));
  border-bottom: 1px solid hsla(262, 44%, 60%, 0.12);
}

.nav-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  background:
    linear-gradient(145deg, hsla(262, 82%, 62%, 0.95), hsla(262, 73%, 27%, 0.95)),
    var(--brand);
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.22),
    0 18px 32px hsla(262, 70%, 30%, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--brand-bright), transparent);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  padding: 76px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin-block: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(261, 81%, 87%);
  background: linear-gradient(180deg, hsla(262, 73%, 27%, 0.35), hsla(262, 73%, 27%, 0.18));
  border: 1px solid hsla(262, 76%, 69%, 0.2);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), hsl(262, 80%, 68%));
  box-shadow: 0 0 18px hsla(193, 100%, 69%, 0.48);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 24px;
  font-size: clamp(3.25rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 11ch;
  overflow-wrap: anywhere;
}

.hero-copy p {
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button {
  color: white;
  background: linear-gradient(135deg, hsl(262, 78%, 58%), hsl(262, 73%, 27%));
  box-shadow: 0 20px 36px hsla(262, 73%, 27%, 0.42);
}

.ghost-button {
  color: var(--text);
  border: 1px solid hsla(262, 74%, 74%, 0.2);
  background: hsla(246, 21%, 17%, 0.72);
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.plan-cta:hover,
.plan-cta:focus-visible {
  transform: translateY(-2px);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 28px 42px hsla(262, 73%, 27%, 0.5);
}

.hero-proof {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: hsla(246, 18%, 15%, 0.62);
  border: 1px solid hsla(262, 44%, 60%, 0.15);
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px hsla(151, 71%, 59%, 0.4);
}

.command-center {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, hsla(244, 27%, 16%, 0.95), hsla(244, 25%, 12%, 0.9)),
    var(--panel);
  border: 1px solid hsla(262, 51%, 62%, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-center::before {
  content: "";
  position: absolute;
  inset: -35% auto auto 60%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(262, 79%, 63%, 0.4), transparent 72%);
  filter: blur(5px);
}

.mock-header,
.mock-card,
.stack-strip,
.metric-grid,
.launch-grid,
.roadmap-grid,
.problem-grid,
.solution-grid,
.feature-grid,
.pricing-grid,
.footer-grid {
  display: grid;
}

.mock-header {
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.dot-row {
  display: flex;
  gap: 8px;
}

.dot-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.14);
}

.dot-row span:first-child {
  background: hsl(6, 90%, 66%);
}

.dot-row span:nth-child(2) {
  background: hsl(40, 100%, 62%);
}

.dot-row span:nth-child(3) {
  background: hsl(151, 71%, 59%);
}

.terminal-tag,
.chip,
.card-tag,
.metric-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: hsl(258, 38%, 76%);
}

.terminal-tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: hsla(245, 21%, 21%, 0.8);
  border: 1px solid hsla(262, 44%, 60%, 0.14);
}

.mock-card {
  gap: 16px;
  position: relative;
  z-index: 1;
}

.console-line,
.insight,
.flow-card,
.problem-card,
.feature-card,
.pricing-card,
.footer-card,
.stat-panel,
.promise-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid hsla(262, 44%, 60%, 0.13);
  background: linear-gradient(180deg, hsla(245, 24%, 18%, 0.9), hsla(245, 21%, 12%, 0.88));
}

.console-line {
  padding: 18px;
}

.console-line::before,
.insight::before,
.flow-card::before,
.problem-card::before,
.feature-card::before,
.pricing-card::before,
.footer-card::before,
.stat-panel::before,
.promise-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.2), transparent);
}

.console-line p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.console-line strong,
.insight strong,
.flow-card strong,
.problem-card strong,
.feature-card strong,
.pricing-card strong,
.footer-card strong,
.promise-panel strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.4;
}

.stack-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.chip {
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, hsla(262, 73%, 27%, 0.2), hsla(243, 24%, 15%, 0.55));
  border: 1px solid hsla(262, 70%, 62%, 0.13);
  color: hsl(221, 21%, 86%);
  text-align: center;
}

section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.05em;
  line-height: 1;
  max-width: 11ch;
}

.section-header p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
}

.launch-band {
  padding-top: 18px;
}

.launch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-card,
.flow-card,
.feature-card,
.pricing-card,
.footer-card,
.stat-panel,
.promise-panel {
  padding: 24px;
  backdrop-filter: blur(10px);
}

.problem-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-color: hsla(262, 72%, 68%, 0.22);
  background:
    radial-gradient(circle at top left, hsla(262, 79%, 63%, 0.14), transparent 42%),
    linear-gradient(180deg, hsla(248, 25%, 20%, 0.94), hsla(245, 21%, 12%, 0.92));
  box-shadow: 0 22px 40px rgba(5, 4, 14, 0.28);
}

.problem-index {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  color: hsl(260, 87%, 89%);
  background: linear-gradient(180deg, hsla(262, 85%, 58%, 0.4), hsla(262, 73%, 27%, 0.12));
  border: 1px solid hsla(262, 85%, 72%, 0.18);
}

.problem-card p {
  color: var(--muted);
  line-height: 1.76;
  margin-top: auto;
}

.quote-line {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: clamp(1.5rem, 2.45vw, 1.95rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: hsl(0, 0%, 98%);
  background: linear-gradient(180deg, hsla(262, 85%, 58%, 0.16), hsla(262, 73%, 27%, 0.08));
  border: 1px solid hsla(262, 82%, 74%, 0.18);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
}

.solution-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.roadmap-grid {
  gap: 16px;
}

.flow-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-card p,
.feature-card p,
.pricing-card p,
.footer-card p,
.stat-panel p,
.promise-panel p,
.insight p {
  color: var(--muted);
  line-height: 1.76;
}

.flow-meta,
.feature-meta,
.plan-meta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: hsl(263, 52%, 82%);
}

.flow-meta::before,
.feature-meta::before,
.plan-meta::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), hsl(262, 78%, 68%));
  box-shadow: 0 0 18px hsla(193, 100%, 69%, 0.32);
}

.promise-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at top right, hsla(262, 78%, 58%, 0.18), transparent 30%),
    linear-gradient(180deg, hsla(245, 24%, 18%, 0.94), hsla(245, 21%, 12%, 0.9));
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-panel strong {
  font-size: 2rem;
  line-height: 1;
  margin: 8px 0 10px;
  display: block;
}

.insight {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: white;
  background: linear-gradient(180deg, hsla(262, 83%, 62%, 0.6), hsla(262, 73%, 27%, 0.25));
  border: 1px solid hsla(262, 79%, 72%, 0.16);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card.featured {
  background:
    radial-gradient(circle at top, hsla(262, 78%, 58%, 0.2), transparent 28%),
    linear-gradient(180deg, hsla(245, 24%, 18%, 0.96), hsla(245, 21%, 12%, 0.94));
  border-color: hsla(262, 74%, 71%, 0.24);
  transform: translateY(-8px);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-tag {
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: hsl(260, 88%, 87%);
  background: hsla(262, 85%, 58%, 0.14);
  border: 1px solid hsla(262, 88%, 75%, 0.14);
}

.plan-copy strong {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.7;
}

.plan-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--success), hsl(193, 100%, 69%));
  box-shadow: 0 0 16px hsla(151, 71%, 59%, 0.35);
}

.plan-cta {
  margin-top: auto;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid hsla(262, 79%, 72%, 0.15);
  background: linear-gradient(180deg, hsla(262, 73%, 27%, 0.52), hsla(246, 21%, 17%, 0.84));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.plan-cta:hover,
.plan-cta:focus-visible {
  border-color: hsla(262, 85%, 72%, 0.3);
}

.footer-card {
  background:
    radial-gradient(circle at top left, hsla(262, 79%, 63%, 0.12), transparent 25%),
    linear-gradient(180deg, hsla(245, 24%, 18%, 0.94), hsla(245, 21%, 12%, 0.9));
}

.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.footer-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.footer-lead {
  margin-top: 18px;
  max-width: 58ch;
}

.footer-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.signal-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.7;
}

.signal-list li::before {
  content: "+";
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
}

footer {
  padding: 24px 0 40px;
  color: hsl(230, 12%, 60%);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid hsla(262, 44%, 60%, 0.12);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 240ms;
}

.delay-4 {
  transition-delay: 320ms;
}

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

  .problem-grid,
  .launch-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .section-header,
  .plan-top,
  .footer-bar {
    align-items: start;
  }

  .nav-inner,
  .nav-links {
    flex-direction: column;
  }

  .hero {
    padding-top: 52px;
  }

  .stack-strip,
  .problem-grid,
  .launch-grid,
  .feature-grid,
  .pricing-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .page-shell,
  .nav-inner {
    width: min(calc(100% - 24px), var(--max-width));
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.55rem);
    max-width: 100%;
  }

  .problem-card,
  .feature-card,
  .pricing-card,
  .flow-card,
  .promise-panel,
  .footer-card,
  .command-center {
    padding: 20px;
  }
}

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

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

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