/* =========================================
   CURSO PRO - ESTILO ACADEMIA
   ========================================= */

:root {
    --primary: #8e44ad;
    /* Morado */
    --secondary: #9b59b6;
    /* Morado claro */
    --accent: #f1c40f;
    /* Amarillo Acción */
    --dark: #2c3e50;
    --light: #f3f3f3;
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- TOP ALERT --- */
.top-alert {
    background-color: var(--accent);
    color: var(--dark);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
    color: white;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.price-box {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1.2rem;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.offer-tag {
    border: 1px solid white;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
}

.btn-cta {
    background-color: var(--accent);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
}

.btn-cta:hover {
    transform: translateY(-3px);
    background-color: #fff;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(241, 196, 15, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
}

.guarantee {
    font-size: 0.8rem;
    margin-top: 15px;
    opacity: 0.8;
}

/* Video Placeholder */
.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid white;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    transition: 0.3s;
}

.video-wrapper:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- BENEFICIOS --- */
.section-benefits {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* --- INSTRUCTOR --- */
.section-instructor {
    padding: 80px 0;
}

.instructor-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.inst-img img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 10px solid var(--light);
}

.inst-text h4 {
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.inst-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- TEMARIO --- */
.section-syllabus {
    padding: 80px 0;
    background: var(--primary);
    color: white;
}

.section-syllabus .section-title {
    color: white;
}

.syllabus-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.module {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mod-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mod-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
}

.mod-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

/* --- PRICING --- */
.section-pricing {
    padding: 80px 0;
    background: var(--light);
}

.pricing-card {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 10px solid var(--primary);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.final-price {
    margin-bottom: 30px;
}

.final-price small {
    display: block;
    text-decoration: line-through;
    color: #999;
}

.final-price strong {
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 1;
}

.check-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    display: inline-block;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent);
    margin-right: 10px;
}

.full {
    width: 100%;
    display: block;
    text-align: center;
}

.secure-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #777;
}

/* --- FOOTER --- */
.footer {
    background: var(--dark);
    color: #aaa;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {

    .hero-grid,
    .instructor-flex {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .inst-img img {
        margin: 0 auto 30px auto;
    }
}