:root {
  --bg: #0f0f14;
  --bg-card: #1a1a24;
  --bg-card-hover: #22223a;
  --text-bright: #f0f0f5;
  --text-muted: #a0a0b0;
  --accent: #8b5cf6;
  --accent-hover: #7c3aed;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --border: #2a2a3a;
  --radius: 12px;
  --success: #22c55e;
  --warning: #f59e0b;
}

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

body {
  background: var(--bg);
  color: var(--text-bright);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── HEADER ── */
header {
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 24px; align-items: center; }
nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(160deg, var(--bg) 0%, #1a1030 50%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subhead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ── SECTIONS ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* ── CARDS / GRID ── */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .2s;
}
.card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ── MODULE CARDS ── */
.module-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.module-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.locked-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.module-card.unlocked .locked-badge { display: none; }
.module-card.free-preview .locked-badge { display: flex; }

/* ── VIDEO CONTAINER ── */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 60px var(--accent-glow);
  margin-bottom: 32px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
}

.play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.play-icon::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* ── RESOURCE CARDS ── */
.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.resource-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.resource-info h4 { font-size: 15px; margin-bottom: 2px; }
.resource-info p { font-size: 13px; color: var(--text-muted); }

/* ── PRICING ── */
.pricing-box {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 8px 40px var(--accent-glow);
}

.price {
  font-size: 56px;
  font-weight: 800;
  margin: 16px 0;
}

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

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.price-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  margin-right: 10px;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-q {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 15px;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ── MEMBERSHIP STATUS ── */
.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-active {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.status-inactive {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { padding: 0 16px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .hero { padding: 48px 16px 40px; }
  .section { padding: 40px 16px; }
  .pricing-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  nav { gap: 10px; }
  .btn { padding: 12px 24px; font-size: 14px; }
}
