/**
 * Web Tasarım Yazılım - Premium Modern Design
 * Advanced Animations, Glassmorphism, Particles
 * Fully Responsive & Performance Optimized
 */

/* ====================================
   CRITICAL RESET - NO TOP GAP
   ==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

/* ====================================
   CSS VARIABLES & ROOT
   ==================================== */
:root {
    /* Primary Colors */
    --primary: #6C35B2;
    --primary-light: #8B5CF6;
    --primary-dark: #5B21B6;
    --primary-glow: rgba(108, 53, 178, 0.4);
    --color-primary: #6C35B2; /* Alias for compatibility */
    --color-secondary: #22D3EE; /* Alias for compatibility */
    
    /* Secondary Colors */
    --secondary: #177299;
    --secondary-light: #22D3EE;
    --secondary-dark: #0E7490;
    
    /* Accent Colors */
    --accent-pink: #EC4899;
    --accent-orange: #F97316;
    --accent-green: #22C55E;
    --accent-yellow: #FBBF24;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C35B2 0%, #8B5CF6 50%, #22D3EE 100%);
    --gradient-hero: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 50%, #0F0F23 100%);
    --gradient-card: linear-gradient(135deg, rgba(108, 53, 178, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(108, 53, 178, 0.3) 0%, transparent 70%);
    --gradient-text: linear-gradient(135deg, #fff 0%, #8B5CF6 50%, #22D3EE 100%);
    
    /* Dark Theme Colors */
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 35, 0.8);
    --bg-card-hover: rgba(25, 25, 55, 0.9);
    --bg-glass: rgba(15, 15, 35, 0.6);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(108, 53, 178, 0.5);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 53, 178, 0.3);
    --shadow-glow-strong: 0 0 80px rgba(108, 53, 178, 0.5);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ====================================
   RESET & BASE
   ==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Page transition */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Page load animation */
body:not(.loaded) {
    overflow: hidden;
}

body.loaded .main-content {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch action optimization for mobile */
.btn, 
.mobile-menu-toggle, 
.mobile-menu-close,
.nav-item a,
.service-card,
.whatsapp-float,
.back-to-top {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--text-primary);
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    font-size: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================
   PRELOADER - MATRIX EFFECT
   ==================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #030308 0%, #0a0a1a 50%, #050510 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-img {
    width: 340px;
    height: auto;
    max-width: 80vw;
    filter: drop-shadow(0 0 40px rgba(108, 53, 178, 0.5)) drop-shadow(0 0 80px rgba(34, 211, 238, 0.25));
    animation: logo-entrance 1.2s ease-out forwards, logo-float 5s ease-in-out infinite 1.2s;
    opacity: 0;
    transform: scale(0.8);
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 30px rgba(108, 53, 178, 0.6)) drop-shadow(0 0 60px rgba(34, 211, 238, 0.3));
    }
}

@keyframes logo-float {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 30px rgba(108, 53, 178, 0.6)) drop-shadow(0 0 60px rgba(34, 211, 238, 0.3));
    }
    50% { 
        transform: translateY(-15px) scale(1.02);
        filter: drop-shadow(0 0 50px rgba(108, 53, 178, 0.8)) drop-shadow(0 0 80px rgba(34, 211, 238, 0.5));
    }
}

.preloader-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    max-width: 100vw;
    max-height: 100vw;
    background: radial-gradient(circle, rgba(108, 53, 178, 0.3) 0%, rgba(34, 211, 238, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.preloader-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: text-fade-in 1s ease-out 0.5s forwards, text-glow 2s ease-in-out infinite 1.5s;
    opacity: 0;
}

@keyframes text-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 8px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 4px;
    }
}

@keyframes text-glow {
    0%, 100% {
        color: rgba(255, 255, 255, 0.7);
        text-shadow: 0 0 10px rgba(108, 53, 178, 0.3);
    }
    50% {
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 0 20px rgba(108, 53, 178, 0.6), 0 0 40px rgba(34, 211, 238, 0.3);
    }
}

.preloader-progress {
    width: 200px;
    max-width: 60vw;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    animation: fade-in 0.5s ease-out 0.8s forwards;
    opacity: 0;
}

.preloader-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary-light), var(--primary));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progress-fill 1.5s ease-out 1s forwards, gradient-shift 1s linear infinite;
}

@keyframes progress-fill {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Responsive Preloader */
@media (max-width: 768px) {
    .preloader-logo-img {
        width: 280px;
    }
    
    .preloader-glow {
        width: 260px;
        height: 260px;
    }
    
    .preloader-text {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }
    
    .preloader-progress {
        width: 160px;
    }
    
    .preloader-content {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .preloader-logo-img {
        width: 240px;
    }
    
    .preloader-glow {
        width: 220px;
        height: 220px;
    }
    
    .preloader-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .preloader-progress {
        width: 140px;
    }
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite, logo-float 3s ease-in-out infinite;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    margin: 30px auto 0;
    position: relative;
}

.preloader-spinner::before,
.preloader-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.preloader-spinner::before {
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: spin 1.2s linear infinite;
}

.preloader-spinner::after {
    border: 3px solid transparent;
    border-bottom-color: var(--accent-cyan);
    border-left-color: var(--accent-cyan);
    animation: spin 1.2s linear infinite reverse;
    transform: scale(0.8);
}

.preloader-text {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px var(--primary-glow));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 40px var(--primary-glow));
        transform: scale(1.02);
    }
}

