/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --color-primary: #0F2B5D;
    --color-accent-cyan: #3ED3E9;
    --color-accent-magenta: #D453D2;
    --color-white: #FFFFFF;
    --color-dark: #0A1A3A;
    --color-light-bg: #F5F7FA;
    --color-text: #1A1A1A;
    --color-text-light: #6B7280;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 43, 93, 0.1);
    --shadow-md: 0 4px 16px rgba(15, 43, 93, 0.15);
    --shadow-lg: 0 8px 32px rgba(15, 43, 93, 0.2);
    --shadow-glow: 0 0 40px rgba(62, 211, 233, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 43, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.25rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(62, 211, 233, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 43, 93, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
    justify-self: start;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 200px;
    height: 125px;
    transition: all 0.3s ease;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(62, 211, 233, 0.6));
}

@keyframes colorCircle {
    0% {
        filter: drop-shadow(0 0 20px rgba(62, 211, 233, 0.8))
                drop-shadow(0 0 30px rgba(15, 43, 93, 0.6))
                drop-shadow(0 0 40px rgba(212, 83, 210, 0.4));
    }
    33% {
        filter: drop-shadow(0 0 20px rgba(212, 83, 210, 0.8))
                drop-shadow(0 0 30px rgba(62, 211, 233, 0.6))
                drop-shadow(0 0 40px rgba(15, 43, 93, 0.4));
    }
    66% {
        filter: drop-shadow(0 0 20px rgba(15, 43, 93, 0.8))
                drop-shadow(0 0 30px rgba(212, 83, 210, 0.6))
                drop-shadow(0 0 40px rgba(62, 211, 233, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(62, 211, 233, 0.8))
                drop-shadow(0 0 30px rgba(15, 43, 93, 0.6))
                drop-shadow(0 0 40px rgba(212, 83, 210, 0.4));
    }
}

@keyframes pushUp {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(-15px);
    }
}

.logo:hover .logo-img {
    animation: colorCircle 2s ease-in-out infinite,
               pushUp 0.5s ease-out forwards;
}

.logo-text {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    justify-self: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    transition: var(--transition);
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px rgba(62, 211, 233, 0.5),
        0 0 80px rgba(62, 211, 233, 0.3),
        0 0 90px rgba(62, 211, 233, 0.2),
        0 0 100px rgba(62, 211, 233, 0.1);
}

.nav-link:hover {
    animation: navColorCircle 2s ease-in-out infinite,
               navPushUp 0.5s ease-out forwards;
}

@keyframes navColorCircle {
    0% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px rgba(62, 211, 233, 0.8),
            0 0 30px rgba(15, 43, 93, 0.6),
            0 0 40px rgba(212, 83, 210, 0.4);
    }
    33% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px rgba(212, 83, 210, 0.8),
            0 0 30px rgba(62, 211, 233, 0.6),
            0 0 40px rgba(15, 43, 93, 0.4);
    }
    66% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px rgba(15, 43, 93, 0.8),
            0 0 30px rgba(212, 83, 210, 0.6),
            0 0 40px rgba(62, 211, 233, 0.4);
    }
    100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px rgba(62, 211, 233, 0.8),
            0 0 30px rgba(15, 43, 93, 0.6),
            0 0 40px rgba(212, 83, 210, 0.4);
    }
}

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 250px;
    padding-bottom: var(--spacing-lg);
    overflow: hidden;
    background: #0A1A3A;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(62, 211, 233, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 211, 233, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.1;
    animation: gridMove 30s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(62, 211, 233, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 83, 210, 0.03) 0%, transparent 50%);
    animation: pulse 12s ease-in-out infinite;
    z-index: 1;
    opacity: 0.6;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(62, 211, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(62, 211, 233, 0.6);
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-accent-cyan);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent-cyan);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    z-index: 1;
}

section[data-parallax-section] {
    will-change: transform;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    z-index: 10;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
    border-radius: 2px;
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--color-light-bg);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid rgba(62, 211, 233, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
    transform: scaleX(0);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(62, 211, 233, 0.6);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, 
        rgba(62, 211, 233, 0.5),
        rgba(212, 83, 210, 0.5),
        rgba(62, 211, 233, 0.5));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    animation: neonBorderRotate 3s linear infinite;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 10px 30px rgba(62, 211, 233, 0.3),
        0 0 40px rgba(212, 83, 210, 0.2),
        inset 0 0 20px rgba(62, 211, 233, 0.1);
    border-color: rgba(62, 211, 233, 0.6);
}

.service-card:hover::before {
    transform: scaleX(1);
    box-shadow: 
        0 0 15px rgba(62, 211, 233, 0.8),
        0 0 25px rgba(212, 83, 210, 0.6);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    box-shadow: 
        0 0 15px rgba(62, 211, 233, 0.6),
        0 0 25px rgba(212, 83, 210, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    box-shadow: 
        0 0 20px rgba(62, 211, 233, 0.9),
        0 0 30px rgba(212, 83, 210, 0.7),
        0 0 40px rgba(62, 211, 233, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text);
    position: relative;
    padding-left: var(--spacing-md);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
    font-weight: bold;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--color-light-bg);
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 2;
}

.about-hero {
    margin: var(--spacing-xl) 0;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-main-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 500;
}

