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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #2a2a2a;
    --accent-blue: #0080ff;
    --accent-cyan: #00ffff;
    --accent-pink: #ff1493;
    --accent-purple: #8a2be2;
    --accent-orange: #ff6b35;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --gradient-primary: linear-gradient(135deg, #0080ff, #00ffff);
    --gradient-secondary: linear-gradient(135deg, #ff1493, #8a2be2);
    --gradient-tertiary: linear-gradient(135deg, #ff6b35, #ff1493);
    --shadow-glow: 0 0 30px rgba(0, 128, 255, 0.3);
    --shadow-pink: 0 0 30px rgba(255, 20, 147, 0.3);
    --border-gradient: linear-gradient(135deg, rgba(0, 128, 255, 0.3), rgba(0, 255, 255, 0.3));
}

/* Custom Cursor */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.7;
}

.cursor.hover {
    transform: scale(2);
    background: var(--gradient-secondary);
}

/* Advanced Loading Screen */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.ai-brain-loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.brain-core {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: brainPulse 2s ease-in-out infinite;
    box-shadow: var(--shadow-glow);
}

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

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
    animation: neuralPulse 1.5s ease-in-out infinite;
}

.neural-node:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.2s; }
.neural-node:nth-child(3) { bottom: 25%; left: 25%; animation-delay: 0.4s; }
.neural-node:nth-child(4) { bottom: 15%; right: 20%; animation-delay: 0.6s; }
.neural-node:nth-child(5) { top: 50%; left: 10%; animation-delay: 0.8s; }
.neural-node:nth-child(6) { top: 50%; right: 10%; animation-delay: 1s; }

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: dataFlow 2s linear infinite;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: textGlow 2s ease-in-out infinite;
}

.loading-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    animation: progressFill 3s ease-out forwards;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

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

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 128, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
}

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

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

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1400px;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.8);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 128, 255, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 128, 255, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 60%;
}

/* Mobile menu toggle styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        top: 0.5rem;
        width: calc(100% - 1rem);
        padding: 0.5rem 1rem;
        border-radius: 25px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Animate hamburger icon */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 128, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 20, 147, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: floatUp 10s linear infinite;
    opacity: 0.5;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10px) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: titleReveal 1s ease-out 0.5s both;
}

.hero-content .tagline {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: taglineSlide 1s ease-out 0.7s both;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
    animation: descriptionFade 1s ease-out 0.9s both;
}

/* Enhanced Animated Logo Container */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-animation-container {
    width: 400px;
    height: 400px;
    position: relative;
    animation: containerFloat 8s ease-in-out infinite;
}

.rotating-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: 50px;
    left: 50px;
    background: conic-gradient(from 0deg, var(--accent-blue), var(--accent-cyan), var(--accent-pink), var(--accent-blue));
    -webkit-mask: radial-gradient(circle, transparent 140px, black 142px);
    mask: radial-gradient(circle, transparent 140px, black 142px);
    animation-duration: 15s;
}

