/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
    --accent: #ec4899;
    --accent-dark: #db2777;
    --accent-light: #f472b6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #f9fafb;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-dark: #111827;
    --bg-darker: #030712;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.6);
    --shadow-glow-lg: 0 0 40px rgba(102, 126, 234, 0.8);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Dark Theme */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-inverse: #1f2937;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-dark: #000000;
    --bg-darker: #020617;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: preloaderAutoHide 3s ease-in-out forwards;
}

.preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@keyframes preloaderAutoHide {
    0%, 80% { 
        opacity: 1; 
        visibility: visible; 
    }
    100% { 
        opacity: 0; 
        visibility: hidden; 
        pointer-events: none;
    }
}

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

.logo-spin {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoSpin 2s ease-in-out infinite;
    margin-bottom: var(--space-lg);
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    border-radius: var(--radius-full);
    animation: progressFill 2s ease-in-out infinite;
}

@keyframes logoSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

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

/* ===== LAYOUT IMPROVEMENTS ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.section:nth-child(even)::before {
    background: 
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(74, 172, 254, 0.05) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle, .section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: white;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.4),
        0 0 40px rgba(139, 92, 246, 0.3);
    animation: gradientSlide 3s ease infinite, tagFloat 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
}

.section-description, .section-desc {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
    transition: all var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-weight: 800;
    font-size: var(--font-xl);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    position: relative;
    transition: all var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border: 2px solid var(--text-muted);
    background: transparent;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: var(--space-xl) 0;
}

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

[data-theme="dark"] .hero {
    background: linear-gradient(-45deg, #1a1f3a, #2d1b4e, #1e293b, #0f172a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    z-index: 1;
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(102, 126, 234, 0.4) 0%, 
        rgba(139, 92, 246, 0.3) 40%,
        rgba(236, 72, 153, 0.2) 70%,
        rgba(74, 172, 254, 0.1) 100%);
    backdrop-filter: blur(40px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    box-shadow: 
        0 15px 45px rgba(102, 126, 234, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(139, 92, 246, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.shape:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.7),
        inset 0 0 40px rgba(255, 255, 255, 0.25),
        0 0 100px rgba(139, 92, 246, 0.6);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    background: radial-gradient(circle at 30% 30%, 
        rgba(102, 126, 234, 0.5) 0%, 
        rgba(139, 92, 246, 0.3) 50%,
        rgba(99, 102, 241, 0.1) 100%);
}

.shape-2 {
    width: 140px;
    height: 140px;
    top: 55%;
    right: 12%;
    animation-delay: 2s;
    background: radial-gradient(circle at 30% 30%, 
        rgba(236, 72, 153, 0.5) 0%, 
        rgba(139, 92, 246, 0.3) 50%,
        rgba(118, 75, 162, 0.1) 100%);
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
    background: radial-gradient(circle at 30% 30%, 
        rgba(74, 172, 254, 0.5) 0%, 
        rgba(79, 70, 229, 0.3) 50%,
        rgba(59, 130, 246, 0.1) 100%);
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 8%;
    right: 25%;
    animation-delay: 1s;
    background: radial-gradient(circle at 30% 30%, 
        rgba(167, 139, 250, 0.5) 0%, 
        rgba(139, 92, 246, 0.3) 50%,
        rgba(124, 58, 237, 0.1) 100%);
}

.shape-5 {
    width: 160px;
    height: 160px;
    bottom: 8%;
    right: 8%;
    animation-delay: 3s;
    background: radial-gradient(circle at 30% 30%, 
        rgba(139, 92, 246, 0.5) 0%, 
        rgba(236, 72, 153, 0.3) 50%,
        rgba(244, 114, 182, 0.1) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
    min-height: 85vh;
}

.hero-content {
    display: contents;
}

.hero-text {
    max-width: 100%;
    color: white;
    order: 1;
}

.hero-visual {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-xl);
    animation: fadeInRight 1s ease 0.5s both;
    perspective: 1000px;
    position: relative;
    padding-right: var(--space-lg);
    margin-top: 120px;
}

.hero-greeting {
    margin-bottom: var(--space-md);
}

.greeting-text {
    font-size: var(--font-lg);
    font-weight: 500;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    margin-top: var(--space-xl  );
    min-height: 120px;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.typewriter-name {
    display: inline-block;
    background: linear-gradient(120deg, 
        #ffffff 0%, 
        #ffd700 15%,
        #ffffff 30%,
        #00f2fe 50%,
        #ffffff 70%,
        #f093fb 85%,
        #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 5s ease-in-out infinite, textGlow 3s ease-in-out infinite alternate;
    position: relative;
    min-width: 20px;
    min-height: 1.2em;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 20px rgba(102, 126, 234, 0.5))
            drop-shadow(0 0 35px rgba(236, 72, 153, 0.3));
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8)) drop-shadow(0 0 50px rgba(139, 92, 246, 0.6));
    }
}

.typewriter-name::after {
    content: '|';
    color: rgba(255, 255, 255, 0.95);
    animation: blink 0.8s infinite;
    margin-left: 2px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease 0.4s both;
}

.highlight {
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: var(--space-xl);
    min-height: 65px;
    animation: fadeInUp 1s ease 0.6s both;
    font-weight: 500;
}

.typewriter-role {
    display: inline-block;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.92), 
        rgba(99,102,241,0.9),
        rgba(139,92,246,0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.typewriter-role::after {
    content: '|';
    color: var(--primary);
    animation: blink 0.8s infinite;
    margin-left: 2px;
    text-shadow: 0 0 8px var(--primary);
}

.typewriter {
    border-right: 3px solid white;
    animation: blink 1s step-end infinite;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: var(--space-xl);
    max-width: 520px;
    animation: fadeInUp 1s ease 0.8s both;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease 1s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    min-width: 110px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(102,126,234,0.2), 
        rgba(139,92,246,0.2),
        rgba(236,72,153,0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-12px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.4),
        0 10px 25px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(236, 72, 153, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-xl);
    margin: 0 auto var(--space-sm);
    animation: float 3s ease-in-out infinite, iconGlow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6),
                    0 0 40px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.8),
                    0 0 60px rgba(139, 92, 246, 0.6),
                    0 0 80px rgba(236, 72, 153, 0.4);
    }
}

.stat-number {
    display: block;
    font-size: var(--font-3xl);
    font-weight: 900;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-sm);
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease 1.2s both;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 1s ease 1.4s both;
}

.social-link {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: var(--font-xl);
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(102,126,234,0.4), 
        rgba(139,92,246,0.4),
        rgba(236,72,153,0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-10px) rotate(8deg) scale(1.1);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.5),
        0 10px 20px rgba(139, 92, 246, 0.4),
        0 0 60px rgba(236, 72, 153, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(0, 119, 181, 0.6), 0 0 60px rgba(0, 119, 181, 0.4);
}

.social-link:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(88, 81, 219, 0.6), 0 0 60px rgba(88, 81, 219, 0.4);
}

.social-link:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(234, 67, 53, 0.6), 0 0 60px rgba(234, 67, 53, 0.4);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotateY(360deg);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius);
    font-size: var(--font-xs);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.social-link:hover .social-tooltip {
    opacity: 1;
}

/* ===== HERO VISUAL SECTION ===== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s both;
    perspective: 1000px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
    z-index: 5;
}

.robot-3d-container {
    width: clamp(380px, 45vw, 520px);
    height: clamp(450px, 55vw, 620px);
    margin: 0 auto var(--space-lg) auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 0 80px rgba(139, 92, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: 
        radial-gradient(circle at 30% 25%, rgba(102,126,234,0.15), transparent 50%),
        radial-gradient(circle at 70% 75%, rgba(236,72,153,0.15), transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(15,23,42,0.9));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: containerFloat 6s ease-in-out infinite;
}

@keyframes containerFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
        box-shadow: 
            0 30px 70px rgba(0, 0, 0, 0.4),
            0 15px 35px rgba(102, 126, 234, 0.4),
            0 0 80px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: translateY(-10px) rotateY(5deg);
        box-shadow: 
            0 35px 80px rgba(0, 0, 0, 0.5),
            0 20px 45px rgba(102, 126, 234, 0.5),
            0 0 100px rgba(139, 92, 246, 0.4),
            0 0 120px rgba(236, 72, 153, 0.3);
    }
}

.robot-3d-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(102,126,234,0.2) 0%, 
        rgba(139,92,246,0.2) 25%,
        rgba(236,72,153,0.2) 50%,
        rgba(74,172,254,0.2) 75%,
        rgba(102,126,234,0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
    animation: rainbowShimmer 3s linear infinite;
}

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

.robot-3d-container:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.5),
        0 20px 50px rgba(102, 126, 234, 0.5),
        0 0 100px rgba(139, 92, 246, 0.5),
        0 0 140px rgba(236, 72, 153, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.robot-3d-container:hover::before {
    opacity: 1;
}



@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .hero-text { order: 1; text-align: center; }
    .hero-image { order: 2; }
    .hero-text .hero-description, .hero-text .hero-stats { margin-left: auto; margin-right: auto; }
}


.status-display {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInDown 1s ease 1.8s both;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 0, 0, 0.85);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.status-indicator:hover {
    transform: scale(1.05);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7),
                0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7),
                    0 0 10px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0),
                    0 0 15px rgba(16, 185, 129, 0.7);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0),
                    0 0 10px rgba(16, 185, 129, 0.5);
    }
}

.status-text {
    color: var(--success);
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ===== FLOATING TECH ELEMENTS ===== */
.floating-elements {
    position: absolute;
    width: 120%;
    height: 120%;
    pointer-events: none;
    top: -10%;
    left: -10%;
}

