@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3C91E6;
    --secondary: #FD7238;
    --dark: #2c3e50;
    --light: #ffffff;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
}

/* NAVBAR - Solo fondo blanco aquí */
.top-navbar {
    background: var(--light);
    padding: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-links a.nav-btn:hover,
.nav-links a.nav-btn.active {
    background: rgba(0, 0, 0, 0.05);
}

.nav-links a.login-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.nav-links a.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(60, 145, 230, 0.4);
}

/* HERO SECTION - Gradiente original */
.hero {
    flex: 1;
    background: linear-gradient(135deg, #3C91E6 0%, #FD7238 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 30px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 30px;
    animation: fadeInScale 0.8s ease;
}

.hero-logo {
    height: 220px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: white;
    font-weight: 500;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-button i {
    font-size: 1.3rem;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 18px;
    flex-shrink: 0;
}

footer p {
    margin: 0;
    font-size: 13px;
}

/* Animaciones */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-height: 700px) {
    .hero-logo {
        height: 160px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 35px;
        font-size: 1rem;
    }

    .logo-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        height: 140px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}