/* Variables de Diseño y Paleta Futurista / Corporativa */
:root {
    --bg-dark: #0f111a;
    --bg-card: #161925;
    --primary: #00ffcc;
    --primary-hover: #00cca3;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --accent: #ff0055;
    --max-width: 1200px;
}

/* Reseteo General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navegación Adaptativa */
.navbar {
    background-color: rgba(15, 17, 26, 0.95);
    border-bottom: 1px solid #23283d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.8rem;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--primary);
}

.menu .btn-live {
    color: var(--text-main);
    background: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.menu .btn-live:hover {
    background: #cc0044;
}

/* Sección Hero Centrada */
.hero-section {
    padding: 10rem 2rem 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, #1e2235 0%, var(--bg-dark) 70%);
}

.hero-content {
    max-width: 800px;
}

.badge {
    background-color: rgba(0, 255, 204, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons a {
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Secciones y Cuadrículas Responsivas */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.grid-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid #23283d;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-img-placeholder {
    font-size: 3rem;
    background-color: #1e2235;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Sección Informativa */
.about-section {
    background-color: var(--bg-card);
    padding: 6rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item strong {
    font-size: 2.5rem;
    color: var(--primary);
    display: block;
}

.stat-item p {
    margin: 0;
}

/* Footer */
footer {
    border-top: 1px solid #23283d;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-container p {
    margin-bottom: 0.5rem;
}

/* Reglas Media Queries para Dispositivos Móviles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu a {
        margin: 0 0.6rem;
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}