/* ===== CSS Variables ===== */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: #151515;
    
    --accent-1: #00ff88;
    --accent-2: #ff0080;
    --accent-3: #00d4ff;
    --accent-4: #ffaa00;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;
    
    --border-color: #222222;
    --border-light: #333333;
    
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f1f3;
    --bg-card: #ffffff;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #7a7a8a;
    
    --border-color: #e2e4e8;
    --border-light: #d5d7db;
    
    --accent-1: #00cc6a;
    --accent-2: #e60073;
    --accent-3: #0099cc;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #00aa5a, #0088cc, #cc0066);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Light Theme - Navigation */
[data-theme="light"] .nav.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links {
    background: rgba(240, 241, 243, 0.9);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover {
    color: var(--text-primary);
}

[data-theme="light"] .nav-link.active {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

[data-theme="light"] .logo-icon {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

[data-theme="light"] .nav-cta {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

/* Light Theme - Hero */
[data-theme="light"] .blob {
    opacity: 0.3;
}

[data-theme="light"] .blob-1 { background: rgba(0, 204, 106, 0.2); }
[data-theme="light"] .blob-2 { background: rgba(230, 0, 115, 0.15); }
[data-theme="light"] .blob-3 { background: rgba(0, 153, 204, 0.2); }

[data-theme="light"] .grid-pattern {
    opacity: 0.08;
    background-image: 
        linear-gradient(to right, #ccc 1px, transparent 1px),
        linear-gradient(to bottom, #ccc 1px, transparent 1px);
}

[data-theme="light"] .floating-badge {
    background: white;
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .avatar-container {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
}

[data-theme="light"] .avatar-ring {
    border-color: var(--border-color);
}

[data-theme="light"] .ring-2 { border-color: rgba(0, 204, 106, 0.4); }
[data-theme="light"] .ring-3 { border-color: rgba(0, 153, 204, 0.4); }

/* Light Theme - Buttons */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(0, 204, 106, 0.3);
}

[data-theme="light"] .btn-secondary {
    background: white;
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .btn-secondary:hover {
    border-color: var(--accent-1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Light Theme - Cards */
[data-theme="light"] .about-card,
[data-theme="light"] .bento-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .timeline-card,
[data-theme="light"] .info-card {
    background: white;
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .bento-card:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .timeline-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .chip {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="light"] .chip:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Light Theme - Section badges */
[data-theme="light"] .section-badge {
    background: rgba(0, 204, 106, 0.1);
    border-color: rgba(0, 204, 106, 0.3);
    color: var(--accent-1);
}

/* Light Theme - Tabs */
[data-theme="light"] .tab-btn {
    background: white;
    border-color: var(--border-color);
}

[data-theme="light"] .tab-btn.active {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
    box-shadow: 0 10px 40px rgba(0, 204, 106, 0.2);
}

/* Light Theme - Timeline */
[data-theme="light"] .timeline-line {
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3), var(--accent-2));
}

[data-theme="light"] .timeline-dot {
    border-color: white;
}

/* Light Theme - Tags */
[data-theme="light"] .tag,
[data-theme="light"] .mini-badge {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

/* Light Theme - Availability Card */
[data-theme="light"] .availability-card {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

/* Light Theme - Experience Float */
[data-theme="light"] .experience-float {
    background: white;
    border-color: rgba(0, 204, 106, 0.3);
    box-shadow: 0 10px 40px rgba(0, 204, 106, 0.15);
}

/* Light Theme - Footer */
[data-theme="light"] .footer {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="light"] .footer-logo {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
}

[data-theme="light"] .back-to-top {
    background: white;
    border-color: var(--border-color);
}

/* Light Theme - Social Icons */
[data-theme="light"] .social-icon {
    background: white;
    border-color: var(--border-color);
}

[data-theme="light"] .social-icon:hover {
    box-shadow: 0 15px 30px rgba(0, 204, 106, 0.15);
}

/* Light Theme - Mobile Menu */
[data-theme="light"] .mobile-menu {
    background: white;
    border-color: var(--border-color);
}

[data-theme="light"] .mobile-link:hover,
[data-theme="light"] .mobile-link.active {
    background: rgba(0, 204, 106, 0.1);
}

/* Light Theme - Nav Toggle */
[data-theme="light"] .nav-toggle {
    background: white;
    border-color: var(--border-color);
}

[data-theme="light"] .nav-toggle span {
    background: var(--text-primary);
}

/* Light Theme - Marquee */
[data-theme="light"] .marquee-content span {
    color: var(--border-light);
}

[data-theme="light"] .marquee-content span:hover {
    color: var(--accent-1);
}

[data-theme="light"] .marquee-container::before {
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

[data-theme="light"] .marquee-container::after {
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

/* Light Theme - Scroll Progress */
[data-theme="light"] .scroll-progress {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3), var(--accent-2));
}

/* Light Theme - Theme Toggle */
[data-theme="light"] .theme-toggle {
    background: white;
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Light Theme - Back to Top */
[data-theme="light"] .back-to-top-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    box-shadow: 0 4px 20px rgba(0, 204, 106, 0.25);
}

[data-theme="light"] .back-to-top-btn svg {
    color: white;
}

/* Light Theme - Cursor */
[data-theme="light"] .cursor {
    background: var(--accent-1);
    mix-blend-mode: normal;
}

[data-theme="light"] .cursor-follower {
    border-color: var(--accent-1);
}

/* Light Theme - About Card */
[data-theme="light"] .about-card-bg {
    background: linear-gradient(135deg, rgba(0, 204, 106, 0.05), transparent, rgba(230, 0, 115, 0.05));
}

[data-theme="light"] .about-avatar-ring {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
}

[data-theme="light"] .about-card-title {
    color: var(--accent-1);
}

/* Light Theme - Noise Overlay */
[data-theme="light"] .noise-overlay {
    opacity: 0.01;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 28px;
    color: var(--bg-primary);
    margin: 0 auto 24px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
    border-radius: 2px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}

@keyframes preloaderBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

.preloader-text {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ===== Custom Cursor ===== */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--accent-3);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-3);
    opacity: 0.3;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.5);
}

/* Show default cursor on touch devices (hide custom cursor) */
@media (hover: none), (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none;
    }
    
    body, *, *::before, *::after {
        cursor: auto !important;
    }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3), var(--accent-2));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent-1);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
}

.theme-toggle .sun-icon {
    display: none;
    color: var(--accent-4);
}

.theme-toggle .moon-icon {
    display: block;
    color: var(--accent-3);
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* ===== Back to Top Button ===== */
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
}

.back-to-top-btn svg {
    color: var(--bg-primary);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Hide default cursor on all elements */
*, *::before, *::after {
    cursor: none !important;
}

::selection {
    background-color: var(--accent-1);
    color: var(--bg-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Noise Overlay ===== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Utility Classes ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

.accent-text { color: var(--accent-1); }
.accent-text-2 { color: var(--accent-3); }

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Styles ===== */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent-1);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== Grid Pattern ===== */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ===== Blobs ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: blob 10s ease-in-out infinite;
    will-change: transform;
}

.blob-1 { width: 400px; height: 400px; background: rgba(0, 255, 136, 0.15); top: 20%; left: 20%; }
.blob-2 { width: 350px; height: 350px; background: rgba(255, 0, 128, 0.1); top: 30%; right: 20%; animation-delay: 2s; }
.blob-3 { width: 300px; height: 300px; background: rgba(0, 212, 255, 0.15); bottom: 20%; left: 30%; animation-delay: 4s; }
.blob-4 { width: 400px; height: 400px; background: rgba(0, 255, 136, 0.1); top: 10%; left: 10%; }
.blob-5 { width: 350px; height: 350px; background: rgba(255, 0, 128, 0.08); bottom: 10%; right: 10%; animation-delay: 3s; }
.blob-6 { width: 500px; height: 500px; background: rgba(0, 255, 136, 0.08); top: 10%; right: 20%; }
.blob-7 { width: 400px; height: 400px; background: rgba(255, 0, 128, 0.06); bottom: 20%; left: 10%; animation-delay: 2s; }

/* ===== Parallax Elements ===== */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Parallax Shapes */
.parallax-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero .parallax-shape {
    transform: translate(calc(var(--mouse-x) * 0.5), calc(var(--mouse-y) * 0.5));
}

.shape-1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    top: 15%;
    left: 8%;
    animation: shapeFloat1 12s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 212, 255, 0.15);
    border-radius: 50%;
    top: 60%;
    right: 10%;
    animation: shapePulse 8s ease-in-out infinite;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 128, 0.15);
    border-radius: 8px;
    top: 25%;
    right: 25%;
    animation: shapeRotate 20s linear infinite;
}

.shape-4 {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 170, 0, 0.2);
    border-radius: 50%;
    bottom: 30%;
    left: 15%;
    animation: shapePulse 10s ease-in-out infinite 2s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 255, 136, 0.15);
    border-radius: 30px;
    top: 20%;
    right: 15%;
    animation: shapeFloat2 15s ease-in-out infinite;
}

