/**
 * Fugga Solution Landing Page - Custom Styles v5.0 RETRO GAMING TECH EDITION
 * Vibrant, bold design with retro gaming aesthetics meets professional tech
 * 
 * Design System:
 * - Font: JetBrains Mono, Press Start 2P (monospace + pixel)
 * - Colors: Brand colors - Primary #5552ff, Secondary #ffb905, Black #000000
 * - Style: Neo-brutalism / Retro Gaming / Pixel Perfect
 * - Shadows: Solid offset shadows (no blur)
 */

/* ============================================
   RETRO GAMING TYPOGRAPHY
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Fira+Code:wght@400;500;600;700&family=Press+Start+2P&display=swap');

body {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.02em;
    font-weight: 500;
    line-height: 1.6;
    color: #000000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #000000;
}

/* ============================================
   MODERN ELEGANT CARD STYLE  
   ============================================ */

.tech-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5552ff, #ffb905);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(85, 82, 255, 0.15);
    border-color: rgba(85, 82, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* Card with blue/purple accent */
.tech-card-blue {
    background: linear-gradient(135deg, rgba(243, 240, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(85, 82, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(85, 82, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5552ff, #7c7aff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card-blue:hover::before {
    transform: scaleX(1);
}

.tech-card-blue:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 50px rgba(85, 82, 255, 0.2);
    border-color: rgba(85, 82, 255, 0.4);
    background: linear-gradient(135deg, rgba(243, 240, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Card with yellow accent */
.tech-card-yellow {
    background: linear-gradient(135deg, rgba(255, 254, 240, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 185, 5, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(255, 185, 5, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card-yellow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffb905, #ffd24d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card-yellow:hover::before {
    transform: scaleX(1);
}

.tech-card-yellow:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 50px rgba(255, 185, 5, 0.2);
    border-color: rgba(255, 185, 5, 0.4);
    background: linear-gradient(135deg, rgba(255, 254, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #5552ff, #ffb905);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(85, 82, 255, 0.5);
}

/* Smooth Scroll Visual Indicator */
.smooth-scroll-indicator {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 4px;
    height: 200px;
    background: rgba(85, 82, 255, 0.1);
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.smooth-scroll-indicator.active {
    opacity: 1;
}

.scroll-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #5552ff, #ffb905);
    border-radius: 10px;
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(85, 82, 255, 0.6);
}

.smooth-scroll-indicator.active .scroll-pulse {
    height: 100%;
    animation: pulseGlow 1.2s ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(85, 82, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 40px rgba(85, 82, 255, 1);
    }
}

/* ============================================
   RETRO TECH ICON
   ============================================ */

.tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #ffb905;
    border: 4px solid #000000;
    border-radius: 0;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 4px 4px 0 #000000;
}

.tech-icon:hover {
    transform: translate(-2px, -2px) scale(1.05);
    box-shadow: 6px 6px 0 #000000;
}

.tech-icon-blue {
    background: #5552ff;
    color: #FFFFFF;
    border-color: #000000;
}

.tech-icon-yellow {
    background: #ffb905;
    color: #000000;
    border-color: #000000;
}

/* ============================================
   RETRO BADGE STYLE
   ============================================ */

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #ffb905;
    border: 3px solid #000000;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.15s ease;
    box-shadow: 4px 4px 0 #000000;
    color: #000000;
}

.tech-badge:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000000;
}

/* ============================================
   RETRO GAMING BUTTONS
   ============================================ */

.btn-tech {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #5552ff;
    color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 6px 0 #000000;
    cursor: pointer;
}

.btn-tech:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000000;
}

.btn-tech:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tech-outline {
    background: #FFFFFF;
    color: #5552ff;
    border: 4px solid #5552ff;
    box-shadow: 6px 6px 0 #5552ff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tech-outline:hover {
    background: #5552ff;
    color: #FFFFFF;
    box-shadow: 9px 9px 0 #5552ff;
    transform: translate(-3px, -3px);
}

.btn-tech-outline:active {
    box-shadow: 2px 2px 0 #5552ff;
    transform: translate(2px, 2px);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tech-yellow {
    background: #ffb905;
    color: #000000;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 #000000;
}

.btn-tech-yellow:hover {
    box-shadow: 9px 9px 0 #000000;
}

.btn-tech-alt {
    background: #FFFFFF;
    color: #ffb905;
    border: 4px solid #ffb905;
    box-shadow: 6px 6px 0 #ffb905;
}

.btn-tech-alt:hover {
    background: #ffb905;
    color: #000000;
    box-shadow: 9px 9px 0 #ffb905;
}

/* ============================================
   VIBRANT ACCENT TEXT
   ============================================ */

.text-tech-accent {
    color: #5552ff;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(85, 82, 255, 0.2);
}

.text-tech-yellow {
    color: #ffb905;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(255, 185, 5, 0.2);
}

.text-tech-secondary {
    color: #ffb905;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(255, 185, 5, 0.2);
}

/* ============================================
   RETRO TERMINAL WINDOW
   ============================================ */

.terminal-window {
    background: #000000;
    border: 4px solid #5552ff;
    border-radius: 0;
    padding: 24px;
    font-family: 'Fira Code', monospace;
    color: #5552ff;
    position: relative;
    transition: all 0.15s ease;
    box-shadow: 8px 8px 0 #5552ff;
}

.terminal-window:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 #5552ff;
}

.terminal-window::before {
    content: '●●●';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 20px;
    color: #5552ff;
    letter-spacing: 8px;
}

.terminal-prompt {
    display: inline-block;
    color: #ffb905;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-weight: 700;
}

.terminal-prompt::before {
    content: '▶';
    margin-right: 8px;
}

/* ============================================
   HERO BADGE + CTA REFINEMENT
   ============================================ */

.hero-badge-pro {
    border-radius: 999px;
    border-width: 2px;
    padding: 8px 16px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(90deg, rgba(255, 185, 5, 0.96), rgba(255, 219, 111, 0.96));
    box-shadow: 3px 3px 0 #111827;
    font-size: 0.82rem;
}

.hero-badge-pro:hover {
    transform: translateY(-1px);
    box-shadow: 5px 5px 0 #111827;
}

.hero-cta-wrap .hero-primary-cta,
.hero-cta-wrap .hero-secondary-cta {
    border-radius: 12px;
    border-width: 2px;
    min-height: 48px;
    padding: 12px 22px;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: 4px 4px 0 #111827;
}

.hero-cta-wrap .hero-primary-cta:hover,
.hero-cta-wrap .hero-secondary-cta:hover {
    box-shadow: 6px 6px 0 #111827;
}

.hero-cta-wrap .hero-secondary-cta {
    border-color: #111827;
    box-shadow: 4px 4px 0 #5552ff;
}

.hero-cta-wrap .hero-secondary-cta:hover {
    box-shadow: 6px 6px 0 #5552ff;
}

@media (max-width: 767px) {
    .hero-cta-wrap .hero-primary-cta,
    .hero-cta-wrap .hero-secondary-cta {
        width: min(92vw, 320px);
        justify-content: center;
    }

    .hero-badge-pro {
        font-size: 0.75rem;
        padding: 7px 13px;
    }
}

/* ============================================
   RETRO STAT NUMBERS
   ============================================ */

.tech-stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #5552ff;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 4px 4px 0 rgba(85, 82, 255, 0.3);
}

.tech-stat-number::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: #ffb905;
    margin-top: 16px;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0 #000000;
}

/* ============================================
   HERO ANIMATED BACKGROUNDS - OPTIMIZED
   ============================================ */

/* Animated particles background */
.hero-particles-bg {
    background:
        radial-gradient(900px 320px at 18% 14%, rgba(99, 102, 241, 0.08), transparent 72%),
        radial-gradient(900px 320px at 82% 20%, rgba(16, 185, 129, 0.07), transparent 72%);
    opacity: 0.62;
    will-change: transform;
}

.particle-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(85, 82, 255, 0.045) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.038) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgba(85, 82, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(16, 185, 129, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(85, 82, 255, 0.02) 0%, transparent 40%);
    animation: particleFloat 25s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Animated gradient overlay with blur effect */
.hero-gradient-animated {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(85, 82, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 60%, rgba(85, 82, 255, 0.04) 0%, transparent 40%);
    animation: gradientShift 20s ease-in-out infinite alternate;
    filter: blur(50px);
    opacity: 0.42;
    will-change: transform;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(15px, -10px) scale(1.02);
        opacity: 0.7;
    }
    100% {
        transform: translate(-10px, 15px) scale(0.98);
        opacity: 0.65;
    }
}

@keyframes gradientShift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(15px, 15px) rotate(3deg);
    }
    100% {
        transform: translate(-15px, -10px) rotate(-2deg);
    }
}

/* Floating geometric shapes for hero - SUBTLE & PROFESSIONAL */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
    transition: all 0.3s ease;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(85, 82, 255, 0.24), transparent);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
    filter: blur(40px);
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 50%;
    right: -5%;
    animation-delay: 2s;
    filter: blur(40px);
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(85, 82, 255, 0.2), transparent);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    bottom: 10%;
    left: 10%;
    animation-delay: 4s;
    filter: blur(35px);
}

