/* --- VARIABLES (NEÓN + DARK THEME) --- */
:root {
    --bg-color: #050505;       /* Negro profundo */
    --bg-secondary: #0a0a0a;
    --text-white: #ffffff;
    --text-gray: #999999;
    --accent-yellow: #ffe900;  /* AMARILLO NEÓN (Identidad Visual) */
    --accent-green: #4fffa3;   /* Verde Neón secundario */
    --border-color: #222222;
    --font-main: 'Inter', sans-serif;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- UTILIDADES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-yellow { color: var(--accent-yellow); }
.text-green { color: var(--accent-green); }
.text-gray { color: var(--text-gray); }
.width-100 { width: 100%; }
.mb-20 { margin-bottom: 20px; }

/* Separadores */
.section-divider {
    border-top: 1px solid var(--border-color);
    width: 100%;
}

/* --- BOTONES --- */
.btn-neon {
    background-color: var(--accent-yellow);
    color: #000;
    font-weight: 800;
    padding: 14px 32px;
    font-size: 0.95rem;
    text-transform: lowercase;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-neon:hover { 
    transform: scale(1.02); 
    box-shadow: 0 0 15px rgba(255, 233, 0, 0.3);
}
.btn-neon.small { padding: 10px 20px; font-size: 0.85rem; }
.btn-container { margin-top: 30px; }

/* --- HEADER --- */
header.site-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(5,5,5,0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.logo { font-weight: 900; font-size: 1.3rem; letter-spacing: -1px; white-space: nowrap; }

.nav-links { 
    display: flex; gap: 30px; 
    font-size: 0.9rem; color: var(--text-gray); 
    font-weight: 600; align-items: center; 
}
.nav-links a:hover { color: var(--text-white); }

.mobile-menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; }

/* --- TYPOGRAPHY (Hero & Titles) --- */
.section-badge {
    font-size: 0.75rem; font-weight: 800; color: var(--text-white);
    margin-bottom: 15px; display: inline-block;
}
.section-badge span { color: var(--text-gray); font-weight: 400; }

.big-title {
    font-size: 3.5rem; font-weight: 900;
    line-height: 1.05; margin-bottom: 15px;
    letter-spacing: -1.5px;
}
.big-subtitle {
    font-size: 1rem; color: var(--text-gray);
    margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* --- HERO SECTION (VSL) --- */
.hero-section { padding: 80px 0 60px; text-align: center; }

.video-container {
    position: relative; width: 100%; max-width: 900px;
    margin: 0 auto; aspect-ratio: 16/9;
    background: #111; border-radius: 4px;
    overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.video-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: opacity 0.5s;
}

.video-iframe-placeholder {
    position: absolute; top:0; left:0; width:100%; height:100%;
    display: flex; align-items: center; justify-content: center;
    background: #000; z-index: 1;
}

.play-btn {
    width: 90px; height: 90px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}
.play-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }

.video-controls-mock {
    position: absolute; bottom: 0; width: 100%; height: 4px; background: #333; z-index: 3;
}
.video-progress { width: 30%; height: 100%; background: var(--accent-yellow); }

/* --- FEATURE SECTION --- */
.feature-section { padding: 80px 0; text-align: center; }

.feature-card-large {
    position: relative; height: 500px;
    border-radius: 8px; overflow: hidden;
    margin-top: 40px; display: flex;
    align-items: center; justify-content: center;
    background: #111;
}

.feature-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    filter: brightness(0.35) grayscale(100%);
    transition: transform 0.5s;
}
.feature-card-large:hover .feature-bg { transform: scale(1.05); }

.feature-content { position: relative; z-index: 2; max-width: 700px; }

.feature-title {
    font-size: 4.5rem; font-weight: 900;
    line-height: 0.9; text-transform: uppercase;
    margin-bottom: 20px;
}

.overlay-badge-container { text-align: right; margin-top: 20px; }
.overlay-badge {
    background: #000; color: #fff; padding: 6px 16px;
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
    border: 1px solid #333;
}

/* --- GRID SECTION (Courses) --- */
.grid-section { padding: 80px 0; }
.grid-3 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 50px;
}

