/* --- Variables y Reset --- */
:root {
    --bg-dark: #020617; /* Azul ultra oscuro */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --primary: #22d3ee; /* Cian neón */
    --secondary: #a855f7; /* Morado neón */
    --gold: #f59e0b; /* Oro para títulos */
    --card-bg: rgba(15, 23, 42, 0.6); /* Semi-transparente */
    --border: rgba(34, 211, 238, 0.3); /* Borde cian sutil */
    --shadow-neon: 0 0 15px rgba(34, 211, 238, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 10% 10%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(34, 211, 238, 0.15) 0px, transparent 50%);
}

/* --- Navegación Futurista --- */
.navbar {
    display: flex;
    align-items: center;
    padding: 15px 5%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    font-size: 1.6rem; font-weight: 900; letter-spacing: 3px;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin-left: auto; /* Alineación a la derecha */
}

.nav-links li { margin-left: 25px; }
.nav-links a {
    color: var(--text-main); text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); text-shadow: var(--shadow-neon); }

.btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 25px; border-radius: 50px;
    color: #000 !important; font-weight: 700;
    box-shadow: var(--shadow-neon);
}
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(34, 211, 238, 0.8); }

/* --- Menú Móvil --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px; transition: var(--transition); }

/* --- Hero Section (Inicio) --- */
.hero-section {
    min-height: 100vh; display: flex; align-items: center;
    padding: 0 10%; position: relative;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2322d3ee" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.hero-content h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-content h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
}
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 650px; }

.btn {
    padding: 14px 35px; text-decoration: none; font-weight: 700;
    border-radius: 50px; transition: var(--transition); display: inline-block; margin-right: 15px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000; box-shadow: 0 5px 20px rgba(34, 211, 238, 0.4);
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(34, 211, 238, 0.7); transform: translateY(-3px); }

.btn-secondary { background: transparent; color: var(--text-main); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(34, 211, 238, 0.05); }

/* --- Sección Sobre Nosotros (Estadísticas Circulares) --- */
.about-section { padding: 120px 10%; background-color: var(--bg-dark); }
.about-container h2 { text-align: center; font-size: 3rem; margin-bottom: 40px; font-weight: 900; letter-spacing: -1px; }
.about-container h2 span { color: var(--primary); text-shadow: 0 0 15px rgba(34, 211, 238, 0.4); }

.about-text-center {
    text-align: center; max-width: 900px; margin: 0 auto 60px auto;
    color: var(--text-muted); line-height: 1.8; font-size: 1.15rem;
}

.about-stats-circular { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }

.stat-circle {
    width: 220px; height: 220px; border-radius: 50%;
    background: rgba(15, 23, 42, 0.4);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.2), 0 0 20px rgba(34, 211, 238, 0.2);
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; transition: var(--transition);
    backdrop-filter: blur(5px);
}
.stat-circle:hover {
    transform: translateY(-10px) scale(1.05); border-color: var(--secondary);
    box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.4), 0 0 30px rgba(168, 85, 247, 0.4);
}

.circle-content h4 { font-size: 3rem; font-weight: 900; color: var(--text-main); margin-bottom: 5px; text-shadow: 0 0 15px var(--primary); }
.circle-content p { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; line-height: 1.4; }

/* --- Tarjetas Cybernetic (Cursos / Pilares) --- */
.features-section { padding: 120px 10%; background: #010409; }
.features-section h2 { text-align: center; font-size: 3rem; margin-bottom: 60px; font-weight: 900; letter-spacing: -1px; }

.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }

.card {
    background: var(--card-bg); padding: 45px; border-radius: 16px;
    border: 1px solid var(--border); backdrop-filter: blur(10px);
    transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover {
    transform: translateY(-10px) scale(1.02); border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.3);
}
.card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.card h3 { font-size: 1.6rem; margin-bottom: 20px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 1rem; }

/* --- Suscripción Premium --- */
.pricing-section { padding: 120px 10%; display: flex; flex-direction: column; align-items: center; background: var(--bg-dark); }
.pricing-section h2 { text-align: center; font-size: 3rem; margin-bottom: 15px; font-weight: 900; letter-spacing: -1px; }
.pricing-subtitle { color: var(--text-muted); margin-bottom: 50px; text-align: center; font-size: 1.1rem; }

.pricing-card {
    background: var(--card-bg); padding: 60px; border-radius: 24px;
    border: 2px solid var(--primary); box-shadow: var(--shadow-neon);
    max-width: 500px; width: 100%; position: relative;
}
.pricing-header { text-align: center; margin-bottom: 30px; }
.pricing-header h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 15px; }
.price { color: var(--text-main); font-size: 3rem; font-weight: 900; text-shadow: 0 0 15px var(--primary); }
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }

.pricing-features { list-style: none; margin-bottom: 40px; }
.pricing-features li { margin-bottom: 15px; color: #d1d1d6; font-size: 1rem; }
.pricing-features li::before { content: '✦'; color: var(--secondary); margin-right: 10px; }
.pricing-btn { width: 100%; text-align: center; display: block; }

/* --- Contacto --- */
.contact-section { padding: 120px 10%; background: #010409; }
.contact-container { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-container h2 { font-size: 3rem; margin-bottom: 15px; font-weight: 900; letter-spacing: -1px; }
.contact-container p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form select, .contact-form textarea {
    background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    border-radius: 8px; padding: 18px; font-size: 1.05rem; color: var(--text-main);
    outline: none; transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--secondary); box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* --- Footer --- */
footer { text-align: center; padding: 50px 20px; background: var(--bg-dark); border-top: 1px solid rgba(255, 255, 255, 0.03); }
footer h3 { letter-spacing: 2px; margin-bottom: 10px; color: var(--primary); }
footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px; }

/* --- Ajustes Responsivos (Móvil) --- */
@media screen and (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: block; }
    .hero-section { flex-direction: column; justify-content: center; text-align: center; padding-top: 100px; }
    .hero-content h1 { font-size: 2.5rem; }
    .btn { margin-bottom: 15px; margin-right: 0; width: 100%; text-align: center; }
    
    .about-stats-circular { gap: 40px; }
    .stat-circle { width: 180px; height: 180px; }
    .circle-content h4 { font-size: 2.2rem; }
}