:root {
    /* Premium Light Mode (Default) */
    --bg-primary: #F8FAFC; /* Slate-50 */
    --bg-secondary: #f1f5f9; /* Slate-100 */
    --bg-input: #f8fafc;
    --bg-accent-hover: #f1f5f9;
    --text-primary: #0F172A; /* Slate-900 */
    --text-secondary: #475569; /* Slate-600 */
    
    /* Semantic Colors */
    --color-pink: #ff2d75;
    --color-cyan: #22d3ee;
    --color-purple: #a855f7;

    /* Clean Glass for Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(226, 232, 240, 0.8); /* Slate-200 */
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    
    --accent-glow: rgba(255, 45, 117, 0.05); /* Very subtle in light mode */
    --card-bg: #FFFFFF;
    --nav-bg: rgba(248, 250, 252, 0.8);
    --nav-scroll-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #f8fafc;
    --mobile-menu-bg: #ffffff;
}

.dark {
    /* Dark Mode */
    --bg-primary: #000000;
    --bg-secondary: rgba(15, 23, 42, 0.2); /* black/20 or slate-900/20 */
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-accent-hover: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    
    /* Semantic Colors (Shared or tweaked for Dark Mode) */
    --color-pink: #ff2d75;
    --color-cyan: #22d3ee;
    --color-purple: #a855f7;

    --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    
    --accent-glow: rgba(255, 45, 117, 0.5);
    --card-bg: #0F172A; /* Slate-900 */
    --nav-bg: transparent;
    --nav-scroll-bg: rgba(0, 0, 0, 0.8);
    --footer-bg: #000000;
    --mobile-menu-bg: rgba(0, 0, 0, 0.95);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff2d75;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.text-glow {
    text-shadow: 0 0 40px var(--accent-glow);
}

.neon-border {
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.2), inset 0 0 10px rgba(34, 211, 238, 0.1);
}

/* Timeline connector */
.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0; /* Left-aligned on mobile */
    width: 2px;
    background: linear-gradient(180deg, #ff2d75 0%, #a855f7 50%, #22d3ee 100%);
    box-shadow: 0 0 15px var(--accent-glow);
    opacity: 0.3;
}

@media (min-width: 768px) {
    .timeline-line::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Typewriter Cursor */
.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: #22d3ee;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Card 3D transform */
.card-3d-wrapper {
    perspective: 1000px;
}

/* Utility: Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
