:root {
  --bg-main: #050212;
  --bg-card: rgba(13, 6, 31, 0.96);
  --bg-elevated: radial-gradient(circle at top left, #3a1b6a 0, #1a0b35 40%, #0d061f 100%);
  --accent-gold: #f9c03b;
  --accent-pink: #e97eff;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }
body.body-bg {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #1b0e3a 0, #050212 40%, #02000c 100%);
}

main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 80px; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(8, 3, 28, 0.92); }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { font-family: 'Playfair Display', serif; font-weight: 600; text-decoration: none; color: var(--text-main); }
.navbar-nav { display: flex; gap: 16px; }
.nav-link { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; }
.nav-link.nav-login { margin-right: 8px; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }

/* HERO */
.hero { padding-top: 40px; padding-bottom: 80px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin: 16px 0; }
.hero-copy p { color: var(--text-muted); max-width: 520px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; background: rgba(249, 192, 59, 0.12); color: var(--accent-gold); }
.hero-actions { margin-top: 24px; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; border: none; text-decoration: none; font-weight: 500; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink)); color: #120615; }
.btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--text-main); }
.hero-stats { margin-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; }
.stat-number { font-size: 1.4rem; font-weight: 600; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* HERO VISUAL ORBIT */
.hero-visual { display: flex; justify-content: center; }
.hero-orbit { position: relative; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at top, #3a1b6a, #110524); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); }
.orbit-ring-1 { inset: 32px; animation: spin 18s linear infinite; }
.orbit-ring-2 { inset: 12px; animation: spin 26s linear infinite reverse; }
.orbit-center { position: absolute; inset: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.orbit-icon { font-size: 2.4rem; }
.orbit-text { font-size: 0.9rem; color: var(--text-muted); }
.orbit-card { position: absolute; padding: 6px 10px; border-radius: 999px; background: rgba(8, 3, 28, 0.9); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.8rem; color: var(--text-muted); }
.orbit-card-1 { top: 30px; left: 50%; transform: translateX(-50%); }
.orbit-card-2 { bottom: 38px; left: 18px; }
.orbit-card-3 { bottom: 42px; right: 18px; }

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

/* DECKS SECTION */
.section.decks { margin-top: 40px; padding: 48px 32px; border-radius: 32px; background: var(--bg-elevated); }
.section.decks .section-header { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.section.decks h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 12px; }
.section.decks p { color: var(--text-muted); }
.decks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.deck-card { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: 24px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.deck-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7); border-color: rgba(255, 255, 255, 0.18); }
.deck-image img { width: 140px; height: auto; border-radius: 18px; }
.deck-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.deck-body p { font-size: 0.9rem; color: var(--text-muted); }
.deck-badge { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(249, 192, 59, 0.16); color: var(--accent-gold); }

/* COMO FUNCIONA, RESEÑAS, FAQ, FOOTER */
.section { margin-top: 60px; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { padding: 20px; border-radius: 20px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.06); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(249, 192, 59, 0.16); color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 10px; }

.resenas-row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 8px; }
.resena-card { min-width: 260px; max-width: 260px; padding: 18px; border-radius: 18px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.06); }
.resena-stars { color: var(--accent-gold); margin-bottom: 6px; }
.resena-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.resena-author { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.faq-list details { margin-bottom: 8px; padding: 14px 16px; border-radius: 16px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.06); }
.faq-list summary { cursor: pointer; }
.faq-list p { margin-top: 8px; font-size: 0.9rem; color: var(--text-muted); }

.footer { margin-top: 80px; padding: 32px 24px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(8, 3, 28, 0.95); }
.footer-inner { max-width: 1200px; margin: 0 auto 16px; display: flex; justify-content: space-between; gap: 32px; }
.footer-logo { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink)); color: #120615; font-weight: 600; margin-bottom: 8px; }
.footer-brand p { max-width: 260px; color: var(--text-muted); font-size: 0.9rem; }
.footer-columns { display: flex; gap: 24px; }
.footer-column h4 { font-size: 0.9rem; margin-bottom: 8px; }
.footer-column a { display: block; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; margin-bottom: 4px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .decks-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