.shape-4 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.17), transparent);
    border-radius: 50%;
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    filter: blur(35px);
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -20px) rotate(45deg) scale(1.05);
    }
    50% {
        transform: translate(-15px, 15px) rotate(90deg) scale(0.95);
    }
    75% {
        transform: translate(25px, 10px) rotate(135deg) scale(1.02);
    }
}

/* Pixel grid removed - modern clean design */
.pixel-grid-bg {
    display: none;
}

/* ============================================
   RETRO GRADIENT BACKGROUNDS
   ============================================ */

.retro-gradient-primary {
    background: linear-gradient(135deg, #5552ff 0%, #3d3acc 100%);
}

.retro-gradient-secondary {
    background: linear-gradient(135deg, #ffb905 0%, #e6a704 100%);
}

.retro-gradient-accent {
    background: linear-gradient(135deg, #ffb905 0%, #cc9404 100%);
}

/* ============================================
   RETRO DIVIDER LINES
   ============================================ */

.tech-divider {
    height: 4px;
    background: #000000;
    margin: 48px 0;
    border: none;
}

.tech-divider-primary {
    background: #5552ff;
    box-shadow: 0 4px 0 #000000;
}

.tech-divider-secondary {
    background: #ffb905;
    box-shadow: 0 4px 0 #000000;
}

/* ============================================
   RETRO LIST MARKERS
   ============================================ */

.tech-list li {
    position: relative;
    padding-left: 32px;
}

.tech-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #5552ff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
}

/* ============================================
   PIXELATED HOVER EFFECTS
   ============================================ */

@keyframes pixel-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hover-pixel-bounce:hover {
    animation: pixel-bounce 0.6s ease infinite;
}

/* ============================================
   RETRO CODE BLOCK
   ============================================ */

.code-block {
    background: #000000;
    border: 4px solid #5552ff;
    border-radius: 0;
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #5552ff;
    overflow-x: auto;
    box-shadow: 4px 4px 0 #5552ff;
}

.code-inline {
    background: #ffb905;
    padding: 2px 8px;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    color: #000000;
    font-weight: 700;
}

/* ============================================
   SOLID FOCUS STATES
   ============================================ */

*:focus-visible {
    outline: 4px solid #5552ff;
    outline-offset: 4px;
}

/* ============================================
   RETRO ANIMATIONS
   ============================================ */

@keyframes retro-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Subtle floating animation for interactive elements */
@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Apply smooth float to hoverable cards and icons */
.tech-card-blue,
.tech-card-yellow,
.tech-card-green {
    animation: subtle-float 6s ease-in-out infinite;
}

.tech-card-blue:nth-child(2n) {
    animation-delay: 1s;
}

.tech-card-blue:nth-child(3n) {
    animation-delay: 2s;
}

/* Smooth stagger effect for tech stack icons */
.group:hover {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Add depth with subtle shadows on scroll */
@keyframes depth-shadow {
    0%, 100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
}

.retro-pulse {
    animation: retro-pulse 2s ease-in-out infinite;
}

@keyframes retro-slide-in {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.retro-slide-in {
    animation: retro-slide-in 0.4s ease;
}

/* ============================================
   BLOCKY SHAPES
   ============================================ */

.block-shape {
    clip-path: polygon(
        0 8px, 8px 8px, 8px 0,
        calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
        100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px),
        calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px),
        0 calc(100% - 8px)
    );
}

/* ============================================
   HERO RETRO STYLES
   ============================================ */

#main-content {
    background:
    radial-gradient(1200px 420px at 14% -8%, rgba(79, 70, 229, 0.09), transparent 66%),
    radial-gradient(1200px 420px at 86% -10%, rgba(16, 185, 129, 0.08), transparent 66%),
    linear-gradient(180deg, #f8faff 0%, #f9fbff 40%, #f8fbff 72%, #f6f9ff 100%);
}

#main-content > section {
    background: transparent !important;
    position: relative;
}

#main-content > section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
    pointer-events: none;
}

#main-content h1,
#main-content h2,
#main-content h3 {
    letter-spacing: -0.015em;
    text-wrap: balance;
}

#main-content p {
    line-height: 1.65;
}

#main-content .text-gray-800 {
    color: #1f2937;
}

#main-content .text-gray-700 {
    color: #374151;
}

#main-content .text-gray-600 {
    color: #4b5563;
}

#services .text-center.mb-20 {
    margin-bottom: clamp(3rem, 6vw, 4.75rem);
}

#services .service-tech-legend {
    margin-top: 1.15rem;
}

