/* CSS Variables */
:root {
    --sky-blue: #00c4ff;
    --sky-pink: #ff005e;
    --sky-green: #00ffb3;
    --sky-blue-light: rgba(0, 196, 255, 0.1);
    --sky-pink-light: rgba(255, 0, 94, 0.1);
    --sky-green-light: rgba(0, 255, 179, 0.1);
    --light-bg: #ffffff;
    --card-bg: #f8f9fa;
    --card-hover: #f1f3f4;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #9aa0a6;
    --border-light: #dadce0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles - FIXED POSITION */
header {
    background-color: var(--light-bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo span {
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--sky-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 1002;
}

/* Main content wrapper - ADD PADDING FOR FIXED HEADER */
.main-content {
    flex: 1 0 auto;
    width: 100%;
    padding: 2rem;
    margin-top: 70px; /* Match header height */
}

/* Footer Styles */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-light);
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo span {
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink), var(--sky-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--sky-blue), var(--sky-pink));
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--sky-blue);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--sky-blue);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .main-content {
        margin-top: 60px; /* Adjust for smaller header on mobile */
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-bg);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-hover);
        border-top: 1px solid var(--border-light);
        gap: 0;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-light);
        display: block;
        width: 100%;
        font-size: 1rem;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 55px;
    }
    
    .main-content {
        margin-top: 55px; /* Adjust for smallest header */
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links {
        padding: 10px;
    }
    
    .footer-container {
        padding: 25px 15px 15px;
    }
}
