:root {
  --bg: #121212;
  --bg-card: #1b1b1e;
  --bg-card-2: #202024;
  --border: #2e2e33;
  --text: #f5f5f5;
  --text-muted: #a3a3ad;
  --primary: #3b82f6;
  --primary-hover: #2f6fdb;
  --accent: #22c55e;
  --danger: #ef4444;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }

.topbar {
  background: #0b0b0c;
  color: #d9d9de;
  text-align: center;
  font-size: 13px;
  padding: 8px 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 10px;
}

.header img {
  height: 42px;
  width: auto;
}

.tagline {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: -6px 0 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; gap: 28px; }
}

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

.cover-card img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.badge-row span {
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
}

h1 span { color: var(--primary); }

.sub {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: #e5e5ea;
}

.benefits li svg { flex: none; margin-top: 2px; color: var(--accent); }

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-strike {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 16px;
}

.price-now {
  font-size: 34px;
  font-weight: 700;
}

.price-period {
  color: var(--text-muted);
  font-size: 14px;
}

.price-foot {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.checkout-card h2 {
  font-size: 16px;
  margin: 0 0 14px;
  color: #e5e5ea;
}

#checkout {
  min-height: 320px;
}

.checkout-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  min-height: 320px;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.disclosure {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.disclosure a { color: #cfcfe0; }

.guarantee {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 28px;
}

.guarantee svg { flex: none; color: var(--accent); width: 32px; height: 32px; }

.guarantee div b { display: block; margin-bottom: 2px; }
.guarantee div span { color: var(--text-muted); font-size: 13px; }

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  padding: 30px 16px 50px;
}

footer a { color: var(--text-muted); text-decoration: underline; margin: 0 6px; }

.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.result-card {
  max-width: 520px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  text-align: center;
}

.result-card img { height: 36px; margin-bottom: 18px; }

.result-card h1 { font-size: 22px; }

.btn {
  display: inline-block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--primary-hover); }

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

.btn-secondary:hover { background: var(--bg-card-2); }

.status-line {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 16px;
}