.hero-retro {
    background: 
        radial-gradient(1200px 380px at 50% 0%, rgba(255, 255, 255, 0.86), transparent 72%),
        linear-gradient(180deg, 
            #f7f9ff 0%,
            #f5f8ff 38%,
            #f2f6ff 72%,
            #eef4ff 100%);
    position: relative;
    overflow: hidden;
}

#main-content .hero-retro,
#main-content .services-section-premium {
    background: transparent !important;
}

.hero-retro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

.hero-retro::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(52px, 8vw, 88px);
    background: linear-gradient(180deg, rgba(238, 244, 255, 0), rgba(238, 244, 255, 0.95));
    pointer-events: none;
}

#main-content .hero-retro::after,
#main-content .services-section-premium::before,
#main-content .services-section-premium::after {
    display: none;
}

/* ============================================
   UTILITIES
   ============================================ */

.no-blur {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sharp-text {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   EFECTOS DE BOTONES AVANZADOS
   ============================================ */

/* Efecto Ripple en botones */
.btn-tech {
    overflow: hidden;
    position: relative;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-tech:hover::before {
    width: 300px;
    height: 300px;
}

/* Botón con efecto glow pulsante */
.btn-glow {
    animation: btn-glow-pulse 2s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
    0%, 100% {
        box-shadow: 6px 6px 0 #000000, 0 0 20px rgba(0, 102, 255, 0.5);
    }
    50% {
        box-shadow: 6px 6px 0 #000000, 0 0 40px rgba(0, 102, 255, 0.8);
    }
}

/* Botón 3D Press Effect */
.btn-3d-press {
    position: relative;
    top: 0;
    transition: all 0.1s ease;
}

.btn-3d-press:active {
    top: 3px;
    transform: translate(0, 0) !important;
    box-shadow: 3px 3px 0 #000000 !important;
}

/* Gradiente animado en botones */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-tech-gradient {
    background: linear-gradient(45deg, #5552ff, #ffb905, #5552ff, #ffb905);
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
    color: #FFFFFF;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0 #000000;
}

/* ============================================
   ICONOS MEJORADOS CON EFECTOS 3D
   ============================================ */

.tech-icon {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.tech-icon:hover {
    transform: translate(-2px, -2px) rotateY(15deg) rotateX(10deg) scale(1.1);
    box-shadow: 8px 8px 0 #000000, 12px 12px 30px rgba(0, 0, 0, 0.3);
}

.tech-icon-spin:hover {
    animation: icon-spin 0.6s ease;
}

@keyframes icon-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.tech-icon-bounce:hover {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    75% { transform: translateY(-5px); }
}

/* Icono con efecto glow */
.tech-icon-glow {
    position: relative;
}

.tech-icon-glow::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: inherit;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(20px);
}

.tech-icon-glow:hover::after {
    opacity: 0.7;
}

/* ============================================
   ANIMACIONES DINÁMICAS AVANZADAS
   ============================================ */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.anim-float {
    animation: float 3s ease-in-out infinite;
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.anim-glitch:hover {
    animation: glitch 0.3s ease;
}

/* Typing Effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #5552ff; }
}

.typing-effect {
    overflow: hidden;
    border-right: 4px solid #5552ff;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Pulse Scale Animation */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.anim-pulse-scale {
    animation: pulse-scale 2s ease-in-out infinite;
}

/* Rotate 3D Animation */
@keyframes rotate-3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.anim-rotate-3d {
    animation: rotate-3d 10s linear infinite;
    transform-style: preserve-3d;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.anim-shake:hover {
    animation: shake 0.5s ease;
}

/* ============================================
   EFECTOS DE SCROLL PARALLAX
   ============================================ */

.parallax-layer {
    transition: transform 0.3s ease-out;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-zoom.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.4s; }
.scroll-reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   TARJETAS CON EFECTOS AVANZADOS
   ============================================ */

.tech-card-flip {
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.tech-card-flip:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.tech-card-lift {
    transition: all 0.3s ease;
}

.tech-card-lift:hover {
    transform: translateY(-10px);
    box-shadow: 12px 20px 0 #000000;
}

/* Card con brillo que se mueve con el mouse */
.tech-card-shine {
    position: relative;
    overflow: hidden;
}

.tech-card-shine::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%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-card-shine:hover::before {
    transform: translateX(100%);
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid #000000;
    border-top: 4px solid #5552ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes dots-pulse {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.loading-dots span {
    animation: dots-pulse 1.4s infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ============================================
   EFECTOS DE TEXTO AVANZADOS
   ============================================ */

.text-gradient-animate {
    background: linear-gradient(45deg, #5552ff, #ffb905, #5552ff, #ffb905);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.text-shadow-3d {
    text-shadow: 
        2px 2px 0 #000000,
        4px 4px 0 rgba(85, 82, 255, 0.5),
        6px 6px 0 rgba(255, 185, 5, 0.3);
}

.text-glitch {
    position: relative;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.text-glitch::before {
    color: #5552ff;
    animation: glitch-1 0.3s infinite;
}

.text-glitch::after {
    color: #ffb905;
    animation: glitch-2 0.3s infinite;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, 2px); }
    66% { transform: translate(-2px, -2px); }
}

/* ============================================
   NAVEGACIÓN CON EFECTOS
   ============================================ */

.nav-link-underline {
    position: relative;
}

.nav-link-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: #5552ff;
    transition: width 0.3s ease;
}

.nav-link-underline:hover::after {
    width: 100%;
}

.site-header-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(0px);
    -webkit-backdrop-filter: saturate(140%) blur(0px);
    transition: background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    border-bottom-color: rgba(17, 24, 39, 0.78);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}

.header-nav-link {
    transition: color 0.22s ease, background-color 0.22s ease;
}

.header-nav-link.is-active {
    color: #4f46e5 !important;
}

.header-nav-link.is-active .absolute {
    width: 100% !important;
}

.header-cta-btn {
    background: linear-gradient(90deg, #5552ff, #7c3aed);
    border: 2px solid #111827;
    box-shadow: 3px 3px 0 #111827;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 5px 5px 0 #111827;
    filter: brightness(1.03);
}

.header-cta-btn.is-active {
    background: linear-gradient(90deg, #4338ca, #6d28d9);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 64px 0 0;
    background: rgba(17, 24, 39, 0.34);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 45;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
}

.mobile-menu-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 46;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.14);
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mobile-services-group {
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(249, 250, 251, 0.95);
    padding: 8px;
}

.mobile-services-grid {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.mobile-service-group-link {
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #ffffff;
    padding: 10px 12px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.mobile-service-group-link:active {
    transform: scale(0.99);
}

.mobile-service-group-link.is-pressed {
    transform: scale(0.985);
    filter: saturate(1.05);
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}

.mobile-service-group-link-qa {
    border-color: rgba(79, 70, 229, 0.28);
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.mobile-service-group-link-dev {
    border-color: rgba(34, 197, 94, 0.28);
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(255, 255, 255, 0.98));
}

.mobile-service-group-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.mobile-service-group-hint {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: #4b5563;
}

.mobile-services-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(85, 82, 255, 0.28);
    background: rgba(85, 82, 255, 0.08);
    color: #4338ca;
    font-size: 0.79rem;
    font-weight: 800;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.mobile-services-view-all.is-pressed {
    transform: scale(0.985);
    background: rgba(85, 82, 255, 0.14);
    box-shadow: 0 4px 10px rgba(85, 82, 255, 0.16);
}

.mobile-services-chips {
    display: flex;
    gap: 8px;
    padding: 4px 10px 8px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(249, 250, 251, 1) 78%, rgba(249, 250, 251, 0.7) 100%);
}

.mobile-services-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(85, 82, 255, 0.22);
    background: rgba(85, 82, 255, 0.07);
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 800;
}

.mobile-service-section {
    scroll-margin-top: 38px;
}

.mobile-service-section-title {
    margin-bottom: 4px;
}

.mobile-service-link {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    position: relative;
}

.mobile-service-link::after {
    content: '›';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.92rem;
}

.mobile-service-link:active {
    transform: scale(0.99);
    background: rgba(224, 231, 255, 0.45);
}

body.mobile-menu-open {
    overflow: hidden;
}

.nav-services-dropdown.nav-services-open .services-submenu {
    opacity: 1;
    visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
    .services-submenu {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS MEJORADO
   ============================================ */

/* Desktop Grande (1920px+) */
@media (min-width: 1920px) {
    .tech-stat-number {
        font-size: 5rem;
    }
    
    .tech-card {
        padding: 40px;
    }
}

/* Desktop (1024px - 1919px) */
@media (min-width: 1024px) and (max-width: 1919px) {
    .tech-card {
        padding: 32px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .tech-stat-number {
        font-size: 3.5rem;
    }
    
    .tech-card {
        padding: 28px;
    }
    
    .btn-tech {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Grande (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .tech-stat-number {
        font-size: 3rem;
    }
    
    .tech-card {
        padding: 24px;
        box-shadow: 4px 4px 0 #000000;
    }
    
    .tech-card:hover {
        box-shadow: 6px 6px 0 #000000;
    }
    
    .btn-tech {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .site-header-nav {
        border-bottom-width: 3px;
    }

    .site-header-nav #mobile-menu {
        border-top-width: 1px;
    }

    .mobile-menu-overlay {
        inset: 64px 0 0;
    }

    .mobile-menu-panel {
        top: 64px;
        border-top-width: 1px;
    }

    .mobile-services-toggle {
        min-height: 44px;
    }
}

/* Mobile (max-width: 639px) */
@media (max-width: 639px) {
    .tech-stat-number {
        font-size: 2.5rem;
    }
    
    .tech-card {
        padding: 20px;
        box-shadow: 4px 4px 0 #000000;
    }
    
    .tech-card:hover {
        box-shadow: 6px 6px 0 #000000;
        transform: translate(-2px, -2px);
    }
    
    .btn-tech {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .tech-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Ajustes de touch para móvil */
    .btn-tech,
    .tech-card,
    .tech-icon {
        -webkit-tap-highlight-color: rgba(0, 102, 255, 0.3);
    }
    
    /* Reducir animaciones en móvil para mejor performance */
    .anim-float,
    .anim-rotate-3d {
        animation: none;
    }
    
    /* Simplificar sombras en móvil */
    .btn-glow {
        animation: none;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .tech-stat-number {
        font-size: 2rem;
    }
    
    .tech-card {
        padding: 16px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar áreas de toque */
    .btn-tech {
        min-height: 48px;
        min-width: 120px;
    }
    
    .tech-icon {
        min-width: 60px;
        min-height: 60px;
    }
    
    /* Desactivar efectos hover en touch */
    .tech-card:hover {
        transform: none;
        box-shadow: 8px 8px 0 #000000;
    }
    
    /* Activar efectos en touch */
    .tech-card:active {
        transform: translate(-2px, -2px);
        box-shadow: 10px 10px 0 #000000;
    }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
    }
}

/* ============================================
   UTILIDADES ADICIONALES
   ============================================ */

.cursor-pointer {
    cursor: pointer;
}

.user-select-none {
    user-select: none;
}

.overflow-hidden {
    overflow: hidden;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ============================================
   SERVICES HEADER SUBMENU
   ============================================ */

.services-submenu {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-height: 70vh;
    overflow-y: auto;
    transform-origin: top left;
    transform: translateY(10px) scale(0.985);
    filter: saturate(0.96);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.18);
}

.nav-services-dropdown:hover .services-submenu,
.nav-services-dropdown:focus-within .services-submenu,
.nav-services-dropdown.nav-services-open .services-submenu {
    transform: translateY(0) scale(1);
    filter: saturate(1);
}

.services-submenu-link {
    border: 1px solid transparent;
    transition: all 0.28s ease;
}

.services-submenu-link:hover {
    border-color: #ffb905;
    background: linear-gradient(90deg, rgba(255, 185, 5, 0.28), rgba(255, 185, 5, 0.12));
    box-shadow: 0 6px 16px rgba(255, 185, 5, 0.25);
    transform: translateX(4px);
}

.services-submenu-link.is-targeted {
    border-color: #ffb905;
    background: linear-gradient(90deg, rgba(255, 185, 5, 0.34), rgba(255, 185, 5, 0.16));
    box-shadow: 0 0 0 2px rgba(255, 185, 5, 0.35), 0 8px 22px rgba(255, 185, 5, 0.22);
}

.services-submenu-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #4f46e5;
    margin: 2px 8px 6px;
}

.services-submenu-title-dev {
    color: #15803d;
}

.services-submenu-section-qa {
    border-left: 3px solid rgba(79, 70, 229, 0.35);
    padding-left: 2px;
}

.services-submenu-section-dev {
    border-left: 3px solid rgba(22, 163, 74, 0.35);
    padding-left: 2px;
}

.services-section-premium {
    background:
        radial-gradient(1200px 460px at 12% -8%, rgba(85, 82, 255, 0.24), transparent 60%),
        radial-gradient(1200px 460px at 88% -12%, rgba(34, 197, 94, 0.22), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #f4f8ff 30%, #ffffff 62%, #f3f7ff 100%);
}

.services-section-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(900px 300px at 50% 4%, rgba(255, 255, 255, 0.78), transparent 70%);
    opacity: 0.95;
}

.services-section-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(700px 220px at 15% 100%, rgba(85, 82, 255, 0.1), transparent 75%),
        radial-gradient(700px 220px at 85% 100%, rgba(34, 197, 94, 0.1), transparent 75%);
    opacity: 0.95;
}

.services-group {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(1.5px);
}

.services-group-qa {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.14), rgba(255, 255, 255, 0.9));
}

.services-group-development {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.15), rgba(255, 255, 255, 0.9));
}

/* ============================================
   SERVICES CAROUSEL (PROFESSIONAL)
   ============================================ */

.services-carousel-container {
    position: relative;
}

.services-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.services-carousel-helper {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
}

.services-carousel-container-qa .services-carousel-helper {
    color: #4338ca;
}

.services-carousel-container-development .services-carousel-helper {
    color: #15803d;
}

.services-carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-carousel-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111827;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
}

.services-carousel-btn:hover:not(:disabled) {
    background: #5552ff;
    border-color: #5552ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.services-carousel-container-development .services-carousel-btn:hover:not(:disabled) {
    background: #16a34a;
    border-color: #16a34a;
}

.services-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.services-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.services-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.services-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    min-width: max-content;
}

.tech-icon-green {
    background: #22c55e;
    color: #ffffff;
    border-color: #111827;
}

.service-carousel-card {
    display: block;
    flex: 0 0 min(360px, 88vw);
    scroll-snap-align: start;
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-carousel-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5552ff, #22c55e);
    opacity: 0.9;
}

.service-carousel-card::before {
    content: '';
    position: absolute;
    inset: -30% auto auto -44%;
    width: 70%;
    height: 180%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
    transform: translateX(-120%) rotate(8deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.service-card-qa {
    background: linear-gradient(155deg, #eef2ff 0%, #ffffff 62%);
}

.service-card-dev {
    background: linear-gradient(155deg, #ecfdf3 0%, #ffffff 62%);
}

.service-card-tone-a {
    background-image: radial-gradient(circle at top right, rgba(85, 82, 255, 0.2), transparent 50%), linear-gradient(155deg, transparent, transparent);
}

.service-card-tone-b {
    background-image: radial-gradient(circle at top right, rgba(34, 197, 94, 0.2), transparent 50%), linear-gradient(155deg, transparent, transparent);
}

.service-carousel-card:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 18px 36px rgba(85, 82, 255, 0.16);
    border-color: rgba(85, 82, 255, 0.25);
}

.service-carousel-card:hover::before {
    opacity: 1;
    animation: premium-sheen 1s ease;
}

.service-card-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(85, 82, 255, 0.08);
    color: #3730a3;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.service-card-category-qa {
    background: rgba(79, 70, 229, 0.14);
    color: #3730a3;
}

.service-card-category-dev {
    background: rgba(22, 163, 74, 0.15);
    color: #166534;
}

.service-card-insight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin: 0 0 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.72);
}

.service-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.service-card-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
}

.service-card-highlight i {
    font-size: 0.72rem;
    color: #4338ca;
}

.service-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(2px);
}

.service-card-icon i,
.service-card-icon svg {
    font-size: 1rem;
    width: 18px;
    height: 18px;
}

.service-card-icon.tech-icon-blue,
.service-card-icon.tech-icon-green,
.service-card-icon.tech-icon-yellow {
    border-width: 1px;
    border-style: solid;
}

.service-card-icon.tech-icon-blue {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(224, 231, 255, 0.82));
    color: #312e81;
    border-color: rgba(99, 102, 241, 0.32);
}

.service-card-icon.tech-icon-green {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.24), rgba(236, 253, 245, 0.88));
    color: #166534;
    border-color: rgba(34, 197, 94, 0.3);
}

.service-card-icon.tech-icon-yellow {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(255, 251, 235, 0.9));
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.33);
}

