/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #F8FAFC;
    background-color: #030712;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 50;
    box-shadow: 0 1px 3px rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: brightness(1.1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #06B6D4;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #F8FAFC;
    z-index: 10000;
    position: relative;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-toggle svg {
    transition: all 0.3s ease;
}

.mobile-toggle.active svg line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
}

.mobile-toggle.active svg line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active svg line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
}

/* Footer Styles */
.footer {
    background-color: #030712;
    color: white;
    padding: 4rem 0;
    border-top: 1px solid rgba(30, 41, 59, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #06B6D4;
    color: white;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #F8FAFC;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 41, 59, 0.6);
}

.footer-copyright {
    color: #94A3B8;
    font-size: 0.875rem;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal .footer-link {
    font-size: 0.875rem;
}

/* Blur effect on body content when menu is open */
body.menu-open > *:not(.header) {
    filter: blur(10px);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open .header {
    filter: none;
}

/* Responsive & Mobile Menu */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .header-content {
        padding: 1.25rem 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-toggle {
        display: block !important;
        background: rgba(30, 41, 59, 0.9) !important;
        border: 1px solid rgba(6, 182, 212, 0.3) !important;
        border-radius: 8px !important;
        padding: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(6, 182, 212, 0.1) !important;
        color: #F8FAFC !important;
    }

    /* Mobile Navigation Logic - Full Screen Overlay */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 9999;
        
        /* Hidden by default on mobile */
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Shown when active class is added by JS */
    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    /* Mobile nav links styling */
    .nav .nav-link {
        font-size: 1.8rem;
        font-weight: 700;
        color: #F8FAFC;
        text-decoration: none;
        padding: 1.2rem 2.5rem;
        border-radius: 16px;
        transition: all 0.3s ease;
        background: rgba(30, 41, 59, 0.6);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(6, 182, 212, 0.3);
        box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .nav .nav-link:hover {
        background: rgba(6, 182, 212, 0.2);
        color: #06B6D4;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 12px 40px rgba(6, 182, 212, 0.3);
        border-color: rgba(6, 182, 212, 0.5);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 1rem 0;
    }
    
    .logo img {
        height: 36px;
    }
    
    .footer-logo img {
        height: 36px;
    }
    
    .footer {
        padding: 3rem 0;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .nav .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }
}