/* ====================================
   HEADER - PREMIUM CURVED DESIGN
   ==================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
}

/* Top Bar - Contact Info - Desktop Only */
.header-top-bar {
    background: linear-gradient(90deg, 
        rgba(108, 53, 178, 0.1) 0%,
        rgba(15, 18, 30, 0.9) 30%,
        rgba(15, 18, 30, 0.9) 70%,
        rgba(34, 211, 238, 0.1) 100%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
    margin: 0;
    padding: 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    margin: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.top-bar-item i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.top-bar-item:hover {
    color: var(--text-primary);
}

.top-bar-item.location {
    cursor: default;
}

/* Scrolled - hide top bar */
.main-header.scrolled .header-top-bar {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

/* Main Header Bar */
.header-main {
    position: relative;
    background: linear-gradient(180deg, 
        rgba(20, 20, 30, 0.7) 0%, 
        rgba(15, 15, 25, 0.8) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

/* Curved bottom with notch */
.header-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -28px;
    background: inherit;
    -webkit-backdrop-filter: inherit;
    backdrop-filter: inherit;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 28px), 
        calc(50% + 110px) calc(100% - 28px),
        calc(50% + 85px) 100%,
        calc(50% - 85px) 100%,
        calc(50% - 110px) calc(100% - 28px),
        0 calc(100% - 28px)
    );
    z-index: -1;
    transition: all 0.4s ease;
}

/* Gradient border line */
.header-main::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        #6C35B2 0%, 
        #8B5CF6 20%, 
        transparent 40%,
        transparent 60%,
        #22D3EE 80%, 
        #06B6D4 100%);
    clip-path: polygon(
        0 0, 
        calc(50% - 110px) 0,
        calc(50% - 110px) 100%,
        0 100%,
        0 0,
        calc(50% + 110px) 0,
        100% 0,
        100% 100%,
        calc(50% + 110px) 100%
    );
    animation: borderGlow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Logo Notch */
.logo-notch {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 115px;
    background: linear-gradient(180deg, 
        rgba(20, 20, 35, 0.85) 0%, 
        rgba(15, 18, 30, 0.95) 100%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    backdrop-filter: blur(25px) saturate(150%);
    border-radius: 0 0 85px 85px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    transition: all 0.4s ease;
}

/* Brand Text Above Logo */
.brand-text-top {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: lowercase;
    z-index: 101;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(20, 20, 40, 0.9));
    border-radius: 25px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.25), 
                inset 0 1px 0 rgba(255,255,255,0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.brand-text-top .brand-web,
.brand-text-top .brand-tasarim,
.brand-text-top .brand-yazilim {
    color: #FFFFFF;
}

.brand-text-top .brand-dot {
    color: #22D3EE;
    font-weight: 700;
}

/* Scrolled state for brand text */
.main-header.scrolled .brand-text-top {
    top: -30px;
    font-size: 12px;
    padding: 6px 14px;
    letter-spacing: 1.5px;
}

/* Mobile Brand Text */
@media (max-width: 991px) {
    .brand-text-top {
        top: -34px;
        font-size: 12px;
        padding: 6px 14px;
        letter-spacing: 1.5px;
        border-radius: 20px;
    }
    
    .main-header.scrolled .brand-text-top {
        top: -28px;
        font-size: 10px;
        padding: 5px 12px;
    }
}

@media (max-width: 576px) {
    .brand-text-top {
        top: -32px;
        font-size: 10px;
        padding: 5px 12px;
        letter-spacing: 1px;
    }
    
    .main-header.scrolled .brand-text-top {
        top: -26px;
        font-size: 9px;
        padding: 4px 10px;
    }
}

/* Notch gradient border */
.logo-notch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(180deg, 
        rgba(108, 53, 178, 0.6) 0%,
        #8B5CF6 20%, 
        #22D3EE 50%, 
        #8B5CF6 80%,
        rgba(108, 53, 178, 0.6) 100%);
    border-radius: 0 0 87px 87px;
    z-index: -1;
    opacity: 0.9;
    animation: notchGlow 3s ease-in-out infinite;
}

@keyframes notchGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Inner fill */
.logo-notch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(15, 18, 30, 0.98) 0%, 
        rgba(12, 15, 25, 1) 100%);
    border-radius: 0 0 85px 85px;
    z-index: -1;
}

/* Logo inside notch */
.logo-notch .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.logo-notch .logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.6));
}

.logo-notch .logo:hover {
    transform: scale(1.08);
}

.logo-notch .logo:hover img {
    filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 60px rgba(34, 211, 238, 0.6));
}

/* Scrolled state */
.main-header.scrolled .header-main::before {
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 15px), 
        calc(50% + 70px) calc(100% - 15px),
        calc(50% + 50px) 100%,
        calc(50% - 50px) 100%,
        calc(50% - 70px) calc(100% - 15px),
        0 calc(100% - 15px)
    );
    bottom: -15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.main-header.scrolled .header-main::after {
    bottom: -17px;
    clip-path: polygon(
        0 0, 
        calc(50% - 70px) 0,
        calc(50% - 70px) 100%,
        0 100%,
        0 0,
        calc(50% + 70px) 0,
        100% 0,
        100% 100%,
        calc(50% + 70px) 100%
    );
}

.main-header.scrolled .logo-notch {
    bottom: -55px;
    width: 120px;
    height: 80px;
    border-radius: 0 0 60px 60px;
}

.main-header.scrolled .logo-notch::before {
    border-radius: 0 0 62px 62px;
}

.main-header.scrolled .logo-notch::after {
    border-radius: 0 0 60px 60px;
}

.main-header.scrolled .logo-notch .logo img {
    height: 75px;
    width: 75px;
}

/* Header Inner */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    min-height: 70px;
}

