/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a12;
    color: #f0f0ff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1400px;
    z-index: 1000;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 20, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .navbar {
        top: 1.5rem;
        width: calc(100% - 4rem);
        padding: 0.8rem 2rem;
    }
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(145deg, #d6b0ff, #a3c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    transition: all 0.3s;
}

    .logo:hover {
        opacity: 0.8;
    }

@media (min-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    font-size: 1.3rem;
    color: #ecebff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .menu-toggle:hover {
        background: rgba(140, 70, 255, 0.3);
    }

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }
}

/* Navigation Menu */
.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 20, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    border-radius: 1rem;
    margin-top: 0.5rem;
    display: none;
    z-index: 99;
}

    .nav-menu.active {
        display: flex;
    }

@media (min-width: 900px) {
    .nav-menu {
        position: static;
        background: transparent;
        flex-direction: row;
        gap: 1.5rem;
        padding: 0;
        margin-top: 0;
        display: flex;
    }
}

.nav-menu a {
    color: #ecebff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .nav-menu a {
        font-size: 1rem;
    }
}

.nav-menu a:hover {
    color: #c9adff;
    transform: translateY(-2px);
}

/* Navigation Right */
.nav-right {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-right {
        gap: 1rem;
    }
}

/* ============================================
   Buttons - Fixed Hover
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    color: white;
    text-decoration: none;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(145deg, #8f6eff, #b35eeb);
    border: none;
    box-shadow: 0 4px 15px rgba(140, 70, 255, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(145deg, #a07eff, #c47aff);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(160, 100, 255, 0.5);
    }

/* Outline Button - Fixed (No transform on hover) */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .btn-outline:hover {
        background: rgba(140, 70, 255, 0.2);
        border-color: #b388ff;
        color: white;
        transform: none;
    }

/* ============================================
   Dropdown
   ============================================ */
.dropdown-toggle {
    background: linear-gradient(145deg, #8f6eff, #b35eeb) !important;
    border: none !important;
}

    .dropdown-toggle:hover {
        transform: translateY(-2px);
    }

.dropdown-menu {
    background: rgba(18, 15, 40, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #ecebff;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .dropdown-item:hover {
        background: rgba(140, 70, 255, 0.2);
        color: white;
    }

.dropdown-divider {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-header {
    padding: 0.8rem 1rem;
}

/* ============================================
   Container & Main Content
   ============================================ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

main {
    padding-top: 5rem;
    min-height: calc(100vh - 300px);
}

@media (min-width: 768px) {
    main {
        padding-top: 6rem;
    }
}

/* ============================================
   Footer
   ============================================ */
footer {
    margin-top: 4rem;
    background: rgba(8, 6, 22, 0.8);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(145deg, #d6b0ff, #a3c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #b388ff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #b9b2e6;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 0.6rem;
    }

        .footer-col ul li a {
            color: #ccc2ff;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-block;
        }

            .footer-col ul li a:hover {
                color: #b388ff;
                transform: translateX(5px);
            }

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem auto;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1300px;
}

    .social-icons a {
        color: #b6a2ff;
        font-size: 1.3rem;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

        .social-icons a:hover {
            color: white;
            background: linear-gradient(145deg, #8f6eff, #b35eeb);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(140, 70, 255, 0.3);
        }

/* Copyright */
.copyright {
    text-align: center;
    color: #9b95c0;
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1300px;
    margin: 0 auto;
}

/* ============================================
   Glowing Dots
   ============================================ */
.glowing-dot {
    position: fixed;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .glowing-dot {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   Responsive Footer
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 1.5rem;
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-col h3,
    .footer-col h4 {
        text-align: center;
    }

    .footer-col ul li a:hover {
        transform: translateX(0) translateY(-2px);
    }

    .social-icons {
        gap: 1rem;
        margin: 1.5rem auto;
    }

        .social-icons a {
            width: 35px;
            height: 35px;
            font-size: 1.1rem;
        }

    .copyright {
        font-size: 0.75rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 1rem);
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }

    .footer-grid {
        gap: 1.2rem;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }

    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.8rem;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #8f6eff, #b35eeb);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(145deg, #a07eff, #c47aff);
    }
