:root {
  --bg: #0a0e14;
  --panel: #111722;
  --panel-light: #161d2b;
  --border: #232b3d;
  --text: #e6e9ef;
  --text-muted: #7c8698;
  --accent: #5b8cff;
  --accent-2: #9161f7;
  --green: #26d98a;
  --red: #ff5c72;
  --amber: #ffb648;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
}

header.top {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

header.top img {
  height: 48px;
  width: auto;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

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

ul.features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

ul.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}

ul.features li .emoji {
  flex-shrink: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

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

.price-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

button.buy {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

button.buy:hover {
  opacity: 0.92;
}

button.buy:active {
  transform: scale(0.99);
}

button.buy:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-box {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 92, 114, 0.1);
  border: 1px solid rgba(255, 92, 114, 0.3);
  color: var(--red);
  font-size: 14px;
  display: none;
}

.trust {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 24px;
}

footer a {
  color: var(--text-muted);
}

/* Download page */
.status-box {
  text-align: center;
  padding: 40px 0;
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.downloads {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

a.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  text-decoration: none;
}

a.download-btn:hover {
  opacity: 0.92;
}

a.download-btn.secondary {
  background: var(--panel-light);
  border: 1px solid var(--border);
  color: var(--text);
}

.success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