.main-header.scrolled .header-inner {
    padding: 12px 0;
    min-height: 60px;
}

/* Navigation */
.main-nav.desktop-nav {
    flex: 1;
}

.main-nav.nav-left {
    display: flex;
    justify-content: flex-start;
}

.main-nav.nav-right {
    display: flex;
    justify-content: flex-end;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.nav-item > a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.nav-item > a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* Underline effect */
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item > a:hover::after {
    width: 60%;
}

/* CTA Button in Nav - Clean & Readable */
.nav-item.nav-cta {
    margin-left: 8px;
}

.btn-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(108, 53, 178, 0.22), 0 3px 10px rgba(34, 211, 238, 0.18);
    text-transform: none;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(108, 53, 178, 0.28), 0 8px 22px rgba(34, 211, 238, 0.22);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
}

.btn-nav-cta i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #fff;
}

.btn-nav-cta:hover i {
    transform: translateX(3px);
}

/* Dropdown Menu */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    padding: 10px;
    background: rgba(10, 10, 15, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.dropdown-menu a i {
    width: 18px;
    color: var(--primary-light);
    font-size: 0.8rem;
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.15);
    padding-left: 18px;
}

/* Mobile Logo - hidden on desktop */
.mobile-logo {
    display: none;
}

/* Mobile Header Brand - hidden on desktop */
.mobile-header-brand {
    display: none;
}

/* Mobile Terminal - hidden on desktop */
.mobile-terminal {
    display: none;
}

/* Mobile Actions - hidden on desktop */
.mobile-actions {
    display: none;
}

/* ====================================
   HEADER RESPONSIVE
   ==================================== */
