/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
:root {
    --color-primary-dark: #0F172A;
    --color-white: #FFFFFF;
    --color-accent-gold: #EAB308;
    --color-accent-gold-hover: #FACC15;
    --color-bg-light: #F9FAFB;
    --color-bg-dark: #1F2937;
    --color-bg-green-soft: #DCFCE7;
    --color-bg-green: #16A34A;
    --color-bg-red: #DC2626;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 25px rgba(234, 179, 8, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.highlight { color: var(--color-accent-gold); position: relative; display: inline-block; }
.highlight::after {
    content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 8px;
    background: var(--color-accent-gold); opacity: 0.3; z-index: -1; border-radius: 4px;
}

p { margin-bottom: 1rem; }
.text-large { font-size: 1.25rem; font-weight: 500; }
.text-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.text-xl { font-size: 1.5rem; }

/* Colors */
.text-white { color: var(--color-white); }
.text-black { color: #000; }
.text-dark { color: var(--color-primary-dark); }
.text-gold { color: var(--color-accent-gold); }
.text-red { color: var(--color-bg-red); }
.text-green { color: var(--color-bg-green); }
.text-gray { color: #64748b; }
.title-gold { color: var(--color-accent-gold); text-shadow: 0 2px 10px rgba(234, 179, 8, 0.2); }

.bg-dark { background: var(--color-primary-dark); }
.bg-light { background: var(--color-bg-light); }
.bg-green-solid { background: var(--color-bg-green); }
.bg-white-10 { background: rgba(255,255,255,0.1); }

.opacity-80 { opacity: 0.8; }
.opacity-50 { opacity: 0.5; }

/* Layout & Utils */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.content-center { max-width: 800px; margin: 0 auto; }
.section { padding: 10px 0; position: relative; overflow: hidden; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 2rem; }
.mt-8 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 3rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 3rem; }
.w-full { width: 100%; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.rounded-full { border-radius: var(--radius-full); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-4xl { font-size: 2.5rem; }

/* Specific Components */
.divider { width: 60px; height: 4px; margin: 1rem auto; border-radius: 2px; }
.divider.text-black { background: #000; }
.divider.text-dark { background: var(--color-primary-dark); margin-left: 0;}
.divider.text-green { background: var(--color-bg-green); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700; font-family: var(--font-heading);
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
    transition: var(--transition);
    border: none; cursor: pointer;
}
.btn-gold {
    background: var(--color-accent-gold); color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
}
.btn-gold:hover {
    background: var(--color-accent-gold-hover);
    transform: translateY(-2px); box-shadow: var(--shadow-glow);
}
.btn-black {
    background: #000; color: #FFF;
}
.btn-black:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-large {
    font-size: 1.125rem; padding: 1.25rem 2.5rem;
}

/* Micro-animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(234, 179, 8, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}
.pulse-btn { animation: pulse 2.5s infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.floating { animation: float 6s ease-in-out infinite; }

.background-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(234,179,8,0.15) 0%, rgba(15,23,42,0) 70%);
    z-index: 1; pointer-events: none;
}
.background-glow.pos-top { top: -200px; right: -200px; }
.background-glow.pos-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* 1. HERO */
.hero {
    background: var(--color-primary-dark);
    color: var(--color-white);
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-chip {
    display: inline-block; padding: 0.5rem 1rem;
    background: rgba(234, 179, 8, 0.1); color: var(--color-accent-gold);
    border-radius: var(--radius-full); font-weight: 600; font-size: 0.875rem;
    margin-bottom: 1.5rem; border: 1px solid rgba(234, 179, 8, 0.2);
}
.hero-main-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    display: block;
}
.hero .subhead { font-size: 1.25rem; color: #cbd5e1; margin: 1.5rem 0; }
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem; margin: 2rem auto;
}
.bullets { list-style: none; text-align: left; max-width: 600px; }
.bullets li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 0.75rem; }
.bullets i { color: var(--color-accent-gold); font-size: 1.5rem; margin-top: 0.1rem; }
.cta-wrapper { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.secure-badge { font-size: 0.875rem; color: #94a3b8; display: flex; align-items: center; gap: 0.5rem; }

/* 2. PROBLEMA */
.problema { background: var(--color-white); }
.highlight-box {
    border-radius: var(--radius-md); padding: 2.5rem;
    margin: 2rem auto; max-width: 600px;
    box-shadow: var(--shadow-soft);
}
.highlight-box h3 { margin-bottom: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* 3. AGITACION */
.agitacion { background: var(--color-bg-light); }
.tags-wrapper { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.tag {
    background: white; padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
    font-weight: 600; color: var(--color-primary-dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 0.5rem;
}
.truth-card {
    background: white; padding: 3rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft); text-align: center; max-width: 700px; margin-left: auto; margin-right: auto;
    border-top: 4px solid var(--color-bg-red);
}
.card-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 2px; color: #64748b; font-weight: 700; margin-bottom: 1rem;}
.chaos-cycle { max-width: 500px; margin-left: auto; margin-right: auto; }
.cycle-steps { background: white; border-radius: var(--radius-md); padding: 2rem; border-left: 4px solid #cbd5e1; text-align: left;}
.step { font-size: 1.125rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; color: var(--color-primary-dark); font-weight: 500;}
.step i { color: #94a3b8; }

/* 4. MECANISMO */
.mecanismo { background: var(--color-primary-dark); color: white; }
.check-list { list-style: none; text-align: left; }
.check-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; font-size: 1.1rem; }
.dark-list li::before { content: '→'; color: var(--color-accent-gold); font-weight: bold; }
.rule-box { background: white; color: var(--color-primary-dark); padding: 2.5rem; border-radius: var(--radius-lg); }
.rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.rule-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 1.5rem; border-radius: var(--radius-md); }
.rule-item.bad { background: #fee2e2; }
.rule-item.good { background: #fefce8; }
.rule-item i { font-size: 2.5rem; }

/* 5. PRODUCTO */
.producto { background: var(--color-white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.product-image img { width: 100%; max-width: 380px; margin: 0 auto; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge { background: var(--color-primary-dark); color: white; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 500; }
.product-box { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; }
.product-box .check-list li i { font-size: 1.5rem; flex-shrink: 0; }

/* 6. BONOS */
.bonos { background: var(--color-bg-dark); color: white; }
.bonos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.bono-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem; border-radius: var(--radius-md); transition: var(--transition);
}
.bono-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.bono-mockup {
    width: 100%; max-width: 220px; height: auto; margin: 0 auto 1.5rem; display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4)); transition: var(--transition);
}
.bono-card:hover .bono-mockup { transform: translateY(-10px) scale(1.05); }

/* 7. PRUEBA SOCIAL */
.prueba-social { background: var(--color-bg-light); padding: 5rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
    background: var(--color-white); 
    padding: 2.5rem; 
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08); 
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}
.quote-icon {
    font-size: 3rem;
    color: var(--color-accent-gold);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-primary-dark);
    flex-grow: 1;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--color-accent-gold);
    color: var(--color-primary-dark);
}
.author-name {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
}

/* 8. TRANSFORMACION */
.transformacion { background: var(--color-bg-green-soft); }
.imagine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.imagine-item { text-align: center; }
.icon-wrap { width: 4rem; height: 4rem; border-radius: var(--radius-full); margin: 0 auto 1.5rem; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.impact-list { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 1.25rem; font-weight: 700; }
.impact-list span i { color: var(--color-bg-green); }

/* 9. OFERTA (New Dark Theme) */
.oferta { background: var(--color-primary-dark); color: white; }
.pricing-card { max-width: 550px; margin: 0 auto; border-radius: var(--radius-lg); padding: 3rem 2.5rem; }
.dark-theme-card { background: #16181b; color: white; border: 2px solid #F6BC0E; box-shadow: 0 25px 50px rgba(0,0,0,0.6); }

.price-title { font-family: var(--font-heading); font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; color: #FFE0B2; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.price-subtitle { font-size: 1.4rem; font-weight: 400; line-height: 1.3;}
.text-bright-green { color: #00E676; }
.text-blue { color: #29B6F6; }
.text-warning { color: #FFCA28; }
.feature-title { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }

.oferta-list-new { list-style: none; text-align: left; }
.oferta-list-new li { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.8rem; font-size: 1.05rem; font-weight: 500; }
.oferta-list-new i { font-size: 1.4rem; margin-top: 2px; }
.custom-check { color: #F6BC0E; font-size: 1.2rem; font-weight: 800; display: inline-block; transform: translateY(2px); }

.oferta-limitada { font-size: 2.5rem; text-transform: uppercase; font-weight: 800; margin-bottom: 0; text-shadow: 0 2px 10px rgba(255,202,40,0.2); }

.btn-custom-gold { background: #F6BC0E; color: var(--color-primary-dark); font-size: 1.2rem; padding: 1.2rem 2rem; box-shadow: 0 4px 15px rgba(246, 188, 14, 0.4); text-transform: uppercase; font-weight: 800; }
.btn-custom-gold:hover { background: #ffd343; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(246, 188, 14, 0.6); }

.deliver-text { gap: 0.5rem; opacity: 0.9; justify-content: center; }
.deliver-text i { font-size: 1.5rem; }

/* 10. GARANTIA */
.garantia { background: var(--color-bg-green); color: white; padding: 4rem 0; }

/* FAQ Section */
.faq { background: var(--color-bg-light); padding: 5rem 0; }
.faq-list { 
    max-width: 800px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    transition: background 0.3s ease;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item:hover {
    background: #f8fafc;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}
.faq-question i {
    font-size: 1.25rem;
    color: var(--color-bg-green);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-question {
    color: var(--color-bg-green);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-answer-inner {
    overflow: hidden;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer-inner {
    padding-bottom: 1.5rem;
}
.faq-answer-inner p {
    margin: 0;
    color: var(--color-gray);
    line-height: 1.6;
}

/* 11. URGENCIA */
.urgencia { background: var(--color-bg-red); color: white; padding: 5rem 0;}

footer { background: #000; padding: 2rem 0; }

/* Animations - Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.box-reveal { opacity: 0; transform: scale(0.95); transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.box-reveal.active { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .rule-grid { grid-template-columns: 1fr; }
    .imagine-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .section { padding: 10px 0; }
    .impact-list { flex-direction: column; gap: 1rem; }
    .pricing-card { padding: 2rem 1.5rem; }
}