.about-lead strong {
    color: var(--color-primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) auto;
    max-width: 1000px;
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 2px solid rgba(62, 211, 233, 0.2);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(62, 211, 233, 0.6);
    box-shadow: 
        0 10px 30px rgba(62, 211, 233, 0.2),
        0 0 40px rgba(212, 83, 210, 0.15);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 
        0 0 20px rgba(62, 211, 233, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 30px rgba(62, 211, 233, 0.6),
        0 0 40px rgba(212, 83, 210, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.tech-stack-section {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.tech-stack-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.tech-item {
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(62, 211, 233, 0.3);
    width: 100%;
    max-width: 150px;
    box-shadow: 
        0 0 10px rgba(62, 211, 233, 0.3),
        inset 0 0 10px rgba(62, 211, 233, 0.1);
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(62, 211, 233, 0.8);
    box-shadow: 
        0 0 20px rgba(62, 211, 233, 0.6),
        0 0 30px rgba(212, 83, 210, 0.4),
        inset 0 0 15px rgba(62, 211, 233, 0.2);
    text-shadow: 
        0 0 10px rgba(62, 211, 233, 0.8),
        0 0 20px rgba(212, 83, 210, 0.6);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    background: var(--color-light-bg);
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid rgba(62, 211, 233, 0.2);
    transition: var(--transition);
}

.portfolio-item:hover {
    border-color: rgba(62, 211, 233, 0.6);
    box-shadow: 
        0 0 20px rgba(62, 211, 233, 0.4),
        0 0 40px rgba(212, 83, 210, 0.3),
        inset 0 0 30px rgba(62, 211, 233, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(62, 211, 233, 0.3), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 83, 210, 0.3), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(15, 43, 93, 0.95), transparent);
    color: var(--color-white);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-sm);
}

.portfolio-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent-cyan);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 
        0 0 15px rgba(62, 211, 233, 0.4),
        0 0 25px rgba(62, 211, 233, 0.3);
    animation: neonNumberBlink 4s ease-in-out infinite;
}

@keyframes neonNumberBlink {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(62, 211, 233, 0.4),
            0 0 25px rgba(62, 211, 233, 0.3);
    }
    33% {
        box-shadow: 
            0 0 20px rgba(212, 83, 210, 0.5),
            0 0 30px rgba(212, 83, 210, 0.4),
            0 0 40px rgba(212, 83, 210, 0.2);
    }
    66% {
        box-shadow: 
            0 0 15px rgba(62, 211, 233, 0.6),
            0 0 25px rgba(62, 211, 233, 0.5),
            0 0 35px rgba(62, 211, 233, 0.3);
    }
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px rgba(62, 211, 233, 0.4);
    transition: var(--transition);
}

.process-step:hover .step-title {
    text-shadow: 
        0 0 10px rgba(62, 211, 233, 0.8),
        0 0 20px rgba(212, 83, 210, 0.6);
}

.step-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   STATS
   ============================================ */
.stats {
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stat-box {
    text-align: center;
    padding: var(--spacing-md);
    border: 2px solid rgba(62, 211, 233, 0.2);
    border-radius: 12px;
    transition: var(--transition);
    background: rgba(62, 211, 233, 0.05);
}

.stat-box:hover {
    border-color: rgba(62, 211, 233, 0.6);
    box-shadow: 
        0 0 20px rgba(62, 211, 233, 0.4),
        0 0 40px rgba(212, 83, 210, 0.3),
        inset 0 0 20px rgba(62, 211, 233, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-light-bg);
    position: relative;
    z-index: 2;
}

.process {
    background: var(--color-light-bg);
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        0 0 10px rgba(62, 211, 233, 0.6),
        0 0 20px rgba(212, 83, 210, 0.4);
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-cyan);
    filter: drop-shadow(0 0 5px rgba(62, 211, 233, 0.8));
    transition: var(--transition);
}

.contact-item:hover svg {
    filter: drop-shadow(0 0 10px rgba(62, 211, 233, 1)) 
            drop-shadow(0 0 15px rgba(212, 83, 210, 0.6));
    transform: scale(1.1);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(62, 211, 233, 0.3);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--color-white);
    color: var(--color-text);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(62, 211, 233, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(62, 211, 233, 0.8);
    box-shadow: 
        0 0 15px rgba(62, 211, 233, 0.4),
        0 0 25px rgba(212, 83, 210, 0.3),
        inset 0 0 10px rgba(62, 211, 233, 0.1);
}

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

.btn-full {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    width: 200px;
    height: 125px;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-cyan);
    text-shadow: 
        0 0 10px rgba(62, 211, 233, 0.8),
        0 0 20px rgba(212, 83, 210, 0.4);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-accent-cyan);
    text-shadow: 
        0 0 10px rgba(62, 211, 233, 0.8),
        0 0 20px rgba(212, 83, 210, 0.6);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--color-primary);
        width: 100%;
        padding: var(--spacing-md);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .hero {
        padding-top: 90px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Parallax elements */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .portfolio-item,
    .process-step {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .service-card.visible,
    .portfolio-item.visible,
    .process-step.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Parallax scroll effects */
    .service-card,
    .portfolio-item {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-out;
    }
}

/* Advanced animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(62, 211, 233, 0.3),
                    0 0 40px rgba(62, 211, 233, 0.2);
    }
    50% { 
        box-shadow: 0 0 30px rgba(62, 211, 233, 0.5),
                    0 0 60px rgba(212, 83, 210, 0.3);
    }
}

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

.service-card:hover {
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    position: relative;
}

.service-icon {
    animation: glow 2s ease-in-out infinite;
}

/* 3D transforms */
.service-card,
.portfolio-item {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.portfolio-item:hover {
    transform: translateY(-10px) rotateX(5deg);
}


/* Performance optimizations */
.hero-background,
.webgl-canvas {
    will-change: transform, opacity;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

