/**
 * ESTILOS DE LA LANDING PAGE
 * 
 * Diseño moderno y responsivo para cualquier nicho.
 * Los colores se pueden personalizar desde config.php
 */

/* ============================================
   ESTILOS GENERALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SECCIÓN HERO
   ============================================ */
.hero-section {
    background: white;
    margin: 20px 0;
    padding: 60px 40px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Elementos flotantes decorativos */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 25%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.content {
    position: relative;
    z-index: 10;
}

/* ============================================
   BADGE Y TÍTULOS
   ============================================ */
.badge {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

h1 {
    font-size: 3.5em;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.headline {
    font-size: 1.6em;
    color: #e74c3c;
    margin-bottom: 35px;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin: 50px 0;
}

/* ============================================
   SHOWCASE DEL PRODUCTO
   ============================================ */
.product-showcase {
    text-align: center;
}

.main-product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.main-product-image:hover {
    transform: scale(1.05);
}

/* ============================================
   SECCIÓN DE PRECIOS
   ============================================ */
.pricing-section {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.original-price {
    font-size: 1.6em;
    text-decoration: line-through;
    opacity: 0.9;
    margin-bottom: 10px;
}

.current-price {
    font-size: 4em;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   BOTONES
   ============================================ */
.buy-button {
    background: #000000;
    color: white;
    padding: 20px 40px;
    font-size: 1.4em;
    font-weight: bold;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
}

.buy-button:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* ============================================
   SECCIÓN DE BENEFICIOS
   ============================================ */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 2px solid #dee2e6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.checkmark {
    color: #27ae60;
    font-size: 1.3em;
    margin-right: 12px;
    margin-top: 2px;
    font-weight: bold;
}

/* ============================================
   SECCIÓN DE BUNDLES
   ============================================ */
.bundles-section {
    margin-top: 50px;
}

.bundle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.bundle-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.essential-bundle {
    border-color: #ff9500;
}

.complete-bundle {
    border-color: #36be17ff;
}

.bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.bundle-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff69b4;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.bundle-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.bundle-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    margin: 15px 0;
}

.bundle-savings {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.book-list {
    text-align: left;
    margin: 20px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.book-list h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1em;
}

.book-list ul {
    list-style: none;
    padding: 0;
}

.book-list li {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.book-list li:before {
    content: "📚";
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

/* ============================================
   SECCIÓN CTA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    margin: 50px 0;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.disclaimer {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    font-size: 0.9em;
    color: #6c757d;
    text-align: left;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        margin: 10px 0;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bundle-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5em;
    }
    
    .current-price {
        font-size: 3em;
    }
    
    .floating-element {
        display: none;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8em;
    }
    
    .cta-section p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    
    .headline {
        font-size: 1.2em;
    }
    
    .buy-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    
    .bundle-title {
        font-size: 1.2em;
    }
    
    .bundle-price {
        font-size: 2em;
    }
}