/* =================
   HEADER/NAVIGATION STYLES
   ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
    width: auto;
    display: none; /* Inicialmente oculto hasta que cargue */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a:hover {
    color: white;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.cta-nav {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.cta-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(224, 127, 63, 0.4) !important;
}

.login-btn {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 18, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* =================
   FOOTER STYLES
   ================= */

.footer {
    background: rgba(14, 18, 23, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 0 30px 0;
    margin-top: 80px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 127, 63, 0.3);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 30px 0;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.footer-subtitle a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-subtitle a:hover {
    color: white;
}

.developed-by {
    display: inline-block;
    margin-top: 10px;
}

/* =================
   RESPONSIVE DESIGN
   ================= */

@media (max-width: 768px) {
    .navbar {
        padding: 12px 5%;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 40px 0 20px 0;
        margin-top: 60px;
    }
    
    .footer-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .footer-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .social-links {
        gap: 15px;
        margin: 25px 0;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 4%;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content h3 {
        font-size: 1.3rem;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* =================
   ADICIONALES PARA HERO SECTION
   ================= */

/* Agregar espacio superior para el header fijo */
.hero-section {
    padding-top: 80px; /* Espacio para el header fijo */
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
    }
}

        :root {
            --primary: #E07F3F;
            --accent: #df4c2d;
            --neutral: #ffffff;
            --text-dark: #0E1217;
            --text-gray: #656C73;
            --text-light: #9CA3AF;
            --green: #28a745;
            --red: #dc3545;
            --light-bg: #F7F8FA;
            --card-bg: #ffffff;
            --border: #E1E6EA;
            --gradient-primary:  linear-gradient(135deg, #df4c2d 0%, #E07F3F 100%); 
            --gradient-bg: linear-gradient(135deg, #E07F3F 0%, #df4c2d 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background: var(--gradient-bg);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        .hero-container {
            max-width: 900px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 8px 20px;
            border-radius: 50px;
            color: white;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 24px;
            animation: slideDown 0.8s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            font-weight: 800;
            color: white;
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.8s ease-out 0.2s both;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 40px;
            font-weight: 300;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            animation: slideUp 0.8s ease-out 0.4s both;
        }

        .motivational-quote {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 30px;
            margin: 40px 0;
            animation: fadeIn 0.8s ease-out 0.6s both;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .quote-text {
            font-size: 1.3rem;
            font-style: italic;
            color: white;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .quote-author {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin: 50px 0;
            animation: slideUp 0.8s ease-out 0.8s both;
        }

        .benefit-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            padding: 24px;
            text-align: left;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .benefit-icon {
            font-size: 2.5rem;
            margin-bottom: 16px;
            display: block;
        }

        .benefit-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: white;
            margin-bottom: 12px;
        }

        .benefit-description {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .cta-section {
            margin-top: 60px;
            animation: slideUp 0.8s ease-out 1s both;
        }

        .cta-button {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            padding: 18px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 8px 32px rgba(224, 127, 63, 0.4);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(224, 127, 63, 0.6);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            font-size: 2rem;
            opacity: 0.1;
            animation: floatAround 15s linear infinite;
        }

        .floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 60%;
            right: 10%;
            animation-delay: -5s;
        }

        .floating-element:nth-child(3) {
            bottom: 20%;
            left: 20%;
            animation-delay: -10s;
        }

        .floating-element:nth-child(4) {
            top: 30%;
            right: 30%;
            animation-delay: -7s;
        }

        @keyframes floatAround {
            0% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(50px, -50px) rotate(90deg); }
            50% { transform: translate(0, -100px) rotate(180deg); }
            75% { transform: translate(-50px, -50px) rotate(270deg); }
            100% { transform: translate(0, 0) rotate(360deg); }
        }

        .version-badge {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 8px 16px;
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 20px;
            }
            
            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            
            .motivational-quote {
                padding: 20px;
                margin: 30px 0;
            }
            
            .quote-text {
                font-size: 1.1rem;
            }
            
            .version-badge {
                bottom: 10px;
                right: 10px;
            }
        }