:root {
  --bg:           #0a0e1a;
  --bg-card:      #111827;
  --bg-inner:     #1a2234;
  --border:       #1f2937;
  --border-light: #2d3748;
  --accent:       #f59e0b;
  --accent-hover: #d97706;
  --text:         #f9fafb;
  --muted:        #9ca3af;
  --success:      #10b981;
  --error:        #ef4444;
  --radius:       8px;
  --radius-lg:    12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

/* ── Logo ── */
.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.logo span { color: var(--accent); }
.logo-sm { font-size: 16px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0e1a;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  padding: 11px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.product-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}

h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-inner {
  background: var(--bg-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}

/* ── Products ── */
.products {
  padding: 60px 0 80px;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 28px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.product-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.65;
}

.product-price {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.price {
  display: block;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.features li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}

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

/* ── How it works ── */
.how {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.step h4 {
  font-size: 15px;
  margin-bottom: 3px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.how-cta { margin-top: 8px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

/* ── Activate page ── */
.activate-section {
  padding: 56px 0 80px;
}

.activate-container {
  max-width: 620px;
}

.activate-header {
  margin-bottom: 36px;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 0.15s;
}

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

.activate-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  margin-top: 8px;
  margin-bottom: 12px;
}

.activate-header .hero-sub {
  margin: 0;
  font-size: 15px;
}

/* Steps mini */
.steps-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-mini {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

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

.step-mini-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form */
.activate-card { max-width: 620px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

input[type="text"],
input[type="email"] {
  background: var(--bg-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  padding: 10px 14px;
  font-family: inherit;
  transition: border-color 0.15s;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

input::placeholder { color: #4b5563; }

.field-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* Result */
.result-card { text-align: center; }

.result-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.result-success h3 {
  font-size: 20px;
}

.result-success .muted {
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
  line-height: 1.6;
}

.license-key-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.license-key-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent);
  flex: 1;
  text-align: center;
  word-break: break-all;
}

.copy-btn {
  background: var(--border-light);
  border: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.copy-btn:hover { background: #374151; }

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

.result-note {
  text-align: left;
}

.result-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.result-note ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-note li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.result-note code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .product-header {
    flex-direction: column;
  }

  .product-price {
    text-align: left;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions a {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .license-key-box {
    flex-direction: column;
    gap: 16px;
  }

  .license-key-code {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .copy-btn {
    width: 100%;
    padding: 10px;
  }
}
