/* Enhanced 3D Parallax Hero */
.parallax-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0a 70%),
        linear-gradient(135deg, #0a0a0a 0%, #16213e 100%);
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 75% 25%, rgba(236, 72, 153, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.2) 0%, transparent 70%),
        conic-gradient(from 0deg at 50% 50%, rgba(139, 92, 246, 0.1) 0deg, transparent 120deg, rgba(255, 0, 128, 0.1) 240deg, transparent 360deg);
    animation: parallaxMove 25s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes parallaxMove {
    0% { transform: translateX(-10%) translateY(-10%) rotate(0deg) scale(1); }
    25% { transform: translateX(5%) translateY(-5%) rotate(0.5deg) scale(1.05); }
    50% { transform: translateX(10%) translateY(10%) rotate(1deg) scale(1.1); }
    75% { transform: translateX(-5%) translateY(5%) rotate(0.5deg) scale(1.05); }
    100% { transform: translateX(-10%) translateY(-10%) rotate(0deg) scale(1); }
}

/* 3D Floating Elements */
.hero-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-cube {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 12px;
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(99, 102, 241, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(45deg);
}

.cube-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotateX(-45deg) rotateY(45deg);
}

.cube-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    transform: rotateX(45deg) rotateY(-45deg);
}

.floating-sphere {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #00ffff, #ec4899, #8b5cf6);
    opacity: 0.7;
    animation: floatSphere 10s ease-in-out infinite;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
}

.sphere-1 {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.sphere-2 {
    bottom: 20%;
    right: 30%;
    animation-delay: 3s;
}

.sphere-3 {
    top: 70%;
    left: 60%;
    animation-delay: 5s;
}

.cube-4 {
    top: 80%;
    right: 40%;
    animation-delay: 6s;
    transform: rotateX(-30deg) rotateY(-30deg);
}

/* Floating Rings */
.floating-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatRing 12s ease-in-out infinite;
    opacity: 0.6;
}

.ring-1 {
    top: 15%;
    right: 10%;
    animation-delay: 2s;
}

.ring-2 {
    bottom: 40%;
    left: 15%;
    animation-delay: 7s;
    border-color: rgba(255, 0, 128, 0.4);
}

@keyframes floatRing {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-40px) rotate(180deg) scale(1.2); }
}

/* Particle Field */
.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 0, 128, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 65, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleMove 20s linear infinite;
    opacity: 0.7;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -200px); }
}

/* Floating Website Previews */
.floating-website {
    position: absolute;
    width: 200px;
    height: 140px;
    background: rgba(17, 17, 17, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    overflow: hidden;
    animation: floatWebsite 12s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.web-dev {
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.instagram {
    top: 45%;
    right: 5%;
    animation-delay: 4s;
}

.seo {
    top: 75%;
    right: 12%;
    animation-delay: 8s;
}

.website-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dots {
    display: flex;
    gap: 4px;
}

.dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5f57;
}

.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #28ca42; }

.url {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

.website-content {
    padding: 10px;
    height: calc(100% - 32px);
}

.nav-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    border-radius: 4px;
    margin-bottom: 8px;
}

.hero-section {
    height: 25px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 8px;
}

.content-blocks {
    display: flex;
    gap: 6px;
}

.block {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.social .profile-section {
    height: 20px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    border-radius: 4px;
    margin-bottom: 8px;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.post {
    height: 20px;
    background: rgba(255, 0, 128, 0.3);
    border-radius: 3px;
}

.seo-stats {
    margin-bottom: 8px;
}

.stat-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    border-radius: 3px;
    margin-bottom: 4px;
}

.stat-bar:nth-child(2) { width: 80%; }
.stat-bar:nth-child(3) { width: 60%; }

.chart-area {
    height: 30px;
    background: rgba(0, 255, 65, 0.2);
    border-radius: 4px;
    position: relative;
}

.chart-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 70%;
    background: linear-gradient(to top, var(--neon-green), transparent);
    border-radius: 2px;
}

@keyframes floatWebsite {
    0%, 100% { transform: translateY(0px) rotateY(0deg) scale(1); }
    50% { transform: translateY(-20px) rotateY(5deg) scale(1.05); }
}

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

@keyframes floatSphere {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Enhanced Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 100px;
}

.highlight-text {
    background: linear-gradient(45deg, #00ffff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 0, 0, 0.7);
    color: #00ffff;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4);
    border-color: #00ffff;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.6); }
}

.glitch-text {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(45deg, #00ffff, #ff0080, #00ff00, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: glitch 3s infinite, gradientShift 4s ease infinite;
    text-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        0 0 60px rgba(255, 0, 128, 0.3);
    margin-bottom: 20px;
}

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

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px) skewX(-1deg); }
    20% { transform: translateX(2px) skewX(1deg); }
    30% { transform: translateX(-1px) skewX(-0.5deg); }
    40% { transform: translateX(1px) skewX(0.5deg); }
    50% { transform: translateX(0); }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glow-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: pulse 2s infinite;
}

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

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 50px rgba(99, 102, 241, 0.8); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #6366f1;
    border-bottom: 2px solid #6366f1;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Smooth Hover Effects */
.project-card {
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 128, 0.3);
}

.service-item {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.service-item:hover .service-content {
    transform: translateX(10px);
}

.service-item:hover .service-visual {
    transform: scale(1.05) rotateY(5deg);
}

.choose-feature {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.choose-feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.testimonial-card {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-cube {
        width: 40px;
        height: 40px;
    }
    
    .floating-sphere {
        width: 60px;
        height: 60px;
    }
}