/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 2.5rem;
    color: white;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

.hero .description {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1100px;
    width: 100%;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.version {
    font-size: 0.9rem;
    opacity: 0.8;
}

#features2 {
    padding: 50px;
    background-color: rgba(87, 130, 186, 0.4);
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    margin: auto;
}

.Novedades p {
    color: white;
    font-size: x-large;
    width: 100%;
    max-width: 100vw;
}

.img_novedades {
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
    max-width: 100vw;
}


.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--mikros-white);
    color: var(--mikros-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #f0f0f0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-contenedor-page {
    position: sticky;
    top: 0;
    border-bottom: 2px solid #0066ff;
    z-index: 20;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-page {
    background: rgba(0, 119, 255, 0.25);
    text-decoration: none;
    color: #eaeaea;
    font-weight: 600;
    border: 1px solid #0066ff;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-page:hover {
    background: #5e9eff;
    color: white;
    transform: translateY(-1px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero .description {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .img_novedades {
        width: 100%;
        max-width: 100vw;
    }

    #features2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        margin: auto;
        gap: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}



/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 110, 153, 0.6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 110, 153, 0.904);
}