 
:root {
    --primary: #6C47FF;
    --primary-light: #8B6FFF;
    --primary-dark: #5035CC;
    --accent: #FF6B6B;
    --accent-2: #4ECDC4;
    --dark: #0D0D0D;
    --dark-secondary: #141414;
    --gray-900: #1A1A1A;
    --gray-800: #2D2D2D;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #A3A3A3;
    --gray-300: #D4D4D4;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --light: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
}

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

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

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(108, 71, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(78, 205, 196, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #0D0D0D 0%, #141414 50%, #0D0D0D 100%);
}

/* Floating Glows */
.floating-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-glow 20s ease-in-out infinite;
}

.floating-glow.purple {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -300px;
    left: -200px;
}

.floating-glow.red {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -200px;
    right: -150px;
    animation-delay: -7s;
}

.floating-glow.cyan {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -100px) scale(1.1);
    }
    50% {
        transform: translate(0, 100px) scale(0.95);
    }
    75% {
        transform: translate(-100px, -50px) scale(1.05);
    }
}

/* Mesh Gradient Animation */
.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mesh-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: mesh-float 15s infinite;
    opacity: 0.6;
}

@keyframes mesh-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-200px) translateX(100px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(-50px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-300px) translateX(50px);
        opacity: 0.4;
    }
}

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

/* Grid Lines */
.grid-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(108, 71, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 71, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Magnetic Button Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.nav-links a:hover {
    color: var(--light);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-outline {
    padding: 12px 24px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

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

.btn-outline:hover::before {
    opacity: 1;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--light), var(--gray-200));
    color: var(--dark);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(108, 71, 255, 0.3);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

/* Hero Section with Stagger Animation */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 48px 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Text Reveal Animation */
.text-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: reveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.text-reveal:nth-child(2) { animation-delay: 0.1s; }
.text-reveal:nth-child(3) { animation-delay: 0.2s; }
.text-reveal:nth-child(4) { animation-delay: 0.3s; }

@keyframes reveal {
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    opacity: 0;
    animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-stat {
    text-align: left;
    position: relative;
}

.hero-stat::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--light), var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Hero Visual with 3D Tilt */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    animation: hero-image-float 6s ease-in-out infinite;
    transition: transform 0.3s;
}

@keyframes hero-image-float {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-20px) rotateX(2deg) rotateY(2deg); }
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(108, 71, 255, 0.2), transparent 50%),
        linear-gradient(225deg, rgba(255, 107, 107, 0.1), transparent 50%);
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    border-radius: 34px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
    animation: border-rotate 4s linear infinite;
}

@keyframes border-rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-image-content {
    position: absolute;
    inset: 32px;
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    z-index: 2;
}

/* Section Styles */
section {
    padding: 140px 48px;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 71, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
}

/* Skills Section with Stagger Cards */
#skills {
    background: var(--dark-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

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

.tilt-card-inner {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tilt-card:hover .tilt-card-inner {
    transform: translateY(-8px) translateZ(20px);
    border-color: var(--gray-700);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(108, 71, 255, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    transform: translateZ(10px);
}

.skill-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skill-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

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

.skill-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.skill-level {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.skill-bar-container {
    margin-bottom: 20px;
    transform: translateZ(5px);
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-bar-label {
    font-size: 0.9rem;
    color: var(--gray-300);
}

.skill-bar-percentage {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--gray-800);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    transform: translateZ(5px);
}

.skill-tag {
    padding: 6px 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--gray-300);
    transition: all 0.3s;
}

.skill-tag:hover {
    background: rgba(108, 71, 255, 0.2);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

/* Services Section */
#services {
    background: var(--dark);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--gray-700);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(108, 71, 255, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: icon-shine 4s infinite;
}

@keyframes icon-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.7;
}

.service-features {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.service-feature:last-child {
    margin-bottom: 0;
}

.service-feature .check {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Portfolio Section */
#portfolio {
    background: var(--dark-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: transparent;
    color: var(--light);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    opacity: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.project-image {
    height: 280px;
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card-bg), transparent 50%);
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 71, 255, 0.3), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-content {
    padding: 32px;
}

.project-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.project-card:hover .project-content h3 {
    color: var(--primary-light);
}

.project-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.project-tech span {
    padding: 6px 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--gray-300);
    transition: all 0.3s;
}

.project-tech span:hover {
    background: rgba(108, 71, 255, 0.2);
    border-color: var(--primary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.project-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* Testimonials */
#testimonials {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gray-700);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-rating span {
    color: #FFB800;
    font-size: 1.2rem;
    animation: star-pop 0.5s ease forwards;
    opacity: 0;
}

.testimonial-rating span:nth-child(1) { animation-delay: 0.1s; }
.testimonial-rating span:nth-child(2) { animation-delay: 0.15s; }
.testimonial-rating span:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating span:nth-child(4) { animation-delay: 0.25s; }
.testimonial-rating span:nth-child(5) { animation-delay: 0.3s; }

@keyframes star-pop {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-200);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.author-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: avatar-shine 3s infinite;
}

@keyframes avatar-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Contact Section */
#contact {
    background: var(--dark-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-info > p {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--glass);
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(108, 71, 255, 0.1);
    transform: translateX(8px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item span {
    font-size: 1rem;
    color: var(--gray-300);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.social-link:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(108, 71, 255, 0.3);
}

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

.social-link span {
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(108, 71, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.1);
}

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

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(108, 71, 255, 0.4);
}

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

/* CTA Section */
.cta-section {
    padding: 140px 48px;
    text-align: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 71, 255, 0.15), transparent 70%);
    animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-section p {
    color: var(--gray-400);
    font-size: 1.2rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
footer {
    padding: 80px 48px 40px;
    background: var(--dark-secondary);
    border-top: 1px solid var(--border);
    position: relative;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.footer-logo:hover::after {
    width: 100%;
}

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

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--light);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.9rem;
}

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

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

/* Stagger Children */
.stagger-1 > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-1 > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-1 > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-1 > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-1 > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-1 > *:nth-child(6) { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }
    
    .hero-image {
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stat::before {
        display: none;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-cta .btn-outline {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
    }
    
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--light);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* Page Load Animation */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: loader-pulse 1.5s infinite;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--gray-800);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    animation: loader-fill 2s ease-in-out forwards;
}

@keyframes loader-fill {
    0% { width: 0; }
    100% { width: 100%; }
}
