:root {
  --bg-top: #0e171f;
  --bg-bottom: #05080c;
  --panel: rgba(14, 22, 29, 0.9);
  --panel-strong: rgba(8, 13, 18, 0.94);
  --surface: rgba(23, 34, 43, 0.9);
  --border: rgba(170, 206, 225, 0.14);
  --text: #eef6fa;
  --muted: #b3c1cb;
  --muted-strong: #d3dfe6;
  --accent: #81b6db;
  --accent-strong: #b8dbf3;
  --success: #9fdb99;
  --warning: #f0ca84;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-bottom);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(129, 182, 219, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(159, 219, 153, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 62%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  padding-bottom: 3.5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0 2.2rem;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: -6rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(129, 182, 219, 0.18), transparent 64%);
  filter: blur(12px);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 219, 243, 0.15);
  background: rgba(129, 182, 219, 0.1);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.25rem);
  line-height: 0.94;
}

.hero__tagline {
  margin: 0;
  max-width: 42rem;
  color: var(--muted-strong);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 600;
}

.hero__lead,
.section-lead,
.helper-text,
.card-copy p,
.gallery-card p,
.footer__note,
.roadmap-list li {
  color: var(--muted);
  line-height: 1.75;
}

.hero__lead,
.section-lead {
  margin: 0;
  max-width: 47rem;
  font-size: 1rem;
}

.badge-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.95rem;
}

.badge--success {
  border-color: rgba(159, 219, 153, 0.26);
  color: #dcf5d8;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-shot {
  overflow: hidden;
  padding: 0;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-shot figcaption {
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.stack {
  display: grid;
  gap: 1.35rem;
}

.section {
  padding: 1.55rem;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card,
.card-copy,
.build-meta,
.gallery-card figcaption {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-card {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.stat-card strong {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1;
}

.stat-card span {
  font-weight: 700;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-copy {
  padding: 1.05rem;
}

.card-copy h3,
.gallery-card h3,
.build-meta h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.card-copy p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(10, 16, 22, 0.88);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid var(--border);
}

.gallery-label {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-card p {
  margin: 0;
}

.build-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.build-copy {
  display: grid;
  gap: 0.95rem;
}

.build-meta {
  padding: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.meta-pair {
  display: grid;
  gap: 0.2rem;
}

.meta-pair dt {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-pair dd {
  margin: 0;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, #9ed6fb, #6da9d1);
  color: #071019;
  box-shadow: 0 18px 40px rgba(109, 169, 209, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.button--disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.roadmap-list {
  margin: 0;
  padding-left: 1.2rem;
}

.roadmap-list li + li {
  margin-top: 0.7rem;
}

.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 2.6rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-marker {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-strong);
  background: rgba(129, 182, 219, 0.12);
  border: 2px solid rgba(184, 219, 243, 0.22);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.05rem;
}

.timeline-content h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  padding-top: 1rem;
}

.footer__note {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

.loading {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero__grid,
  .build-shell,
  .stats-grid,
  .card-grid,
  .card-grid--wide,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 1.15rem;
  }

  .button {
    width: 100%;
  }
}
