:root {
    /* Neon Future AI Dark Mode */
    --bg-primary: #030014;
    /* Deep Space Violet */
    --bg-secondary: #0f0729;
    /* Darker Violet */
    --bg-tertiary: #1a103d;
    /* Midnight */

    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #94a3b8;

    --text-title: #ffffff;

    --border: rgba(124, 58, 237, 0.2);
    /* Low opacity violet border */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.15);

    --accent: #d946ef;
    /* Fuchsia 500 */
    --accent-hover: #e879f9;
    /* Fuchsia 400 */
    --accent-glow: rgba(217, 70, 239, 0.5);

    --user-bg: #8b5cf6;
    /* Violet 500 */
    --user-text: #ffffff;

    --ai-bg: #1a103c;
    --ai-text: #e2e8f0;

    --input-bg: rgba(15, 7, 41, 0.6);
    --header-bg: rgba(3, 0, 20, 0.7);
}

[data-theme="light"] {
    /* Modern AI Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    /* Slate 50 */
    --bg-tertiary: #f1f5f9;
    /* Slate 100 */

    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-tertiary: #64748b;
    /* Slate 500 */

    --text-title: #1e1b4b;
    /* Indigo 950 */

    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    --accent: #4f46e5;
    /* Indigo 600 */
    --accent-hover: #4338ca;
    /* Indigo 700 */
    --accent-glow: rgba(79, 70, 229, 0.3);

    --user-bg: #4f46e5;
    --user-text: #ffffff;

    --ai-bg: #f1f5f9;
    --ai-text: #334155;

    --input-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.8);
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    /* transition: background-color 0.3s ease, color 0.3s ease; */
}

/* Utilities */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.text-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #d946ef 100%);
    /* Cyan to Fuchsia */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(217, 70, 239, 0.3);
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, #0891b2 0%, #c026d3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu-item {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.menu-item:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent);
    transform: translateY(-1px);
}