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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #0d1117;
  color: #c9d1d9;
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.hero {
  text-align: center;
  padding: 60px 0 30px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.tagline {
  font-size: 18px;
  color: #8b949e;
  margin-bottom: 24px;
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }

.btn-primary {
  background: #238636;
  color: #fff;
}

.btn-pro {
  background: linear-gradient(135deg, #db6d28, #e28c3e);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #30363d;
  color: #c9d1d9;
}

.btn-outline:hover { background: #21262d; }

.features { padding: 40px 0; }

.features h2, .pricing h2, .how-it-works h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
  color: #fff;
}

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

.feature-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.feature-card.pro { border-color: #db6d2840; }

.feature-icon { font-size: 32px; margin-bottom: 12px; }

.feature-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.badge.free { background: #23863620; color: #2ea44f; }

.badge.pro-badge { background: #db6d2820; color: #e28c3e; }

.pricing { padding: 40px 0; }

.pricing-table {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 30px 24px;
  text-align: center;
  min-width: 260px;
  flex: 1;
  max-width: 320px;
}

.plan.featured {
  border-color: #db6d28;
  border-width: 2px;
}

.plan h3 { font-size: 20px; color: #fff; margin-bottom: 12px; }

.price {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.price-note {
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 16px;
}

.plan ul {
  list-style: none;
  margin-bottom: 20px;
}

.plan ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #8b949e;
}

.plan ul li::before { content: '\2713\00a0'; color: #2ea44f; }

.how-it-works { padding: 40px 0 60px; }

.steps { max-width: 500px; margin: 0 auto; }

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #21262d;
  font-size: 15px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #238636;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

footer {
  text-align: center;
  padding: 30px 0;
  font-size: 13px;
  color: #6e7681;
  border-top: 1px solid #21262d;
}

footer a { color: #58a6ff; text-decoration: none; }

/* Payment page */
.payment-card {
  max-width: 420px;
  margin: 0 auto 30px;
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.payment-details { margin-bottom: 20px; }

.payment-item {
  padding: 8px 0;
  font-size: 15px;
  color: #c9d1d9;
}

.payment-price {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.payment-note {
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 24px;
}

.pay-button {
  display: inline-block;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #db6d28, #e28c3e);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.pay-button:hover { opacity: 0.9; }

.payment-hint {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.6;
}

.license-box { margin: 10px 0; }

.license-label {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 8px;
}

.license-key {
  padding: 12px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  font-size: 13px;
  font-family: monospace;
  color: #58a6ff;
  word-break: break-all;
  margin-bottom: 12px;
}

.back-link {
  text-align: center;
  padding: 10px 0 40px;
}

.back-link a { color: #8b949e; text-decoration: none; }
.back-link a:hover { color: #58a6ff; }

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .tagline { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-table { flex-direction: column; align-items: center; }
}
