/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #1D4ED8;
    --secondary: #14B8A6;
    --accent: #F97316;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--warning) 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 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-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-normal: 300ms ease-out;
    --transition-slow: 500ms ease-out;

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin !important;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background: transparent;
    overflow-x: hidden;
    position: relative;
}

/* Global Background */
.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
}

#global-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.8;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out, transform 0.8s ease-out;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            rgba(83, 52, 131, 0.2) 0%,
            rgba(15, 15, 35, 0.4) 100%);
    pointer-events: none;
}

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

#loading-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.loading-container {
    text-align: center;
    z-index: 1;
}

.loading-logo {
    position: relative;
    margin-bottom: var(--spacing-12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo .logo-text {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #60A5FA, #14B8A6, #F97316);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    z-index: 2;
}

.logo-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #60A5FA;
    border-bottom-color: #F97316;
    animation: ringRotate 2s linear infinite;
}

.logo-ring::before,
.logo-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.logo-ring::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: #14B8A6;
    border-bottom-color: #60A5FA;
    animation: ringRotate 3s linear infinite;
}

.logo-ring::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-top-color: #F97316;
    border-bottom-color: #14B8A6;
    animation: ringRotate 1.5s linear infinite;
}

.loading-status {
    text-align: center;
}

.loading-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-4);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #60A5FA, #14B8A6, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.dots span {
    display: inline-block;
    animation: dotBounce 1.4s infinite;
    opacity: 0.7;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.loading-particles {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #60A5FA, #14B8A6);
    border-radius: 50%;
    animation: particleOrbit 4s linear infinite;
    filter: blur(1px);
}

.particle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: particlePulse 2s ease-out infinite;
}

.particle:nth-child(1) {
    animation-delay: 0s;
}

.particle:nth-child(2) {
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    animation-delay: 3.2s;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

@keyframes particlePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

@keyframes dotBounce {

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

    40% {
        transform: translateY(-6px);
    }
}

@keyframes gradientShift {

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

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

.loading-text {
    margin-bottom: var(--spacing-6);
}

.loading-word {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-right: 0.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.loading-dots span {
    font-size: 1.5rem;
    color: var(--primary);
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

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

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    }

    to {
        text-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 30px rgba(96, 165, 250, 0.6);
    }
}

.loading-bar {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #60A5FA, #14B8A6, #F97316);
    background-size: 200% 100%;
    border-radius: 3px;
    width: 0%;
    position: relative;
    animation: progressFill 3s ease-out forwards, gradientMove 2s linear infinite;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skew(-20deg);
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%) skew(-20deg);
    }

    100% {
        transform: translateX(150%) skew(-20deg);
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    font-weight: 800;
    font-size: var(--font-size-xl);
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-8);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

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

.language-switcher {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: var(--spacing-1);
}

.lang-btn {
    background: none;
    border: none;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--spacing-1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-6);
    color: var(--white);
}

.name-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.typing-text {
    font-size: var(--font-size-2xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-6);
    min-height: 2.5rem;
}

.typing {
    color: var(--primary);
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
}

.btn-primary,
.btn-secondary {
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.network-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: networkRotate 25s linear infinite;
    perspective: 1000px;
}

.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(5px);
}

.network-lines::before,
.network-lines::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    animation: pulseNetwork 3s ease-out infinite;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3),
        inset 0 0 30px rgba(147, 51, 234, 0.3);
    backdrop-filter: blur(5px);
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

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

.network-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(147, 51, 234, 0.4) 50%,
            rgba(59, 130, 246, 0.1) 100%);
    animation: connectionFlow 3s linear infinite;
    transform-origin: left center;
}

@keyframes connectionFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

.network-lines::before {
    transform: rotate(60deg);
}

.network-lines::after {
    transform: rotate(-60deg);
}

.network-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.network-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.network-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(147, 51, 234, 0.6);
    border-radius: 50%;
    filter: blur(2px);
    animation: dotPulse 2s infinite;
}

@keyframes networkRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1) perspective(1000px) rotateX(0deg);
    }

    25% {
        transform: translate(-50%, -50%) rotate(90deg) scale(1.05) perspective(1000px) rotateX(5deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1) perspective(1000px) rotateX(0deg);
    }

    75% {
        transform: translate(-50%, -50%) rotate(270deg) scale(1.05) perspective(1000px) rotateX(-5deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1) perspective(1000px) rotateX(0deg);
    }
}