@media (max-width: 1200px) {
    .nav-item > a {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .top-bar-item span {
        display: none;
    }
    
    .top-bar-item i {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .header-top-bar {
        display: none;
    }
    
    .logo-notch .logo img {
        height: 75px;
        width: 75px;
    }
    
    .main-header.scrolled .logo-notch .logo img {
        height: 58px;
        width: 58px;
    }
}

@media (max-width: 768px) {
    /* Mobile - Full width, no top gap */
    .main-header {
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .header-top-bar {
        display: none !important;
    }
    
    /* Mobile Header - Frosted Glass */
    .header-main {
        background: linear-gradient(180deg, 
            rgba(12, 14, 24, 0.95) 0%, 
            rgba(10, 12, 20, 0.98) 100%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        backdrop-filter: blur(25px) saturate(180%);
        border-bottom: 2px solid;
        border-image: linear-gradient(90deg, #6C35B2, #8B5CF6, #22D3EE, #8B5CF6, #6C35B2) 1;
    }
    
    /* Hide desktop elements */
    .main-nav.desktop-nav {
        display: none;
    }
    
    .logo-notch {
        display: none;
    }
    
    .brand-text-top {
        display: none;
    }
    
    .header-main::before {
        display: none;
    }
    
    .header-main::after {
        display: none;
    }
    
    /* Header Inner for Mobile - Horizontal Layout */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        min-height: 0;
    }
    
    /* Mobile Logo - Left Side */
    .mobile-logo {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(20, 20, 40, 0.95));
        border-radius: 12px;
        border: 1px solid rgba(139, 92, 246, 0.4);
        flex-shrink: 0;
    }
    
    .mobile-logo img {
        height: 36px;
        width: 36px;
        filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
    }
    
    /* Mobile Terminal - Visible on mobile */
    .mobile-terminal {
        display: block !important;
    }
    
    /* Mobile Site Name - Matrix Terminal Style */
    .mobile-site-name {
        display: none !important;
    }
    
    .mobile-terminal {
        position: relative;
        width: 200px;
        height: 36px;
        margin-left: 8px;
        margin-right: auto;
        background: linear-gradient(135deg, rgba(10, 10, 20, 0.95), rgba(15, 15, 30, 0.9));
        border-radius: 8px;
        border: 1px solid rgba(139, 92, 246, 0.4);
        overflow: hidden;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    }
    
    /* Matrix Background Effect */
    .terminal-scanline {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            linear-gradient(0deg, transparent 50%, rgba(139, 92, 246, 0.03) 50%),
            linear-gradient(90deg, 
                rgba(139, 92, 246, 0.06), 
                rgba(34, 211, 238, 0.04), 
                rgba(139, 92, 246, 0.06));
        background-size: 100% 4px, 100% 100%;
        animation: matrixRain 8s linear infinite;
        pointer-events: none;
        opacity: 0.8;
    }
    
    .terminal-scanline::before {
        content: '010110100101';
        position: absolute;
        top: 50%;
        left: -100%;
        transform: translateY(-50%);
        font-family: monospace;
        font-size: 10px;
        color: rgba(139, 92, 246, 0.15);
        letter-spacing: 2px;
        white-space: nowrap;
        animation: matrixScroll 12s linear infinite;
    }
    
    .terminal-scanline::after {
        content: '110010110011';
        position: absolute;
        top: 50%;
        right: -100%;
        transform: translateY(-50%);
        font-family: monospace;
        font-size: 10px;
        color: rgba(34, 211, 238, 0.12);
        letter-spacing: 2px;
        white-space: nowrap;
        animation: matrixScroll 15s linear infinite reverse;
    }
    
    @keyframes matrixRain {
        0% { background-position: 0 0, 0 0; }
        100% { background-position: 0 100px, 0 0; }
    }
    
    @keyframes matrixScroll {
        0% { transform: translateY(-50%) translateX(0); }
        100% { transform: translateY(-50%) translateX(300px); }
    }
    
    /* Terminal Text */
    .terminal-text {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-family: 'Orbitron', sans-serif;
        font-size: 12px;
        font-weight: 600;
    }
    
    /* Typewriter Effect - White Text - Types once then stays */
    .typewriter {
        display: inline-block;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
        letter-spacing: 0.5px;
        white-space: nowrap;
        overflow: hidden;
        border-right: 2px solid rgba(255, 255, 255, 0.9);
        animation: typingOnce 2.5s steps(22) forwards, cursorBlink 0.7s step-end infinite;
    }
    
    @keyframes typingOnce {
        0% { width: 0; }
        100% { width: 165px; }
    }
    
    @keyframes cursorBlink {
        0%, 50% { border-color: rgba(255, 255, 255, 0.9); }
        51%, 100% { border-color: transparent; }
    }
    
    /* Hide mobile-header-brand */
    .mobile-header-brand {
        display: none !important;
    }
    
    /* Mobile Actions - Show */
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 2;
    }
    
    /* Phone Button - Premium Style */
    .mobile-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, #8B5CF6 0%, #6C35B2 100%);
        border-radius: 12px;
        color: #fff;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        border: 1px solid rgba(139, 92, 246, 0.3);
    }
    
    .mobile-whatsapp:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    }
    
    /* Hamburger Menu - Premium */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(139, 92, 246, 0.1);
        border: 1px solid rgba(139, 92, 246, 0.25);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(139, 92, 246, 0.2);
        border-color: rgba(139, 92, 246, 0.4);
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 20px;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active .hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Scrolled */
    .main-header.scrolled .header-main {
        background: linear-gradient(180deg, 
            rgba(15, 15, 25, 0.95) 0%, 
            rgba(10, 10, 20, 0.98) 100%);
    }
    
    .main-header.scrolled .mobile-logo-wrapper img {
        height: 54px;
        width: 54px;
    }
    
    .main-header.scrolled .mobile-brand-text {
        font-size: 9px;
        padding: 3px 10px;
        margin-bottom: 4px;
    }
    
    .main-header.scrolled .mobile-logo-wrapper {
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    
    .mobile-logo img {
        height: 30px;
        width: 30px;
    }
    
    .mobile-terminal {
        width: 165px;
        height: 32px;
        margin-left: 6px;
    }
    
    .terminal-text {
        font-size: 10px;
    }
    
    .typewriter {
        letter-spacing: 0;
    }
    
    @keyframes typingOnce {
        0% { width: 0; }
        100% { width: 135px; }
    }
    
    .mobile-whatsapp,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .mobile-whatsapp {
        font-size: 1rem;
    }
    
    .mobile-actions {
        gap: 6px;
    }
}

/* ====================================
   BUTTONS - PREMIUM
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ====================================
   HERO SECTION - SPACE & MATRIX THEME
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
    background: #020617;
}

/* Space Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #0f172a 0%, #020617 100%);
}

/* Animated Stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 370px 50px, #fff, transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255,255,255,0.8), transparent);
    background-repeat: repeat;
    background-size: 500px 300px;
    animation: stars-move 100s linear infinite;
    opacity: 0.6;
}

.stars-2 {
    background-image: 
        radial-gradient(1px 1px at 50px 100px, #fff, transparent),
        radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 200px 150px, #fff, transparent),
        radial-gradient(2px 2px at 280px 90px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 350px 200px, #fff, transparent),
        radial-gradient(2px 2px at 420px 130px, rgba(255,255,255,0.7), transparent);
    background-size: 450px 350px;
    animation: stars-move 80s linear infinite reverse;
    opacity: 0.4;
}

.stars-3 {
    background-image: 
        radial-gradient(1px 1px at 80px 60px, #3B82F6, transparent),
        radial-gradient(1px 1px at 180px 140px, #60A5FA, transparent),
        radial-gradient(1px 1px at 320px 100px, #3B82F6, transparent),
        radial-gradient(1px 1px at 400px 200px, #818CF8, transparent);
    background-size: 500px 300px;
    animation: stars-move 120s linear infinite;
    opacity: 0.4;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

/* Matrix Rain Canvas */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.12;
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.9) 100%);
    pointer-events: none;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3B82F6;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px #3B82F6; }
    50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 20px #3B82F6; }
}

.hero-badge span:last-child {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(96, 165, 250, 0.9);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 480px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #60A5FA;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    font-family: 'Inter', sans-serif;
}

.hero-stat-value::after {
    content: '+';
    font-size: 1.2rem;
    color: #3B82F6;
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(59, 130, 246, 0.25);
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.2);
    color: #fff;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #25D366;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
}

/* Trust Section */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-logos img {
    height: 20px;
    opacity: 0.3;
    filter: grayscale(100%) brightness(2);
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    opacity: 0.7;
    filter: grayscale(0%) brightness(1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 550px;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(59, 130, 246, 0.1),
        0 0 60px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(59, 130, 246, 0.1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(96, 165, 250, 0.6);
    background: rgba(59, 130, 246, 0.08);
    padding: 6px 16px;
    border-radius: 6px;
    margin-right: 60px;
    font-family: 'Inter', sans-serif;
}

.mockup-content {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.mockup-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.9);
    opacity: 0.9;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.05);
    animation: float-card 6s ease-in-out infinite;
}

