:root {
  --bg: #0a0a0a;
  --bg-card: #151515;
  --border: #2a2a2a;
  --accent: #e8433f;
  --accent-dark: #b5312e;
  --text: #f5f5f5;
  --text-muted: #9a9a9a;
  --radius: 12px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(6px);
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-mark { color: var(--accent); }
.main-nav { display: flex; gap: 24px; flex: 1; }
.main-nav a { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--text); }

.header-controls { display: flex; align-items: center; gap: 12px; }
.secure-badge {
  font-size: 12px;
  color: var(--text-muted);
  display: none;
}
@media (min-width: 700px) { .secure-badge { display: inline; } }

.dropdown { position: relative; }
.dropdown-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 180px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.dropdown-item.active { color: var(--accent); font-weight: 700; }

/* Hero */
.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.hero-subtitle { color: var(--text-muted); font-size: 17px; }

/* Plans */
.plans { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; text-align: center; }
.plans h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.plans-subtitle { color: var(--text-muted); margin-bottom: 40px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-card.featured { border-color: var(--accent); }
.plan-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.plan-card h3 { font-size: 20px; font-weight: 700; }
.plan-desc { color: var(--text-muted); font-size: 14px; }
.plan-price { margin: 12px 0; }
.plan-price .amount { font-size: 32px; font-weight: 800; }
.plan-price .period { color: var(--text-muted); font-size: 13px; display: block; }

.btn {
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-full { width: 100%; }

/* Checkout */
.checkout { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }
.back-link { color: var(--text-muted); font-size: 14px; display: inline-block; margin-bottom: 24px; }
.checkout h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 700px) { .checkout-grid { grid-template-columns: 1fr; } }

.order-summary, .checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.order-summary h2 { font-size: 16px; margin-bottom: 16px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.summary-row, .summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
}
.summary-row { border-bottom: 1px solid var(--border); color: var(--text-muted); }
.summary-total { font-weight: 800; font-size: 20px; margin-top: 8px; }

.checkout-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.checkout-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
}
.checkout-form input:focus { outline: none; border-color: var(--accent); }

.trust-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* Result pages */
.result-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}
.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 24px;
}
.result-icon.success { background: #1d8a4a; color: #fff; }
.result-icon.cancel { background: var(--accent); color: #fff; }
.result-page h1 { font-size: 26px; margin-bottom: 12px; }
.result-page p { color: var(--text-muted); margin-bottom: 28px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h1 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.legal-updated { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }
.legal-content h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal-content p, .legal-content li { color: #cfcfcf; font-size: 15px; line-height: 1.7; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