@keyframes shapeGlow {
    0% {
        transform: rotate(0deg);
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.5;
    }
}

@keyframes pulseNetwork {
    0% {
        transform: rotate(60deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: rotate(60deg) scale(1.2);
        opacity: 0;
    }
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.4), rgba(147, 51, 234, 0.4));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    overflow: hidden;
}

.shape::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    animation: shapeGlow 8s linear infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.6), rgba(147, 51, 234, 0.6));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform-style: preserve-3d;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 30%;
    animation-delay: -1s;
    background: linear-gradient(45deg, rgba(236, 72, 153, 0.6), rgba(234, 179, 8, 0.6));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: -2s;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.6), rgba(168, 85, 247, 0.6));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-4 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 20%;
    animation-delay: -3s;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.6), rgba(59, 130, 246, 0.6));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-5 {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 50%;
    animation-delay: -4s;
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.6), rgba(236, 72, 153, 0.6));
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-20px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translateY(10px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

.shape::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* Add hover effects */
.floating-shapes:hover .shape {
    animation-play-state: paused;
}

.shape:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 45px rgba(31, 38, 135, 0.3);
}

/* Add media query for responsive behavior */
@media (max-width: 768px) {
    .shape {
        transform: scale(0.8);
    }

    .floating-shapes {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .shape {
        transform: scale(0.7);
    }

    .floating-shapes {
        transform: scale(0.8);
    }
}

@keyframes float {

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

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(-10px) rotate(240deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--gray-400);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-24) 0;
    position: relative;
    /* background: rgba(255, 255, 255, 0.02); */
    /* backdrop-filter: blur(10px); */
    margin: var(--spacing-4);
    border-radius: var(--radius-2xl);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-4);
    color: var(--white);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.about-info {
    margin-top: var(--spacing-8);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-4);
    color: rgba(255, 255, 255, 0.8);
}

.info-item i {
    color: var(--primary);
    width: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-6);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

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

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-12);
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    color: var(--white);
    text-align: center;
}

.skill-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.skill-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-normal);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--font-size-xl);
}

.skill-info {
    flex: 1;
}

.skill-info h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: var(--white);
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

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

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

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

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-12);
}

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

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 45%;
    position: relative;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-2);
}

.timeline-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
    color: var(--white);
}

.timeline-content h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-4);
    font-weight: 600;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: var(--spacing-4);
    margin-bottom: var(--spacing-2);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.project-card {
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: var(--radius-xl);
}

.project-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-8);
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-back {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.project-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
}

.project-icon {
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.flip-card-front h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--white);
}

.flip-card-front p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.flip-card-back h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.flip-card-back p {
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: var(--spacing-4);
}

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

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

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

.contact-details h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-2);
    color: var(--white);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-8);
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: var(--font-size-lg);
    transition: var(--transition-normal);
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-6);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

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


.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    transform: translateY(-35px);
    font-size: var(--font-size-sm);
    color: var(--primary);
    background: rgba(15, 15, 35, 0.9);
    padding: 0 var(--spacing-2);
}

/* Footer */
.footer {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: var(--spacing-8) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    margin-bottom: var(--spacing-2);
}

/* Utility Classes */
.magnetic-btn {
    transition: var(--transition-normal);
}

.magnetic-btn:hover {
    transform: translateY(-2px);
}

.tilt-card {
    transition: var(--transition-normal);
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

.hover-3d {
    transition: var(--transition-normal);
}

.hover-3d:hover {
    transform: translateY(-5px) rotateX(5deg);
}

.pulse-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Contact Form Redesign */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.form-group:focus-within {
    z-index: 1;
}

.form-group:focus-within input,
.form-group:focus-within textarea {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.form-group:hover input,
.form-group:hover textarea {
    border-color: rgba(59, 130, 246, 0.5);
}

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

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group textarea~label {
    top: 1.5rem;
    transform: none;
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: 0.5rem;
    left: 1rem;
    font-size: 0.75rem;
    color: var(--primary);
    transform: translateY(0);
}


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

/* Form status */
#form-status {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

#form-status.text-green-500 {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

#form-status.text-red-500 {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* Form group animations */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

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