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

:root {
    /* Modern Dark Theme - Enhanced Colors */
    --primary: #00D9FF;
    --primary-dark: #00A8CC;
    --primary-light: #5EEAFF;
    --secondary: #FF2E63;
    --secondary-light: #FF6B9D;
    --accent: #00FFA3;
    --accent-light: #69FFD0;
    --accent-purple: #A855F7;
    --dark: #0B0F1F;
    --dark-alt: #111827;
    --dark-card: #1A1F35;
    --dark-lighter: #252B42;
    --grey-dark: #6B7280;
    --grey: #9CA3AF;
    --grey-light: #D1D5DB;
    --light: #F3F4F6;
    --white: #FFFFFF;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #00FFA3 100%);
    --gradient-secondary: linear-gradient(135deg, #FF2E63 0%, #A855F7 100%);
    --gradient-accent: linear-gradient(135deg, #00FFA3 0%, #00D9FF 100%);
    --gradient-purple: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --gradient-dark: linear-gradient(135deg, #0B0F1F 0%, #1A1F35 100%);
    --gradient-mesh: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(255, 46, 99, 0.15) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 80px;
    
    /* Transitions - Ultra Smooth */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html {
    scroll-behavior: smooth;
}

html.loading {
    overflow: hidden;
}

html.loading body {
    opacity: 0;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey);
    background: var(--dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 46, 99, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: gradient-shift 20s ease infinite;
}

/* Smooth Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* Smooth cursor */
* {
    cursor: default;
}

a, button, .btn, .work-item, .service-card, .testimonial-card, .process-step {
    cursor: pointer;
}

/* Selection styling */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(0, 217, 255, 0.3);
    color: var(--white);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 31, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    will-change: transform, box-shadow;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled {
    background: rgba(11, 15, 31, 0.98);
    box-shadow: 0 8px 40px rgba(0, 217, 255, 0.35), 0 0 80px rgba(168, 85, 247, 0.15);
    border-bottom-color: rgba(0, 217, 255, 0.4);
    transform: translateY(0);
}

.navbar.hide {
    transform: translateY(-100%);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--grey);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--dark) !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition-spring);
    box-shadow: 0 4px 25px rgba(0, 217, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.nav-cta:hover {
    background-position: 100% 0;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.7), 0 0 60px rgba(0, 255, 163, 0.3);
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0B0F1F 0%, #1A1F35 25%, #111827 50%, #1A1F35 75%, #0B0F1F 100%);
    background-size: 400% 400%;
    animation: gradient-shift 20s ease infinite;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 217, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 46, 99, 0.12) 0%, transparent 65%),
        radial-gradient(circle at 30% 70%, rgba(0, 255, 163, 0.15) 0%, transparent 55%);
    z-index: 1;
    animation: float 25s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(0,217,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 2;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,229,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-title-small {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: slideInLeft 0.8s ease-out 0.2s both, gradient-shift 6s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.4));
}

.hero-title-large {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFFFFF 0%, #00D9FF 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    line-height: 1.05;
    letter-spacing: -4px;
    text-shadow: 0 0 100px rgba(0, 217, 255, 0.6);
    animation: fadeInUp 1s ease-out 0.3s both, gradient-shift 8s ease infinite;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.4)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.3));
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.8;
    color: var(--grey);
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    animation: gradient-shift 8s ease infinite;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.6));
}

.stat-label {
    font-size: 14px;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 18px 42px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
    pointer-events: auto;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--dark);
    border: none;
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.7), 0 0 80px rgba(0, 255, 163, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.05);
    transition: all 0.1s ease;
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(0, 217, 255, 0.5);
    outline-offset: 4px;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: rgba(0, 217, 255, 0.08);
    color: var(--white);
    border-color: rgba(0, 217, 255, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4), inset 0 0 30px rgba(0, 217, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1.05);
    transition: all 0.1s ease;
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(0, 217, 255, 0.5);
    outline-offset: 4px;
}

/* Remove default focus outline but keep for keyboard navigation */
.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 217, 255, 0.5);
    outline-offset: 4px;
}

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