.shape-6 {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    bottom: 25%;
    left: 10%;
    animation: shapePulse 6s ease-in-out infinite 1s;
}

.shape-7 {
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255, 0, 128, 0.2);
    border-radius: 20px;
    top: 30%;
    left: 5%;
    animation: shapeRotate 25s linear infinite reverse;
}

.shape-8 {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 255, 136, 0.15);
    border-radius: 50%;
    bottom: 20%;
    right: 8%;
    animation: shapeFloat1 18s ease-in-out infinite 3s;
}

@keyframes shapeFloat1 {
    0%, 100% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(45deg); 
    }
    25% { 
        transform: translate(calc(var(--mouse-x, 0px) + 20px), calc(var(--mouse-y, 0px) - 15px)) rotate(50deg); 
    }
    50% { 
        transform: translate(calc(var(--mouse-x, 0px) - 10px), calc(var(--mouse-y, 0px) + 10px)) rotate(40deg); 
    }
    75% { 
        transform: translate(calc(var(--mouse-x, 0px) + 15px), calc(var(--mouse-y, 0px) + 5px)) rotate(48deg); 
    }
}

@keyframes shapeFloat2 {
    0%, 100% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(-15deg); 
    }
    33% { 
        transform: translate(calc(var(--mouse-x, 0px) - 15px), calc(var(--mouse-y, 0px) + 20px)) rotate(-20deg); 
    }
    66% { 
        transform: translate(calc(var(--mouse-x, 0px) + 10px), calc(var(--mouse-y, 0px) - 10px)) rotate(-10deg); 
    }
}

