/*.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}*/
/*------*/

:root {
    --accent: #06b6d4; /* Electric Cyan */
    --bg-dark: #0a0a0b;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --nav-bg: rgba(0, 0, 0, 0.2);
    --gradient-start: #ffffff;
}

/* Light Mode Variables */
body.light-mode {
    --bg-dark: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --text-main: #0f172a;
    --text-muted: #475569;
    --nav-bg: rgba(255, 255, 255, 0.5);
    --gradient-start: #0891b2; /* Darker cyan for better light-mode visibility */
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--gradient-start) 0%,
        var(--accent) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.ai-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(6, 182, 212, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(6, 182, 212, 0.05) 0%,
            transparent 50%
        );
    z-index: -1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-dark);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

.prose h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}
.prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}
.prose p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.2s;
}
.theme-toggle:hover {
    border-color: var(--accent);
}
.sun-icon {
    display: none;
}
.light-mode .sun-icon {
    display: block;
}
.light-mode .moon-icon {
    display: none;
}
