/* ============================================================ */
/* INDEX.CSS - ESTILOS EXCLUSIVOS PARA LA PÁGINA DE INICIO     */
/* ============================================================ */

/* ------------------------------------------------------------ */
/* 1. HERO MODERNO (SECCIÓN PRINCIPAL)                         */
/* ------------------------------------------------------------ */
.hero-moderno {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
}

/* Animación de fondo giratorio */
.hero-moderno::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,173,181,0.1) 0%, transparent 70%);
    animation: rotar 20s linear infinite;
}

@keyframes rotar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contenedor del hero */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ------------------------------------------------------------ */
/* 2. TEXTO DEL HERO                                           */
/* ------------------------------------------------------------ */
.hero-texto h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #00adb5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-texto p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,173,181,0.2);
    color: #00adb5;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,173,181,0.3);
}

/* ------------------------------------------------------------ */
/* 3. BOTONES DEL HERO                                         */
/* ------------------------------------------------------------ */
.botones-modernos {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primario {
    background: #00adb5;
    color: white;
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,173,181,0.3);
}

.btn-primario:hover {
    background: #007a7f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,173,181,0.4);
}

.btn-secundario {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.btn-secundario:hover {
    border-color: #00adb5;
    background: rgba(0,173,181,0.1);
    transform: translateY(-3px);
}

/* ------------------------------------------------------------ */
/* 4. IMAGEN DEL HERO (CON ANIMACIÓN FLOTANTE)                 */
/* ------------------------------------------------------------ */
.hero-imagen {
    text-align: center;
}

.hero-imagen img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ------------------------------------------------------------ */
/* 5. SECCIÓN DE CARACTERÍSTICAS                               */
/* ------------------------------------------------------------ */
.caracteristicas {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.caracteristicas-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.caracteristicas h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 3rem;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjetas de características */
.caracteristica-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.caracteristica-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.caracteristica-icono {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.caracteristica-card h3 {
    color: #00adb5;
    margin-bottom: 1rem;
}

.caracteristica-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* ------------------------------------------------------------ */
/* 6. SECCIÓN DE ESTADÍSTICAS                                  */
/* ------------------------------------------------------------ */
.estadisticas {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.estadisticas-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.estadistica-item h3 {
    font-size: 2.5rem;
    color: #00adb5;
    margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------ */
/* 7. RESPONSIVE (MÓVILES)                                     */
/* ------------------------------------------------------------ */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-texto h1 {
        font-size: 2.2rem;
    }
    
    .botones-modernos {
        justify-content: center;
    }
    
    .caracteristicas h2 {
        font-size: 1.8rem;
    }
}