@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #050914;
  --surface: rgba(11, 18, 32, 0.72);
  --surface-strong: rgba(17, 26, 43, 0.92);
  --border: rgba(255, 255, 255, 0.1);
  --cyan: #63e6ff;
  --blue: #2f7bff;
  --text: #eaf4ff;
  --muted: #97a9c3;
  --success: #41e6a1;
  --warning: #ffc857;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 123, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(99, 230, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #06101d 0%, #050914 48%, #07111f 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

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

.site-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar,
.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(24px);
}

.topbar {
  position: relative;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 32px;
  padding: 16px 20px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(99, 230, 255, 0.24);
  background: linear-gradient(180deg, rgba(18, 34, 56, 0.84), rgba(7, 15, 28, 0.94));
  box-shadow: 0 0 24px rgba(47, 123, 255, 0.14);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.section-head h2,
.hero-copy h1,
.pricing-card h3,
.eco-card h3,
.download-card h3 {
  font-family: "Outfit", sans-serif;
}

.brand-copy strong {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 26, 0.6);
}

.topnav a,
.ghost-btn,
.primary-btn {
  transition: 0.2s ease;
}

.topnav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.topnav a:hover,
.footer-actions a:hover {
  color: var(--cyan);
}

.top-actions {
  display: flex;
  gap: 12px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-btn {
  border: 1px solid rgba(47, 123, 255, 0.28);
  background: linear-gradient(180deg, #3f91ff 0%, #2f7bff 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(47, 123, 255, 0.28);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 56px rgba(47, 123, 255, 0.36);
}

.ghost-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.ghost-btn:hover {
  border-color: rgba(99, 230, 255, 0.35);
  color: var(--cyan);
}

.large {
  min-height: 56px;
  padding: 0 28px;
}

.scene {
  padding: 88px 0 24px;
}

.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-copy p,
.feature-card p,
.pricing-card p,
.eco-card p,
.download-card p,
.footer-copy span {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

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

.panel {
  border-radius: 36px;
}

.hero-stage {
  position: relative;
  padding: 28px;
}

.stage-head,
.stage-grid {
  position: relative;
  z-index: 1;
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stage-label,
.eyebrow {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill.ok {
  color: var(--success);
  background: rgba(65, 230, 161, 0.1);
  border-color: rgba(65, 230, 161, 0.2);
}

.status-pill.warn {
  color: var(--warning);
  background: rgba(255, 200, 87, 0.1);
  border-color: rgba(255, 200, 87, 0.2);
}

.stage-power {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.stage-power::before,
.stage-power::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.stage-power::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(99, 230, 255, 0.18), transparent 70%);
  filter: blur(16px);
}

.stage-power::after {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(99, 230, 255, 0.24);
}

.power-core {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #7cf0ff 0%, #42a5ff 50%, #0f1d33 100%);
  box-shadow:
    0 0 0 18px rgba(99, 230, 255, 0.06),
    0 0 64px rgba(99, 230, 255, 0.32);
}

.stage-grid,
.card-grid,
.pricing-grid,
.ecosystem-grid,
.downloads-grid {
  display: grid;
  gap: 18px;
}

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

.mini-card,
.feature-card,
.pricing-card,
.eco-card,
.download-card {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-card {
  padding: 18px;
}

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

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.05rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.02;
}

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

.feature-card,
.pricing-card,
.eco-card,
.download-card {
  padding: 24px;
}

.feature-card h3,
.pricing-card h3,
.eco-card h3,
.download-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

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

.pricing-card ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.pricing-tier {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pricing-tier.accent {
  color: var(--cyan);
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(47, 123, 255, 0.12), rgba(11, 18, 32, 0.82)),
    rgba(17, 26, 43, 0.92);
}

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

.eco-card,
.download-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-card .primary-btn,
.download-card .ghost-btn {
  width: 100%;
  margin-top: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-actions {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 1120px) {
  .card-grid,
  .pricing-grid,
  .ecosystem-grid,
  .downloads-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 16px, 100%);
    padding: 12px 0 32px;
  }

  .topbar {
    position: relative;
    top: 0;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 24px;
    padding: 14px 14px 16px;
  }

  .brand {
    width: 100%;
    align-items: center;
    gap: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .brand-mark svg {
    width: 28px;
    height: 28px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: 0.03em;
  }

  .brand-copy small {
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.16em;
  }

  .topnav,
  .top-actions {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 20px;
  }

  .topnav a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    text-align: center;
    font-size: 0.52rem;
    line-height: 1.25;
    letter-spacing: 0.08em;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .top-actions .primary-btn,
  .top-actions .ghost-btn,
  .hero-actions .primary-btn,
  .hero-actions .ghost-btn,
  .download-card .primary-btn,
  .download-card .ghost-btn {
    width: 100%;
  }

  .primary-btn,
  .ghost-btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-scene,
  .card-grid,
  .pricing-grid,
  .ecosystem-grid,
  .downloads-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .scene {
    padding: 44px 0 12px;
  }

  .hero-scene {
    min-height: auto;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 14vw, 3.75rem);
    line-height: 0.95;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .panel,
  .feature-card,
  .pricing-card,
  .eco-card,
  .download-card {
    border-radius: 24px;
  }

  .feature-card,
  .pricing-card,
  .eco-card,
  .download-card {
    padding: 20px;
  }

  .feature-card h3,
  .pricing-card h3,
  .eco-card h3,
  .download-card h3 {
    font-size: 1.28rem;
    line-height: 1.05;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .pricing-card ul {
    margin: 16px 0 18px;
    padding-left: 18px;
    line-height: 1.65;
  }

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

@media (min-width: 761px) {
  .topbar {
    position: sticky;
    top: 16px;
  }
}
