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

:root {
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2035;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --purple: #8b5cf6;
  --border: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --danger: #ef4444;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-shield {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
}

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

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

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

.nav-cta {
  padding: 8px 20px !important;
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

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

/* Hero */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08), transparent 60%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  color: var(--accent);
}

.hero-stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 80px 0;
  background: rgba(59, 130, 246, 0.03);
}

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

.step-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

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

/* Use cases */
.use-cases {
  padding: 80px 0;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: rgba(59, 130, 246, 0.03);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item summary:hover {
  color: var(--accent);
}

/* Footer links */
.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

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

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

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
}

.pricing-amount span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Purchase */
.purchase {
  padding: 80px 0;
}

.purchase-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.purchase-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.purchase-card > p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

.purchase-step {
  text-align: left;
}

.hidden {
  display: none !important;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-input-wrapper {
  position: relative;
}

.card-input-wrapper input {
  padding-right: 70px;
}

.card-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  opacity: 0;
}

.card-brand.visible {
  opacity: 1;
}

.card-brand.visa {
  color: #1a1f71;
  background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-brand.mastercard {
  color: #ff5f00;
  background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-brand.amex {
  color: #006fcf;
  background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-brand.discover {
  color: #ff6000;
  background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 18px;
  margin-top: 4px;
}

.form-message {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

/* Payment */
.payment-summary {
  padding: 20px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 10px;
  margin-bottom: 24px;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.payment-item.total {
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

.payment-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.payment-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* License Key Display */
.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--success);
}

#step-license h3 {
  font-size: 20px;
  margin-bottom: 8px;
  text-align: center;
}

#step-license > p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: center;
}

.license-key-display {
  padding: 16px 24px;
  background: var(--bg);
  border: 2px dashed var(--accent);
  border-radius: 10px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 20px;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--accent);
  user-select: all;
}

.license-instructions {
  text-align: left;
  margin-top: 24px;
  padding: 20px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 10px;
}

.license-instructions h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.license-instructions ol {
  padding-left: 20px;
}

.license-instructions li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
  }
}