@keyframes shapePulse {
    0%, 100% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes shapeRotate {
    0% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(0deg); 
    }
    100% { 
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(360deg); 
    }
}

/* About Section Parallax Background */
.parallax-bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.parallax-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.circle-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(0, 255, 136, 0.1);
    top: 10%;
    right: 5%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(0, 212, 255, 0.1);
    bottom: 15%;
    left: 3%;
}

.parallax-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
}

.line-1 {
    width: 200px;
    top: 30%;
    right: 10%;
    transform: rotate(-30deg);
}

.line-2 {
    width: 150px;
    bottom: 40%;
    left: 5%;
    transform: rotate(20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.2), transparent);
}

/* Light Theme Parallax */
[data-theme="light"] .parallax-shape {
    opacity: 0.5;
}

[data-theme="light"] .shape-1 { border-color: rgba(0, 204, 106, 0.3); }
[data-theme="light"] .shape-2 { border-color: rgba(0, 153, 204, 0.25); }
[data-theme="light"] .shape-3 { background: rgba(230, 0, 115, 0.15); }
[data-theme="light"] .shape-4 { border-color: rgba(255, 170, 0, 0.3); }
[data-theme="light"] .shape-5 { border-color: rgba(0, 204, 106, 0.25); }
[data-theme="light"] .shape-6 { background: rgba(0, 153, 204, 0.15); }
[data-theme="light"] .shape-7 { border-color: rgba(230, 0, 115, 0.25); }
[data-theme="light"] .shape-8 { border-color: rgba(0, 204, 106, 0.2); }