.service-card-title {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.service-card-description {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 219, 0.75));
}

.service-card-tech-list {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card-tech-list li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-tech-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.16);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 255, 0.95));
    color: #1f2937;
    font-size: 0.83rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-tech-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
}

.service-tech-item--frontend {
    background: linear-gradient(90deg, rgba(229, 246, 255, 0.98), rgba(240, 249, 255, 0.98));
    border-color: rgba(2, 132, 199, 0.35);
    color: #0c4a6e;
}

.service-tech-item--backend {
    background: linear-gradient(90deg, rgba(237, 252, 245, 0.98), rgba(240, 253, 244, 0.98));
    border-color: rgba(22, 163, 74, 0.35);
    color: #14532d;
}

.service-tech-item--qa {
    background: linear-gradient(90deg, rgba(241, 245, 255, 0.98), rgba(238, 242, 255, 0.98));
    border-color: rgba(79, 70, 229, 0.35);
    color: #312e81;
}

.service-tech-item--automation {
    background: linear-gradient(90deg, rgba(255, 248, 230, 0.98), rgba(254, 243, 199, 0.98));
    border-color: rgba(217, 119, 6, 0.35);
    color: #78350f;
}

.service-tech-item--data {
    background: linear-gradient(90deg, rgba(237, 242, 255, 0.98), rgba(224, 231, 255, 0.98));
    border-color: rgba(67, 56, 202, 0.3);
    color: #312e81;
}

