/* =========================================================
   NutroVia — Global Styles
   Dark premium design with gold accents
   ========================================================= */

/* ─── Variables ──────────────────────────────────────────── */
:root {
    --gold: #c9a84c;
    --gold-light: #e4c47a;
    --gold-dark: #a0822d;
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --bg-dark: #080808;
    --text: #e8e0d0;
    --text-muted: #888880;
    --text-dim: #555550;
    --border: #1e1e1e;
    --border-gold: rgba(201, 168, 76, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

ul {
    list-style: none;
}

/* ─── Scrollbar personalizado ────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

/* ─── Utilidades ─────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

.gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
    }

    50% {
        box-shadow: 0 0 50px rgba(201, 168, 76, 0.4);
    }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: var(--target-width);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.30s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.60s;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #0a0a0a;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.btn-gold:hover::after {
    opacity: 1;
}

.btn-gold-large {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #0a0a0a;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    animation: glow 3s ease-in-out infinite;
}

.btn-gold-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.5);
}

.btn-gold-large .btn-icon {
    font-size: 14px;
}

.btn-gold-large .btn-arrow {
    transition: var(--transition);
}

.btn-gold-large:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    background: rgba(201, 168, 76, 0.05);
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-color: var(--border-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text);
}

.logo-dot {
    font-size: 28px;
    color: var(--gold);
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    bottom: -10px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.cta-disclaimer {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ─── FEATURES GRID ──────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), var(--bg-card));
}

.feature-card.featured::before {
    opacity: 1;
}

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

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.featured-badge {
    display: inline-block;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-top: 16px;
}

/* ─── STEPS ──────────────────────────────────────────────── */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--border-gold);
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
    margin-top: 28px;
}

/* ─── PRICING CARD ───────────────────────────────────────── */
.pricing-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
}

.pricing-trial {
    text-align: center;
    flex: 1;
}

.trial-badge {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.pricing-trial h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-trial p {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-divider {
    width: 1px;
    height: 80px;
    background: var(--border);
    flex-shrink: 0;
}

.pricing-main {
    flex: 1;
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

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

.price-amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

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

.price-features li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 2px 0;
}

.pricing-cta {
    flex-shrink: 0;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
}

.testimonial-card.featured-testimonial {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), var(--bg-card));
}

.stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #0a0a0a;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-dim);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--border-gold);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-arrow {
    color: var(--gold);
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ─── CTA FINAL ──────────────────────────────────────────── */
.cta-section {
    background: var(--bg);
}

.cta-final-card {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final-card h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin: 16px 0;
}

.cta-final-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    background: var(--bg-dark);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 12px;
    max-width: 260px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-dim);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-dim);
}