.course-card {
    background: #0a0a0a; border: 1px solid #222;
    padding: 24px; text-align: left; transition: border-color 0.3s;
}
.course-card:hover { border-color: #444; }

.course-thumb {
    height: 220px; background-size: cover; background-position: center;
    margin-bottom: 24px; position: relative; border-radius: 4px;
}

.thumb-overlay-text {
    position: absolute; bottom: 12px; left: 12px;
    font-size: 1.8rem; font-weight: 900; line-height: 0.95;
    text-transform: uppercase; text-shadow: 0 4px 8px rgba(0,0,0,0.9);
}

.course-meta { font-size: 0.75rem; color: var(--accent-yellow); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.course-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.course-desc { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 24px; line-height: 1.5; }

.more-info-text { margin-top: 40px; font-size: 0.9rem; color: #666; }

/* --- CHECKLIST SECTION --- */
.checklist-section { background: #080808; padding: 80px 0; overflow: hidden; }

.checklist-flex {
    display: flex; align-items: center; justify-content: center;
    margin-top: 60px;
}
.mockup-spread {
    display: flex; gap: 15px;
    transform: perspective(1200px) rotateX(10deg) rotateY(-5deg);
}
.paper-sheet {
    width: 220px; height: 300px; border-radius: 2px;
    box-shadow: 10px 20px 40px rgba(0,0,0,0.6);
}
.sheet-back { background: #f0f0f0; padding: 25px; font-size: 8px; color: black; opacity: 0.8; }
.sheet-front { 
    background: #0c0c0c; color: white; border: 1px solid #333;
    display:flex; align-items:center; justify-content:center; text-align: center;
}
.sheet-blank { background: #fff; opacity: 0.1; }

/* --- FINAL CTA --- */
.final-cta-card {
    height: 450px;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex; align-items: flex-end; padding: 60px;
    position: relative; border-radius: 8px;
    margin: 80px auto; width: 100%;
}
.final-cta-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to right, #000 10%, transparent 100%);
}
.cta-content { position: relative; z-index: 2; max-width: 450px; }
.cta-title { font-size: 3rem; margin-bottom: 30px; }

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0; font-size: 0.85rem; color: var(--text-gray);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent-yellow); }

.social-icons { margin-top: 20px; font-size: 1.1rem; display: flex; gap: 15px; font-style: italic; font-weight: bold; }

/* --- RESPONSIVE --- */
@media(max-width: 900px) {
    .big-title { font-size: 2.8rem; }
    .feature-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .final-cta-card { height: 350px; padding: 30px; }
    .cta-title { font-size: 2rem; }
}

@media(max-width: 768px) {
    header.site-header { padding: 15px 20px; }
    .mobile-menu-btn { display: block; }
    .nav-links { 
        display: none; /* Oculto en móvil */
        position: absolute; top: 64px; left: 0; width: 100%;
        background: #0a0a0a; flex-direction: column;
        padding: 20px; border-bottom: 1px solid #222;
    }
    .nav-links.active { display: flex; }
    
    .big-title { font-size: 2.2rem; }
    .feature-title { font-size: 2.5rem; }
    .feature-card-large { height: 400px; }
    
    .checklist-flex { transform: scale(0.8); margin-top: 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .overlay-badge-container { text-align: center; }
}

/* --- AÑADIR AL FINAL DE STYLE.CSS --- */

/* 1. BANNER DE COOKIES */
.cookie-banner {
    position: fixed; bottom: -100%; left: 0; width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-yellow);
    padding: 20px; z-index: 999;
    display: flex; justify-content: center; align-items: center; gap: 20px;
    transition: bottom 0.5s ease;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 0.85rem; color: var(--text-gray); max-width: 800px; }
.cookie-text a { color: var(--text-white); text-decoration: underline; }

/* 2. ESTILOS PÁGINAS INTERNAS (Texto Legal y Contenido) */
.page-header {
    padding: 120px 0 60px; text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.legal-content {
    padding: 60px 0; max-width: 800px; margin: 0 auto;
}
.legal-content h2 { color: var(--text-white); margin-top: 40px; margin-bottom: 15px; font-size: 1.5rem; }
.legal-content h3 { color: var(--accent-yellow); margin-top: 30px; margin-bottom: 10px; font-size: 1.1rem; }
.legal-content p, .legal-content ul { color: var(--text-gray); margin-bottom: 15px; font-size: 0.95rem; }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* 3. FORMULARIOS (Página Contacto) */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 0;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text-white); margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-input, .form-textarea {
    width: 100%; background: #111; border: 1px solid #333;
    padding: 15px; color: white; border-radius: 4px; font-family: var(--font-main);
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent-yellow); outline: none; }
.form-textarea { height: 150px; resize: vertical; }

/* RESPONSIVE CONTACTO */
@media(max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cookie-banner { flex-direction: column; text-align: center; }
}

/* --- AÑADIR AL FINAL DE STYLE.CSS --- */

/* LAYOUT LEGAL CON SIDEBAR */
.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr; /* Menú izquierda - Contenido derecha */
    gap: 60px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: start;
}

/* SIDEBAR LEGAL STICKY */
.legal-sidebar {
    position: sticky;
    top: 100px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
}

.legal-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.legal-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-menu a {
    color: var(--text-white);
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.legal-menu a:hover, .legal-menu a.active {
    background: #111;
    color: var(--accent-yellow);
    border-left-color: var(--accent-yellow);
}

/* CONTENIDO LEGAL */
.legal-content-area {
    background: #0a0a0a;
    padding: 40px;
    border: 1px solid #222;
    border-radius: 8px;
}

.legal-section {
    margin-bottom: 60px;
    border-bottom: 1px solid #222;
    padding-bottom: 40px;
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--accent-yellow);
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-section p, .legal-section ul li {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.7;
}
.legal-section ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; }

/* RESPONSIVE LEGAL */
@media(max-width: 768px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: relative; top: 0; margin-bottom: 40px; }
    .legal-content-area { padding: 20px; }
}

