/* ========================================
   Mutiullah Haneef - Premium Portfolio
   Superior Dark Theme Design
   ======================================== */

/* CSS Variables */
:root {
    /* Dark Theme - Ultra Premium Colors */
    --bg-primary: #000000;
    --bg-secondary: #050510;
    --bg-tertiary: #0a0a1a;
    --bg-card: rgba(10, 10, 30, 0.7);
    --bg-card-hover: rgba(15, 15, 40, 0.85);
    --bg-card-glow: rgba(139, 92, 246, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    --gradient-start: #6366f1;
    --gradient-mid: #8b5cf6;
    --gradient-end: #a855f7;
    --gradient-cyan: #8b5cf6;
    /* Replaced Cyan with Neon Purple */
    --gradient-blue: #3b82f6;
    --gradient-pink: #d946ef;
    --gradient-purple: #8b5cf6;
    --gradient-orange: #f97316;

    /* Main Accent Gradient - Violet/Indigo */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-gradient-reverse: linear-gradient(315deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-gradient-text: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(168, 85, 247, 0.05) 100%);

    /* Animated gradient for borders */
    --border-gradient: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #8b5cf6, #6366f1);

    /* Glow Effects */
    --glow-purple: rgba(139, 92, 246, 0.6);
    --glow-pink: rgba(168, 85, 247, 0.5);
    --glow-orange: rgba(99, 102, 241, 0.4);
    --glow-cyan: rgba(139, 92, 246, 0.5);
    /* Replaced Cyan with Purple */
    --glow-color: var(--glow-purple);

    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;

    --border-color: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(168, 85, 247, 0.5);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 140px 0;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.5, 1.5, 0.5, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-normal: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* Shadows - Ultra Enhanced */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 100px var(--glow-purple), 0 0 200px rgba(139, 92, 246, 0.2);
    --shadow-glow-sm: 0 0 40px var(--glow-purple);
    --shadow-glow-multi: 0 0 60px var(--glow-purple), 0 0 120px var(--glow-pink);
    --shadow-card: 0 0 0 1px var(--border-color), 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-card-hover: 0 0 0 1px var(--border-hover), 0 20px 60px rgba(139, 92, 246, 0.3), 0 0 100px rgba(168, 85, 247, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

/* Light Theme - Clean White with Violet Accents (Shaqran Style) */
[data-theme="light"] {
    /* Pure White Background */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-card-glow: rgba(99, 102, 241, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.8);

    /* Dark Text on Light */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8888a0;

    /* Violet/Purple Gradients (Shaqran Style) */
    --gradient-start: #6366f1;
    --gradient-mid: #8b5cf6;
    --gradient-end: #a855f7;
    --gradient-cyan: #8b5cf6;
    /* Replaced Cyan with Neon Purple */
    --gradient-blue: #3b82f6;
    --gradient-pink: #d946ef;
    --gradient-purple: #8b5cf6;
    --gradient-orange: #f97316;

    /* Soft Violet Accent Gradient */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-gradient-reverse: linear-gradient(315deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);

    /* Violet Border Gradient */
    --border-gradient: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #8b5cf6, #6366f1);

    /* Soft Violet Glow Effects */
    --glow-purple: rgba(139, 92, 246, 0.3);
    --glow-pink: rgba(168, 85, 247, 0.25);
    --glow-orange: rgba(99, 102, 241, 0.25);
    --glow-cyan: rgba(99, 102, 241, 0.3);
    --glow-color: var(--glow-purple);

    /* Subtle Gray Borders */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);

    /* Clean Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);
    --shadow-glow-sm: 0 0 20px rgba(139, 92, 246, 0.15);
    --shadow-glow-multi: 0 0 30px rgba(139, 92, 246, 0.2), 0 0 60px rgba(168, 85, 247, 0.1);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(139, 92, 246, 0.15);

    /* Glassmorphism Blur */
    --glass-blur: blur(16px) saturate(150%);
}

/* Light Theme Specific Overrides */
[data-theme="light"] body::before {
    opacity: 0.01;
}

[data-theme="light"] .hero-gradient {
    background:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

[data-theme="light"] .hero-glow-1 {
    background: rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .hero-glow-2 {
    background: rgba(168, 85, 247, 0.12);
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

/* Glassmorphism Navigation */
[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .btn-primary {
    background: var(--accent-gradient);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}

[data-theme="light"] .social-icon:hover {
    background: var(--accent-gradient);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Glassmorphism Cards */
[data-theme="light"] .skill-category,
[data-theme="light"] .timeline-card,
[data-theme="light"] .edu-card,
[data-theme="light"] .achievement-card,
[data-theme="light"] .project-card,
[data-theme="light"] .cert-card,
[data-theme="light"] .contact-form,
[data-theme="light"] .highlight-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .skill-category:hover,
[data-theme="light"] .timeline-card:hover,
[data-theme="light"] .edu-card:hover,
[data-theme="light"] .achievement-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .highlight-card:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.2), 0 0 60px rgba(168, 85, 247, 0.1);
}

[data-theme="light"] .skill-category::before,
[data-theme="light"] .timeline-card::before,
[data-theme="light"] .edu-card::before,
[data-theme="light"] .achievement-card::before,
[data-theme="light"] .project-card::before {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

[data-theme="light"] .category-icon,
[data-theme="light"] .highlight-icon,
[data-theme="light"] .edu-icon,
[data-theme="light"] .achievement-icon,
[data-theme="light"] .cert-icon,
[data-theme="light"] .method-icon,
[data-theme="light"] .timeline-dot {
    background: var(--accent-gradient);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .orbit-center {
    background: var(--accent-gradient);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

[data-theme="light"] .orbit-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #6366f1;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

[data-theme="light"] .orbit-ring {
    border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .timeline-line {
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

[data-theme="light"] .stat-value {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .name-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .role-text {
    color: #8b5cf6;
}

[data-theme="light"] .role-cursor {
    background: #8b5cf6;
}

[data-theme="light"] .section-tag {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #6366f1;
}

[data-theme="light"] .highlight {
    color: #6366f1;
}

[data-theme="light"] .company {
    color: #6366f1;
}

[data-theme="light"] .edu-field {
    color: #6366f1;
}

[data-theme="light"] .card-tags span {
    background: rgba(139, 92, 246, 0.1);
    color: #6366f1;
}

[data-theme="light"] .skill-tag i {
    color: #6366f1;
}

[data-theme="light"] .skill-tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    color: #1a1a2e;
}

[data-theme="light"] .project-overlay {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.9) 50%, rgba(168, 85, 247, 0.85) 100%);
}

[data-theme="light"] .filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .back-to-top {
    background: var(--accent-gradient);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .footer {
    background: #0a1628;
    color: white;
}

[data-theme="light"] .footer p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .footer-logo span {
    color: white;
}

[data-theme="light"] .logo-dot {
    color: #8b5cf6;
}

[data-theme="light"] .footer::before {
    background: var(--accent-gradient);
}

[data-theme="light"] .scroll-mouse {
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .scroll-wheel {
    background: #8b5cf6;
}

[data-theme="light"] .contact-socials a:hover {
    background: var(--accent-gradient);
    color: white;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gradient-mid);
    color: white;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-image:
        radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

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

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 320px;
    position: relative;
    z-index: 2;
}

.loader-logo {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.loading-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

.loading-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.loading-text {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.loading-counter {
    color: var(--gradient-mid);
    font-weight: 700;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   Custom Cursor
   ======================================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    display: none;
}

@media (pointer: fine) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }

    .cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--gradient-mid);
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .cursor-outline {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(139, 92, 246, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.1s ease;
    }

    .cursor-outline.hover {
        width: 50px;
        height: 50px;
        border-color: var(--gradient-mid);
        background: rgba(139, 92, 246, 0.1);
    }
}

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

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

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

.logo-dot {
    color: var(--gradient-mid);
    font-size: 1.5rem;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .nav-menu {
    background: rgba(0, 0, 0, 0.02);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

.nav-link.active {
    color: white;
    background: var(--accent-gradient);
    box-shadow: 0 0 20px var(--glow-color);
}

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

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.theme-toggle .fa-sun {
    display: none;
}

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

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at center, black 20%, transparent 70%);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.2);
    top: -20%;
    right: -10%;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.15);
    bottom: -20%;
    left: -10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gradient-mid);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
    display: block;
    color: var(--text-muted);
    font-size: 0.4em;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-name {
    display: block;
}

.name-gradient {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.name-white {
    color: var(--text-primary);
    margin-left: 16px;
}

.hero-roles {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.role-text {
    color: var(--gradient-cyan);
    font-weight: 600;
}

.role-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--gradient-cyan);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.text-gradient {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 0 var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--gradient-mid);
    background: rgba(139, 92, 246, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 14px 20px;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

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

.hero-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    color: white;
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.scroll-hint {
    display: none;
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: fadeIn 1s ease 1s both;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    opacity: 0.5;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--gradient-mid);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        top: 6px;
    }

    50% {
        opacity: 0.2;
        top: 18px;
    }
}

/* ========================================
   Section Common
   ======================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gradient-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.highlight {
    color: var(--gradient-cyan);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.highlight-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.highlight-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Tech Orbit */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-orbit {
    position: relative;
    width: 320px;
    height: 320px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed var(--border-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-ring-1 {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
}

.orbit-ring-2 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    animation-duration: 30s;
    animation-direction: reverse;
}

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

.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gradient-mid);
    animation: counterRotate 20s linear infinite;
}

.orbit-ring-2 .orbit-item {
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes counterRotate {
    to {
        transform: rotate(-360deg);
    }
}

.orbit-ring-1 .orbit-item:nth-child(1) {
    top: -22px;
    left: 50%;
    margin-left: -22px;
}

.orbit-ring-1 .orbit-item:nth-child(2) {
    bottom: -22px;
    left: 50%;
    margin-left: -22px;
}

.orbit-ring-1 .orbit-item:nth-child(3) {
    left: -22px;
    top: 50%;
    margin-top: -22px;
}

.orbit-ring-2 .orbit-item:nth-child(1) {
    top: -22px;
    left: 50%;
    margin-left: -22px;
}

.orbit-ring-2 .orbit-item:nth-child(2) {
    bottom: -22px;
    left: 50%;
    margin-left: -22px;
}

.orbit-ring-2 .orbit-item:nth-child(3) {
    left: -22px;
    top: 50%;
    margin-top: -22px;
}

.orbit-ring-2 .orbit-item:nth-child(4) {
    right: -22px;
    top: 50%;
    margin-top: -22px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-normal);
}

.skill-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 0 30px var(--glow-color);
}

.skill-category h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--gradient-mid);
}

.skill-tag i {
    font-size: 1rem;
    color: var(--gradient-mid);
}

/* ========================================
   Experience Section
   ======================================== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gradient-mid) 0%, var(--gradient-cyan) 100%);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--gradient-mid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gradient-mid);
    font-size: 1rem;
    z-index: 1;
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all var(--transition-normal);
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.company {
    color: var(--gradient-cyan);
    font-weight: 600;
    font-size: 0.9375rem;
}

.card-date {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-list {
    list-style: none;
    margin-bottom: 20px;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gradient-mid);
    border-radius: 50%;
}

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

.card-tags span {
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--gradient-mid);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
}

/* ========================================
   Education Section
   ======================================== */
.education-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.edu-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.edu-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow);
}

.edu-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.edu-field {
    color: var(--gradient-cyan);
    font-weight: 600;
    margin-bottom: 4px;
}

.edu-school {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.edu-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.edu-status i {
    font-size: 6px;
    color: var(--warning);
    animation: pulse 2s ease-in-out infinite;
}

.edu-status.active i {
    color: var(--success);
}

.edu-decoration {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0.1;
}

/* ========================================
   Achievements Section
   ======================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.achievement-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.achievement-card:hover .achievement-glow {
    opacity: 1;
}

.achievement-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.achievement-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.achievement-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.achievement-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   Certifications Section
   ======================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-normal);
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.cert-info {
    flex: 1;
    min-width: 0;
}

.cert-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.cert-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 0.8125rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* ========================================
   Projects Section
   ======================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.project-card.hidden {
    display: none;
}

.project-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.4;
    transition: all var(--transition-normal);
}

.project-card:hover .project-icon {
    opacity: 0.6;
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all var(--transition-normal);
}

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

.project-btn {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gradient-mid);
    font-size: 1rem;
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.project-card:hover .project-btn {
    transform: translateY(0);
    opacity: 1;
}

.project-btn:nth-child(2) {
    transition-delay: 0.05s;
}

.project-btn:hover {
    background: var(--bg-primary);
    color: white;
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-stack span {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
}

.projects-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.method-details span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.method-details a,
.method-details p {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    margin: 0;
}

.method-details a:hover {
    color: var(--gradient-mid);
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-socials a {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.contact-socials a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--bg-tertiary);
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gradient-mid);
    background: var(--bg-secondary);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--gradient-mid);
    background: var(--bg-card);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

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

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

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo .logo-dot {
    color: var(--gradient-mid);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.footer p i {
    color: #ef4444;
}

.copyright {
    font-size: 0.8125rem;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px;
        border-left: 1px solid var(--border-color);
        transition: right var(--transition-normal);
        border-radius: 0;
    }

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

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .education-cards {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .name-white {
        margin-left: 8px;
    }

    .tech-orbit {
        width: 260px;
        height: 260px;
    }

    .orbit-ring-1 {
        width: 150px;
        height: 150px;
        margin: -75px 0 0 -75px;
    }

    .orbit-ring-2 {
        width: 230px;
        height: 230px;
        margin: -115px 0 0 -115px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ========================================
   Glassmorphism Effects
   ======================================== */
.glass {
    background: rgba(15, 15, 45, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.glass-card {
    background: rgba(15, 15, 45, 0.5);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: rgba(20, 20, 60, 0.6);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: var(--shadow-card-hover);
}

/* Apply glassmorphism to cards */
.skill-category,
.timeline-card,
.edu-card,
.achievement-card,
.cert-card,
.project-card,
.contact-form {
    background: rgba(15, 15, 45, 0.5);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

/* ========================================
   3D Tilt Effect Styles
   ======================================== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card .tilt-inner {
    transition: transform 0.3s ease;
}

.tilt-card:hover .tilt-inner {
    transform: translateZ(20px);
}

.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
}

/* ========================================
   Enhanced Focus States (Accessibility)
   ======================================== */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--gradient-mid);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.btn:focus-visible {
    outline-offset: 4px;
    box-shadow: var(--shadow-glow);
}

.nav-link:focus-visible {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
}

.social-icon:focus-visible,
.social-btn:focus-visible {
    outline-offset: 4px;
    transform: translateY(-2px);
}

input:focus-visible,
textarea:focus-visible {
    border-color: var(--gradient-mid) !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--accent-gradient);
    color: white;
    border-radius: var(--radius-full);
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 16px;
}

/* ========================================
   Text Reveal Animations
   ======================================== */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger animations for children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children.revealed>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.revealed>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children.revealed>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children.revealed>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children.revealed>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Enhanced Mobile Menu
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(7, 7, 32, 0.98);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        right: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
        pointer-events: none;
    }
}

/* ========================================
   Shimmer Loading Effect
   ======================================== */
.shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ========================================
   Gradient Border Animation
   ======================================== */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ========================================
   Smooth Page Transitions
   ======================================== */
.page-transition {
    animation: pageIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ========================================
   Reduced Motion Support
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-glow,
    .hero-grid,
    .orbit-ring,
    .orbit-item {
        animation: none !important;
    }
}

/* ========================================
   ULTRA PREMIUM EFFECTS
   ======================================== */

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 10000;
}

