:root {
    /* Light Theme (Default) */
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --row: #f1f5f9;
    --border: #e2e8f0;
    --accent: #ed0096; /* Pink */
    --accent-alt: #ff8c00; /* Orange */
    --primary: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --glass-border: rgba(15, 23, 42, 0.1);
}

/* Dark Theme Overrides */
body.dark-theme {
    --bg: #0a0c1a;
    --card-bg: #0f1420;
    --row: #11121a;
    --border: #1b2130;
    --accent: #ed0096;
    --accent-alt: #ff8c00;
    --primary: #ffffff;
    --text: #ffffff;
    --muted: #bfc4cc;
    --glass-border: #1b2130;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    /* Professional Blueprint Pattern - Triple Density */
    background-image: 
        radial-gradient(var(--border) 1px, transparent 0);
    background-size: 13.3px 13.3px;
    margin: 0;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

header {
    background: var(--bg);
    color: var(--primary);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: -1px;
    font-weight: 800;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.nav-bar {
    background: var(--card-bg);
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

/* Mobile Responsive Design (680px Breakpoint) */
.mobile-menu-toggle {
    display: none;
    background: var(--row);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    z-index: 1001;
    transition: all 0.2s ease;
}

@media (max-width: 680px) {
    header {
        padding: 60px 20px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .nav-bar {
        justify-content: space-between;
        padding: 10px;
        position: relative;
        margin-bottom: 25px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: -100%; /* Hidden above the screen */
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 2px solid var(--accent);
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        text-align: center;
        transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        top: 0; /* Slide down to visible */
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px;
        font-weight: 700;
        border-bottom: 1px solid var(--border);
        width: 100%;
        color: var(--text) !important;
        opacity: 1;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        padding: 20px;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 3rem !important;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
}

/* Remove crisis mode as it's replaced by dark-theme */