[data-theme="light"] .circle-1 { border-color: rgba(0, 204, 106, 0.15); }
[data-theme="light"] .circle-2 { border-color: rgba(0, 153, 204, 0.15); }

[data-theme="light"] .line-1 {
    background: linear-gradient(90deg, transparent, rgba(0, 204, 106, 0.25), transparent);
}

[data-theme="light"] .line-2 {
    background: linear-gradient(90deg, transparent, rgba(230, 0, 115, 0.25), transparent);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    padding: 12px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.nav.scrolled .nav-container {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--bg-primary);
    transition: var(--transition);
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
}

.logo-text .accent {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(17, 17, 17, 0.8);
    padding: 6px;
    border-radius: 100px;
}

.nav-link {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 100px 32px 32px;
    transition: var(--transition-slow);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover, .mobile-link.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-1);
    border-left: 3px solid var(--accent-1);
}

.mobile-cta {
    margin-top: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
    font-weight: 600;
    text-align: center;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    width: fit-content;
}

.status-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: #22c55e;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

/* Typing Effect */
.typing-text {
    display: inline;
}

.typing-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: typeIn 0.4s ease forwards;
}

.typing-text .char.space {
    width: 0.3em;
}

.typing-text .char.gradient {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: typeIn 0.4s ease forwards, gradientShift 5s ease infinite;
}

.typing-cursor {
    display: inline-block;
    font-weight: 300;
    color: var(--accent-1);
    animation: blink 0.8s ease-in-out infinite;
    margin-left: 4px;
}

.typing-cursor.hidden {
    opacity: 0;
}

@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(-90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    display: block;
    margin-top: 8px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat-value {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    display: block;
    transition: transform 0.15s ease;
}

.stat-value.counter {
    font-variant-numeric: tabular-nums;
}

.stat-value.counting {
    animation: counterPulse 0.3s ease;
}

.stat-value.counted {
    animation: counterComplete 0.4s ease;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Counter Animations */
@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes counterComplete {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
}

.avatar-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    --mouse-x: 0px;
    --mouse-y: 0px;
    transform: translate(var(--mouse-x), var(--mouse-y));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ring-1 { inset: 0; animation: pulse 4s ease-in-out infinite; }
.ring-2 { inset: 35px; border-color: rgba(0, 255, 136, 0.3); }
.ring-3 { inset: 70px; border-color: rgba(0, 212, 255, 0.3); }

.avatar-container {
    position: absolute;
    inset: 90px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
    --mouse-x: 0px;
    --mouse-y: 0px;
    transform: translate(var(--mouse-x), var(--mouse-y));
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.badge-1 { top: 8%; right: 5%; animation-delay: 0s; }
.badge-2 { bottom: 25%; left: -5%; animation-delay: 0.5s; }
.badge-3 { top: 45%; right: -5%; border-color: rgba(0, 255, 136, 0.3); animation-delay: 1s; }
.badge-4 { top: 15%; left: -10%; animation-delay: 1.5s; }
.badge-5 { bottom: 10%; right: 15%; border-color: rgba(0, 212, 255, 0.3); animation-delay: 2s; }

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

/* ===== About Section ===== */
.about {
    position: relative;
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.about-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.about-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent, rgba(255, 0, 128, 0.1));
}

.about-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.about-avatar {
    position: relative;
    margin-bottom: 24px;
}

.about-avatar-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
}

.about-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.orbiting-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    background: var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-1);
    animation: orbit 10s linear infinite;
    transform-origin: 6px 86px;
}

