/* Logo Responsive Sizing */
.logo img {
    height: 34px;
    /* Desktop: 15% smaller than 40px */
    transition: height 0.3s ease;
}

/* ===== Mobile Responsive Styles ===== */
@media (max-width: 768px) {
    .logo img {
        height: 28px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(18, 18, 26, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        gap: 0;
        padding: 6rem 0 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        align-items: flex-start;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        right: 0 !important;
        display: flex !important;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        animation: slideInRight 0.3s ease-out backwards;
    }

    .nav-links>li:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nav-links>li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-links>li:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-links>li:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-links>li:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-links>li:nth-child(6) {
        animation-delay: 0.3s;
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links>li>a {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-links>li>a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, #ff0033 0%, #ff3366 100%);
        transition: height 0.3s ease;
    }

    .nav-links>li>a:hover,
    .nav-links>li>a.active {
        background: rgba(255, 0, 51, 0.05);
        color: #fff;
        padding-left: 2.5rem;
    }

    .nav-links>li>a:hover::before,
    .nav-links>li>a.active::before {
        height: 60%;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
    }

    .dropdown.active .dropdown-content {
        display: block !important;
        animation: fadeInDown 0.3s ease;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-content li a {
        padding: 0.9rem 2rem 0.9rem 3.5rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.25s ease;
        position: relative;
    }

    .dropdown-content li a::before {
        content: '→';
        position: absolute;
        left: 2.5rem;
        opacity: 0;
        transition: all 0.25s ease;
        color: #ff0033;
    }

    .dropdown-content li a:hover {
        background: rgba(255, 0, 51, 0.08);
        color: #fff;
        padding-left: 4rem;
    }

    .dropdown-content li a:hover::before {
        opacity: 1;
        left: 3rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 0.6rem;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-cta {
        margin: 1.5rem 2rem;
        width: calc(100% - 4rem);
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        box-shadow: 0 4px 20px rgba(255, 0, 51, 0.3);
    }
}