/* ─── FORMS / QUESTIONNAIRE / LOGIN ─────────────────────── */
.page-wrapper {
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

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

/* ─── Quiz / Multistep ───────────────────────────────────── */
.quiz-container {
    width: 100%;
    max-width: 680px;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.quiz-logo .logo-dot {
    color: var(--gold);
}

.progress-bar-container {
    background: var(--border);
    border-radius: 50px;
    height: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 50px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    animation: fadeUp 0.4s ease;
}

.quiz-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.quiz-card .subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.option-grid {
    display: grid;
    gap: 12px;
}

.option-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.option-grid.cols-1 {
    grid-template-columns: 1fr;
}

.option-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-btn:hover {
    border-color: var(--border-gold);
    background: rgba(201, 168, 76, 0.05);
}

.option-btn.selected {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
}

.option-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
}

.option-title {
    font-weight: 700;
    display: block;
}

.option-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.option-btn.selected .option-desc {
    color: rgba(201, 168, 76, 0.7);
}

/* Checkboxes para condiciones de salud */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-item:hover {
    border-color: var(--border-gold);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-item input:checked~.checkbox-custom,
.checkbox-item.checked .checkbox-custom {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-item.checked .checkbox-custom::after {
    content: '✓';
    font-size: 11px;
    color: #0a0a0a;
    font-weight: 900;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 500;
}

.checkbox-item.checked {
    border-color: var(--border-gold);
    background: rgba(201, 168, 76, 0.05);
}

/* Slider */
.range-slider {
    width: 100%;
    appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    margin: 12px 0;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.range-value {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
}

/* Navigation buttons */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-prev {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-prev:hover {
    border-color: var(--border-gold);
    color: var(--text);
}

.btn-next {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0a;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.btn-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Stripe payment element */
#stripe-card-element {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    transition: var(--transition);
}

#stripe-card-element.focused {
    border-color: var(--gold);
}

.stripe-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.stripe-info .lock {
    color: var(--gold);
    font-size: 16px;
}

/* Success screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: float 2s ease-in-out infinite;
}

.success-screen h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.success-screen p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 400px;
    margin-inline: auto;
}

.success-dates {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.date-badge {
    background: var(--bg);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
}

.date-badge .date-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.date-badge .date-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
}

/* ─── DASHBOARD ──────────────────────────────────────────── */
.dashboard-layout {
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 16px 12px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 2px;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.sidebar-link.active {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.sidebar-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #0a0a0a;
    flex-shrink: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 700;
}

.user-email {
    font-size: 11px;
    color: var(--text-dim);
}

.dashboard-main {
    margin-left: 280px;
    padding: 32px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dashboard-topbar h1 {
    font-size: 26px;
    font-weight: 800;
}

.dashboard-topbar p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Status banner */
.status-banner {
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid;
}

.status-banner.trial {
    background: rgba(201, 168, 76, 0.06);
    border-color: var(--border-gold);
}

.status-banner.active {
    background: rgba(76, 201, 100, 0.06);
    border-color: rgba(76, 201, 100, 0.25);
}

.status-banner.cancelled {
    background: rgba(201, 76, 76, 0.06);
    border-color: rgba(201, 76, 76, 0.25);
}

.status-banner.warning {
    background: rgba(201, 140, 76, 0.06);
    border-color: rgba(201, 140, 76, 0.25);
}

.banner-info {
    flex: 1;
}

.banner-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 6px;
}

.status-banner.trial .banner-badge {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

.status-banner.active .banner-badge {
    background: rgba(76, 201, 100, 0.15);
    color: #4cc964;
}

.status-banner.cancelled .banner-badge {
    background: rgba(201, 76, 76, 0.15);
    color: #c94c4c;
}

.banner-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.banner-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.banner-action {
    flex-shrink: 0;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(201, 76, 76, 0.4);
    color: #c94c4c;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: rgba(201, 76, 76, 0.1);
}

/* Dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.dash-card:hover {
    border-color: var(--border-gold);
}

.dash-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dash-card-value {
    font-size: 38px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.dash-card-unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.dash-card-sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 6px;
}

/* Macro bars */
.macro-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.macro-bar-item .macro-head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.macro-bar-item .macro-name {
    font-weight: 600;
}

.macro-bar-item .macro-val {
    color: var(--text-muted);
}

.macro-bar-bg {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.macro-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.macro-bar-fill.protein {
    background: linear-gradient(90deg, #4cc9f0, #7bc8e2);
}

.macro-bar-fill.carbs {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.macro-bar-fill.fat {
    background: linear-gradient(90deg, #f7996e, #e07050);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-dark);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.tab-btn:hover:not(.active) {
    color: var(--text);
}

/* Menu table */
.menu-table {
    width: 100%;
    border-collapse: collapse;
}

.menu-table th {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.menu-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    vertical-align: top;
}

.menu-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.menu-day {
    font-weight: 700;
    color: var(--gold);
}

.meal-name {
    font-weight: 600;
    display: block;
}

.meal-kcal {
    font-size: 12px;
    color: var(--text-dim);
    display: block;
}

.meal-ingr {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Training session cards */
.training-grid {
    display: grid;
    gap: 16px;
}

.training-session {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.training-session:hover {
    border-color: var(--border-gold);
}

.session-day-badge {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}

.session-tipo {
    display: block;
    font-size: 10px;
    margin-top: 4px;
    letter-spacing: 1px;
}

.session-exercises {
    flex: 1;
}

.session-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.exercise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.exercise-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Supplements */
.supp-grid {
    display: grid;
    gap: 12px;
}

.supp-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.supp-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.supp-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.supp-dosis {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 4px;
}

.supp-motivo {
    font-size: 12px;
    color: var(--text-muted);
}

/* Loading */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 16px;
}

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

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

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

.alert-error {
    background: rgba(201, 76, 76, 0.1);
    border: 1px solid rgba(201, 76, 76, 0.3);
    color: #e88;
}

.alert-success {
    background: rgba(76, 201, 100, 0.1);
    border: 1px solid rgba(76, 201, 100, 0.3);
    color: #6ee88a;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-actions.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(70px + 5 * 44px);
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .pricing-card {
        flex-direction: column;
        text-align: center;
    }

    .pricing-divider {
        width: 80px;
        height: 1px;
    }

    .footer-top {
        flex-direction: column;
    }


    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: var(--shadow);
    }

    .dashboard-main {
        margin-left: 0;
        padding: 20px 16px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .form-input-group {
        grid-template-columns: 1fr;
    }

    .option-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}