.tech-badge {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-sm);
    font-weight: 700;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    animation: float 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.tech-badge:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(236, 72, 153, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.95));
}

.tech-badge i {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.badge-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4), 0 0 40px rgba(251, 191, 36, 0.2);
}

.badge-2 {
    bottom: 30%;
    left: -30px;
    animation-delay: 1s;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
}

.badge-3 {
    top: 60%;
    right: -40px;
    animation-delay: 2s;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4), 0 0 40px rgba(236, 72, 153, 0.2);
}

.badge-4 {
    bottom: 5%;
    left: -30px;
    animation-delay: 3s;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease 2s both;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 0 auto var(--space-sm);
    position: relative;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto var(--space-sm);
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: var(--font-sm);
    opacity: 0.8;
    margin-bottom: var(--space-sm);
}

.scroll-arrow {
    margin-top: var(--space-md);
    animation: bounce 2s infinite;
    font-size: var(--font-lg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-base);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: gradientSlide 3s ease infinite;
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.3), 
        transparent 50%,
        rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(102, 126, 234, 0.6),
        0 10px 25px rgba(139, 92, 246, 0.4),
        0 0 60px rgba(236, 72, 153, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .btn-secondary {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(99, 102, 241, 0.08);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-outline {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-icon {
    transition: transform var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.text-block {
    margin-bottom: var(--space-xl);
}

.text-block h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-lg);
}

.text-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
}

.text-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-base);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.highlight-item i {
    color: var(--primary);
    font-size: var(--font-lg);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 400px;
}

