:root {
    --primary-color: #D3A4FF; /* Lila claro llamativo para títulos y detalles */
    --secondary-color: #2F1157; /* Púrpura muy oscuro para contrastes */
    --accent-color: #FFD700; /* Oro vibrante para botones y acentos */
    --text-dark: #FFFFFF; /* Texto principal en blanco para fondo oscuro */
    --text-light: #F4F4F6; /* Blanco roto */
    --bg-light: #4A1C82; /* Morado fuerte lila principal (Llamativo) */
    --glass-bg: rgba(255, 255, 255, 0.15); /* Vidrio esmerilado translúcido */
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light); /* Fondo moradito fuerte */
    background-image: radial-gradient(circle at top left, #6929B9, #4A1C82, #2F1157); /* Degradado llamativo */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.shadow-premium {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #3F1D6D; /* Texto oscuro sobre el botón dorado */
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background-color: #FFEA70;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background-color: #D3A4FF; /* Lila claro */
    color: #2F1157;
    box-shadow: 0 10px 20px rgba(211, 164, 255, 0.4);
}

.btn-secondary:hover {
    background-color: #E6C9FF;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(211, 164, 255, 0.6);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* HERO SECTION */
.hero {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: #984CE0; /* Destello lila brillante */
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: #D3A4FF; /* Destello lila claro */
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero .title {
    font-size: 3.2rem;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #E6C9FF; /* Lila suave para subtítulo */
}

.hero-image-container {
    margin-bottom: 40px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section-title span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* MAIN BOOKS & BONUSES CARDS */
.main-books, .bonuses {
    padding: 80px 0;
}

.bonuses {
    background-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(47,17,87,0.7) 0%, rgba(74,28,130,0.7) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-color); /* Oro vibrante para destacar en oscuro */
}

.recipe-count {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.card-desc {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #EFEFEF;
}

.recipe-list {
    list-style: none;
    margin-bottom: 20px;
}

.recipe-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    padding-left: 5px;
    color: #FFFFFF;
}

.recipe-list .highlight {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 15px;
}

.card-extra {
    font-size: 0.85rem;
    color: #B29ACC; /* Lila grisáceo */
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.center-btn {
    text-align: center;
    margin-top: 20px;
}

/* FEATURES SECTION */
.features {
    padding: 80px 0;
}

.features-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #E6C9FF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* TESTIMONIALS */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(74,28,130,0.8) 0%, rgba(47,17,87,0.8) 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.testimonial-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 3px solid rgba(255,255,255,0.2);
}

.testimonial-img:hover {
    transform: scale(1.05);
}

/* FINAL OFFER */
.final-offer {
    padding: 100px 0;
    text-align: center;
    background-image: url('PORTADA DE VENTA.png'); /* Fallback / Hint */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.final-offer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(47, 17, 87, 0.85); /* Overlay morado oscuro para legibilidad */
}

.offer-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.12); /* un poco más de opacidad para el box final */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.offer-box h2 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.offer-summary p {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #E6C9FF;
}

.offer-summary .plus {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.total-recipes {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 30px 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.offer-note {
    font-style: italic;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.format {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.large-btn {
    font-size: 1.3rem;
    padding: 20px 40px;
    width: 100%;
    max-width: 450px;
}

.brand-tag {
    margin-top: 40px;
    font-size: 0.95rem;
    color: #D3A4FF;
}

/* FOOTER */
footer {
    background-color: #1A0830; /* Morado casi negro */
    color: #A386C7; /* Gris lila */
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}

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

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero .title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .offer-box {
        padding: 30px 20px;
    }
}