.ring-2 {
    width: 250px;
    height: 250px;
    top: 75px;
    left: 75px;
    background: conic-gradient(from 180deg, var(--accent-pink), var(--accent-purple), var(--accent-orange), var(--accent-pink));
    -webkit-mask: radial-gradient(circle, transparent 115px, black 117px);
    mask: radial-gradient(circle, transparent 115px, black 117px);
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    top: 100px;
    left: 100px;
    background: conic-gradient(from 90deg, var(--accent-cyan), var(--accent-blue), var(--accent-cyan));
    -webkit-mask: radial-gradient(circle, transparent 90px, black 92px);
    mask: radial-gradient(circle, transparent 90px, black 92px);
    animation-duration: 30s;
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        var(--shadow-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: logoGlow 3s ease-in-out infinite;
    overflow: hidden;
}

.logo-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.logo-center::before {
    content: '🧠';
    font-size: 3rem;
    position: absolute;
    z-index: -1;
    animation: brainRotate 6s ease-in-out infinite;
}

.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    width: 3px;
    height: 30px;
    background: linear-gradient(to bottom,
        transparent,
        var(--accent-cyan) 40%,
        var(--accent-blue) 60%,
        transparent
    );
    filter: blur(1px);
    animation: streamFlow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0.7;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes taglineSlide {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes descriptionFade {
    from {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes containerFloat {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-20px) rotate(2deg) scale(1.02);
    }
    66% {
        transform: translateY(15px) rotate(-1deg) scale(0.98);
    }
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow:
            0 0 40px rgba(0, 128, 255, 0.4),
            0 0 80px rgba(0, 255, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 60px rgba(0, 128, 255, 0.6),
            0 0 100px rgba(0, 255, 255, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
}

@keyframes brainRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: rotate(8deg) scale(1.15);
        filter: brightness(1.2);
    }
}

@keyframes streamFlow {
    0% {
        transform: translateY(-150px) rotate(45deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
        transform: translateY(-80px) rotate(45deg) scale(1);
    }
    80% {
        opacity: 0.7;
        transform: translateY(80px) rotate(45deg) scale(1);
    }
    100% {
        transform: translateY(150px) rotate(45deg) scale(0.8);
        opacity: 0;
    }
}
/* Enhanced CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: buttonsSlide 1s ease-out 1.1s both;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.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 ease;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 128, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.3);
}

.btn-small {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

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

/* Enhanced Services Section */
.services {
    padding: 8rem 0;
    background: var(--secondary-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 128, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 20, 147, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
/* Performance Optimized Styles - Replacing Heavy 3D Effects */

/* Optimized Service Cards */
.service-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 128, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Lightweight hover effect instead of 3D tilt */
.service-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow:
        0 20px 40px rgba(0, 128, 255, 0.15),
        0 0 0 1px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 128, 255, 0.3);
}

/* Animated gradient border effect */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(45deg,
        var(--accent-blue),
        var(--accent-cyan),
        var(--accent-pink),
        var(--accent-blue)
    );
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease-in-out infinite;
}

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

/* Optimized service icon animation */
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(3deg) translateZ(0);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
}

/* Optimized Portfolio Items */
.portfolio-item {
    background: var(--secondary-bg);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 128, 255, 0.1);
    position: relative;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Simplified hover effect for portfolio items */
.portfolio-item:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow:
        0 25px 50px rgba(0, 128, 255, 0.2),
        0 0 0 1px rgba(0, 255, 255, 0.2);
}

/* Pulse animation for portfolio images */
.portfolio-image {
    width: 100%;
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-image::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.6s ease;
}

.portfolio-item:hover .portfolio-image::before {
    left: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05) translateZ(0);
}

.portfolio-image i {
    position: relative;
    z-index: 2;
    animation: gentleFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

/* Optimized cursor effects */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
    will-change: transform;
}

.cursor.hover {
    transform: scale(1.5) translateZ(0);
    background: var(--gradient-secondary);
}

/* Simplified particle animations */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: optimizedFloat 8s linear infinite;
    opacity: 0.6;
    will-change: transform, opacity;
}

.footer-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.4;
    animation: optimizedFloat 12s linear infinite;
    will-change: transform, opacity;
}

/* Performance optimized animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) translateZ(0);
    }
    50% {
        transform: translateY(-8px) scale(1.02) translateZ(0);
    }
}

@keyframes optimizedFloat {
    0% {
        transform: translate3d(0, 100vh, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate3d(10px, -10px, 0) rotate(360deg);
        opacity: 0;
    }
}

/* Optimized button hover effects */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.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 ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 128, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

/* Optimized navbar scroll effect */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1400px;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background, box-shadow;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.85);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 128, 255, 0.2);
    backdrop-filter: blur(25px);
}

/* Optimized glow effects */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.glow-effect:hover::after {
    opacity: 0.3;
}

/* Enhanced scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

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

/* Optimized loading animations */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    will-change: opacity, visibility;
}

.loading-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.brain-core {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: optimizedPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 128, 255, 0.5);
    will-change: transform, box-shadow;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
    animation: optimizedNeuralPulse 1.5s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Performance-focused animations */
@keyframes optimizedPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
        box-shadow: 0 0 30px rgba(0, 128, 255, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) translateZ(0);
        box-shadow: 0 0 40px rgba(0, 128, 255, 0.7);
    }
}

