/* TWO-TONE SOLID v2.0 - PREMIUM BASE (NO CYAN) */
:root {
    /* Color Palette - Strict Navy & Off-White */
    --nut-darkblue: #0a1628;
    /* Primary Dark */
    --nut-darkblue-light: #0d1f35;
    /* Hover State */
    --nut-darkblue-lighter: #162d47;
    /* Active State */
    --nut-offwhite: #FEFEFE;
    /* Primary Light */
    --nut-offwhite-dim: #f5f7fa;
    /* Secondary Light / Sub-surface */

    --bg-primary: var(--nut-offwhite);
    --bg-secondary: var(--nut-offwhite-dim);
    --bg-card: var(--nut-darkblue);
    --bg-card-hover: var(--nut-darkblue-light);

    /* Text Colors */
    --text-primary: #0a1628;
    --text-secondary: rgba(10, 22, 40, 0.75);
    --text-muted: rgba(10, 22, 40, 0.55);

    --text-on-dark-primary: #e4eef4;
    --text-on-dark-secondary: rgba(228, 238, 244, 0.85);
    --text-on-dark-muted: rgba(228, 238, 244, 0.70);

    /* Borders */
    --border-color: rgba(10, 22, 40, 0.12);
    --border-accent: rgba(10, 22, 40, 0.25);
    --border-on-dark: rgba(254, 254, 254, 0.12);
    --border-on-dark-accent: rgba(254, 254, 254, 0.25);

    /* Premium Shadows - Deep, Soft, No Harsh Glows */
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.20);
    --shadow-xl: 0 32px 80px rgba(10, 22, 40, 0.16);

    /* Layout */
    --container-max: 1100px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --border-radius-card: 20px;
    --border-radius-btn: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Universal Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Base */
h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: inherit;
    font-weight: 700;
}

p {
    color: inherit;
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-btn);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--bg-card);
    color: var(--text-on-dark-primary);
    box-shadow: var(--shadow-sm);
    border-color: var(--bg-card);
}

.btn-primary:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: rgba(10, 22, 40, 0.04);
    border-color: var(--border-accent);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-on-dark-primary);
    border-color: var(--border-on-dark);
}

.btn-outline-dark:hover {
    background: rgba(254, 254, 254, 0.1);
    border-color: var(--text-on-dark-primary);
}

/* Base Cards */
.card-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-card);
    padding: 32px;
    color: var(--text-on-dark-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-on-dark);
    transition: var(--transition-smooth);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.bento-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-on-dark-primary);
    border: 1px solid var(--border-on-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-on-dark-accent);
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card-desc {
    color: var(--text-on-dark-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.bento-tag {
    display: inline-block;
    background: rgba(254, 254, 254, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-on-dark-secondary);
    margin-bottom: 16px;
    width: fit-content;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.large,
    .bento-card.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* 2026 INTERACTIVE HEADER */
.header-2026 {
    padding: 32px 0;
    border-bottom: 1px solid transparent;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.header-2026.scrolled {
    padding: 12px 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-content-2026 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-greeting {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
    transition: opacity 0.3s, height 0.3s;
}

.header-2026.scrolled .header-greeting {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
}

/* COMMAND PALETTE TRIGGER */
.cmd-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 24px;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cmd-trigger:hover {
    background: var(--bg-primary);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.cmd-shortcut {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(10, 22, 40, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* COMMAND PALETTE MODAL */
.cmd-palette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.cmd-palette-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cmd-palette {
    background: var(--bg-primary);
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(-20px) scale(0.98);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.cmd-palette-overlay.active .cmd-palette {
    transform: translateY(0) scale(1);
}

.cmd-input-wrapper {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmd-input-wrapper svg {
    color: var(--text-muted);
}

.cmd-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    color: var(--text-primary);
    outline: none;
    font-family: 'Inter', sans-serif;
}

.cmd-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
}

.cmd-group-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 12px;
    margin-top: 8px;
}

.cmd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s;
}

.cmd-item:hover,
.cmd-item.selected {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cmd-item-icon {
    background: rgba(10, 22, 40, 0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
}

/* INTERACTIVE FOOTER */
.footer-2026 {
    background: var(--bg-card);
    color: var(--text-on-dark-primary);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.nba-box {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-on-dark-accent);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nba-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.nba-text p {
    color: var(--text-on-dark-secondary);
}

@media (max-width: 768px) {
    .nba-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}