.btn-large {
    padding: 20px 48px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

/* ===================================
   SECTION STYLES
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: gradient-shift 8s ease infinite;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-description {
    font-size: 18px;
    color: var(--grey-dark);
    line-height: 1.8;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    padding: 50px;
    border-radius: 24px;
    transition: var(--transition-slow);
    border: 2px solid rgba(0, 217, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.4), 0 0 100px rgba(168, 85, 247, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
    background: linear-gradient(135deg, rgba(26, 31, 53, 1) 0%, rgba(17, 24, 39, 1) 100%);
}

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

.service-card:hover::after {
    opacity: 1;
    animation: rotate-slow 20s linear infinite;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--dark);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    background-position: 100% 0;
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.7), 0 0 80px rgba(0, 255, 163, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 16px;
    color: var(--grey-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 15px;
    color: var(--grey);
    padding-left: 28px;
    position: relative;
}

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

/* ===================================
   PROJECTS SECTION
   =================================== */
.projects {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.projects .container {
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 2px solid rgba(0, 217, 255, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.4), 0 0 100px rgba(168, 85, 247, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
    background: linear-gradient(135deg, rgba(26, 31, 53, 1) 0%, rgba(17, 24, 39, 1) 100%);
}

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

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

.project-image {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
    background: var(--dark-alt);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.project-content {
    padding: 40px;
}

.project-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    animation: gradient-shift 8s ease infinite;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.project-content p {
    font-size: 16px;
    color: var(--grey-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.project-tags span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: var(--transition);
}

.project-tags span:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   WORK SECTION
   =================================== */
.work {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 46, 99, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 217, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.work .container {
    position: relative;
    z-index: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    cursor: pointer;
    transition: var(--transition-slow);
    border: 2px solid rgba(0, 217, 255, 0.1);
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: var(--gradient-mesh);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.work-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.6);
    transition: var(--transition-slow);
    pointer-events: none;
    z-index: 2;
}

.work-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.5);
}

.work-item:hover::before {
    opacity: 0.3;
}

.work-item:hover::after {
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.6), 0 30px 80px rgba(0, 217, 255, 0.3);
}

.work-image {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    background: var(--grey-dark);
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.work-item:hover .work-image img {
    transform: scale(1.2) rotate(3deg);
    filter: brightness(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 15, 31, 0.98) 0%, rgba(0, 217, 255, 0.4) 40%, rgba(168, 85, 247, 0.2) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px;
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 3;
    backdrop-filter: blur(10px);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-info {
    color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.work-info h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
    width: 100%;
    text-align: left;
}

.work-info p {
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 16px;
    width: 100%;
    text-align: left;
}

.work-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(0, 217, 255, 0.12);
    border: 2px solid var(--primary);
    border-radius: 10px;
    transition: var(--transition-spring);
    margin-top: 8px;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.work-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-slow);
    z-index: -1;
}

.work-link:hover {
    color: var(--dark);
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5), 0 0 40px rgba(0, 255, 163, 0.3);
    border-color: transparent;
}

.work-link:hover::before {
    left: 0;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 163, 0.08) 0%, transparent 50%);
}

.process .container {
    position: relative;
    z-index: 1;
}

.process .section-label {
    color: var(--primary);
}

.process .section-title {
    color: var(--white);
}

.process .section-description {
    color: rgba(255, 255, 255, 0.7);
}

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

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(168, 85, 247, 0.03) 100%);
    border: 2px solid rgba(0, 217, 255, 0.15);
    border-radius: 24px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.15), rgba(168, 85, 247, 0.1), transparent);
    transition: var(--transition-slow);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
}

.process-step:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
    border-color: var(--primary);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 217, 255, 0.4), 0 0 80px rgba(168, 85, 247, 0.2);
}

.process-step:hover::before {
    left: 100%;
}

.process-step:hover::after {
    width: 300px;
    height: 300px;
}

.process-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: gradient-shift 6s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.process-step p {
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.8;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 217, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);
    padding: 50px;
    border-radius: 24px;
    border: 2px solid rgba(0, 217, 255, 0.15);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
    animation: gradient-shift 8s ease infinite;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(0, 217, 255, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.4), 0 0 100px rgba(168, 85, 247, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
    background: linear-gradient(135deg, rgba(26, 31, 53, 1) 0%, rgba(17, 24, 39, 1) 100%);
}

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

.testimonial-rating {
    margin-bottom: 24px;
}

.testimonial-rating span {
    background: linear-gradient(135deg, #00FFA3 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 163, 0.5));
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey);
    margin-bottom: 32px;
    font-style: italic;
}

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

