/* Global Header & Footer Styles */
/* Shared across all pre-login pages */

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* Add padding to body for fixed header */
body {
    padding-top: 80px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

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

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link:hover::after {
    width: 100%;
}

/* Settings Link Icon */
.nav-link.settings-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link.settings-link::after {
    display: none;
}

.nav-link.settings-link:hover {
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.settings-link svg {
    transition: transform 0.3s ease;
}

.nav-link.settings-link:hover svg {
    transform: rotate(45deg);
}

.nav-btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.9375rem !important;
    border: 2px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.nav-btn.secondary {
    color: #667eea !important;
    border-color: rgba(102, 126, 234, 0.15) !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

.nav-btn.secondary:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    border-color: #667eea !important;
    transform: translateY(-2px);
}

.nav-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.nav-btn.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-btn.primary:hover::before {
    opacity: 1;
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid !important;
    grid-template-columns: 2fr repeat(4, 1fr) !important;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1a202c;
}

.footer-brand {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #4a5568;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.footer-description {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    color: #718096;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-made-with {
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .nav-links {
        display: none;
    }

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

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
