:root {
  --bg: #141414;
  --bg-elevated: #1f1f1f;
  --red: #e50914;
  --red-hover: #f6121d;
  --text: #ffffff;
  --text-dim: #b3b3b3;
  --border: #333333;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1px;
}

.hero {
  padding: 100px 48px 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, #2b0a0d 0%, var(--bg) 60%);
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto 16px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 20px;
}

.plans {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 48px 60px;
}

.plan {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  width: 260px;
  text-align: center;
}

.plan.featured { border-color: var(--red); }

.plan .price { font-size: 2.2rem; font-weight: 800; margin: 12px 0; }
.plan .price span { font-size: 1rem; color: var(--text-dim); font-weight: 400; }

input {
  width: 100%;
  padding: 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #333;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 4px;
  background: var(--red);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: var(--red-hover); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary { background: #333; }
button.secondary:hover { background: #444; }

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.status-active { background: #1a4d2e; color: #4ade80; }
.status-expired { background: #4d1a1a; color: #f87171; }
.status-never_started { background: #4d4d1a; color: #fbbf24; }

table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { color: var(--text-dim); font-weight: 600; }

.message { text-align: center; color: var(--text-dim); margin-top: 12px; font-size: 0.9rem; }
.message.error { color: #f87171; }
.message.success { color: #4ade80; }

a { color: var(--red); text-decoration: none; }
