:root {
  --bg: #0b1021;
  --card: #0f172a;
  --surface: #10182f;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #7c3aed;
  --primary-2: #6366f1;
  --accent: #10b981;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(124, 58, 237, 0.3);
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, #1f2937 0, #0b1021 36%, #060913 100%);
  color: var(--text);
  min-height: 100vh;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(12px);
  background: rgba(6, 9, 19, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav__title span {
  display: block;
  font-weight: 700;
  color: #fff;
}

.nav__title small {
  color: var(--muted);
  font-size: 12px;
}

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

.nav__link {
  font-weight: 500;
  color: var(--muted);
}

.nav__link:hover {
  color: #fff;
}

.btn {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 18px 40px var(--glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px var(--glow);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.badge--soft {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--border);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 48px 32px 32px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 14px 0;
}

.lead {
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin: 22px 0 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.stat__value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.panel {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--border);
}

.panel__eyebrow {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.panel__list {
  display: flex;
  flex-direction: column;
}

.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.panel__row:last-child {
  border-bottom: none;
}

.panel__title {
  color: #fff;
  font-weight: 600;
}

.panel__subtitle {
  font-size: 13px;
  color: var(--muted);
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
}

.pill--red {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
}

.pill--green {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
}

.panel__footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
}

.panel__note {
  font-size: 13px;
  color: var(--muted);
}

.section {
  padding: 32px 32px 24px;
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.section__head h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 10px 0;
}

.section__lead {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.card--placeholder {
  justify-content: center;
  min-height: 140px;
}

.card__title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.card__subtitle {
  color: var(--muted);
}

.card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #f8fafc;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  width: fit-content;
}

.card__badge--muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.card__price {
  font-size: 26px;
  color: #fff;
}

.card__price span {
  font-size: 14px;
  color: var(--muted);
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.card__list li {
  color: var(--muted);
  font-size: 14px;
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.step__index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta {
  padding: 32px;
}

.cta__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(16, 185, 129, 0.12));
}

.cta__lead {
  color: #e0f2fe;
  max-width: 640px;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.dot--green {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: #0f172a;
  border-radius: 16px;
  padding: 22px 20px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.modal__lead,
.modal__hint {
  color: var(--muted);
  margin: 8px 0 14px;
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  font-size: 14px;
  color: #fff;
}

.form input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.form input:focus {
  outline: 2px solid rgba(124, 58, 237, 0.4);
  border-color: rgba(124, 58, 237, 0.5);
}

.modal__status {
  min-height: 18px;
  font-size: 13px;
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 32px;
  }
  .cta__content {
    flex-direction: column;
    align-items: flex-start;
  }
}