/* Animated Gradient Border */
.gradient-border-animated {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gradient-border-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--border-gradient);
    background-size: 300% 100%;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    animation: borderGradient 4s linear infinite;
}

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

    100% {
        background-position: 300% 50%;
    }
}

/* Glow Orb Decorations */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 15s ease-in-out infinite;
}

.glow-orb-purple {
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
}

.glow-orb-pink {
    background: radial-gradient(circle, var(--glow-pink) 0%, transparent 70%);
}

.glow-orb-orange {
    background: radial-gradient(circle, var(--glow-orange) 0%, transparent 70%);
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translate(50px, -30px) scale(1.2);
        opacity: 0.8;
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
        opacity: 0.5;
    }
}

/* Text Glow Effect */
.text-glow {
    text-shadow:
        0 0 20px var(--glow-purple),
        0 0 40px var(--glow-pink),
        0 0 80px var(--glow-purple);
}

.text-glow-subtle {
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s var(--ease-out);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Card Inner Glow */
.card-inner-glow {
    position: relative;
    overflow: hidden;
}

.card-inner-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.card-inner-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, var(--bg-card-glow) 0%, transparent 60%);
    pointer-events: none;
}

/* Apply inner glow to cards */
.skill-category,
.timeline-card,
.edu-card,
.achievement-card,
.project-card {
    position: relative;
    overflow: hidden;
}