.service-tech-item--ai {
    background: linear-gradient(90deg, rgba(245, 243, 255, 0.98), rgba(237, 233, 254, 0.98));
    border-color: rgba(147, 51, 234, 0.35);
    color: #581c87;
}

.service-tech-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb905, #ffd84d);
    color: #111827;
    font-size: 0.62rem;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.16);
}

.service-tech-icon--frontend {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #082f49;
}

.service-tech-icon--backend {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #052e16;
}

.service-tech-icon--qa {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: #1e1b4b;
}

.service-tech-icon--automation {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #451a03;
}

.service-tech-icon--data {
    background: linear-gradient(135deg, #a5b4fc, #818cf8);
    color: #1e1b4b;
}

.service-tech-icon--ai {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    color: #2e1065;
}

.service-tech-icon i {
    font-size: 0.72rem;
    line-height: 1;
}

.service-tech-legend {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.service-tech-legend-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #374151;
    margin-right: 4px;
}

.service-tech-legend-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.service-tech-legend-item--frontend {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0c4a6e;
}

.service-tech-legend-item--backend {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(22, 163, 74, 0.35);
    color: #14532d;
}

.service-tech-legend-item--qa {
    background: rgba(99, 102, 241, 0.13);
    border-color: rgba(79, 70, 229, 0.35);
    color: #312e81;
}

.service-tech-legend-item--automation {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(217, 119, 6, 0.35);
    color: #78350f;
}

.service-tech-legend-item--data {
    background: rgba(129, 140, 248, 0.13);
    border-color: rgba(67, 56, 202, 0.3);
    color: #312e81;
}

.service-tech-legend-item--ai {
    background: rgba(168, 85, 247, 0.14);
    border-color: rgba(147, 51, 234, 0.35);
    color: #581c87;
}

.service-card-usecase {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.16);
    background: #ecfeff;
    color: #0f766e;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #16a34a;
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-card-link:hover {
    color: #5552ff;
    transform: translateX(2px);
}

.service-card-link-qa {
    color: #4338ca;
}

.service-card-link-qa:hover {
    color: #1d4ed8;
}

.service-card-link-dev {
    color: #15803d;
}

.service-card-link-dev:hover {
    color: #0f766e;
}

.service-card-focused {
    animation: service-focus-pop 1.35s ease;
    border-color: rgba(79, 70, 229, 0.65) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.18), 10px 10px 0 #111827 !important;
}

