/* Header & Footer Styles - Shared across all pages */
:root {
    --brand: #8B5CF6;
    --brand-dark: #7C3AED;
    --text: #1d1d1f;
    --muted: #86868b;
    --line: #d2d2d7;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

header.hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

header.transparent {
    background: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 135px;
    height: 55px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

nav a:hover {
    color: #fff;
}

.cta-btn {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-content,
.user-dropdown-content.show {
    display: block;
}

.user-dropdown-content a {
    color: #1d1d1f !important;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.user-dropdown-content a:hover {
    background: #f5f3ff;
    color: var(--brand) !important;
}

.user-dropdown-content a i {
    width: 16px;
    text-align: center;
}

.user-dropdown-content .divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

footer {
    background: #0a0a0f;
    color: #f1f1f3;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h3,
footer h4 {
    color: #f1f1f3 !important;
}

footer p {
    color: #a1a1aa !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0;
    text-transform: none;
    color: #f1f1f3 !important;
}

.footer-col p {
    font-size: 15px;
    color: #a1a1aa !important;
    line-height: 1.6;
    margin: 0;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand h3 {
    font-size: 19px;
    font-weight: 600;
    color: #f1f1f3 !important;
    margin-bottom: 24px;
    letter-spacing: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #a1a1aa !important;
    padding: 4px 0;
    line-height: 1.6;
}

.footer-col ul li a {
    color: #a1a1aa !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #8B5CF6 !important;
}

.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 40px auto 20px;
    max-width: 1200px;
}

.footer-copyright {
    text-align: center;
    font-size: 15px;
    color: #71717a !important;
    max-width: 1200px;
    margin: 0 auto;
}
    margin: 0 auto;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none !important;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 12px 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
}

/* Ensure body has top padding when header is fixed */
body {
    padding-top: 60px;
}

