:root {
    --primary-glow: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(0,0,0,0) 70%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --neon-blue: #38bdf8;
    --neon-purple: #a855f7;
}

body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    background-color: #020617; /* Very dark slate */
    color: #e2e8f0; /* Light gray text */
    overflow-x: hidden;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* --- Navigation --- */
.glass-nav {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
}

/* --- Hero Section --- */
.hero-bg {
    background: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%);
    position: relative;
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(to right, #38bdf8, #a855f7, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cards --- */
.dark-card {
    background: rgba(30, 41, 59, 0.4); /* Semi-transparent dark */
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.dark-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(168, 85, 247, 0.5); /* Purple border on hover */
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.icon-box {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(168, 85, 247, 0.1));
    border: var(--glass-border);
}

/* --- Buttons --- */
.btn-glow {
    position: relative;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* --- Portfolio --- */
.portfolio-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85);
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* --- Form Inputs --- */
.dark-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.dark-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

/* --- Toast --- */
#toast {
    border: 1px solid #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}