:root {
    /* Perfil 1: Corporativo / Técnico (Azul y Cian) */
    --bg-header: #0A2540;
    --bg-hero: linear-gradient(135deg, #0A2540 0%, #10355A 100%);
    --bg-banner: #11385E;
    --border-banner: rgba(0, 212, 178, 0.3);
    --accent: #00D4B2; /* Cian */
    --accent-text: #0A2540;
    --text-main: #0A2540;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --card-border: #E5E7EB;
}

/* Perfil 2: Show / Elite (Negro, Amarillo y Dorado) */
body.theme-show {
    --bg-header: #121212;
    --bg-hero: linear-gradient(135deg, #121212 0%, #1F1F1F 100%);
    --bg-banner: #262626;
    --border-banner: rgba(212, 175, 55, 0.3);
    --accent: #FFCC00; /* Amarillo / Dorado brillante */
    --accent-text: #121212;
    --text-main: #E5E7EB; /* Texto claro para fondo oscuro */
    --light-gray: #1A1A1A;
    --white: #242424;
    --card-border: #333333;
}

* { 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body {
    margin: 0; 
    padding: 0;
    font-family: 'Sora', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Animación de entrada al hacer scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Header */
header {
    background: var(--bg-header);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.logo { 
    font-weight: 700; 
    font-size: 22px; 
    color: #FFFFFF; 
    letter-spacing: -0.5px; 
}

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

nav { 
    display: flex; 
    align-items: center; 
}

nav a {
    color: #D1D5DB;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover { 
    color: #FFFFFF; 
}

.btn-nav {
    background: #FFFFFF;
    color: #0A2540 !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

body.theme-show .btn-nav { 
    color: #121212 !important; 
}

.btn-nav:hover { 
    background: var(--accent); 
    color: var(--accent-text) !important; 
}

/* Contenedor del Selector de Temas */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.theme-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 12px;
    transition: 0.2s;
    color: #FFFFFF;
}

.theme-btn.active {
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
}

/* Hero */
.hero {
    background: var(--bg-hero);
    color: #FFFFFF;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    transition: background 0.3s;
}

.hero h1 { 
    font-size: clamp(28px, 5vw, 46px); 
    max-width: 850px; 
    margin: 0 auto 20px; 
    font-weight: 700; 
}

.hero p { 
    color: #D1D5DB; 
    max-width: 650px; 
    margin: 0 auto 30px; 
    font-size: 1.15rem; 
}

.btn-hero {
    display: inline-block; 
    background: #FFFFFF; 
    color: #0A2540; 
    padding: 16px 35px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    transition: 0.3s;
}

body.theme-show .btn-hero {
    color: #121212;
}

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

/* Banner de Pruebas */
.roadmap-banner {
    background: var(--bg-banner);
    border: 1px solid var(--border-banner);
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.roadmap-badge {
    background: var(--accent);
    color: var(--accent-text);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.roadmap-text { 
    font-size: 14px; 
    color: #E5E7EB; 
    margin: 0; 
}

.roadmap-text strong { 
    color: #FFFFFF; 
}

/* Estadísticas */
.stats {
    background: var(--light-gray);
    padding: 80px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    transition: background 0.3s;
}

.stat-card h2 { 
    font-size: 42px; 
    margin: 0; 
    color: var(--accent); 
    font-weight: 700; 
}

.stat-card p { 
    color: var(--text-main); 
    font-size: 14px; 
    margin-top: 10px; 
    font-weight: 600; 
}

/* Pasos */
.how-it-works { 
    padding: 80px 5%; 
    max-width: 1000px; 
    margin: auto; 
}

.how-it-works h2 { 
    text-align: center; 
    font-size: 32px; 
    margin-bottom: 50px; 
    font-weight: 700; 
}

.step { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 30px; 
    padding: 25px; 
    border-radius: 12px; 
    transition: 0.3s; 
}

.step:hover { 
    background: var(--light-gray); 
    transform: translateX(5px); 
}

.step-number {
    background: var(--bg-header); 
    color: #FFFFFF;
    width: 44px; 
    height: 44px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-right: 20px; 
    flex-shrink: 0; 
    font-weight: bold; 
    font-size: 18px;
    border: 1px solid var(--border-banner);
}

.step h3 { 
    margin: 0; 
    font-size: 18px; 
    font-weight: 600; 
    color: var(--accent); 
}

.step p { 
    margin: 8px 0 0; 
    color: var(--text-main); 
}

/* Especificaciones Técnicas */
.tech-preview { 
    padding: 80px 5%; 
    max-width: 1100px; 
    margin: auto; 
}

.tech-preview h2 { 
    text-align: center; 
    font-size: 32px; 
    margin-bottom: 15px; 
    font-weight: 700; 
}

.tech-preview .subtitle { 
    text-align: center; 
    color: var(--text-main); 
    margin-bottom: 50px; 
    opacity: 0.8; 
}

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

.tech-card {
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    background: var(--light-gray);
}

.tech-card:hover { 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    border-color: var(--accent);
}

.tech-icon { 
    font-size: 24px; 
    margin-bottom: 15px; 
    display: inline-block; 
}

.tech-card h3 { 
    margin: 0 0 10px 0; 
    font-size: 18px; 
    color: var(--text-main); 
}

.tech-card p { 
    margin: 0; 
    font-size: 14px; 
    color: var(--text-main); 
    opacity: 0.8; 
}

/* Registro */
.register-section { 
    background: var(--light-gray); 
    padding: 90px 20px; 
    text-align: center; 
    transition: background 0.3s; 
}

.register-section h2 { 
    font-size: 32px; 
    margin-bottom: 10px; 
    font-weight: 700; 
}

.register-section p { 
    max-width: 600px; 
    margin: 0 auto 30px; 
    color: var(--text-main); 
    opacity: 0.8; 
}

.form-container {
    max-width: 550px; 
    margin: 30px auto;
    background: var(--white); 
    padding: 40px;
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

form { 
    display: flex; 
    flex-direction: column; 
    gap: 18px; 
    text-align: left; 
}

form label { 
    font-size: 13px; 
    font-weight: 600; 
    margin-bottom: -10px; 
    color: var(--text-main); 
}

input, select, textarea {
    padding: 14px; 
    border-radius: 8px;
    border: 1px solid var(--card-border); 
    font-family: inherit; 
    outline: none;
    font-size: 14px; 
    width: 100%; 
    box-sizing: border-box;
    background: var(--white); 
    color: var(--text-main);
}

input:focus, select:focus, textarea:focus { 
    border-color: var(--accent); 
}

form button {
    background: var(--bg-header); 
    color: #FFFFFF;
    padding: 16px; 
    border: 1px solid var(--border-banner); 
    border-radius: 8px;
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.2s; 
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

form button:hover { 
    background: var(--accent); 
    color: var(--accent-text); 
    transform: translateY(-2px); 
}

/* Footer */
footer { 
    background: var(--bg-header); 
    color: #D1D5DB; 
    text-align: center; 
    padding: 40px; 
    font-size: 14px; 
    transition: background 0.3s; 
}

footer span { 
    color: var(--accent); 
}

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; text-align: center; padding: 20px; }
    nav { flex-direction: column; gap: 10px; }
    nav a { margin: 0 8px; font-size: 13px; }
    .theme-switcher { margin-left: 0; margin-top: 10px; }
    .hero { padding: 80px 20px; }
    .roadmap-banner { flex-direction: column; text-align: center; }
    .form-container { padding: 25px; }
}

/* =========================================
   MENÚ MOBILE HAMBURGUESA
========================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 30px;
    cursor: pointer;
    z-index: 2001;
}

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

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-header);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        z-index: 2000;
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin: 0;
        font-size: 16px;
        width: 100%;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .theme-switcher {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 90px;
    }

    .roadmap-banner {
        flex-direction: column;
        text-align: center;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }
}