.author-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--grey-dark);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 35%, rgba(0, 255, 163, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(255, 46, 99, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-label {
    display: block;
    text-align: left;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 24px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 15px;
    color: var(--grey-dark);
    margin: 0;
}

.about-image {
    position: relative;
    padding-bottom: 120%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 217, 255, 0.3), 0 0 100px rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(0, 217, 255, 0.3);
    transition: var(--transition-slow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
    animation: gradient-shift 10s ease infinite;
    z-index: 1;
}

.about-image:hover {
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.4), 0 0 120px rgba(168, 85, 247, 0.3);
    transform: translateY(-8px);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 300% 300%;
    animation: gradient-shift 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: float 18s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-light" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-light)"/></svg>');
    opacity: 0.5;
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.cta-content p {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-content .btn-primary {
    background: var(--dark);
    color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.cta-content .btn-primary:hover {
    background: var(--dark-alt);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

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

.contact-info .section-label {
    display: block;
    text-align: left;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.contact-info p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
    color: var(--grey-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

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

.social-links a {
    width: 48px;
    height: 48px;
    background: var(--dark-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey);
    transition: var(--transition-spring);
    border: 2px solid rgba(0, 217, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
}

.social-links a:hover {
    color: var(--dark);
    transform: translateY(-6px) rotate(8deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6), 0 0 60px rgba(0, 255, 163, 0.4);
    border-color: transparent;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
    padding: 50px;
    border-radius: 24px;
    border: 2px solid rgba(0, 217, 255, 0.25);
    box-shadow: 0 25px 70px rgba(0, 217, 255, 0.25), 0 0 100px rgba(168, 85, 247, 0.15);
    transition: var(--transition-slow);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #00D9FF 0%, #A855F7 50%, #FF2E63 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
    animation: gradient-shift 10s ease infinite;
    pointer-events: none;
    z-index: -1;
}

.contact-form:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.35), 0 0 120px rgba(168, 85, 247, 0.2);
    transform: translateY(-4px);
}

.contact-form:hover::before {
    opacity: 1;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--white);
    background: var(--dark-alt);
    border: 2px solid rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--dark);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.15), 0 8px 25px rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.5) 50%, transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   CONTACT FORM PAGE
   =================================== */
.contact-form-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

.contact-form-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0A0E27 0%, #151A35 30%, #0A0E27 70%, #1A1F3A 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    z-index: 0;
}

.contact-form-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 163, 0.12) 0%, transparent 50%);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.contact-form-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,229,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 2;
}

.contact-form-hero .container {
    position: relative;
    z-index: 3;
}

.contact-form-hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.contact-form-hero-content .hero-title-large {
    font-size: 72px;
    margin-bottom: 24px;
}

.contact-form-hero-content .hero-subtitle {
    font-size: 20px;
    margin-bottom: 0;
}

.contact-form-section {
    padding: 100px 0;
    background: var(--dark);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-form-info h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-form-info > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 40px;
}

.contact-form-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(8px);
}

.benefit-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--grey-dark);
    margin: 0;
    line-height: 1.6;
}

.contact-form-container {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.form-status {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 163, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 163, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(255, 61, 113, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(255, 61, 113, 0.3);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .hero-title-large {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 968px) {
    .contact-form-hero-content .hero-title-large {
        font-size: 56px;
        letter-spacing: -2px;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form-container {
        position: relative;
        top: 0;
    }
    
    .hero-title-large {
        font-size: 64px;
        letter-spacing: -3px;
    }
    
    .section-title {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 229, 255, 0.3);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-title-large {
        font-size: 56px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .contact-form-hero-content .hero-title-large {
        font-size: 42px;
        letter-spacing: -2px;
    }
    
    .contact-form-hero-content .hero-subtitle {
        font-size: 17px;
    }
    
    .contact-form-info h2 {
        font-size: 28px;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 18px 24px;
    }
    
    .nav-container {
        padding: 16px 20px;
    }
    
    .hero-title-large {
        font-size: 42px;
        letter-spacing: -2px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 30px;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }
    
    .work-overlay {
        padding: 30px;
    }
    
    .work-info h3 {
        font-size: 24px;
    }
    
    .work-info p {
        font-size: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 15px;
        min-width: 160px;
    }
    
    .btn-large {
        padding: 18px 40px;
        font-size: 16px;
    }
    
    /* Better touch targets for mobile */
    .btn, .nav-links a, .social-links a, .work-item {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Disable mouse glow on mobile */
    body::before {
        opacity: 0.5;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-stats {
        padding-top: 40px;
    }
    
    /* Improve touch interactions */
    .service-card, .work-item, .testimonial-card, .process-step {
        -webkit-tap-highlight-color: rgba(0, 217, 255, 0.1);
    }
    
    /* Ensure smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better spacing between sections */
    .services, .work, .process, .testimonials, .about, .contact {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}