/* ============================================
   SERVICE MODAL (COMPACT PROFESSIONAL)
   ============================================ */

.service-modal-panel {
    box-shadow: 12px 12px 0 #111827, 0 18px 48px rgba(17, 24, 39, 0.28);
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.24s ease;
}

.service-modal-overlay {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#serviceModal.is-open .service-modal-overlay {
    opacity: 1;
}

#serviceModal.is-open .service-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#serviceModal.is-closing .service-modal-overlay {
    opacity: 0;
}

#serviceModal.is-closing .service-modal-panel {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
}

.service-modal-close {
    background: #ffffff;
    border: 2px solid rgba(17, 24, 39, 0.2);
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-modal-icon {
    background: linear-gradient(135deg, #5552ff, #ffb905);
    border: 2px solid #111827;
    box-shadow: 4px 4px 0 #111827;
}

.service-modal-category {
    background: rgba(85, 82, 255, 0.12);
    color: #3730a3;
    border: 1px solid rgba(85, 82, 255, 0.24);
}

.service-modal-description {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ffffff, #faf5d8);
}

.service-modal-section {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-modal-section:hover {
    transform: translateY(-1px);
    border-color: rgba(85, 82, 255, 0.2);
    box-shadow: 0 10px 20px rgba(85, 82, 255, 0.1);
}

.service-modal-section-title {
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(17, 24, 39, 0.14);
}

.service-modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(243, 244, 246, 0.7);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.service-modal-tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(85, 82, 255, 0.25);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(230, 240, 255, 0.95));
    color: #1f2937;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-modal-tech-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(17, 24, 39, 0.1);
}

.service-modal-tech-chip--frontend { border-color: rgba(2, 132, 199, 0.35); background: rgba(229, 246, 255, 0.95); color: #0c4a6e; }
.service-modal-tech-chip--backend { border-color: rgba(22, 163, 74, 0.35); background: rgba(237, 252, 245, 0.95); color: #14532d; }
.service-modal-tech-chip--qa { border-color: rgba(79, 70, 229, 0.35); background: rgba(238, 242, 255, 0.95); color: #312e81; }
.service-modal-tech-chip--automation { border-color: rgba(217, 119, 6, 0.35); background: rgba(255, 248, 230, 0.95); color: #78350f; }
.service-modal-tech-chip--data { border-color: rgba(67, 56, 202, 0.3); background: rgba(237, 242, 255, 0.95); color: #312e81; }
.service-modal-tech-chip--ai { border-color: rgba(147, 51, 234, 0.35); background: rgba(245, 243, 255, 0.95); color: #581c87; }

.service-modal-tech-icon {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.16);
}

.service-modal-tech-icon i {
    font-size: 0.68rem;
    line-height: 1;
}

.service-modal-tech-icon--frontend { background: linear-gradient(135deg, #38bdf8, #0ea5e9); color: #082f49; }
.service-modal-tech-icon--backend { background: linear-gradient(135deg, #4ade80, #22c55e); color: #052e16; }
.service-modal-tech-icon--qa { background: linear-gradient(135deg, #818cf8, #6366f1); color: #1e1b4b; }
.service-modal-tech-icon--automation { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #451a03; }
.service-modal-tech-icon--data { background: linear-gradient(135deg, #a5b4fc, #818cf8); color: #1e1b4b; }
.service-modal-tech-icon--ai { background: linear-gradient(135deg, #c084fc, #a855f7); color: #2e1065; }
.service-modal-tech-icon--general { background: linear-gradient(135deg, #ffb905, #ffd84d); color: #111827; }

.service-modal-tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5552ff, #ffb905);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.2);
}

.service-modal-pricing {
    border: 1px solid rgba(85, 82, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(243, 240, 255, 0.75), rgba(255, 254, 240, 0.8));
}

/* ============================================
   SUCCESS CASE CARDS
   ============================================ */

.success-showcase-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.success-showcase-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid #111827;
    background: #ffffff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.success-showcase-btn:hover {
    background: #ffb905;
    border-color: #ffb905;
    color: #111827;
    transform: translateY(-1px);
}

.success-showcase-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.success-showcase-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.25);
    background: rgba(17, 24, 39, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.success-showcase-btn.is-press-feedback::after,
.success-showcase-dot.is-press-feedback::after,
.services-carousel-btn.is-press-feedback::after,
.service-modal-pressable.is-press-feedback::after,
.contact-submit-btn.is-press-feedback::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(85, 82, 255, 0.35);
    animation: showcasePressRing 0.26s ease-out;
    pointer-events: none;
}

.success-showcase-dot.is-active {
    width: 24px;
    background: linear-gradient(90deg, #5552ff, #ffb905);
    border-color: rgba(85, 82, 255, 0.5);
}

.success-showcase-slide {
    animation: successSlideIn 0.35s ease;
    touch-action: pan-y;
}

.success-showcase-slide.is-enter-next .success-case-card {
    animation: showcaseEnterNext 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-showcase-slide.is-enter-prev .success-case-card {
    animation: showcaseEnterPrev 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-showcase-slide.is-dragging .success-case-card {
    transition: none;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.995);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes showcaseEnterNext {
    from {
        opacity: 0;
        transform: translate3d(calc(var(--showcase-drag-x, 0px) + 24px), 0, 0) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translate3d(var(--showcase-drag-x, 0px), 0, 0) scale(1);
    }
}

@keyframes showcaseEnterPrev {
    from {
        opacity: 0;
        transform: translate3d(calc(var(--showcase-drag-x, 0px) - 24px), 0, 0) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translate3d(var(--showcase-drag-x, 0px), 0, 0) scale(1);
    }
}

@keyframes showcasePressRing {
    0% {
        opacity: 0.9;
        transform: scale(0.86);
    }
    100% {
        opacity: 0;
        transform: scale(1.24);
    }
}

.success-case-card {
    border-width: 1px;
    border-color: rgba(85, 82, 255, 0.2);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transform: translate3d(var(--showcase-drag-x, 0px), 0, 0);
    will-change: transform;
}

.success-case-card:hover {
    transform: translate3d(var(--showcase-drag-x, 0px), -2px, 0);
    border-color: rgba(85, 82, 255, 0.35);
    box-shadow: 0 16px 34px rgba(85, 82, 255, 0.14);
}

.success-case-media {
    position: relative;
    overflow: hidden;
}

.success-case-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 60%);
    pointer-events: none;
}

.success-case-logo {
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.24);
}

.success-case-content {
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.success-case-tech-list {
    gap: 6px;
}

.success-case-tech {
    border: 1px solid rgba(85, 82, 255, 0.22);
    background: linear-gradient(90deg, rgba(85, 82, 255, 0.11), rgba(85, 82, 255, 0.04));
    color: #3730a3;
    font-weight: 700;
}

.success-case-desc {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    background: #ffffff;
}

.success-case-results {
    margin-top: 2px;
}

.success-case-results-title {
    color: #1f2937;
}

.success-case-result-item {
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(249, 250, 251, 0.85);
    border: 1px solid rgba(17, 24, 39, 0.05);
}

.success-case-footer {
    border-top: 1px dashed rgba(17, 24, 39, 0.15);
    padding-top: 12px;
}

.service-modal-actions {
    position: relative;
}

.service-modal-pressable,
.contact-submit-btn {
    position: relative;
    overflow: visible;
}

/* ============================================
   ABOUT SECTION (WHY CHOOSE US)
   ============================================ */

.about-highlight-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(17, 24, 39, 0.09);
}

.about-lead {
    font-size: 1.04rem;
}

.about-sublead {
    font-size: 0.97rem;
}

.about-pillar-card {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 14px;
    padding: 14px 14px 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.about-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(85, 82, 255, 0.12);
}

.about-pillar-card-qa {
    border-color: rgba(79, 70, 229, 0.22);
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.62), #ffffff);
}

.about-pillar-card-dev {
    border-color: rgba(22, 163, 74, 0.22);
    background: linear-gradient(180deg, rgba(236, 253, 243, 0.72), #ffffff);
}

.about-pillar-card-impact {
    border-color: rgba(245, 158, 11, 0.28);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.76), #ffffff);
}

.about-pillar-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
}

.about-pillar-card-qa .about-pillar-kicker {
    border-color: rgba(99, 102, 241, 0.3);
    color: #3730a3;
}

.about-pillar-card-dev .about-pillar-kicker {
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
}

.about-pillar-card-impact .about-pillar-kicker {
    border-color: rgba(245, 158, 11, 0.35);
    color: #92400e;
}

.about-pillar-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(85, 82, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #312e81;
    background: linear-gradient(135deg, rgba(199, 210, 254, 0.7), rgba(224, 231, 255, 0.9));
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

.about-pillar-icon i {
    font-size: 0.78rem;
}

.about-pillar-title {
    font-size: 0.93rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.about-pillar-text {
    font-size: 0.84rem;
    line-height: 1.45;
    color: #4b5563;
}

.about-stat-card {
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 255, 0.92));
    padding: 12px;
}

.about-stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    color: #4338ca;
    line-height: 1.1;
    margin-bottom: 2px;
}

.about-stat-label {
    font-size: 0.78rem;
    color: #4b5563;
    font-weight: 700;
}

.about-cta {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(85, 82, 255, 0.3);
    background: rgba(85, 82, 255, 0.08);
    color: #3730a3;
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.22s ease;
}

.about-cta:hover {
    background: rgba(255, 185, 5, 0.16);
    border-color: rgba(217, 119, 6, 0.4);
    color: #78350f;
    transform: translateY(-1px);
}

/* ============================================
   CONTACT FORM (COMPACT PREMIUM)
   ============================================ */

.contact-form-card {
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
}

.contact-form-compact {
    gap: 0;
}

.contact-field-label {
    margin-bottom: 0.42rem;
}

.contact-field {
    min-height: 44px;
    border-color: rgba(17, 24, 39, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-field:hover {
    border-color: rgba(85, 82, 255, 0.35);
}

.contact-field:focus {
    box-shadow: 0 0 0 4px rgba(85, 82, 255, 0.12);
    transform: translateY(-1px);
}

.contact-whatsapp-row {
    align-items: stretch;
}

.contact-country-field {
    min-width: 112px;
}

.contact-field-hint {
    margin-top: 0.35rem;
    line-height: 1.35;
}

.contact-privacy-row {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.74);
}

.contact-submit-btn {
    min-height: 48px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ============================================
   CONTACT INFO + FOOTER REFINEMENT
   ============================================ */

.contact-info-grid {
    align-items: stretch;
}

.contact-info-card {
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 14px;
    background: linear-gradient(165deg, #ffffff 0%, #f8faff 100%);
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(85, 82, 255, 0.3);
    box-shadow: 0 12px 24px rgba(85, 82, 255, 0.12);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 999px;
    border: 2px solid #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon-email {
    background: linear-gradient(135deg, rgba(85, 82, 255, 0.18), rgba(85, 82, 255, 0.06));
    color: #4338ca;
}

.contact-info-icon-phone {
    background: linear-gradient(135deg, rgba(255, 185, 5, 0.22), rgba(255, 185, 5, 0.08));
    color: #92400e;
}

.contact-info-icon-time {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.06));
    color: #166534;
}

.contact-info-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.contact-info-link {
    display: block;
    color: #4338ca;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.contact-info-helper {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #6b7280;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(20px);
    opacity: 0.9;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    will-change: transform, opacity;
}

.site-footer.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.site-footer-title {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.site-footer-link {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.site-footer-link:hover {
    color: #ffb905;
}

.site-footer-social {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 24, 39, 0.65);
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.site-footer-social:hover {
    background: #5552ff;
    color: #ffffff;
    border-color: rgba(85, 82, 255, 0.8);
    transform: translateY(-1px);
}

.site-footer-bottom {
    text-align: center;
}

/* ============================================
   TECHNOLOGY STACK (TABBED COMPACT)
   ============================================ */

.tech-stack-wrap {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
}

.tech-stack-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tech-tab-btn {
    border: 1px solid rgba(17, 24, 39, 0.16);
    background: #ffffff;
    color: #374151;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.tech-tab-btn.is-pressing {
    animation: tech-tab-press 0.2s ease;
}

.tech-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.1);
    color: #374151;
    font-size: 0.72rem;
    font-weight: 800;
    margin-left: 6px;
}

.tech-tab-btn:hover {
    border-color: rgba(85, 82, 255, 0.45);
    color: #312e81;
}

.tech-tab-btn.is-active {
    background: linear-gradient(90deg, rgba(85, 82, 255, 0.15), rgba(255, 185, 5, 0.14));
    border-color: rgba(85, 82, 255, 0.55);
    color: #312e81;
    box-shadow: 0 0 0 2px rgba(85, 82, 255, 0.14);
}

.tech-tab-btn.is-active .tech-tab-count {
    background: rgba(85, 82, 255, 0.26);
    color: #1f1d66;
}

.tech-stack-panel {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(160deg, #ffffff, #f8fafc);
}

.tech-stack-panel.tech-panel-enter {
    animation: techPanelIn 0.28s ease;
}

@keyframes techPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-stack-caption {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tech-stack-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 64px;
    position: relative;
}

.tech-stack-item:hover {
    transform: translateY(-1px);
    border-color: rgba(85, 82, 255, 0.35);
    box-shadow: 0 4px 14px rgba(85, 82, 255, 0.14);
}

.tech-stack-item:active {
    transform: translateY(0) scale(0.99);
}

.tech-stack-item i {
    font-size: 2.25rem;
    line-height: 1;
    width: 38px;
    text-align: center;
}

.tech-stack-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.tech-stack-item span {
    font-size: 0.93rem;
    font-weight: 700;
    color: #1f2937;
}

.tech-stack-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
}

.tech-stack-top-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 6, 0.45);
    background: rgba(255, 185, 5, 0.2);
    color: #78350f !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    line-height: 1;
}

.tech-stack-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.tech-stack-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(85, 82, 255, 0.3);
    background: rgba(85, 82, 255, 0.08);
    color: #3730a3;
    font-size: 0.78rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.tech-stack-cta:hover {
    background: rgba(255, 185, 5, 0.16);
    border-color: rgba(217, 119, 6, 0.4);
    color: #78350f;
    transform: translateY(-1px);
}

@keyframes premium-sheen {
    0% {
        transform: translateX(-120%) rotate(8deg);
    }
    100% {
        transform: translateX(220%) rotate(8deg);
    }
}

@keyframes tech-tab-press {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1);
    }
}

.service-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-modal-description {
    display: block;
    -webkit-line-clamp: initial;
    line-clamp: initial;
    overflow: visible;
}

@keyframes service-focus-pop {
    0% {
        transform: translateY(0) scale(0.98);
    }
    35% {
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .services-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-group {
        padding: 12px;
        border-radius: 12px;
    }

    .services-carousel-helper {
        font-size: 0.88rem;
    }

    .services-carousel-track {
        gap: 12px;
    }

    .services-carousel-viewport {
        padding-left: 4px;
        padding-right: 10px;
    }

    .service-carousel-card {
        flex-basis: 78vw !important;
        min-width: 78vw !important;
        max-width: 78vw !important;
        padding: 14px;
        border-radius: 14px;
        box-shadow: 2px 2px 0 #111827;
    }

    .service-card-title {
        font-size: 1.15rem;
    }

    .service-card-description {
        font-size: 0.9rem;
        line-height: 1.45;
        padding: 8px 10px;
    }

    .service-card-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 10px;
    }

    .service-card-insight {
        font-size: 0.68rem;
        padding: 4px 8px;
        margin-bottom: 10px;
    }

    .service-card-highlights {
        gap: 6px;
        margin-bottom: 10px;
    }

    .service-card-highlight {
        font-size: 0.66rem;
        padding: 4px 8px;
    }

    .service-tech-item {
        font-size: 0.72rem;
        padding: 5px 8px;
        gap: 6px;
    }

    .service-tech-icon {
        width: 16px;
        height: 16px;
    }

    .service-tech-legend {
        gap: 6px;
    }

    .service-tech-legend-item {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    .service-modal-panel {
        box-shadow: 3px 3px 0 #111827, 0 10px 22px rgba(17, 24, 39, 0.2);
        max-height: 90vh;
    }

    .service-modal-actions {
        position: sticky;
        bottom: 0;
        z-index: 8;
        padding-top: 10px;
        padding-bottom: 8px;
        margin-top: 2px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 1) 100%);
    }

    .service-modal-description {
        font-size: 0.92rem;
        padding: 10px 11px;
        line-height: 1.55;
    }

    .service-modal-section {
        padding: 10px;
    }

    .service-modal-feature-item {
        font-size: 0.82rem;
        padding: 7px 8px;
    }

    .service-modal-tech-chip {
        font-size: 0.74rem;
        padding: 5px 8px;
    }

    .service-modal-tech-icon {
        width: 15px;
        height: 15px;
    }

    .tech-stack-wrap {
        padding: 10px;
    }

    .tech-tab-btn {
        font-size: 0.75rem;
        padding: 7px 10px;
    }

    .tech-tab-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.66rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tech-stack-item {
        min-height: 50px;
        padding: 8px;
        gap: 8px;
        box-shadow: none;
    }

    .tech-stack-item i,
    .tech-stack-item img,
    .tech-stack-custom {
        width: 27px;
        height: 27px;
        font-size: 1.5rem;
    }

    .tech-stack-item span {
        font-size: 0.78rem;
    }

    .tech-stack-actions {
        margin-top: 8px;
    }

    .tech-stack-cta {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .success-case-content {
        padding: 14px;
    }

    .success-showcase-controls {
        margin-bottom: 10px;
    }

    .success-showcase-btn {
        width: 34px;
        height: 34px;
    }

    .success-case-desc {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .success-case-tech {
        font-size: 0.68rem;
        padding: 3px 7px;
    }

    .about-highlight-card {
        padding: 14px;
    }

    .about-lead,
    .about-sublead {
        font-size: 0.9rem;
    }

    .about-pillar-card {
        padding: 11px 11px 10px;
    }

    .about-pillar-title {
        font-size: 0.86rem;
    }

    .about-pillar-text {
        font-size: 0.76rem;
    }

    .about-stat-number {
        font-size: 1.4rem;
    }

    .about-stat-label {
        font-size: 0.72rem;
    }

    .contact-form-card {
        padding: 14px;
    }

    .contact-field {
        min-height: 42px;
        font-size: 0.92rem;
    }

    .contact-country-field {
        min-width: 98px;
    }

    .contact-privacy-row {
        padding: 9px 10px;
    }

    .contact-submit-btn {
        min-height: 44px;
        font-size: 0.92rem;
    }

    .contact-info-card {
        padding: 14px 12px;
    }

    .site-footer {
        padding-top: 2.8rem;
        padding-bottom: 2.2rem;
        transform: none;
        opacity: 1;
    }

    .site-footer-social {
        width: 2.15rem;
        height: 2.15rem;
    }

    .tech-stack-top-badge {
        top: 4px;
        right: 4px;
        font-size: 0.56rem !important;
        padding: 2px 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-carousel-card,
    .service-tech-item,
    .service-modal-section,
    .service-modal-tech-chip,
    .success-showcase-slide,
    .success-case-card,
    .about-pillar-card,
    .about-cta,
    .tech-tab-btn,
    .tech-stack-item,
    .tech-stack-cta {
        transition: none !important;
        animation: none !important;
    }

    .success-showcase-btn.is-press-feedback::after,
    .success-showcase-dot.is-press-feedback::after,
    .services-carousel-btn.is-press-feedback::after,
    .service-modal-pressable.is-press-feedback::after,
    .contact-submit-btn.is-press-feedback::after {
        animation: none !important;
        opacity: 0;
    }

    .site-footer {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Print Styles */
@media print {
    .tech-card,
    .btn-tech {
        box-shadow: none !important;
        border: 2px solid #000000 !important;
    }
}

/* ============================================
   END OF RETRO GAMING TECH STYLES
   ============================================ */