.card-analytics {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.card-seo {
    top: 55%;
    right: -50px;
    animation-delay: -2s;
}

.card-speed {
    bottom: 10%;
    left: -40px;
    animation-delay: -4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
}

.card-icon.green {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
}

.card-icon.blue {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #60A5FA;
    font-family: 'Inter', sans-serif;
}

/* Tech Stack */
.tech-stack {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
}

.tech-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    font-size: 1rem;
    color: rgba(96, 165, 250, 0.6);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #3B82F6, transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

.hero-scroll span {
    font-size: 0.7rem;
    color: rgba(96, 165, 250, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: rgba(108, 53, 178, 0.4);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    background: rgba(34, 211, 238, 0.3);
    top: 60%;
    left: 5%;
    animation-delay: -3s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.5);
    top: 30%;
    right: 15%;
    animation-delay: -5s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    background: rgba(34, 211, 238, 0.4);
    top: 70%;
    right: 8%;
    animation-delay: -7s;
}

.particle-5 {
    width: 5px;
    height: 5px;
    background: rgba(108, 53, 178, 0.6);
    top: 45%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.9;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(25px, 10px) scale(1.1);
        opacity: 0.8;
    }
}

/* Tech Marquee Banner */
.tech-marquee {
    background: rgba(108, 53, 178, 0.08);
    border-top: 1px solid rgba(108, 53, 178, 0.2);
    border-bottom: 1px solid rgba(108, 53, 178, 0.2);
    padding: 16px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 50px;
    padding-right: 50px;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-content span i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ====================================
   HERO RESPONSIVE - MOBILE
   ==================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .visual-container {
        max-width: 450px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 110px 0 60px;
        min-height: 0;
    }
    
    .matrix-rain {
        opacity: 0.06;
    }
    
    .stars, .stars-2, .stars-3 {
        opacity: 0.3;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        display: flex;
        justify-content: center;
    }
    
    .hero-badge {
        margin-bottom: 20px;
        padding: 8px 16px;
    }
    
    .hero-badge span:last-child {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        max-width: 100%;
    }
    
    /* Stats - Horizontal Compact */
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 0;
        padding: 0;
        margin-bottom: 28px;
        border: none;
        background: transparent;
    }
    
    .hero-stat {
        flex: 1;
        padding: 16px 8px;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(59, 130, 246, 0.15);
    }
    
    .hero-stat:first-child {
        border-radius: 12px 0 0 12px;
        border-right: none;
    }
    
    .hero-stat:nth-child(3) {
        border-left: none;
        border-right: none;
    }
    
    .hero-stat:last-child {
        border-radius: 0 12px 12px 0;
        border-left: none;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    .hero-stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    /* Buttons */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
        font-size: 0.95rem;
    }
    
    /* Trust */
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .trust-logos img {
        height: 18px;
    }
    
    /* Visual - Dashboard Mockup Mobile */
    .visual-container {
        max-width: 100%;
        margin: 0 -8px;
    }
    
    .dashboard-mockup {
        border-radius: 12px;
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(59, 130, 246, 0.1);
    }
    
    .mockup-header {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .mockup-dots span {
        width: 8px;
        height: 8px;
    }
    
    .mockup-url {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-right: 40px;
    }
    
    .mockup-content {
        aspect-ratio: 16/9;
    }
    
    .mockup-content img {
        filter: saturate(1) brightness(0.95);
        opacity: 1;
    }
    
    /* Floating Cards - Simplified for Mobile */
    .floating-card {
        display: none;
    }
    
    /* Mobile Metric Cards - Below Mockup */
    .tech-stack {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 16px;
        padding: 10px 16px;
        justify-content: center;
        gap: 8px;
    }
    
    .tech-item {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .trust-logos img {
        height: 16px;
    }
    
    .visual-container {
        max-width: 100%;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 1s backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    transition: var(--transition-fast);
}

.scroll-mouse:hover {
    border-color: var(--primary);
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scroll-bounce 2s ease infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(108, 53, 178, 0.1);
    border: 1px solid rgba(108, 53, 178, 0.2);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====================================
   SECTIONS - COMMON
   ==================================== */
section {
    position: relative;
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   SERVICES SECTION - CARDS
   ==================================== */
.services-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 53, 178, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* OLD Services Grid - Hidden */
.services-grid {
    display: none;
}

/* ====================================
   LAPTOP SERVICES SHOWCASE
   ==================================== */
.laptop-services-wrapper {
    position: relative;
    margin: 0 -100px;
    padding: 20px 0 40px;
    overflow: hidden;
}

.laptop-slider-row {
    overflow: hidden;
    margin-bottom: 30px;
}

.laptop-slider-row:last-of-type {
    margin-bottom: 0;
}

.laptop-slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.laptop-slider-track.track-left {
    animation: laptopScrollLeft 45s linear infinite;
}

.laptop-slider-track.track-right {
    animation: laptopScrollRight 45s linear infinite;
}

@keyframes laptopScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes laptopScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.laptop-slider-track:hover {
    animation-play-state: paused;
}

/* Laptop Item */
.laptop-item {
    flex-shrink: 0;
    text-decoration: none;
    display: block;
    transition: transform 0.4s ease;
}

.laptop-item:hover {
    transform: translateY(-10px);
}

/* Laptop Frame */
.laptop-frame {
    position: relative;
    width: 280px;
}

.laptop-screen {
    position: relative;
    background: #1a1a2e;
    border-radius: 12px 12px 0 0;
    border: 3px solid #2d2d44;
    border-bottom: none;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.laptop-screen::after {
    content: '● ● ●';
    position: absolute;
    top: 5px;
    left: 12px;
    font-size: 8px;
    letter-spacing: 4px;
    color: #4a4a6a;
    z-index: 3;
}

.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.laptop-item:hover .laptop-screen img {
    transform: scale(1.1);
}

.laptop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 30, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.laptop-item:hover .laptop-overlay {
    opacity: 1;
}

.laptop-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.laptop-item:hover .laptop-icon {
    transform: translateY(0);
}

.laptop-base {
    height: 14px;
    background: linear-gradient(180deg, #3d3d5c 0%, #2d2d44 50%, #1a1a2e 100%);
    border-radius: 0 0 4px 4px;
    position: relative;
}

.laptop-notch {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(180deg, #4a4a6a 0%, #3d3d5c 100%);
    border-radius: 0 0 10px 10px;
}

/* Laptop Info */
.laptop-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px 0;
}

.laptop-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.laptop-item:hover .laptop-info h4 {
    color: var(--primary-light);
}

.laptop-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.laptop-item:hover .laptop-info span {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-light);
}

/* Laptop Slider Edges */
.laptop-edge {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.laptop-edge-left {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.laptop-edge-right {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

/* Mobile Services Grid */
.mobile-services-grid {
    display: none;
}

/* OLD Service Card Styles - Keep for other pages */
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
}

/* Service Image */
.service-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 30, 0.8) 100%);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Service Content */
.service-content {
    padding: 24px;
    position: relative;
}

/* Hover Glow Effect - Simplified */
.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 0;
}

/* Shimmer Effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    margin-top: -50px;
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.service-card:hover .service-title {
    color: var(--primary-light);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.service-link i {
    transition: var(--transition-fast);
    font-size: 0.8rem;
}

.service-card:hover .service-link {
    gap: 12px;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ====================================
   AI SECTION - PIPELINE
   ==================================== */
.ai-section {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

/* AI Visual Container */
.ai-visual-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ai-visual-left,
.ai-visual-right {
    position: absolute;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 50%;
    opacity: 0.15;
}

.ai-visual-left {
    top: 10%;
    left: -100px;
}

.ai-visual-right {
    bottom: 10%;
    right: -100px;
}

.ai-visual-left img,
.ai-visual-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.ai-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236C35B2' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ai-pipeline {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.ai-pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.pipeline-header {
    margin-bottom: 20px;
}

.pipeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
}

.pipeline-badge i {
    font-size: 8px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.pipeline-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pipeline-step {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    position: relative;
}

.pipeline-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--primary);
    opacity: 0.3;
    transform: translateY(-50%);
}

.pipeline-step:last-child::after {
    display: none;
}

.pipeline-step:hover {
    background: rgba(108, 53, 178, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.pipeline-step h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pipeline-step h4 i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.pipeline-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* AI Stats */
.ai-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.stat-item:hover::before {
    opacity: 0.05;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ====================================
   TESTIMONIALS SECTION
   ==================================== */
.testimonials-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #FBBF24;
    font-size: 0.9rem;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition-normal);
    overflow: hidden;
    border: 3px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ====================================
   PORTFOLIO SECTION - LOGO SLIDER
   ==================================== */
.portfolio-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(108, 53, 178, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Logo Slider Wrapper */
.logo-slider-wrapper {
    position: relative;
    margin: 0 -20px;
    padding: 20px 0;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 30px;
    animation: logoScroll 40s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Logo Slide Item */
.logo-slide {
    flex-shrink: 0;
    text-decoration: none;
}

.logo-card {
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 53, 178, 0.1), rgba(34, 211, 238, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(108, 53, 178, 0.2);
}

.logo-card:hover::before {
    opacity: 1;
}

.logo-card img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s ease;
}

.logo-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.logo-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.logo-card:hover .logo-info {
    opacity: 1;
    transform: translateY(0);
}

.logo-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.logo-action {
    color: var(--primary-light);
    font-size: 0.7rem;
}

/* Slider Gradient Edges */
.slider-edge {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-edge-left {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.slider-edge-right {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

/* Mobile References Grid (hidden on desktop) */
.mobile-refs-grid {
    display: none;
}

/* Mobile Logo Slider (hidden on desktop) */
.mobile-logo-slider {
    display: none;
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 40px;
}

.portfolio-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.portfolio-cta .btn-outline:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(108, 53, 178, 0.1);
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(110, 0, 255, 0.4) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-buttons .btn-primary {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 10px 40px rgba(110, 0, 255, 0.4);
    transition: all 0.4s ease;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(110, 0, 255, 0.5);
}

.cta-buttons .btn-secondary {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: all 0.4s ease;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.cta-feature i {
    color: #22c55e;
    font-size: 1.1rem;
}

/* ====================================
   CONTACT SECTION
   ==================================== */
.contact-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    filter: grayscale(50%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translateY(-50%);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding-right: 40px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info .section-title::after {
    left: 0;
    transform: none;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--primary-light);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ====================================
   FOOTER
   ==================================== */
.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(108, 53, 178, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

@media (max-width: 768px) {
    .footer-logo img {
        height: 44px;
    }
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 53, 178, 0.2);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    flex-shrink: 0;
}

.footer-contact-list a,
.footer-contact-list span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-list a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.powered-by {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ====================================
   FLOATING ELEMENTS
   ==================================== */
/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ====================================
   MOBILE MENU - Enhanced
   ==================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overscroll-behavior: contain;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Hide main header when mobile menu is open to prevent overlap */
body.menu-open .main-header {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d15 100%);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    overscroll-behavior: contain;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(5, 5, 20, 0.98) 0%, rgba(13, 13, 21, 1) 100%);
    flex-shrink: 0;
    position: relative;
    z-index: 20;
}

.mobile-menu-header .logo {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

.mobile-menu-header .logo img {
    height: 40px;
    max-width: 180px;
    filter: drop-shadow(0 0 15px rgba(108, 53, 178, 0.3));
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    min-width: 44px; /* Touch target minimum */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    overscroll-behavior: contain;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-item > a,
.mobile-nav-item > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    min-height: 52px; /* Touch target minimum */
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item > a:hover,
.mobile-nav-item > a:active,
.mobile-nav-item > .submenu-toggle:hover,
.mobile-nav-item > .submenu-toggle:active {
    color: var(--text-primary);
    background: rgba(108, 53, 178, 0.15);
}

.mobile-nav-item > .submenu-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.mobile-nav-item.active > .submenu-toggle i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 12px;
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.active .mobile-submenu {
    max-height: 600px;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    min-height: 48px;
    font-size: 0.925rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.mobile-submenu a:hover,
.mobile-submenu a:active {
    color: var(--primary-light);
    background: rgba(108, 53, 178, 0.1);
    border-left-color: var(--primary);
    padding-left: 22px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-footer .btn {
    min-height: 50px;
    font-size: 0.95rem;
}

.mobile-menu-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.mobile-menu-footer .social-links a {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-footer .social-links a:hover,
.mobile-menu-footer .social-links a:active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    transform: scale(0.95);
}

/* ====================================
   ICON FONTS (SVG Icons as Data URI)
   ==================================== */
[class^="icon-"]::before,
[class*=" icon-"]::before {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
}

.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-location::before { content: '📍'; }
.icon-whatsapp::before { content: '💬'; }
.icon-linkedin::before { content: '💼'; }
.icon-instagram::before { content: '📷'; }
.icon-facebook::before { content: '👤'; }
.icon-youtube::before { content: '▶️'; }
.icon-close::before { content: '✕'; }
.icon-arrow-up::before { content: '↑'; }
.icon-chevron-down::before { content: '▼'; }
.icon-web::before { content: '🌐'; }
.icon-seo::before { content: '🔍'; }
.icon-ai::before { content: '🤖'; }
.icon-ads::before { content: '📢'; }
.icon-video::before { content: '🎬'; }
.icon-maps::before { content: '🗺️'; }
.icon-api::before { content: '⚙️'; }
.icon-influencer::before { content: '⭐'; }
.icon-patent::before { content: '📜'; }
.icon-design::before { content: '🎨'; }

/* ====================================
   ANIMATIONS - ADVANCED
   ==================================== */
/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glow Pulse */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

/* Typing Effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Gradient Text Animation */
@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--accent-pink), var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 6s ease infinite;
}

/* Bounce Animation */
@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Slide Up Fade */
@keyframes slide-up-fade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale Rotate Animation */
@keyframes scale-rotate {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Ripple Effect */
@keyframes ripple {
    0% { transform: scale(0); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Border Animation */
@keyframes border-dance {
    0% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%; }
    100% { background-position: 100% 0%, 100% 100%, 0% 100%, 0% 0%; }
}

.border-animation {
    background: 
        linear-gradient(90deg, var(--primary), var(--accent-cyan)) 0% 0% / 50% 2px no-repeat,
        linear-gradient(180deg, var(--primary), var(--accent-pink)) 100% 0% / 2px 50% no-repeat,
        linear-gradient(270deg, var(--accent-pink), var(--primary)) 100% 100% / 50% 2px no-repeat,
        linear-gradient(0deg, var(--accent-cyan), var(--primary)) 0% 100% / 2px 50% no-repeat;
    animation: border-dance 4s linear infinite;
}

/* Particle Float Animation */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 1;
    }
}

/* Morph Animation */
@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
    75% { border-radius: 60% 40% 30% 70% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.morph-shape {
    animation: morph 8s ease-in-out infinite;
}

/* Text Reveal Animation */
@keyframes text-reveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: text-reveal 1s ease forwards;
}

/* Neon Glow */
@keyframes neon-glow {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 30px var(--primary);
    }
    50% {
        text-shadow: 
            0 0 20px var(--primary),
            0 0 40px var(--primary),
            0 0 60px var(--primary),
            0 0 80px var(--primary);
    }
}

.neon-text {
    animation: neon-glow 2s ease-in-out infinite;
}

/* 3D Card Flip */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Elastic Animation */
@keyframes elastic {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    40% { transform: scale(0.75); }
    50% { transform: scale(1.15); }
    65% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Utility Animation Classes */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-bounce { animation: bounce-in 0.8s ease; }
.animate-scale-rotate { animation: scale-rotate 0.6s ease; }
.animate-elastic { animation: elastic 1s ease; }

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Parallax Layer */
.parallax-layer {
    will-change: transform;
    transform: translateZ(0);
}

/* Glassmorphism Enhanced */
.glass-enhanced {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px var(--primary-glow);
}

/* Magnetic Cursor Effect - Disabled */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Spotlight Effect - Simplified */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 53, 178, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.spotlight:hover::before {
    opacity: 1;
}

/* ====================================
   RESPONSIVE - TABLET
   ==================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-phone span {
        display: none;
    }
    
    .header-phone {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .pipeline-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Disable complex hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }
}

/* ====================================
   RESPONSIVE - MOBILE
   ==================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Smooth scrolling on iOS */
    html {
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header-wrapper {
        padding: 12px 0;
    }
    
    .main-header.scrolled .header-wrapper {
        padding: 10px 0;
    }
    
    .logo img {
        height: 32px;
    }
    
    .btn-primary.btn-sm {
        display: none;
    }
    
    /* Mobile touch targets */
    .mobile-menu-toggle {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Laptop Services - Hide on Mobile */
    .laptop-services-wrapper {
        display: none;
    }
    
    /* Mobile Services Grid - Show */
    .mobile-services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mobile-service-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-md);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-service-item:active {
        transform: scale(0.97);
        background: rgba(108, 53, 178, 0.1);
    }
    
    .mobile-service-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .mobile-service-title {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-secondary);
        line-height: 1.3;
    }
    
    .services-grid {
        display: none;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .pipeline-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pipeline-step::after {
        display: none;
    }
    
    .ai-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    /* Portfolio - Logo Slider Mobile */
    .logo-slider-wrapper {
        display: none;
    }
    
    /* Mobile Logo Slider */
    .mobile-logo-slider {
        display: block;
        overflow: hidden;
        position: relative;
        margin: 0 -16px;
        padding: 10px 0;
    }
    
    .mobile-logo-track {
        display: flex;
        gap: 16px;
        animation: mobileLogoScroll 25s linear infinite;
        width: max-content;
    }
    
    @keyframes mobileLogoScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .mobile-logo-item {
        flex-shrink: 0;
        width: 100px;
        height: 60px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    .mobile-logo-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: grayscale(30%) brightness(0.9);
    }
    
    .mobile-refs-grid {
        display: none;
    }
    
    .portfolio-cta {
        margin-top: 24px;
    }
    
    .portfolio-cta .btn-outline {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 80px 0;
        min-height: 400px;
    }
    
    .cta-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.25;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Services Mobile */
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-name {
        font-size: 0.9rem;
    }
    
    .testimonial-role {
        font-size: 0.75rem;
    }
    
    .contact-wrapper {
        gap: 32px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 16px;
        font-size: 1.5rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-float:active {
        transform: scale(0.95);
    }
    
    .back-to-top {
        width: 46px;
        height: 46px;
        bottom: 84px;
        right: 16px;
    }
    
    .back-to-top:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-content {
        max-width: 100%;
    }
    
    /* Form optimizations for mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        min-height: 50px;
        padding: 14px 16px;
        border-radius: var(--radius-md);
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Hide custom cursor on mobile */
    .custom-cursor {
        display: none !important;
    }
    
    /* Disable complex hover effects on mobile */
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Hide particles on mobile */
    .hero-particles {
        display: none;
    }
    
    /* Tech Marquee Mobile */
    .tech-marquee {
        padding: 12px 0;
    }
    
    .marquee-content span {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .marquee-content span i {
        font-size: 1rem;
    }
    
    .marquee-content {
        gap: 30px;
        padding-right: 30px;
    }
    
    /* Touch-friendly buttons */
    .btn {
        min-height: 50px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* ====================================
   RESPONSIVE - SMALL MOBILE
   ==================================== */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-section {
        padding: 90px 0 40px;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 8px;
    }
    
    .badge {
        justify-content: center;
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .ai-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Section headers extra small */
    .section-header {
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 1.35rem !important;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    /* Services extra small */
    .mobile-services-grid {
        gap: 10px;
    }
    
    .mobile-service-item {
        padding: 16px 10px;
    }
    
    .mobile-service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .mobile-service-title {
        font-size: 0.75rem;
    }
    
    .services-grid {
        gap: 12px;
    }
    
    .service-card {
        padding: 16px 14px;
    }
    
    .service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    /* Portfolio Mobile Small - Slider */
    .mobile-logo-item {
        width: 80px;
        height: 50px;
        padding: 8px;
        border-radius: 8px;
    }
    
    .mobile-logo-track {
        gap: 12px;
    }
    
    /* AI Pipeline Small */
    .pipeline-step {
        padding: 16px;
    }
    
    .pipeline-step h4 {
        font-size: 0.9rem;
    }
    
    .pipeline-step p {
        font-size: 0.8rem;
    }
    
    /* Testimonials Small */
    .testimonial-card {
        padding: 16px;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    /* CTA Small */
    .cta-section {
        padding: 60px 0;
        min-height: 0;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 15px !important;
    }
    
    /* Hero Small Mobile */
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .hero-stat {
        padding: 10px 4px;
    }
    
    .hero-stat-value {
        font-size: 1.2rem;
    }
    
    .hero-stat-label {
        font-size: 0.55rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
    
    .visual-container {
        margin: 0 -12px;
    }
    
    .mockup-url {
        display: none;
    }
    
    .tech-stack {
        padding: 6px 10px;
    }
    
    .tech-item {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Contact Form Small */
    .contact-form-wrapper {
        padding: 16px;
    }
    
    .contact-title {
        font-size: 1.2rem;
    }
    
    /* Footer Small */
    .footer-grid {
        gap: 24px;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* WhatsApp & Back to top */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 12px;
    }
    
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 76px;
        right: 12px;
    }
}

/* ====================================
   SAFE AREA SUPPORT (Notch devices)
   ==================================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-menu-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .back-to-top {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
    
    .main-footer {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* ====================================
   REDUCED MOTION
   ==================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .preloader {
        display: none !important;
    }
}

/* ====================================
   LANDSCAPE PHONE OPTIMIZATIONS
   ==================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 0;
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .mobile-menu-content {
        max-width: 60%;
    }
}

/* ====================================
   HIGH DPI / RETINA DISPLAYS
   ==================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ====================================
   TOUCH DEVICE OPTIMIZATIONS
   ==================================== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .service-card:hover,
    .testimonial-card:hover,
    .btn:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .nav-item > a,
    .footer-links a,
    .mobile-nav-item > a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Active states for touch feedback */
    .btn:active,
    .service-card:active,
    .mobile-nav-item > a:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
    .preloader,
    .main-header,
    .mobile-menu,
    .whatsapp-float,
    .back-to-top,
    .hero-scroll-indicator {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .hero-section {
        min-height: 0;
        padding: 40px 0;
    }
}
