:root {
  --bg: #081020;
  --panel: #111a31;
  --panel-2: #0c162b;
  --border: #2a385f;
  --text: #eef4ff;
  --muted: #b8c6e8;
  --soft: #8fa3cf;
  --accent: #72a7ff;
  --accent-strong: #8ab6ff;
  --green: #73e6a3;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(850px 480px at 70% -80px, rgba(87, 133, 221, .16), transparent 70%),
    var(--bg);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  background: rgba(8, 16, 32, .82);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(42, 56, 95, .65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 0 18px rgba(114, 167, 255, .1);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 999px;
}

.brand-mark::before {
  width: 10px;
  height: 2px;
  left: 6px;
  top: 10px;
}

.brand-mark::after {
  width: 2px;
  height: 10px;
  left: 10px;
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.nav-button {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

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

.hero {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 72px;
}

.eyebrow,
.section-kicker,
.product-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--accent);
}

.hero h1 {
  margin: 14px 0 22px;
  max-width: 850px;
  font-size: clamp(56px, 8.3vw, 104px);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero h1 span {
  color: var(--accent-strong);
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

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

.button.primary {
  border-color: #6f9fea;
  background: #6f9fea;
  color: #07101f;
}

.button.primary:hover {
  background: #82aff5;
}

.button.ghost {
  background: var(--panel);
}

.button.ghost:hover {
  border-color: #45608f;
}

.button.full {
  width: 100%;
}

.button.disabled {
  opacity: .5;
  pointer-events: none;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--text);
}

.section {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 750px;
  margin: 9px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, .7fr);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(17, 26, 49, .96), rgba(10, 20, 39, .96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.product-copy {
  padding: clamp(28px, 5vw, 58px);
}

.product-name-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.product-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #4a6391;
  border-radius: 14px;
  color: var(--accent);
  font-size: 24px;
  background: rgba(114, 167, 255, .06);
}

.product-card h3 {
  margin: 5px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.04em;
}

.product-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.product-meta {
  padding: 22px;
  display: grid;
  gap: 1px;
  align-content: center;
  background: rgba(7, 14, 29, .28);
  border-left: 1px solid var(--border);
}

.meta-item {
  padding: 20px;
  border-bottom: 1px solid rgba(42, 56, 95, .75);
}

.meta-item:last-child {
  border-bottom: 0;
}

.meta-item span,
.meta-item strong {
  display: block;
}

.meta-item span {
  margin-bottom: 5px;
  color: var(--soft);
  font-size: 12px;
}

.meta-item strong {
  font-size: 15px;
}

.terminal {
  margin-top: 30px;
  padding: 0 18px 18px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #070d19;
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}

.terminal-top {
  display: flex;
  gap: 7px;
  height: 40px;
  align-items: center;
}

.terminal-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #33456c;
}

.terminal code {
  display: block;
  margin-top: 7px;
  color: #dbe6ff;
  white-space: nowrap;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.terminal .prompt {
  color: var(--accent);
}

.terminal .terminal-ok {
  color: var(--green);
}

.terminal .muted {
  color: var(--soft);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 26, 49, .62);
}

.step-number {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.step h3 {
  margin: 40px 0 9px;
  font-size: 23px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.step code {
  color: var(--text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 830px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(17, 26, 49, .72);
}

.price-card.featured {
  border-color: #4d6d9f;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .2);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border: 1px solid #4d6d9f;
  border-radius: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.plan {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.price {
  margin-top: 15px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.045em;
}

.price small {
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
}

.price-note {
  color: var(--soft);
  font-size: 13px;
}

.price-card ul {
  flex: 1;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(42, 56, 95, .55);
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.download-section {
  padding-bottom: 110px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(520px 240px at 90% 20%, rgba(114, 167, 255, .12), transparent 70%),
    var(--panel);
}

.download-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.045em;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-actions {
  min-width: 220px;
  display: grid;
  gap: 10px;
}

.download-note {
  color: var(--soft);
  text-align: center;
  font-size: 12px;
}

.footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--soft);
  font-size: 13px;
}

.footer p {
  text-align: center;
}

.footer > span {
  text-align: right;
}

.footer-brand {
  color: var(--text);
}

@media (max-width: 820px) {
  .nav > a:not(.nav-button) {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-meta {
    border-left: 0;
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(2, 1fr);
  }

  .meta-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .step-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .download-actions {
    min-width: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }

  .footer p,
  .footer > span {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  .footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    height: 62px;
  }

  .site-header::before {
    top: 61px;
  }

  .hero {
    padding-top: 70px;
  }

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

  .hero-actions .button,
  .product-actions .button,
  .product-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .meta-item:nth-child(odd) {
    border-right: 0;
  }

  .meta-item:last-child {
    border-bottom: 0;
  }
}
