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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    padding-bottom: 0.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

#introduccion-ebook p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
    color: #555;
}

#ventajas ul {
    list-style: none;
    padding: 0;
}

#ventajas li {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    position: relative;
    padding-left: 3rem;
    transition: transform 0.3s ease;
}

#ventajas li:hover {
    transform: translateX(10px);
}

#ventajas li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2rem;
}

#perfil-autor {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

#perfil-autor p {
    font-size: 1.1rem;
    text-align: justify;
    color: #444;
}

#compra {
    text-align: center;
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .buy-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 0.5rem;
    }
    
    section {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
}


/* Estilos para la sección del ebook */
.ebook-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.ebook-image {
    flex: 0 0 300px;
    text-align: center;
}

.ebook-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.ebook-description {
    flex: 1;
}

.ebook-description p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
    color: #555;
}

/* Responsive para la imagen del ebook */
@media (max-width: 768px) {
    .ebook-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ebook-image {
        flex: none;
        margin: 0 auto 1.5rem;
    }
    
    .ebook-image img {
        max-width: 250px;
    }
    
    .ebook-description {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .ebook-image img {
        max-width: 200px;
    }
}



.discount-message {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


