/* --- VARIABLES: EMERALD WEALTH --- */
:root {
    --bg-dark: #051a15;       
    --bg-coffee: #0a2921;     
    --accent: #FFD700;        
    --pink-glow: #e2e8f0;    
    --btn-start: #10B981;     
    --btn-end: #059669;       
    --glass: rgba(6, 78, 59, 0.3);
    --border-glass: rgba(52, 211, 153, 0.2);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: #F5F5F5;
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden; 
    position: relative;
}

/* NOISE & AMBIENT */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: -1; opacity: 0.4;
}
.ambient-light {
    position: fixed; top: -10%; left: -10%; width: 80vh; height: 80vh;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -2; animation: pulse 8s infinite alternate;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.1); opacity: 0.8; } }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.island-nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 500px;
    background: rgba(10, 41, 33, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 50px; padding: 10px 25px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.logo { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; }
.dot { color: var(--btn-start); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.link-hide-mobile { text-decoration: none; color: #ccc; font-size: 0.9rem; transition: 0.3s; }
.link-hide-mobile:hover { color: #fff; }
.social-ig { font-size: 1.3rem; color: #fff; transition: 0.3s; margin-right: 10px; display: flex; align-items: center; }
.social-ig:hover { color: #E1306C; transform: scale(1.1); }

.btn-nav-pill {
    background: var(--btn-start); color: #fff;
    padding: 8px 20px; border-radius: 20px;
    text-decoration: none; font-weight: 700; font-size: 0.85rem;
    transition: 0.3s;
}

/* HERO */
.hero { padding: 140px 0 80px; min-height: 90vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.pill-badge {
    display: inline-block; border: 1px solid var(--accent); color: var(--accent);
    padding: 5px 15px; border-radius: 30px; font-size: 0.75rem;
    margin-bottom: 20px; background: rgba(255, 215, 0, 0.05); letter-spacing: 1px;
}
h1 { font-family: var(--font-serif); font-size: 3.2rem; line-height: 1.1; margin-bottom: 20px; }
.shimmer-text {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 200% auto;
    background-clip: text; -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shine 3s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p { color: #a7b5b0; font-size: 1.1rem; margin-bottom: 30px; max-width: 90%; }

.btn-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--btn-start) 0%, var(--btn-end) 100%);
    color: #fff; padding: 14px 35px; border-radius: 50px;
    font-weight: 800; text-decoration: none;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4); transition: 0.3s;
}
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6); }

.cta-group { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.user-proof { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: #aaa; }
.avatars { display: flex; }
.av { width: 32px; height: 32px; background: #333; border-radius: 50%; border: 2px solid var(--bg-dark); display: grid; place-items: center; font-size: 1.2rem; font-weight: bold; margin-right: -10px; }

.hero-img-container { position: relative; }
.hero-img {
    width: 100%; border-radius: 30px; border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); filter: sepia(10%) contrast(1.1);
    transform: rotate(2deg); transition: 0.5s;
}
.hero-img:hover { transform: rotate(0deg); }

/* TARJETA FLOTANTE (ESTILO BASE) */
.floating-card {
    position: absolute; bottom: 40px; right: -20px;
    background: rgba(5, 26, 21, 0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--accent); padding: 15px 25px; border-radius: 15px;
    display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 2;
}
.bounce { animation: bounce 3s infinite ease-in-out; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.icon-box { width: 35px; height: 35px; background: rgba(255,255,255,0.1); border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.fc-title { font-size: 0.75rem; text-transform: uppercase; color: #aaa; margin:0; letter-spacing: 0.5px; }
.fc-sub { font-weight: bold; color: #fff; font-size: 1rem; margin:0; }

/* MARQUEE */
.marquee-container {
    background: var(--accent); color: var(--bg-dark); padding: 12px 0; overflow: hidden;
    transform: rotate(-2deg) scale(1.02); margin: 60px 0;
    border-top: 2px solid #fff; border-bottom: 2px solid #fff;
    /* Optimización para scroll */
    will-change: transform;
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-weight: 900; letter-spacing: 2px; padding-right: 20px; font-size: 1.1rem; white-space: nowrap; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* STORY */
.story-section { padding: 60px 0; }
.glass-card {
    background: var(--glass); border: 1px solid var(--border-glass); padding: 50px;
    border-radius: 30px; text-align: center; backdrop-filter: blur(5px);
}
.glass-card h2 { color: #fff; margin-bottom: 15px; font-family: var(--font-serif); font-size: 2rem;}

/* RUTINA */
.routine-section { padding: 60px 0; background: linear-gradient(to bottom, transparent, rgba(6, 78, 59, 0.1)); }
.routine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.routine-card {
    background: var(--bg-coffee); padding: 25px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden;
}
.time-badge {
    background: var(--btn-start); color: #fff; display: inline-block;
    padding: 5px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: bold; margin-bottom: 15px;
}
.routine-card h3 { font-size: 1.2rem; color: var(--accent); margin-bottom: 10px; }
.routine-card p { font-size: 0.9rem; color: #ccc; }

/* COMPARISON */
.comparison-section { padding: 60px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.compare-card { padding: 40px; border-radius: 20px; position: relative; }
.old-way { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: #aaa; }
.old-way h3 { color: #ccc; margin-bottom: 20px; font-size: 1.2rem; }
.old-way i { color: #ef4444; width: 25px; }

.new-way {
    background: linear-gradient(to bottom, #0a2921, #064e3b);
    border: 1px solid var(--btn-start);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2); transform: scale(1.05);
}
.new-way h3 { color: #fff; margin-bottom: 20px; font-size: 1.4rem; font-family: var(--font-serif); }
.new-way i { color: var(--btn-start); width: 25px; }
.new-way ul li { color: #fff; font-weight: 500; }
.badge-new {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--btn-start); color: #fff; padding: 4px 15px; border-radius: 20px;
    font-size: 0.75rem; font-weight: bold; text-transform: uppercase;
}
.compare-card ul { list-style: none; }
.compare-card li { margin-bottom: 15px; display: flex; align-items: center; }

/* ROADMAP */
.roadmap-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-family: var(--font-serif); font-size: 2.2rem; }
.subtitle-center { text-align: center; color: #aaa; margin-top: -30px; margin-bottom: 40px; }

.timeline { position: relative; max-width: 600px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 20px;
    width: 2px; background: rgba(212, 175, 55, 0.3);
}
.timeline-item { position: relative; margin-bottom: 50px; padding-left: 60px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute; left: 11px; top: 0; width: 20px; height: 20px;
    background: var(--bg-dark); border: 2px solid var(--accent); border-radius: 50%;
    z-index: 2; box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
.timeline-content {
    background: rgba(255,255,255,0.03); padding: 25px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.timeline-item:hover .timeline-content { background: rgba(255,255,255,0.06); border-color: var(--accent); transform: translateX(5px); }
.step-num {
    font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.05);
    position: absolute; right: 20px; top: 10px; line-height: 1; font-family: var(--font-serif);
}
.timeline-content h3 { color: #fff; margin-bottom: 10px; font-size: 1.3rem; }
.timeline-content p { font-size: 0.95rem; color: #ccc; margin: 0; }

/* GALLERY */
.gallery-section { padding: 60px 0; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px;
    height: 300px;
}
.g-item { border-radius: 15px; overflow: hidden; position: relative; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: brightness(0.8); }
.g-item:hover img { transform: scale(1.1); filter: brightness(1); }
.item-1 { grid-column: span 2; }
.item-2 { grid-column: span 1; }
.item-3 { grid-column: span 1; }
.item-4 { grid-column: span 4; height: 150px; margin-top: 0; }

/* BENTO */
.benefits-section { padding: 60px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box {
    background: var(--bg-coffee); padding: 30px; border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
}
.box:hover { transform: translateY(-5px); background: #0c3329; }
.icon-circle { width: 50px; height: 50px; background: rgba(16, 185, 129, 0.1); border-radius: 50%; display: grid; place-items: center; color: var(--btn-start); font-size: 1.2rem; margin-bottom: 20px; }

/* --- PRICING FIXED (CENTRADOS EN PC) --- */
.offer-section { padding: 40px 0 80px; overflow: hidden; }
.pricing-scroll-wrapper {
    display: flex; gap: 20px; padding: 20px 5px 40px;
    /* CLAVE PARA CENTRAR EN PC */
    justify-content: center; 
    flex-wrap: wrap; 
}

.pricing-card {
    flex: 1; min-width: 280px; max-width: 350px;
    background: var(--bg-coffee); border-radius: 25px;
    padding: 30px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05);
    position: relative; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between;
}
.pricing-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }

/* PRECIOS */
.price-group { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.price-usd { font-size: 2.8rem; font-weight: 700; color: #fff; font-family: var(--font-serif); line-height: 1; }
.price-local { font-size: 0.85rem; color: #aaa; margin-top: 5px; }

.popular { border: 1px solid var(--accent); background: linear-gradient(to bottom, #0a2921, #064e3b); transform: scale(1.03); z-index: 2; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.badge-pop {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #000; padding: 4px 12px; border-radius: 10px;
    font-size: 0.75rem; font-weight: bold; text-transform: uppercase;
}
/* ELITE */
.elite-card { background: #02110d; border: 1px solid var(--accent); box-shadow: 0 0 20px rgba(255, 215, 0, 0.15); }
.badge-elite {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #000; border: 1px solid var(--accent); color: var(--accent); padding: 4px 15px; border-radius: 10px;
    font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;
}
.btn-elite { border-color: var(--accent); color: var(--accent); }
.btn-elite:hover { background: var(--accent); color: #000; }
.profit-highlight { color: #10B981; font-weight: bold; }
.bonus-highlight { color: var(--accent); font-weight: bold; }

.p-header { font-size: 0.9rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.pricing-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 15px; }

.p-features { list-style: none; text-align: left; margin-bottom: 25px; font-size: 0.9rem; color: #ddd; padding-left: 10px; }
.p-features li { margin-bottom: 10px; display: flex; gap: 10px; align-items: start; }
.p-features i { color: var(--btn-start); min-width: 15px; margin-top: 4px; }

.btn-outline {
    display: block; width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; text-decoration: none; border-radius: 30px; font-weight: bold; transition: 0.3s;
}
.btn-outline:hover { background: #fff; color: #000; }
.btn-full { display: block; width: 100%; text-align: center; }
.swipe-hint { display: none; text-align: center; color: #666; font-size: 0.8rem; margin-top: -20px; animation: slideRight 1.5s infinite; }
@keyframes slideRight { 0%,100% {transform:translateX(0);} 50%{transform:translateX(5px);} }

/* FAQ & FOOTER */
.faq-section { padding-bottom: 60px; }
details { background: var(--bg-coffee); margin-bottom: 15px; border-radius: 15px; padding: 15px 20px; border: 1px solid rgba(255,255,255,0.05); }
summary { font-weight: bold; cursor: pointer; color: var(--btn-start); list-style: none; }
details p { margin-top: 10px; font-size: 0.95rem; color: #ccc; }
footer { text-align: center; padding: 40px 0; color: #888; font-size: 0.9rem; }
.footer-separator { height: 1px; background: rgba(255,255,255,0.1); width: 100px; margin: 0 auto 20px; }
.uriel-link { color: var(--accent); text-decoration: none; font-weight: bold; position: relative; }
.float-wa {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
    font-size: 2rem; box-shadow: 0 5px 20px rgba(0,0,0,0.5); z-index: 90; transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); }

/* ANIMATION UTILS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE (ARREGLO DE SCROLL TRANCADO Y TARJETA GIGANTE) */
@media (max-width: 768px) {
    .hero-grid, .comparison-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .cta-group { align-items: center; }
    .hero-img-container { order: -1; margin-bottom: 30px; }
    .hero-img { width: 80%; }
    .island-nav { width: 95%; top: 15px; padding: 8px 20px; }
    .link-hide-mobile { display: none; }
    
    .routine-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    
    /* SCROLL FIX: Quitamos la rotación en móvil para que no se tranque */
    .marquee-container { transform: none; margin: 20px 0; width: 100%; }
    .marquee-track span { font-size: 0.9rem; }

    /* TARJETA FLOTANTE FIX: Más chica y mejor ubicada */
        /* 1. Tarjeta Mini y Centrado "A prueba de balas" */
        .floating-card { 
            left: 0; 
            right: 0; 
            margin: 0 auto; 
            transform: none; 
            
            bottom: -40px;
            width: fit-content; 
            max-width: 90%; 
            
            padding: 5px 10px; 
            gap: 8px;
            border-radius: 10px; 
        }

        .floating-card .icon-box { 
            width: 24px;       
            height: 24px; 
            font-size: 0.7rem; 
        }

        .fc-title { 
            font-size: 0.5rem; 
            margin-bottom: 0;
            letter-spacing: 0.3px;
        }
        
        .fc-sub { 
            font-size: 0.65rem;
            line-height: 1.1;
        }

    /* MOBILE PRICING: SCROLL HORIZONTAL */
    .pricing-scroll-wrapper {
        justify-content: flex-start; 
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-right: 20px;
    }
    .pricing-card {
        min-width: 85%;
        scroll-snap-align: center;
        margin-right: 10px;
    }
    .swipe-hint { display: block; }
    
    .timeline::before { left: 15px; } .timeline-item { padding-left: 50px; } .timeline-dot { left: 6px; }
    .gallery-grid { grid-template-columns: 1fr; height: auto; }
    .item-1, .item-2, .item-3, .item-4 { grid-column: auto; height: 200px; }
}