/* ===== GLASSMORPHISM ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
/* ===== HERO GLOWS ===== */
.hero-glow {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(147,51,234,0.08) 40%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.hero-glow-2 {
    position: absolute; bottom: -300px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
/* ===== GRID BG ===== */
.grid-bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
    pointer-events: none;
}
/* ===== NAVBAR ===== */
.navbar-scrolled {
    background: rgba(5,8,16,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
/* ===== MARQUEE ===== */
.marquee-wrapper { overflow: hidden; width: 100%; }
.marquee-track {
    display: flex; white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* ===== SERVICE CARD ===== */
.service-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.25rem; padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #3b82f6), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12);
    transform: translateY(-6px); box-shadow: 0 20px 60px -15px rgba(59,130,246,0.15);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.25rem;
}
/* ===== PORTFOLIO CARD ===== */
.portfolio-card {
    border-radius: 1.25rem; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-card:hover {
    border-color: rgba(255,255,255,0.12); transform: translateY(-8px);
    box-shadow: 0 25px 60px -15px rgba(99,102,241,0.2);
}
.portfolio-card img { transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.3) 40%, transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-btn { opacity: 0; transform: translateY(10px); transition: all 0.4s 0.1s; }
.portfolio-card:hover .portfolio-btn { opacity: 1; transform: translateY(0); }
/* ===== PROCESS CARD ===== */
.process-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.25rem; padding: 2rem; text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative;
}
.process-card:hover {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.process-num {
    width: 3rem; height: 3rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; margin: 0 auto 1rem;
}
/* ===== TECH CARD ===== */
.tech-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem; padding: 1.25rem 1rem; text-align: center;
    transition: all 0.3s; font-size: 0.8rem; color: #9ca3af;
}
.tech-card:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px); color: #fff;
}
.tech-card .tech-emoji { font-size: 1.75rem; display: block; margin-bottom: 0.5rem; }
/* ===== WHY CARD ===== */
.why-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.25rem; padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.why-card:hover {
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
.animate-fade-up-delay { animation: fadeUp 0.8s ease-out 0.3s forwards; opacity: 0; }
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.animate-float { animation: floatAnim 4s ease-in-out infinite; }
.animate-float-delay { animation: floatAnim 4s ease-in-out 2s infinite; }
@keyframes pulseSlow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.animate-pulse-slow { animation: pulseSlow 4s ease-in-out infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.animate-gradient { background-size: 200% auto; animation: gradientShift 3s ease infinite; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.active { opacity: 1; transform: translateY(0); }
/* ===== PARTICLES ===== */
.particle {
    position: absolute; border-radius: 50%; pointer-events: none;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0%,100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; } 90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}
.counter::after { content: '+'; }
/* ===== SLIDER ===== */
.slider-hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.slider-hide-scrollbar::-webkit-scrollbar { display: none; }
.portfolio-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
    scroll-snap-align: start;
}
.portfolio-card { min-height: 100%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; cursor: pointer; }
.dot.active { background: linear-gradient(135deg, #3b82f6, #8b5cf6); width: 24px; border-radius: 4px; }
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .portfolio-slide { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 640px) {
    .hero-glow { width: 350px; height: 350px; }
    .portfolio-slide { flex: 0 0 85%; }
    .service-card { padding: 1.5rem; }
    .process-card { padding: 1.5rem; }
    .why-card { padding: 1.5rem; }
}
