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

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(255, 45, 123, 0.3);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff2d7b, #ff1a6d);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff1a6d, #c41858);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, #ff2d7b, #ff6b9d, #ffb6c1, #ff2d7b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

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

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 123, 0.05), transparent);
    transition: left 0.8s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 45, 123, 0.3);
    box-shadow: 0 0 40px rgba(255, 45, 123, 0.08), 0 0 80px rgba(255, 45, 123, 0.04);
    transform: translateY(-4px);
}

/* ===== SHIMMER BUTTON ===== */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}

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

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

/* ===== GLOW PULSE ===== */
.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 45, 123, 0.3), 0 0 40px rgba(255, 45, 123, 0.1); }
    50% { box-shadow: 0 0 30px rgba(255, 45, 123, 0.5), 0 0 60px rgba(255, 45, 123, 0.2); }
}

.glow-pulse-btn {
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 45, 123, 0.3); }
    50% { box-shadow: 0 0 35px rgba(255, 45, 123, 0.5), 0 0 60px rgba(255, 45, 123, 0.2); }
}

/* ===== GLOW BADGE ===== */
.glow-badge {
    box-shadow: 0 0 20px rgba(255, 45, 123, 0.1), 0 0 40px rgba(255, 45, 123, 0.05);
}

/* ===== MESH GRADIENT ===== */
.mesh-gradient {
    background: 
        radial-gradient(at 20% 30%, rgba(255, 45, 123, 0.15) 0%, transparent 50%),
        radial-gradient(at 80% 70%, rgba(200, 162, 200, 0.1) 0%, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 107, 157, 0.08) 0%, transparent 50%);
}

/* ===== GRID LINES ===== */
.grid-lines {
    background-image: 
        linear-gradient(rgba(255, 45, 123, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 45, 123, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===== FLOATING ORBS ===== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

/* ===== ANIMATIONS ===== */
@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

@keyframes floatSlower {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(1.03); }
    66% { transform: translate(35px, -15px) scale(0.97); }
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-float-slow {
    animation: floatSlow 15s ease-in-out infinite;
}

.animate-float-slower {
    animation: floatSlower 20s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulseSlow 6s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

/* ===== MARQUEE ===== */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* ===== REVEAL ANIMATIONS ===== */
.animate-reveal-up {
    animation: revealUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== NAV STYLES ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== SERVICE CARD SPECIFIC ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card .service-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-card .service-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.1) 100%);
}

.service-card .service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 45, 123, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.service-card .service-sheen {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 123, 0.08), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.service-card:hover .service-sheen {
    left: 100%;
}

/* ===== COUNTER ANIMATION ===== */
.counter-value {
    display: inline-block;
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===== SECTION DIVIDERS ===== */
.neon-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 123, 0.4), transparent);
    box-shadow: 0 0 10px rgba(255, 45, 123, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .glass-card:hover {
        transform: translateY(-2px);
    }
    
    h2 {
        font-size: 2.5rem;
    }
}