/* ============================================
   AnduTech – Futuristic IT Services Website
   Inspired by CrowdStrike, Cloudflare, Palo Alto
   ============================================ */

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0d0d24;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.04);

    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.4);

    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.3);

    --neon: #d946ef;
    --neon-glow: rgba(217, 70, 239, 0.3);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.4);

    --gradient-primary: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --gradient-text: linear-gradient(135deg, #a78bfa, #22d3ee, #d946ef);
    --gradient-border: linear-gradient(135deg, #8b5cf6, #06b6d4, #d946ef);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* === Skip Navigation (Accessibility) === */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-nav:focus {
    top: 0;
}

/* === Focus Visible (Accessibility) === */
:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transform: translate(-50%, -50%) translateZ(0);
    opacity: 0;
    transition: opacity 0.4s;
}

body:hover .cursor-glow { opacity: 1; }

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

/* ============================================
   SCROLL ANIMATIONS (GPU-accelerated)
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) translateZ(0);
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-50px) translateZ(0);
}
.animate-on-scroll.slide-left.visible {
    transform: translateX(0) translateZ(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(50px) translateZ(0);
}
.animate-on-scroll.slide-right.visible {
    transform: translateX(0) translateZ(0);
}

.animate-on-scroll.scale-in {
    transform: scale(0.9) translateZ(0);
}
.animate-on-scroll.scale-in.visible {
    transform: scale(1) translateZ(0);
}

/* Staggered delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 4px transparent; }
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.section-title .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

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

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.btn-primary i {
    transition: transform var(--transition-base);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    z-index: 1001;
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 28px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    padding: 100px 0 80px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    will-change: transform;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: 5%; right: 10%;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: 10%; left: 5%;
    animation-delay: -6s;
}

.hero-orb-3 {
    width: 300px; height: 300px;
    background: var(--neon);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -3s;
    opacity: 0.1;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(25px, 15px) scale(1.02); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--accent-light);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.hero-badge .pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.08;
}

.hero-title .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

.hero-title .typed-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--accent);
    margin-left: 4px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-logo-wrap {
    margin-bottom: 28px;
}

.hero-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 8px;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.15));
}

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

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-mono);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-secondary);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06), transparent 70%);
    pointer-events: none;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-socials {
    margin-top: 24px;
    margin-bottom: 28px;
}

.social-link {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.about-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--accent-light);
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
}

.tech-badge:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.about-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition-slow);
}

/* Animated gradient border */
.about-img-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-border);
    border-radius: 26px;
    z-index: -1;
    background-size: 300% 300%;
    animation: borderGlow 4s ease infinite;
}

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

.about-img-frame:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    transition: transform var(--transition-slow);
}

.about-img-frame:hover .about-photo {
    transform: scale(1.03);
}

.about-img-glow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
    pointer-events: none;
    border-radius: 0 0 22px 22px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--bg-primary);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.service-card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) translateZ(0);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 14px;
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 16px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.service-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.1);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 5%, transparent 60%);
    pointer-events: none;
}

.service-content {
    padding: 24px 28px 30px;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color var(--transition-base);
}

.service-card:hover .service-content h3 {
    color: var(--primary-light);
}

.service-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    background: var(--bg-secondary);
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.client-logo-card {
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    min-height: 100px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.client-logo-card:hover {
    transform: translateY(-6px) translateZ(0);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.client-logo-card img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: filter var(--transition-base);
}

.client-logo-card:hover img {
    filter: brightness(1.1) contrast(1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    overflow: hidden;
    padding: 100px 0 40px;
    z-index: 1;
}

.footer-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.footer-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 10, 26, 0.92) 30%, rgba(10, 10, 26, 0.95) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.15));
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 36px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.footer-contact-item i {
    color: var(--accent-light);
    font-size: 1.1rem;
}

.footer-contact-item:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #25d366;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    z-index: 999;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.35);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
    border-radius: 18px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    border: 2px solid rgba(37, 211, 102, 0.25);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(255,255,255,0.95);
    color: #1a1a2e;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%; right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(255,255,255,0.95);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 8px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border);
        z-index: 1000;
    }

    .nav-links.open { right: 0; }
    .nav-link { font-size: 1rem; padding: 12px 16px; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-logo { width: 160px; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { order: -1; }
    .about-img-frame { max-width: 320px; margin: 0 auto; }
    .about-text { text-align: center; }
    .about-tech-badges { justify-content: center; }
    .about-socials { text-align: center; }

    .services-grid { grid-template-columns: 1fr; }

    .clients-logos { gap: 16px; }
    .client-logo-card { padding: 16px 24px; }
    .client-logo-card img { max-height: 50px; }

    .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-logo { width: 140px; }
    .hero-badge { font-size: 0.7rem; }
    .services-grid { gap: 16px; }
    .service-img-wrap { height: 170px; }
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-dark), var(--accent));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================
   PREFERS-REDUCED-MOTION (Accessibility)
   ============================================ */
@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; }
    .hero-orb { animation: none; }
    .hero-logo { animation: none; }
    .loader-ring { animation: none; }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    #particleCanvas { display: none; }
    .cursor-glow { display: none; }
}