@keyframes optimizedNeuralPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) translateZ(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) translateZ(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .service-card:hover,
    .portfolio-item:hover,
    .btn:hover {
        transform: none;
    }

    .particle,
    .footer-particle,
    .cursor {
        display: none;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Reduce particle count and effects on mobile */
    .particle:nth-child(n+11),
    .footer-particle:nth-child(n+11) {
        display: none;
    }

    /* Simplify hover effects on touch devices */
    .service-card,
    .portfolio-item {
        transition: none;
    }

    .service-card:hover,
    .portfolio-item:hover {
        transform: none;
        box-shadow: none;
    }

    /* Disable cursor effects on mobile */
    .cursor {
        display: none;
    }

    /* Optimize navbar for mobile */
    .navbar {
        backdrop-filter: blur(15px);
    }
}

/* GPU acceleration for frequently animated elements */
.service-card,
.portfolio-item,
.btn,
.cursor,
.particle,
.footer-particle,
.modal-content,
.brain-core,
.neural-node {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Container queries for better responsive design */
@container (max-width: 768px) {
    .service-card,
    .portfolio-item {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Focus management for accessibility */
.service-card:focus,
.portfolio-item:focus,
.btn:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Enhanced Floating Footer */
.footer {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem;
    margin: 2rem 1rem 0;
    border-radius: 30px 30px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 128, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section {
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(0, 128, 255, 0.05);
}

.footer-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
}

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

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section a {
    padding: 0.5rem 0;
    border-radius: 8px;
    padding-left: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
    background: rgba(0, 128, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 128, 255, 0.2);
    color: var(--accent-cyan);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 128, 255, 0.1);
}

/* Floating particles in footer */
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.footer-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatUp 15s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        margin: 2rem 0.5rem 0;
        border-radius: 20px 20px 0 0;
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        padding: 1rem;
    }

    .social-links {
        justify-content: center;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

    .logo-animation-container {
        width: 300px;
        height: 300px;
    }

    .ring-1 { width: 240px; height: 240px; top: 30px; left: 30px; }
    .ring-2 { width: 200px; height: 200px; top: 50px; left: 50px; }
    .ring-3 { width: 160px; height: 160px; top: 70px; left: 70px; }

    .logo-center {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        justify-content: center;
    }

    .logo-animation-container {
        width: 250px;
        height: 250px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

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

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Hidden initially */
.content {
    display: none;
}

.content.loaded {
    display: block;
}

/* Additional modern effects */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.7;
}

/* Mobile menu icon */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}
/* Enhanced Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.4s ease-out;
}

.modal-content {
    background: linear-gradient(145deg, var(--secondary-bg), var(--tertiary-bg));
    margin: 3% auto;
    padding: 0;
    border: 1px solid rgba(0, 128, 255, 0.3);
    width: 90%;
    max-width: 900px;
    border-radius: 25px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: modalSlideIn 0.5s ease-out;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.close-button:hover {
    color: var(--accent-cyan);
    background: rgba(255, 20, 147, 0.2);
    transform: scale(1.1) rotate(90deg);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid rgba(0, 128, 255, 0.1);
    background: rgba(0, 128, 255, 0.05);
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-header h2 i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    padding: 30px 40px;
}

.modal-description p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.modal-features {
    padding: 20px 40px 30px;
    border-bottom: 1px solid rgba(0, 128, 255, 0.1);
}

.modal-features h3,
.modal-examples h3 {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(0, 128, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 128, 255, 0.12);
    transform: translateX(5px);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item i {
    color: var(--accent-cyan);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.modal-examples {
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.2);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.example-item {
    background: rgba(26, 26, 26, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 128, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.example-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-tertiary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 128, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

.example-item:hover::before {
    opacity: 1;
}

.example-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: white;
}

.example-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.example-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.modal-cta {
    padding: 30px 40px 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 128, 255, 0.03);
}

.modal-cta-btn {
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-cta-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 ease;
}

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

.btn-primary.modal-cta-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary.modal-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 128, 255, 0.4);
}

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

.btn-secondary.modal-cta-btn:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
        overflow-y: auto;
    }

    .modal-header,
    .modal-description,
    .modal-features,
    .modal-examples,
    .modal-cta {
        padding-left: 25px;
        padding-right: 25px;
    }

    .modal-header {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    .close-button {
        top: 15px;
        right: 20px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    .features-grid,
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-cta {
        flex-direction: column;
        align-items: center;
    }

    .modal-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        border-radius: 15px;
    }

    .modal-header,
    .modal-description,
    .modal-features,
    .modal-examples,
    .modal-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .modal-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .feature-item,
    .example-item {
        padding: 15px;
    }

    .example-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Performance optimizations */
.modal-content,
.feature-item,
.example-item,
.modal-cta-btn {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .feature-item,
    .example-item,
    .modal-cta-btn,
    .close-button {
        animation: none;
        transition: none;
    }

    .feature-item:hover,
    .example-item:hover,
    .modal-cta-btn:hover {
        transform: none;
    }
}
