/* =========================================================
   TRADING ACADEMY - MODERN FINTECH NAVIGATION STYLES
   ========================================================= */
:root {
    --brand-primary: #00f2fe;
    --brand-accent: #4facfe;
    --brand-emerald: #10b981;
    --brand-emerald-glow: rgba(16, 185, 129, 0.4);
    --dark-bg: #07090e;
    --dark-surface: #0e131f;
    --dark-border: rgba(0, 242, 254, 0.15);
}

.navbar-custom {
    background: rgba(7, 9, 14, 0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
}

.navbar-custom.scrolled {
    background: rgba(7, 9, 14, 0.98) !important;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(0, 242, 254, 0.25);
    border-bottom-color: rgba(0, 242, 254, 0.3);
}

/* Brand */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.1) 100%);
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand-custom:hover .brand-icon-box {
    transform: rotate(-10deg) scale(1.08);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #07090e;
}

.brand-text {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.brand-accent {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo-img {
    max-height: 45px;
    max-width: 180px;
    object-fit: contain;
}

/* Navigation Links (Garantizar 1 sola fila sin salto de texto) */
.nav-link-custom {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(226, 232, 240, 0.88) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 10px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    flex-wrap: nowrap;
}

.nav-link-custom i {
    color: #00f2fe;
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #ffffff !important;
    background: rgba(0, 242, 254, 0.12);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.18);
}

.nav-link-custom:hover i {
    transform: translateY(-2px) scale(1.1);
    color: #38ef7d;
}

/* Action Buttons - Más largos, en una sola fila (nowrap) */
.btn-nav-reserve {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #07090e !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    padding: 10px 26px;
    min-width: 160px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
}

.btn-nav-reserve:hover {
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 242, 254, 0.65);
    color: #07090e !important;
}

.btn-nav-login {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 24px;
    min-width: 145px;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
}

.btn-nav-login:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: #00f2fe;
    color: #00f2fe !important;
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(0, 242, 254, 0.3);
}

/* Mobile Toggler */
.navbar-toggler-custom {
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.08);
}

.navbar-toggler-custom:focus {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

@media (max-width: 1199px) {
    .navbar-collapse-custom {
        background: #0e131f;
        padding: 24px;
        border-radius: 18px;
        margin-top: 15px;
        border: 1px solid rgba(0, 242, 254, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    }
    
    .nav-link-custom {
        padding: 12px 16px !important;
        margin-bottom: 6px;
        width: 100%;
    }
    
    .btn-nav-reserve, .btn-nav-login {
        width: 100%;
        margin-top: 8px;
    }
}