/* --- AÑADIR O REEMPLAZAR AL FINAL DE STYLE.CSS --- */

/* ESTILOS PARA PÁGINAS DE TEXTO LEGAL */
.legal-body {
    padding: 60px 0 100px;
    max-width: 800px;
    margin: 0 auto;
}
.legal-body h2 { color: var(--text-white); font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; }
.legal-body h3 { color: var(--accent-yellow); font-size: 1.2rem; margin-top: 30px; margin-bottom: 10px; }
.legal-body p { color: #ccc; margin-bottom: 15px; line-height: 1.7; }
.legal-body ul { padding-left: 20px; margin-bottom: 20px; color: #ccc; }
.legal-body ul li { margin-bottom: 10px; }

/* --- MEDIA QUERIES (RESPONSIVE PERFECTO) --- */
@media (max-width: 768px) {
    /* Contenedores con margen lateral seguro */
    .container { padding: 0 24px; } 

    /* Títulos ajustados para que no ocupen toda la pantalla */
    .big-title { font-size: 2.2rem; word-wrap: break-word; }
    .big-subtitle { font-size: 1rem; }

    /* Grid se convierte en columna única */
    .grid-3, .footer-grid, .contact-grid, .books-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Ajustes de formulario en móvil */
    .form-input, .form-textarea {
        font-size: 16px; /* Evita zoom en iPhone */
        padding: 12px;
    }

    /* Ajustes específicos de la captura que mandaste */
    .page-header { padding: 100px 0 40px; } /* Menos espacio arriba en móvil */
    
    /* Footer centrado en móvil */
    footer { text-align: left; } 
    .footer-col { margin-bottom: 30px; }
    
    /* Menú móvil */
    .nav-links {
        background: rgba(5,5,5, 0.98); /* Fondo más sólido */
        backdrop-filter: blur(20px);
    }
}

/* --- AÑADIR AL FINAL DE STYLE.CSS --- */

/* 1. ESTILOS PARA CURSOS (FILTROS) */
.filter-bar {
    display: flex; gap: 15px; overflow-x: auto; padding: 20px 0;
    border-bottom: 1px solid var(--border-color); margin-bottom: 40px;
    scrollbar-width: none; /* Ocultar scrollbar */
}
.filter-btn {
    background: #111; border: 1px solid #333; color: #888;
    padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: 0.3s; white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-yellow); color: #000; border-color: var(--accent-yellow);
}

/* 2. ESTILOS PARA MENTORÍAS (TABLAS DE PRECIO) */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px;
}
.pricing-card {
    background: #0a0a0a; border: 1px solid #222; padding: 40px;
    display: flex; flex-direction: column; position: relative; transition: 0.3s;
}
.pricing-card:hover { border-color: var(--accent-yellow); transform: translateY(-5px); }
.pricing-card.featured { border-color: var(--accent-yellow); background: #0f0f0f; }
.pricing-price { font-size: 3rem; font-weight: 900; color: white; margin: 20px 0; }
.pricing-price span { font-size: 1rem; color: #666; font-weight: 400; }
.check-list li { margin-bottom: 15px; color: #ccc; display: flex; gap: 10px; align-items: center; }
.check-list li span { color: var(--accent-green); }

/* 3. ESTILOS LOGIN (CAMPUS) */
.login-split {
    min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
.login-form-container {
    display: flex; align-items: center; justify-content: center; padding: 40px;
    background: var(--bg-color);
}
.login-image {
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center/cover;
    position: relative;
}
.login-image::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6);
}

/* RESPONSIVE PARA NUEVAS PÁGINAS */
@media(max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 60px auto; }
    .login-split { grid-template-columns: 1fr; }
    .login-image { display: none; } /* Ocultamos imagen en móvil */
}