.achievement-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-xl);
    margin: 0 auto var(--space-md);
}

.card-content h4 {
    font-size: var(--font-3xl);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.card-content p {
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

/* ===== EXPERIENCE SECTION ===== */
.section-alt {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-3xl);
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-lg);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
    width: calc(50% - 40px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.company {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-lg);
    display: block;
    margin-bottom: var(--space-xs);
}

.duration {
    color: var(--text-muted);
    font-size: var(--font-sm);
    display: block;
    margin-bottom: var(--space-md);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.highlights {
    list-style: none;
    margin-bottom: var(--space-md);
}

.highlights li {
    color: var(--text-secondary);
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-sm);
}

.highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-tag {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
}

/* ===== SKILLS SECTION ===== */
.skills-categories {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.skill-category {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-primary);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
}

.skill-category:hover,
.skill-category.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.skills-display {
    max-width: 600px;
    margin: 0 auto;
}

.skills-group {
    display: none;
}

.skills-group.active {
    display: block;
}

.skill-item {
    margin-bottom: var(--space-lg);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.skill-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1s ease;
}

/* ===== PROJECTS SECTION ===== */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-primary);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.project-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.project-links {
    display: flex;
    gap: var(--space-md);
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition);
}

.project-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.project-content {
    padding: var(--space-xl);
}

.project-category {
    color: var(--primary);
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.project-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.stat i {
    color: var(--primary);
}

.projects-cta {
    text-align: center;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
}

.achievement-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-2xl);
    margin: 0 auto var(--space-lg);
}

.achievement-card h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.achievement-subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.achievement-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
}

.contact-details h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--secondary);
}

