:root {
  --bg: #07070f;
  --bg-soft: #0d0d1a;
  --surface: #121222;
  --surface-2: #17172b;
  --border: rgba(148, 163, 255, 0.16);
  --border-strong: rgba(148, 163, 255, 0.32);
  --text: #f2f2fb;
  --muted: #a6a6c2;
  --faint: #74748f;
  --violet: #8b5cf6;
  --violet-strong: #a78bfa;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --danger: #fb7185;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(139, 92, 246, 0.24), transparent 62%),
    radial-gradient(760px 480px at 92% 4%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--violet-strong);
  text-decoration: none;
}

a:hover {
  color: #c4b5fd;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 15, 0.74);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.2px;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 2.1px;
  font-weight: 700;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 9px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(139, 92, 246, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7 55%, #22d3ee);
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.12);
  color: #fff;
}

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

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero {
  padding: 86px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 18px 0 20px;
  max-width: 760px;
}

h1 .gradient {
  background: linear-gradient(105deg, #c4b5fd, #22d3ee 55%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 12.5px;
}

.hero-art {
  position: relative;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 75%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 68%);
  pointer-events: none;
}

.hero-art img {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.floating-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 7, 15, 0.7);
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  display: inline-block;
  flex: none;
}

.section {
  padding: 58px 0;
}

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

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 12px;
}

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

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

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.24);
  color: var(--violet-strong);
  font-size: 18px;
}

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

.step {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 18, 34, 0.65);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.step h3 {
  margin: 10px 0 7px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin: 8px 0 28px;
}

.billing-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 9px;
  cursor: pointer;
}

.billing-toggle button.active {
  background: var(--violet);
  color: #fff;
}

.save-pill {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-left: 4px;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
}

.plan-card.recommended {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.18);
}

.plan-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
}

.plan-tagline {
  color: var(--muted);
  font-size: 13px;
  min-height: 40px;
  margin: 6px 0 18px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.price strong {
  font-size: 36px;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--faint);
  font-size: 13px;
}

.price-sub {
  color: var(--faint);
  font-size: 12px;
  min-height: 18px;
  margin-bottom: 18px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 13.5px;
}

.plan-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex: none;
}

.plan-form {
  margin: 0;
}

.plan-form input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
}

.input {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: rgba(7, 7, 15, 0.62);
  color: var(--text);
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.input:focus {
  border-color: var(--violet-strong);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}

.form-note {
  color: var(--faint);
  font-size: 11.5px;
  margin-top: 10px;
  text-align: center;
}

.notice {
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.07);
  color: #fcd34d;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

.notice.info {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.07);
  color: #a5f3fc;
}

.notice.danger {
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.08);
  color: #fecdd3;
}

/* Checkout / success */
.narrow {
  max-width: 680px;
  margin: 0 auto;
}

.page {
  padding: 58px 0 76px;
}

.panel {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.panel h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 10px;
}

.panel .lead {
  margin-bottom: 24px;
}

.summary {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 7, 15, 0.42);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.summary-row span:first-child {
  color: var(--muted);
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px dashed rgba(167, 139, 250, 0.55);
  background: rgba(139, 92, 246, 0.09);
}

.code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ede9fe;
  word-break: break-all;
}

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

.faint {
  color: var(--faint);
}

.small {
  font-size: 12.5px;
}

.center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

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

.faq details {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 15px 17px;
  background: rgba(18, 18, 34, 0.55);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.faq p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 10px 0 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 40px;
  color: var(--faint);
  font-size: 12.5px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-art {
    order: -1;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 26px));
  }

  .nav {
    min-height: 64px;
  }

  .brand small {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

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