.about-card-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-card-title {
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.mini-badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.experience-float {
    position: absolute;
    bottom: -32px;
    right: -32px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    animation: float 4s ease-in-out infinite;
}

.exp-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-1);
    display: block;
    transition: transform 0.15s ease;
    font-variant-numeric: tabular-nums;
}

.exp-value.counting {
    animation: counterPulse 0.3s ease;
}

.exp-value.counted {
    animation: counterComplete 0.4s ease;
}

.exp-label {
    font-size: 14px;
    color: var(--text-muted);
}

.decorative-square {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.3);
}

.info-icon {
    font-size: 24px;
}

.info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
}

.about-buttons {
    display: flex;
    gap: 16px;
    padding-top: 16px;
}

/* ===== Skills Section ===== */
.skills {
    position: relative;
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.skills-bg {
    position: absolute;
    inset: 0;
}

.skills-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Bento Grid Skills */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px color-mix(in srgb, var(--accent) 20%, transparent);
}

.bento-card:hover::before {
    transform: scaleX(1);
}

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

.bento-wide {
    grid-column: span 2;
}

.bento-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.bento-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    border-radius: 12px;
}

.bento-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.chip:hover {
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-primary));
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.chip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Bento Grid Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
    
    .bento-card {
        padding: 20px;
    }
    
    .chip {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .chip img {
        width: 18px;
        height: 18px;
    }
}

/* Marquee */
.marquee-container {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee-track.reverse {
    animation: marqueeReverse 30s linear infinite;
    margin-top: 20px;
}

.marquee-content {
    display: flex;
    gap: 32px;
}

.marquee-content span {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--border-light);
    white-space: nowrap;
    transition: color 0.3s;
}

.marquee-content span:hover {
    color: var(--accent-1);
}

/* ===== Projects Section ===== */
.projects {
    position: relative;
    padding: 120px 0;
    background: var(--bg-primary);
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view {
    padding: 12px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 14px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-view {
    transform: translateY(0);
}

.project-content {
    padding: 24px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.project-tag {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent-1);
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Modal */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: white;
}

.modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 32px;
}

.modal-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-detail {
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-tech {
    margin-bottom: 24px;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.modal-tech-list .chip {
    background: var(--bg-tertiary);
}

.modal-links {
    display: flex;
    gap: 16px;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.modal-link.primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
}

.modal-link.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.3);
}

.modal-link.secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.modal-link.secondary:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
}

/* Projects Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-details {
        grid-template-columns: 1fr;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-links {
        flex-direction: column;
    }
}

/* Light Theme - Projects */
[data-theme="light"] .project-card {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .project-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-content {
    background: white;
}

[data-theme="light"] .modal-detail {
    background: var(--bg-secondary);
}

/* ===== Experience Section ===== */
.experience {
    position: relative;
    padding: 120px 0;
    background: var(--bg-primary);
}

.experience-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3), var(--accent-2));
    transform: translateX(-50%);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 48px;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: 100%;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.3);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.timeline-badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.timeline-date {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeline-tasks {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-tasks li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    display: flex;
    gap: 8px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===== Contact Section ===== */
.contact {
    position: relative;
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
}

.contact-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 32px 24px;
    border-radius: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    word-break: break-word;
}

.social-section {
    text-align: center;
}

.social-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-1);
    border-color: var(--accent-1);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
}

.availability-card {
    padding: 32px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: var(--bg-primary);
    text-align: center;
}

.availability-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
}

.availability-dot {
    position: relative;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.availability-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: white;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

.availability-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.availability-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* Contact Form */
/* Contact Cards Responsive */
@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--bg-primary);
    transition: var(--transition);
}

.footer-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.footer-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-1);
    transform: translateY(-2px);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.back-to-top:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.heart {
    animation: heartbeat 1s infinite;
}

/* ===== Animations ===== */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

@keyframes float {
    0%, 100% { 
        transform: translate(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) + 0px)); 
    }
    50% { 
        transform: translate(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) - 15px)); 
    }
}

@keyframes floatSubtle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(-4px) rotate(-2deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Reveal Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