.skill-category::before,
.timeline-card::before,
.edu-card::before,
.achievement-card::before,
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

/* Floating Animation */
.float-animation {
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Ring Effect */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--gradient-mid);
    border-radius: inherit;
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Spotlight Effect on Hover */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-card:hover::after {
    opacity: 1;
}

/* Hero Section Enhancements */
.hero-content .hero-title {
    text-shadow: 0 0 80px rgba(139, 92, 246, 0.3);
}

.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2);
    }
}

/* Ultra Premium Button */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    z-index: -2;
    border-radius: inherit;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-primary);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Section Divider */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

/* Stats Counter Glow */
.stat-value {
    text-shadow: 0 0 40px var(--glow-purple);
}

/* Enhanced Project Card Overlay */
.project-overlay {
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.95) 0%,
            rgba(217, 70, 239, 0.9) 50%,
            rgba(249, 115, 22, 0.85) 100%);
}

/* Social Icons Glow on Hover */
.social-icon:hover {
    box-shadow:
        var(--shadow-glow-sm),
        0 0 40px var(--glow-pink);
}

/* Contact Form Ultra Premium */
.contact-form {
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: inherit;
    opacity: 0.1;
    z-index: -1;
}

/* Skill Tags Hover Effect */
.skill-tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(217, 70, 239, 0.15) 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Timeline Line Gradient */
.timeline-line {
    background: linear-gradient(180deg,
            var(--gradient-start) 0%,
            var(--gradient-mid) 50%,
            var(--gradient-end) 100%);
}

/* Footer Glow */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: var(--accent-gradient);
    filter: blur(1px);
}

.footer {
    position: relative;
}

/* Certification Badge Shine */
.cert-badge {
    position: relative;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 60%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Scroll Indicator Glow */
.scroll-mouse {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Back to Top Enhanced */
.back-to-top {
    box-shadow: var(--shadow-glow-sm);
}

.back-to-top:hover {
    box-shadow: var(--shadow-glow);
}

/* Achievement Card Glow Effect */
.achievement-card:hover .achievement-glow {
    background: radial-gradient(circle at center,
            var(--glow-purple) 0%,
            var(--glow-pink) 50%,
            transparent 70%);
}

/* Navigation Active Link Glow */
.nav-link.active {
    box-shadow:
        0 0 20px var(--glow-purple),
        0 0 40px var(--glow-pink);
}