/* --- TUS VARIABLES Y FUENTES ORIGINALES --- */
@font-face { font-family: 'Nunito'; src: url('./Nunito/Nunito-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('./Nunito/Nunito-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('./Nunito/Nunito-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('./Nunito/Nunito-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }


:root {
    --bg-dark: #020617;
    --bg-card: #161616;
    --gold: #d4af37;
    --gold-light: #fff7c2;
    --gold-dark: #b8860b;
    --gold-deep: #8b6c09;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {

    font-family: sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


img { width: 100%; max-width: 500px; height: auto; display: block; }

h1 { 
    font-size: clamp(1.875rem, 1.2054rem + 2.1429vw, 2.8125rem);
    margin-bottom: 2rem;
    max-width: 1000px;
    width: 90%;
}

h2{
    font-size: clamp(1.5rem, 1.1161rem + 1.4286vw, 2.1875rem);
    margin: 2rem 0;
    max-width: 1000px;
    width: 90%;
}
    
p {
    font-size: 20px;
    color: var(--text-muted);
    text-align: justify;
}

/* --- CLASES DE UTILIDAD PARA ICONOS SVG --- */
.flex-colum {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.flex-responsive{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    .item-flex {
        flex: 1 1 300px; /* flex-grow: 1, flex-shrink: 1, flex-basis: 300px */
        min-width: 250px; /* Ancho mínimo para que no se comprima demasiado */
        max-width: 550px; /* Opcional: Ancho máximo para controlar */
        padding: 20px;
    }
}

/* --- CLASES DE UTILIDAD PARA ICONOS SVG --- */
.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* --- REEMPLAZO DE AOS (Animaciones) --- */
/* Estado inicial: Oculto y desplazado */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Estado final: Visible (JS agregará esta clase) */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- LAZY LOAD BACKGROUND --- */
.lazy-bg {
    background-color: #1a1a1a;
    transition: background-image 0.5s ease-in-out;
}

/* --- ESTILOS GENERALES (Mantenidos de tu diseño) --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto;}

h1, h2, h3 {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(to right, #ffef9d, #cd9915, #fceb94);
    background-size: 100% auto;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.btn-cta {
    display: inline-flex; /* Para alinear el SVG */
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, var(--gold), #f1c40f);
    color: #000;
    width: 90%; max-width: 700px;
    padding: 18px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
    font-size: 1.1rem; border: none; cursor: pointer; text-decoration: none;
    margin: 2rem 0;
}
.btn-cta:hover { transform: translateY(-3px) scale(1.02); }

/* --- HERO SECTION --- */


.hero {
    width: 100%;
    padding: 60px 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
      background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(45deg, rgba(0,255,128,0.09) 0, rgba(0,255,128,0.09) 1px, transparent 1px, transparent 20px),
       repeating-linear-gradient(-45deg, rgba(255,0,128,0.10) 0, rgba(255,0,128,0.10) 1px, transparent 1px, transparent 30px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 80px),
        radial-gradient(circle at 60% 40%, rgba(102, 44, 94, 0.292) 0, transparent 60%);
      
      background-size: 80px 80px, 40px 40px, 60px 60px, 80px 80px, 100% 100%;
      background-position: 0 0, 0 0, 0 0, 40px 40px, center;


}
.hero .subhead { text-align: center; color: transparent; -webkit-text-stroke: 1px #f1c40f96; margin-bottom: 2rem;}
.hero-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; align-items: center; }
.hero-text h2 { font-size: 1.8rem; margin: 10px 0; animation: goldShine 3s linear infinite; }
.hero-text p { text-align: justify; }

.testimonios { display: flex; gap: 25px; margin: 2rem 0; justify-content: center}
.testimonios-img img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid white; margin-right: -15px; }
.start svg { width: 22px; height: 22px; color: #ffd700; margin-right: -5px;} 
.start-text { font-size: 14px;}

.book-mockup img { width: 100%; transform: rotateY(-15deg); transition: 0.5s; }
.book-mockup:hover img { transform: rotateY(0deg); }

/* --- MARQUEE (Texto infinito) --- */
.marquee-container { background: var(--gold); color: #000; padding: 15px 0; transform: rotate(2deg); overflow: hidden; margin: 40px 0; }
.marquee-content { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee-item { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.1rem; margin-right: 60px; display: flex; align-items: center; gap: 10px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- STORY & BENEFITS --- */
.section-story{ width: 100%;}

.story, .benefits, .included, .testimonials, .offer, .guarantee { padding: 60px 0; }
.quote-box { background: rgba(212, 175, 55, 0.05); border-left: 4px solid var(--gold); padding: 20px; font-style: italic; margin: 30px 0; }
.included{
    background-color: black;
}

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit-card { background: var(--bg-card); padding: 30px; border-radius: 10px; border: 1px solid #333; text-align: center; }
.benefit-card .icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; width: 40px; height: 40px; }

/* --- INCLUDED SECTION --- */
.content-list ul { list-style: none; }
.content-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.content-list .icon { color: var(--gold); margin-top: 5px; flex-shrink: 0; }
.content-img img { border-radius: 10px; }

/* --- REEMPLAZO DE SWIPER (CSS SCROLL SNAP) --- */
.testis{
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    gap: 20px;
    padding-bottom: 30px;
    align-items: flex-start;
    justify-content: flex-start;
 
}
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 30px;
    -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
    scrollbar-width: none; /* Ocultar scrollbar Firefox */
}
.slider-container::-webkit-scrollbar { display: none; /* Ocultar scrollbar Chrome */ }

.slider-card {
    flex: 0 0 min(100%, 30rem);
    scroll-snap-align: center;
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    min-height: 250px;
    display: flex; flex-direction: column; justify-content: space-between;
}

.review-card .stars { color: var(--gold); margin-bottom: 15px; }
.review-card .user-info { display: flex; align-items: center; margin-top: 20px; border-top: 1px solid #333; padding-top: 15px; }
.user-avatar { width: 40px; height: 40px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-weight: bold; margin-right: 15px; }

/* Indicador visual de deslizamiento (Opcional) */
.swipe-hint { text-align: center; font-size: 0.8rem; color: #666; margin-top: 10px; }

/* --- OFFER & GUARANTEE --- */
.offer { background: linear-gradient(to bottom, #000, #1a1a1a); position: relative; }
.price-card { background: rgba(255, 255, 255, 0.05); border: 2px solid var(--gold); padding: 40px; width:100%; max-width: 400px; margin: 0 auto; border-radius: 20px; position: relative; }
.ribbon { position: absolute; top: -15px; right: -15px; background: var(--gold); color: #000; padding: 5px 15px; font-weight: bold; transform: rotate(10deg); }
.new-price { font-size: 3.5rem; color: var(--gold); font-weight: 700; }
.bonuses li { list-style: none; margin-bottom: 8px; display: flex; gap: 10px; }
.badge { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; text-align: center; }
.badge img { max-width: 150px !important; }

/* --- RESPONSIVE GENERAL --- */

.pulse {
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }
  
  @keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.1);}
    100% {transform: scale(1);}
  }
      