@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --bg: #050708;
  --bg-soft: #0c1012;
  --panel: rgba(12, 16, 18, 0.82);
  --panel-strong: rgba(16, 22, 25, 0.96);
  --panel-line: rgba(215, 255, 67, 0.14);
  --text: #f5f7ef;
  --muted: #a7afa0;
  --lime: #d7ff43;
  --mint: #74ffb0;
  --violet: #9e7bff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(158, 123, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(116, 255, 176, 0.14), transparent 20%),
    linear-gradient(180deg, #040607 0%, #070b0d 36%, #050708 100%);
  overflow-x: hidden;
}

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

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 85%);
}

body::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 255, 67, 0.12), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(158, 123, 255, 0.14), transparent 22%),
    radial-gradient(circle at 62% 74%, rgba(116, 255, 176, 0.08), transparent 18%);
  filter: blur(18px);
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: 14px 0 48px;
}

.site-corner-logo {
  position: absolute;
  top: 8px;
  left: -22px;
  width: min(228px, 19vw);
  height: auto;
  opacity: 0.52;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(215, 255, 67, 0.08));
}

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 4px 0 18px;
}

.topbar-nav {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.topbar-nav a {
  color: rgba(245, 247, 239, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(215, 255, 67, 0.16);
  background: rgba(255, 255, 255, 0.03);
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(448px, 0.98fr);
  gap: 44px;
  align-items: start;
  padding: 18px 0 30px;
  overflow: visible;
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.download-copy h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  line-height: 0.93;
}

.hero-text,
.section-heading p,
.feature-card p,
.workflow-card p,
.download-copy p,
.signal-strip strong,
.release-box a,
.footer-links a {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  color: #0a0d09;
  background: linear-gradient(135deg, var(--lime), #f5ff9b);
  box-shadow: 0 14px 34px rgba(215, 255, 67, 0.2);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(215, 255, 67, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.hero-signals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-signals span,
.release-tag,
.card-kicker,
.metric-label,
.signal-kicker,
.step-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-signals span,
.release-tag,
.signal-kicker,
.step-index {
  border: 1px solid rgba(215, 255, 67, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--lime);
}

.hero-stage {
  position: relative;
  display: flex;
  width: 100%;
  align-self: stretch;
  justify-content: flex-end;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% -6% -10%;
  background:
    radial-gradient(circle at 28% 26%, rgba(215, 255, 67, 0.12), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(158, 123, 255, 0.12), transparent 22%);
  filter: blur(24px);
  z-index: -1;
}

.signal-strip article,
.feature-card,
.workflow-card,
.download-panel,
.footer {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stage-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.demo-frame {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 272px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.98), rgba(12, 16, 18, 0.96));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(215, 255, 67, 0.04);
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.frame-dots {
  display: flex;
  gap: 8px;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.frame-dots span:first-child {
  background: #ff6c73;
}

.frame-dots span:nth-child(2) {
  background: #ffd76a;
}

.frame-dots span:last-child {
  background: #80e99a;
}

.frame-bar p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.demo-video {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  background: #000;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 14px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.metric-card:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  padding-left: 14px;
}

.metric-card strong,
.signal-strip article strong,
.feature-card h3,
.workflow-card h3 {
  display: block;
}

.metric-card strong {
  margin-top: 12px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.48;
}

.metric-label {
  color: rgba(215, 255, 67, 0.88);
  font-size: 0.72rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.signal-strip article {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.signal-strip strong {
  margin-top: 14px;
  font-size: 1rem;
}

.section-block {
  padding-top: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.download-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.96;
}

.section-heading p,
.download-copy p {
  margin: 18px 0 0;
  max-width: 64ch;
}

.feature-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.workflow-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.card-kicker {
  color: var(--mint);
  border: 1px solid rgba(116, 255, 176, 0.18);
  background: rgba(116, 255, 176, 0.06);
}

.feature-card h3,
.workflow-card h3 {
  margin: 18px 0 12px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.feature-card p,
.workflow-card p {
  margin: 0;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.download-stack {
  display: grid;
  gap: 14px;
}

.release-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.release-box a {
  display: inline-flex;
  margin-top: 12px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 82px;
  padding: 18px 22px;
  border-radius: 999px;
}

.footer p {
  margin: 0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

@media (max-width: 1040px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    padding-left: 0;
  }

  .topbar-nav {
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .site-corner-logo {
    position: static;
    display: block;
    width: min(210px, 54vw);
    margin: 0 0 10px;
    opacity: 0.48;
  }

  .hero h1 {
    max-width: none;
  }

  .signal-strip,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 14px;
  }

  .hero {
    gap: 24px;
    padding: 8px 0 18px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .feature-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .topbar-nav {
    gap: 8px;
  }

  .topbar-nav a,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stage-card,
  .feature-card,
  .workflow-card,
  .download-panel,
  .signal-strip article {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .metric-card:not(:first-child) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 2px 0 14px;
  }

  .site-corner-logo {
    width: min(180px, 56vw);
    margin-bottom: 12px;
  }

  .hero h1,
  .section-heading h2,
  .download-copy h2 {
    font-size: 2.2rem;
  }

  .topbar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-signals,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-signals span,
  .release-tag {
    justify-content: center;
  }

  .card-kicker,
  .metric-label,
  .signal-kicker,
  .step-index {
    justify-content: center;
  }
}