.contact-form-container {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-tertiary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: var(--font-base);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 var(--space-lg);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        justify-content: center;
    }
    
    .image-container {
        width: 300px;
        height: 350px;
        margin: 0 auto;
    }
    
    .robot-3d-container {
        width: clamp(280px, 70vw, 350px);
        height: clamp(330px, 80vw, 420px);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .image-container {
        width: 250px;
        height: 300px;
    }
    
    .robot-3d-container {
        width: clamp(220px, 85vw, 280px);
        height: clamp(260px, 95vw, 340px);
    }
    
    .tech-badge {
        font-size: var(--font-xs);
        padding: var(--space-xs) var(--space-sm);
        min-width: 80px;
    }
    
    .badge-1, .badge-3 {
        right: -10px;
    }
    
    .badge-2, .badge-4 {
        left: -10px;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .image-container {
        width: 200px;
        height: 250px;
    }
    
    .achievement-cards {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.theme-toggle:focus,
.social-link:focus,
.contact-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }
}

/* ===== 3D MODEL CONTAINER ===== */
.model-3d-container {
    position: relative;
    width: 320px;
    height: 340px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.model-3d-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.2) 25%,
        rgba(236, 72, 153, 0.2) 50%,
        rgba(74, 172, 254, 0.2) 75%,
        rgba(99, 102, 241, 0.2) 100%);
    opacity: 0.3;
    animation: rainbowShimmer 4s linear infinite;
    z-index: 1;
    pointer-events: none;
}

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

.model-3d-container:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 50px rgba(99, 102, 241, 0.3);
}

.model-3d-container model-viewer {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    z-index: 2;
    position: relative;
}

.model-status {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 0, 0, 0.8);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: var(--success);
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.code-editor-container {
    position: relative;
    width: 380px;
    background: #1e1e1e;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.editor-header {
    background: #2d2d2d;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
}

.editor-controls {
    display: flex;
    gap: var(--space-sm);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ff5f57;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #28ca42;
}

.editor-title {
    color: #cccccc;
    font-size: var(--font-sm);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.editor-content {
    padding: var(--space-lg);
    background: #1e1e1e;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    max-height: 350px;
    overflow: hidden;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    min-height: 20px;
}

.line-number {
    color: #858585;
    width: 30px;
    text-align: right;
    margin-right: var(--space-md);
    font-size: 12px;
    user-select: none;
}

.code-text {
    color: #d4d4d4;
    flex: 1;
}

.keyword {
    color: #569cd6;
    font-weight: 600;
}

.module {
    color: #4ec9b0;
}

.function {
    color: #dcdcaa;
}

.class-name {
    color: #4ec9b0;
    font-weight: 600;
}

.property {
    color: #9cdcfe;
}

.string {
    color: #ce9178;
}

.number {
    color: #b5cea8;
}

.comment {
    color: #6a9955;
    font-style: italic;
}

.typing-line {
    position: relative;
}

.cursor {
    color: #ffffff;
    animation: blink 1s infinite;
    font-weight: bold;
}

/* ===== FLOATING TECH ICONS ===== */
.floating-tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
}

.tech-icon {
    position: absolute;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-sm);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.tech-icon.python {
    background: rgba(55, 118, 171, 0.9);
    animation-delay: 0s;
}

.tech-icon.tensorflow {
    background: rgba(255, 111, 0, 0.9);
    animation-delay: 1s;
}

.tech-icon.opencv {
    background: rgba(92, 184, 92, 0.9);
    animation-delay: 2s;
}

.tech-icon.data {
    background: rgba(156, 39, 176, 0.9);
    animation-delay: 3s;
}

.tech-icon i {
    font-size: var(--font-lg);
}



/* ===== IMPROVED TYPEWRITER EFFECTS ===== */
.typewriter-name {
    display: inline-block;
    background: linear-gradient(120deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 25%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.9) 75%,
        rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
}

.typewriter-name::after {
    content: '|';
    color: rgba(255, 255, 255, 0.95);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95);
    animation: blink 1s infinite;
    margin-left: 2px;
}

.typewriter-name.typing-complete::after {
    display: none;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.typewriter-role {
    display: inline-block;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    position: relative;
    min-height: 1.5em;
}

.typewriter-role::after {
    content: '|';
    color: var(--primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 1024px) {
    .hero-visual {
        gap: var(--space-xl);
    }
    
    .model-3d-container {
        width: 300px;
        height: 300px;
    }
    
    .code-editor-container {
        width: 320px;
    }
    
    .tech-icon {
        font-size: var(--font-xs);
        padding: var(--space-xs) var(--space-sm);
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        align-items: center;
        padding-right: 0;
        gap: var(--space-lg);
    }
    
    .model-3d-container {
        width: 280px;
        height: 280px;
    }
    
    .code-editor-container {
        width: 300px;
    }
    
    .editor-content {
        font-size: 12px;
        padding: var(--space-md);
    }
    
    .tech-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        gap: var(--space-md);
    }
    
    .model-3d-container {
        width: 250px;
        height: 250px;
    }
    
    .code-editor-container {
        width: 280px;
    }
    
    .editor-content {
        font-size: 11px;
    }
}