/* Importamos la fuente de Google (Plus Jakarta Sans) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8f9fa;
    color: #111;
}

/* El menú superior al estilo Founderz */
.navbar-custom {
    background-color: white;
    padding: 1rem 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
}

/* El botón morado de Founderz */
.btn-founderz {
    background-color: #5b42f3;
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}
.btn-founderz:hover {
    background-color: #4a35c4;
    color: white;
    transform: translateY(-2px);
}

/* El súper banner con degradado */
.hero-gradient {
    /* Un degradado vibrante imitando tu captura */
    background: linear-gradient(135deg, #ff3366, #ff7733, #5b42f3, #0011ff);
    background-size: 300% 300%;
    animation: gradientBG 10s ease infinite;
    color: white;
    padding: 120px 0;
    border-radius: 0 0 40px 40px;
    margin-top: -80px; /* Para que suba por debajo del menú */
    padding-top: 150px;
}

/* Animación sutil para que el degradado se mueva */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -1px;
}

/* --- SECCIÓN BENTO / TARJETAS MODERNAS --- */
.section-title {
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -1.5px;
    color: #111;
}

.bento-card {
    background-color: #ffffff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04); /* Sombra súper suave */
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.bento-card:hover {
    transform: translateY(-5px); /* Pequeño salto al pasar el ratón */
}

.bento-text-box {
    padding: 4rem; /* Mucho espacio para respirar, clave en Founderz */
}

.bento-img-wrapper {
    padding: 1.5rem;
    height: 100%;
}

.bento-placeholder {
    border-radius: 1.5rem;
    min-height: 400px;
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d); /* Fondo oscuro elegante para simular tus vídeos/gráficos */
}

/* --- TARJETAS OSCURAS DE CURSOS --- */
.dark-card {
    background: linear-gradient(180deg, #2b2b2b 0%, #111111 100%);
    border-radius: 1.5rem;
    color: white;
    padding: 2.5rem 2rem;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Empuja el texto hacia abajo */
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important; /* Quita el subrayado de los enlaces */
}

.dark-card:hover {
    transform: scale(1.03); /* Se hace un pelín más grande al pasar el ratón */
    color: white;
}

/* El botón redondo morado */
.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #5b42f3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.dark-card:hover .btn-circle {
    background-color: #ff3366; /* Cambia a un tono rosado/naranja al pasar el ratón */
}

/* --- TESTIMONIOS Y FAQS --- */
.testimonial-card {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    height: 100%;
}

.accordion-custom .accordion-item {
    border: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    color: #111;
    background-color: white;
    box-shadow: none !important;
}

/* Cambiamos el color al abrir la pregunta */
.accordion-custom .accordion-button:not(.collapsed) {
    color: #5b42f3;
    background-color: #f8f9fa;
}

/* --- PÁGINA DE VENTAS DEL BUNDLE --- */
.sales-hero {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    color: white;
    padding: 150px 0 100px 0;
    margin-top: -80px;
    border-radius: 0 0 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.sales-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top right, rgba(91, 66, 243, 0.15), transparent 50%);
    pointer-events: none;
}

.course-include-card {
    background-color: white;
    border-radius: 1rem;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s ease;
}

.course-include-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.course-cover-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #71b280, #134e5e); /* Tonos azul/verde elegantes */
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.value-box {
    background-color: #f8f9fa;
    border-left: 4px solid #5b42f3;
    padding: 2rem;
    border-radius: 0 1rem 1rem 0;
}

/* --- SECCIÓN PROFESORES --- */
.prof-img-wrapper {
    background-color: #e5b542; /* El tono dorado exacto de tus capturas */
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Para que la caja sea un cuadrado perfecto */
    margin-bottom: 1.5rem;
}

.prof-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Las pasa a blanco y negro automáticamente */
    transition: transform 0.4s ease;
}

.prof-card:hover .prof-img-wrapper img {
    transform: scale(1.05); /* Pequeño zoom elegante al pasar el ratón */
}


/* --- ESTILOS PARA VÍDEOS EN EL CONTENIDO DE LA LECCIÓN --- */
.lesson-content-html iframe {
    width: 100% !important;
    min-height: 450px !important;  /* <- ESTE ES EL MARTILLAZO */
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: none !important;
    background-color: #2b2b2b;     /* Fondo oscuro para que se vea la caja aunque no cargue el vídeo */
    display: block !important;     /* Fuerza a que se comporte como un bloque visible */
}

.lesson-content-html iframe:hover {
    transform: translateY(-3px);   /* Pequeño salto al pasar el ratón */
}