@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #d4d4d4;
    --gray-400: #999999;
    --gray-800: #1a1a1a;
    --gray-900: #0a0a0a;

    --accent-orange: #FF5C00;
    --accent-red: #FF0000;
    --accent-green: #00FF94;
    --accent-blue: #00D1FF;
    --accent-purple: #BF00FF;
    --accent-pink: #FF00D1;
    --accent-gold: #FFD700;
    --accent-cyan: #00F5FF;
    --accent-lime: #B0FF00;
    /* Was missing — JS glowObserver uses var(--accent-lime) for box-shadow */

    --primary-accent: var(--accent-orange);
    --glass-white: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-dark: rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-20: 1.25rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-40: 2.5rem;
    --space-48: 3rem;
    --space-64: 4rem;
    --space-80: 5rem;
    --space-128: 8rem;

    /* Effects */
    --blur-low: blur(8px);
    --blur-med: blur(15px);
    --blur-high: blur(24px);
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--primary-accent);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Elite Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 4px;
    box-shadow: var(--shadow-glow);
}

/* Bioluminescent Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, transparent, var(--primary-accent), transparent);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary-accent);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--accent-cyan));
    z-index: 100001;
    box-shadow: 0 0 15px var(--primary-accent);
    transition: width 0.1s ease-out;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    /* Must be on html to properly contain body overflow-x:clip */
    max-width: 100%;
}

body {
    background: #020202;
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    /* hidden instead of clip: works on all mobile browsers */
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    cursor: url('../assets/cursors/main.svg'), auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a,
button,
.btn-primary,
.nav-link,
.accordion-header {
    cursor: url('../assets/cursors/pointer.svg'), pointer !important;
}

.project-image-link {
    cursor: none !important;
    /* Hide mouse pointer to show the custom circle instead */
}

.service-card {
    cursor: url('../assets/cursors/heart.svg'), pointer !important;
}

/* Supplemental Cursors */
[style*="cursor: wait"],
.is-loading {
    cursor: url('../assets/cursors/loading.svg'), wait !important;
}

[style*="cursor: help"] {
    cursor: url('../assets/cursors/question.svg'), help !important;
}

[style*="cursor: not-allowed"],
.disabled {
    cursor: url('../assets/cursors/not-allowed.svg'), not-allowed !important;
}

.is-movable {
    cursor: url('../assets/cursors/move.svg'), move !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-24);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #ffffff88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-box {
    position: relative;
}

.glow-box::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--primary-accent);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

section {
    padding: var(--space-64) 0;
    text-align: center;
    background: transparent;
    max-width: 100%;
    overflow-x: hidden;
    /* Every section is self-contained, never wider than viewport */
}

/* --- Elite Section Typography --- */
.section-header {
    margin-bottom: var(--space-32);
    /* Reduced from 64px */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
}

.section-title {
    font-size: clamp(2.5rem, 8vw, 4.2rem);
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            #fff 0%,
            rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 92, 0, 0.1) 0%,
            transparent 60%);
    z-index: -1;
    pointer-events: none;
    opacity: var(--glow-opacity, 0.5);
    transition: opacity 0.5s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    box-shadow: 0 0 15px var(--primary-accent);
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.8;
}

.reveal.active .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-accent);
    opacity: 1;
}

/* Header */
/* --- Cinematic Preloader & Transitions --- */
body.loading {
    overflow: hidden;
}

#preloader {
    position: fixed;
    inset: 0;
    background: #020202;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-32);
}

.preloader-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: visible;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-accent);
    position: relative;
    z-index: 2;
}

.preloader-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(20px);
    animation: preloader-pulse 2s infinite ease-in-out;
}

.preloader-bar-container {
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--primary-accent);
    box-shadow: 0 0 15px var(--primary-accent);
    transition: width 0.4s ease;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--gray-400);
    text-transform: uppercase;
}

/* State for the image "moving" to hero */
#preloader.transitioning .preloader-image-wrapper {
    /* These values will be updated dynamically via JS to match hero position */
    z-index: 200001;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes preloader-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* =====================================================
   HEADER â€” Single Source of Truth
   All rules explicitly carry translateX(-50%) to stay
   centred regardless of cascade order or JS class toggles
   ===================================================== */

/* ID-level base: only transition-related props */
#main-header {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Scroll-hide: full transform with X-offset preserved */
#main-header.header-hidden {
    transform: translateX(-50%) translateY(-120%);
}

/* Reveal animation: slightly below final position */
#main-header.reveal {
    transform: translate(-50%, 14px) scale(0.98);
}

/* Reveal settled: exact final resting place */
#main-header.reveal.active {
    transform: translate(-50%, 0px) scale(1);
}

/* Scrolled style â€” only changes nav-wrapper appearance */
#main-header.header-scrolled .nav-wrapper {
    background: rgba(2, 2, 2, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
}

/* Element-level geometry â€” width + position only */
header {
    position: fixed;
    top: clamp(12px, 3vw, 24px);
    left: 50%;
    transform: translateX(-50%);
    /* NOTE: all JS class transforms MUST include translateX(-50%) */
    width: calc(100% - 32px);
    max-width: 1200px;
    z-index: 99999;
    will-change: transform;
}

.nav-wrapper {
    background: var(--glass-white);
    -webkit-backdrop-filter: var(--blur-high) saturate(220%) brightness(1.15);
    backdrop-filter: var(--blur-high) saturate(220%) brightness(1.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: visible;
    /* overflow:visible so button is never clipped */
    min-width: 0;
}

/* Specular Gloss Highlight (Reflection) */
.nav-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    z-index: 5;
    filter: blur(0.5px);
    pointer-events: none;
}

/* Morphing Liquid Glass Backdrop */
.header-morph-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    border-radius: 100px;
}

.morph-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.25);
    /* Optimized foggy clouds */
    filter: blur(40px);
    border-radius: 50%;
    animation: morph-lava 30s infinite ease-in-out alternate;
    mix-blend-mode: color-dodge;
    /* Added for gloss effect */
}

.blob-1 {
    top: -40%;
    left: 0%;
    animation-duration: 40s;
}

.blob-2 {
    bottom: -40%;
    right: 0%;
    animation-duration: 35s;
}

.blob-3 {
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    animation-duration: 50s;
}

.blob-4 {
    top: 20%;
    right: 20%;
    animation-duration: 45s;
    opacity: 0.6;
}

.blob-5 {
    bottom: 10%;
    left: 10%;
    animation-duration: 38s;
    opacity: 0.4;
}

@keyframes morph-lava {
    0% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
        transform: scale(1) translate(0, 0);
    }

    33% {
        border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
        transform: scale(1.4) translate(20%, -10%);
    }

    66% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: scale(0.9) translate(-10%, 20%);
    }

    100% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
        transform: scale(1) translate(0, 0);
    }
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(0.8rem, 3.5vw, 1.15rem);
    letter-spacing: clamp(0.15em, 1vw, 0.4em);
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-smooth);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Luxury Brand Dot */
.logo::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: -5px;
    /* Offset for spacing */
    background: var(--primary-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-accent);
    transform: translateY(-2px);
}

.logo:hover {
    letter-spacing: 0.55em;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    cursor: url('../assets/cursors/heart.svg'), pointer !important;
}



/* High-Conversion Elite CTA */
.btn-meet-elite {
    background: var(--primary-accent);
    color: var(--white);
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3.5vw, 24px);
    border-radius: 100px;
    font-weight: 800;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    /* Button never shrinks â€” always fully readable */
    box-shadow: 0 8px 25px rgba(255, 92, 0, 0.4);
    animation: haloe-pulse 3s infinite ease-in-out;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-meet-elite::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: rotate(45deg);
    animation: shimmer-sweep 4s infinite linear;
    pointer-events: none;
}

.btn-meet-elite:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 92, 0, 0.6);
    background: #ff7020;
}

@keyframes haloe-pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(255, 92, 0, 0.4);
    }

    50% {
        box-shadow: 0 8px 45px rgba(255, 92, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

@keyframes shimmer-sweep {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* btn-meet-elite is now fully fluid via clamp() â€” no override needed */

/* --- Global Cinematic Atmosphere --- */
#global-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #050505;
    /* Deeper Biolume Base */
    overflow: hidden;
}

#interactive-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 10;
}

.atmos-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    will-change: transform;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #00d1ff, transparent);
    /* Biolume Cyan */
    top: -200px;
    left: -200px;
    animation: global-drift 47s infinite linear;
}

.orb-2 {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, #7000ff, transparent);
    /* Electric Indigo */
    bottom: -300px;
    right: -200px;
    animation: global-drift 63s infinite reverse linear;
    opacity: 0.2;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff007a, transparent);
    /* Neon Pink */
    top: 30%;
    left: 40%;
    animation: global-drift 53s infinite linear;
}

.orb-4 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, #b0ff00, transparent);
    /* Biolume Lime 1 */
    top: 10%;
    right: 15%;
    animation: global-drift 71s infinite linear;
    opacity: 0.2;
}

.orb-5 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-accent), transparent);
    bottom: 10%;
    left: 5%;
    animation: global-drift 59s infinite reverse linear;
}

.orb-6 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #39ff14, transparent);
    /* Biolume Green (Neon) */
    top: 60%;
    right: 5%;
    animation: global-drift 41s infinite linear;
    opacity: 0.15;
}

.orb-7 {
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, #00ffab, transparent);
    /* Biolume Emerald */
    bottom: 5%;
    right: 30%;
    animation: global-drift 67s infinite linear;
    opacity: 0.18;
}

.orb-8 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #b0ff00, transparent);
    /* Biolume Lime 2 */
    top: 50%;
    left: 10%;
    animation: global-drift 37s infinite reverse linear;
    opacity: 0.12;
}

.atmos-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    opacity: 0.3;
}

@keyframes global-drift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(180px, -120px) rotate(10deg) scale(1.1);
    }

    66% {
        transform: translate(-100px, 200px) rotate(-15deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes global-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.05;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.12;
    }
}

/* Hero Section Base */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 150px;
    /* Header Clearance Zone */
    background: transparent;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero-image-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-32);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-accent);
    box-shadow: var(--shadow-glow);
    position: relative;
    will-change: transform;
    transition: box-shadow 0.4s ease;
}

.hero-image-wrapper:hover {
    cursor: url('../assets/cursors/heart.svg'), pointer !important;
    box-shadow: 0 0 40px var(--primary-accent);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-line-static {
    display: block;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-8);
    color: var(--white);
    opacity: 0.9;
}

.hero-line-dynamic {
    font-size: clamp(1rem, 3vw, 2rem);
    /* 7.5vw ensures text fits within viewport width at all sizes */
    font-weight: 900;
    min-height: 1.2em;
    margin-bottom: var(--space-32);
    display: block;
    /* block so it can wrap if truly needed */
    text-align: center;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    /* clip rather than overflow page */
    max-width: 100%;
}


#dynamic-text {
    display: inline-block;
    background: linear-gradient(90deg,
            #FF5C00 0%,
            #FF0000 25%,
            #00D1FF 50%,
            #00FF94 75%,
            #FF5C00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 92, 0, 0.2));
    text-transform: uppercase;
    animation: gradient-flow 6s linear infinite;

    /* Reveal Animation Properties */
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, filter, transform;
}

/* Class for JS-triggered transition state */
#dynamic-text.swapping {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.95);
}

@keyframes gradient-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    color: var(--gray-400);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.01em;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitle-reveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes subtitle-reveal {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.hero-subtitle .highlight {
    color: var(--white);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-subtitle .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    opacity: 0.6;
}

/* Scroll Indicator Fix */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid var(--gray-400);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 2px;
    height: 8px;
    background: var(--primary-accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Marquee Ribbon */
.marquee-ribbon {
    background: var(--primary-accent);
    color: var(--black);
    padding: var(--space-32) 0;
    margin: var(--space-48) 0;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-1.5deg);
    z-index: 2;
    font-weight: 900;
    font-family: var(--font-heading);
    box-shadow: 0 20px 50px rgba(255, 92, 0, 0.3);
    /* Wider than 100% due to rotation â€” parent clips it */
    width: 120%;
    margin-left: -10%;
}

.marquee-content {
    display: inline-block;
    animation: marquee-anim 60s linear infinite;
    will-change: transform;
    transition: animation-duration 1s ease;
    /* Subtle hint, though duration isn't fully animatable */
}

.marquee-ribbon.marquee-slowed .marquee-content {
    animation-duration: 60s;
}

.marquee-content span {
    padding: 0 var(--space-32);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* --- Kinetic Ribbon Cross --- */
.double-ribbon-section {
    position: relative;
    height: 180px;
    margin: var(--space-12) 0;
    overflow: hidden;
    /* Contains the 120%-wide rotated ribbon children */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    isolation: isolate;
    /* Creates stacking context so overflow:hidden works with transforms */
}

.ribbon-cross {
    position: absolute;
    width: 120%;
    left: -10%;
    padding: 12px 0;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    will-change: transform;
}

.ribbon-cross-top {
    background: var(--primary-accent);
    color: var(--black);
    transform: rotate(-3deg);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.ribbon-cross-bottom {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(3deg);
    z-index: 5;
    filter: blur(1.5px);
    /* User requested slight blur on bottom ribbon */
    opacity: 0.6;
}

.ribbon-track-ltr {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee-ltr 40s linear infinite;
}

.ribbon-track-rtl {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee-rtl 35s linear infinite;
}

@keyframes marquee-ltr {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-anim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Horizontal Scroll Services */
.horizontal-scroll-section {
    position: relative;
    height: 400vh;
    overflow: visible !important;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.content-wrapper {
    padding: 0 var(--space-24);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 1025px) {
    .content-wrapper {
        padding: 0 var(--space-80);
    }
}

.horizontal-container {
    display: flex;
    gap: 40px;
    transition: transform 0.1s linear;
}

.service-card {
    min-width: 380px;
    height: 480px;
    padding: var(--space-48);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    /* Increased roundness */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: url('../assets/cursors/heart.svg'), pointer !important;
    text-decoration: none;
    color: inherit;
    perspective: 1000px;
    z-index: 50;
    pointer-events: auto;
}

.service-card:hover {
    border-color: var(--card-accent, rgba(255, 92, 0, 0.3));
    transform: translateY(-20px) rotateX(4deg) rotateY(-2deg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 92, 0, 0.05);
}

/* === Touch / Scroll-triggered hover (mobile) === */
.service-card.hovered {
    border-color: var(--card-accent, rgba(255, 92, 0, 0.3));
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 92, 0, 0.05);
}

.card-icon-container {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.35;
    /* Increased default visibility */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
    pointer-events: none;
}

.service-card:hover .card-icon-container,
.service-card.hovered .card-icon-container {
    opacity: 0.85;
    /* Bright glow on hover */
    transform: scale(1.1) translate(-20px, 20px) rotate(-10deg);
    color: var(--card-accent, var(--primary-accent));
    filter: drop-shadow(0 0 30px var(--card-accent, var(--primary-accent)));
}

.service-icon path,
.service-icon rect,
.service-icon circle {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1),
        stroke 0.5s ease,
        opacity 0.5s ease;
}

.service-card:hover .service-icon path,
.service-card:hover .service-icon rect,
.service-card:hover .service-icon circle,
.service-card.hovered .service-icon path,
.service-card.hovered .service-icon rect,
.service-card.hovered .service-icon circle {
    stroke-dashoffset: 0;
}

/* Subtle continuous pulse for the primary colored lines */
.service-icon [stroke*="accent"] {
    animation: stroke-pulse 3s ease-in-out infinite;
}

@keyframes stroke-pulse {

    0%,
    100% {
        stroke-width: 2;
        opacity: 1;
        filter: drop-shadow(0 0 0px var(--primary-accent));
    }

    50% {
        stroke-width: 3;
        opacity: 0.8;
        filter: drop-shadow(0 0 8px var(--primary-accent));
    }
}

.card-num {
    position: absolute;
    top: var(--space-48);
    left: var(--space-48);
    /* Switched side for better balance with top-right icon */
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.03;
    transition: all 0.5s ease;
}

.service-card:hover .card-num,
.service-card.hovered .card-num {
    opacity: 0.1;
    transform: translateX(10px);
}

.service-card h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    line-height: 1.3;
    margin-bottom: var(--space-16);
    color: var(--white);
    font-weight: 800;
    transition: color 0.4s ease;
}

.service-card:hover h3,
.service-card.hovered h3 {
    color: var(--card-accent, var(--primary-accent));
}

.service-card p {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--gray-300);
    line-height: 1.6;
}

/* Service Accent Profiles */
.accent-orange {
    --card-accent: var(--accent-orange);
}

.accent-blue {
    --card-accent: var(--accent-blue);
}

.accent-green {
    --card-accent: var(--accent-green);
}

.accent-red {
    --card-accent: var(--accent-red);
}

.accent-purple {
    --card-accent: var(--accent-purple);
}

.accent-pink {
    --card-accent: var(--accent-pink);
}

.accent-cyan {
    --card-accent: var(--accent-cyan);
}

.accent-gold {
    --card-accent: var(--accent-gold);
}

/* Logo Strip Marquee */
.logo-strip {
    padding: var(--space-40) 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: transparent;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 80px;
    align-items: center;
    animation: logo-marquee 30s linear infinite;
    will-change: transform;
    transition: animation-play-state 0.6s ease;
}

.logo-strip:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 180px;
    /* Increased spacing */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 35px;
    /* Fixed height for consistent visual weight */
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes logo-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-50% - 40px), 0, 0);
    }
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: var(--space-48);
}

.project-card {
    position: relative;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover,
.project-card.hovered {
    transform: translate3d(0, -5px, 0);
}

.project-image {
    aspect-ratio: 16/9;
    background: var(--gray-900);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.project-card:hover .project-image img,
.project-card.hovered .project-image img {
    transform: scale(1.05);
}

.project-image {
    position: relative;
    /* Ensure after is positioned correctly */
}

.project-image::after {
    content: 'VIEW PROJECT';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.project-card:hover .project-image::after,
.project-card.hovered .project-image::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.project-info {
    padding: var(--space-24) var(--space-40);
    text-align: left;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-8);
    text-align: left;
}

.project-info p {
    color: var(--gray-300);
    margin-bottom: var(--space-16);
    text-align: left;
}

.tags {
    display: flex;
    gap: 12px;
}

.tags span {
    font-size: 0.75rem;
    background: var(--gray-800);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Trust Metrics Section */
.trust-metrics {
    padding: var(--space-128) 0;
    background: transparent;
    position: relative;
}

.metrics-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.atmos-shape {
    position: absolute;
    opacity: 0.2;
    filter: blur(40px);
    will-change: transform, opacity;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-accent), transparent);
    top: -100px;
    left: -50px;
    animation: atmos-float 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #333, transparent);
    bottom: -150px;
    right: 10%;
    animation: atmos-float 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-accent), transparent);
    top: 40%;
    right: -50px;
    opacity: 0.1;
    animation: atmos-pulse 8s ease-in-out infinite;
}

.ring-1 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.1;
    top: 20%;
    left: 20%;
    animation: atmos-float 12s linear infinite;
}

.line-1 {
    width: 400px;
    height: 100px;
    top: 60%;
    left: 30%;
    color: var(--primary-accent);
    filter: blur(1px);
    animation: atmos-float 25s ease-in-out infinite;
}

@keyframes atmos-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 30px) rotate(-5deg);
    }
}

@keyframes atmos-pulse {

    0%,
    100% {
        opacity: 0.05;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.2);
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    /* Reduced from 40px */
    position: relative;
    z-index: 2;
}

.metric-item {
    text-align: center;
}

.metric-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-12);
}

.big-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    line-height: 1;
}

.suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    font-family: var(--font-heading);
}

.metric-item p {
    font-size: 1rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* GPU Optimized Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) translate3d(0, 0, 0);
    will-change: transform, opacity;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translate3d(0, 0, 0);
}

/* FAQ Section Update: Liquid Crystal Design */
.faq-container {
    max-width: 900px;
    /* Slightly wider for better text flow */
    margin: var(--space-48) auto 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: var(--space-8) var(--space-32);
    transition: var(--transition-smooth);
    overflow: hidden;
    text-align: left;
    /* Force left-alignment */
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.accordion-item.faq-active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 92, 0, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: var(--space-24) 0;
}

.accordion-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--white);
    padding: var(--space-8) 0;
    transition: var(--transition-smooth);
}

.accordion-item.faq-active .accordion-header h3 {
    color: var(--primary-accent);
    letter-spacing: 0.02em;
    font-weight: 600;
}

.accordion-item.faq-active .plus-icon {
    transform: rotate(45deg);
}

.plus-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;
    background: var(--gray-400);
    transition: background 0.3s ease;
}

.plus-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.plus-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.accordion-item.faq-active .plus-icon::before,
.accordion-item.faq-active .plus-icon::after {
    background: var(--primary-accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    padding-bottom: 0;
}

.accordion-item.faq-active .accordion-content {
    max-height: 500px;
    /* Large enough to fit text */
    opacity: 1;
    padding-bottom: var(--space-24);
}

.accordion-content p {
    color: var(--gray-100);
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 90%;
}

/* Kinetic Horizon Separators */
.kinetic-separator {
    padding: var(--space-80) 0;
    position: relative;
    background: transparent;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.horizon-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.horizon-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    will-change: transform;
}

.orb-primary {
    width: 600px;
    height: 600px;
    background: var(--primary-accent);
    top: -200px;
    right: -100px;
    animation: orb-drift 20s infinite alternate;
}

.orb-secondary {
    width: 500px;
    height: 500px;
    background: #444;
    bottom: -200px;
    left: -100px;
    animation: orb-drift 25s infinite alternate-reverse;
}

.orb-accent {
    width: 400px;
    height: 400px;
    background: var(--primary-accent);
    top: 20%;
    left: 10%;
    opacity: 0.05;
    animation: orb-drift 15s infinite ease-in-out;
}

@keyframes orb-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

@keyframes horizon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

.horizon-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.horizon-title {
    font-size: clamp(1rem, 5.8vw, 7.5rem);
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--white);
    text-transform: uppercase;
    transform: translateY(30px) scale(0.9);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    animation: horizon-float 6s infinite ease-in-out;
}

.horizon-title span {
    display: block;
    white-space: nowrap;
    /* Force 2-row layout */
    width: 100%;
}

.kinetic-separator.active .horizon-title {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.horizon-title .highlight {
    color: var(--primary-accent);
    font-size: 1em;
    position: relative;
    letter-spacing: -0.02em;
}

.horizon-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-accent);
    opacity: 0.2;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}

.kinetic-separator.active .horizon-title .highlight::after {
    transform: scaleX(1);
}

/* CTA & Footer */
/* CTA Section Styles */
#cta {
    padding: var(--space-80) 0;
    text-align: center;
}

#cta h2 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin-bottom: var(--space-24);
    letter-spacing: -0.04em;
}

#cta p {
    color: var(--gray-300);
    font-size: 1.2rem;
    margin-bottom: var(--space-48);
}

.cta-actions {
    display: flex;
    gap: var(--space-24);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    animation: cta-pulse 3s infinite ease-in-out;
}

.cta-btn i,
.cta-btn svg {
    width: 20px;
    height: 20px;
}

.cta-btn i {
    stroke-width: 2.5px;
}

.btn-primary {
    background: var(--primary-accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 92, 0, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(255, 92, 0, 0.5);
}

.btn-whatsapp:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp.pulse-active i {
    animation: whatsapp-icon-pulse 2s infinite ease-in-out;
}

@keyframes whatsapp-icon-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--primary-accent));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 8px var(--primary-accent));
    }
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

footer {
    padding: var(--space-80) 0 var(--space-48);
    text-align: center;
    border-top: 1px solid var(--gray-800);
}

.footer-marquee {
    width: 100%;
    overflow: hidden;
    margin-bottom: var(--space-24);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.footer-track {
    display: flex;
    width: max-content;
    animation: footer-marquee-rtl 40s linear infinite;
    will-change: transform;
}

.footer-logo {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.08;
    /* Slightly more subtle for premium feel */
    white-space: nowrap;
    padding: 0 5vw;
    letter-spacing: -0.02em;
    transition: opacity 0.5s ease;
}

.footer-marquee:hover .footer-logo {
    opacity: 0.15;
}

@keyframes footer-marquee-rtl {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-800);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* --- Ultra-Premium Lucide Glass Icons --- */
.icon-marquee-separator {
    height: 180px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: var(--space-16) 0;
    /* Reduced from 32px */
    position: relative;
    z-index: 5;
}

.icon-track {
    display: flex;
    gap: 120px;
    padding: 0 60px;
    width: max-content;
    animation: icon-marquee-loop 30s linear infinite;
}

.icon-capsule {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
    animation: icon-float 6s infinite ease-in-out;
}

.icon-capsule::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1px;
    /* Border thickness */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 70%);
    -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;
}

.icon-capsule:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.icon-capsule i {
    width: 38px;
    height: 38px;
    stroke-width: 1.5;
    transition: var(--transition-smooth);
    stroke: var(--white);
    opacity: 0.8;
}

/* Bioluminescent Glow Mapping */
[data-glow="cyan"] i {
    stroke: #00d1ff;
    filter: drop-shadow(0 0 15px rgba(0, 209, 255, 0.7));
}

[data-glow="purple"] i {
    stroke: #7000ff;
    filter: drop-shadow(0 0 15px rgba(112, 0, 255, 0.7));
}

[data-glow="orange"] i {
    stroke: #ff5c00;
    filter: drop-shadow(0 0 15px rgba(255, 92, 0, 0.7));
}

[data-glow="lime"] i {
    stroke: #b0ff00;
    filter: drop-shadow(0 0 15px rgba(176, 255, 0, 0.7));
}

[data-glow="pink"] i {
    stroke: #ff007a;
    filter: drop-shadow(0 0 15px rgba(255, 0, 122, 0.7));
}

/* Fading Gradient Border Variants */
[data-glow="cyan"]::before {
    background: linear-gradient(135deg, #00d1ff, transparent 80%);
}

[data-glow="purple"]::before {
    background: linear-gradient(135deg, #7000ff, transparent 80%);
}

[data-glow="orange"]::before {
    background: linear-gradient(135deg, #ff5c00, transparent 80%);
}

[data-glow="lime"]::before {
    background: linear-gradient(135deg, #b0ff00, transparent 80%);
}

[data-glow="pink"]::before {
    background: linear-gradient(135deg, #ff007a, transparent 80%);
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes icon-marquee-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Liquid Glass Testimonials Slider --- */
#testimonials {
    padding: var(--space-80) 0;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    padding: var(--space-32) 0;
    position: relative;
    border-radius: 40px;
}

/* Edge blur masks - desktop only */
.testimonials-slider::before,
.testimonials-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12vw;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    border-radius: inherit;
}

.testimonials-slider::before {
    left: 0;
    background: linear-gradient(to right, #020202 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black, transparent);
    mask-image: linear-gradient(to right, black, transparent);
}

.testimonials-slider::after {
    right: 0;
    background: linear-gradient(to left, #020202 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
    mask-image: linear-gradient(to left, black, transparent);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Desktop: auto-scrolling marquee Ã¢â€â‚¬Ã¢â€â‚¬ */
.testimonials-track {
    display: flex;
    gap: var(--space-48);
    width: max-content;
    animation: testimonial-marquee 30s linear infinite;
    will-change: transform;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes testimonial-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-50% - (var(--space-48) / 2)), 0, 0);
    }
}

.testimonial-card {
    flex: 0 0 clamp(300px, 70vw, 550px);
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: var(--space-64);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    cursor: url('../assets/cursors/heart.svg'), pointer !important;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 92, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-32);
}

.quote-icon {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: var(--primary-accent);
    line-height: 0.1;
    opacity: 0.4;
    margin-top: 15px;
}

.client-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 92, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.2);
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--white);
    font-weight: 500;
    margin-bottom: var(--space-48);
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 4px;
}

.client-role {
    font-size: 0.85rem;
    color: var(--gray-300);
    text-transform: uppercase;
}

.result-badge {
    background: rgba(255, 92, 0, 0.1);
    color: var(--primary-accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(255, 92, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Tablet: wider cards, smaller padding Ã¢â€â‚¬Ã¢â€â‚¬ */

/* --- Snappy Universal Reveals (AOS) --- */
.reveal {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(40px) scale(0.98);
    transition:
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

/* Header reveal logic is now fully consolidated above â€” no duplicate needed */

/* --- Elite UI Extensions --- */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--glass-white);
    -webkit-backdrop-filter: var(--blur-med);
    backdrop-filter: var(--blur-med);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#scroll-to-top:hover {
    background: var(--primary-accent);
    color: var(--black);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Horizontal Scroll Enhancements */
.mobile-nav-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    /* Mobile only */
    align-items: center;
    gap: 12px;
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 10;
}

.hint-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-accent);
    border-radius: 50%;
    animation: marquee-pulse 1.5s infinite;
}

.horizontal-nav-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    /* Tablet/Mobile only */
    gap: 20px;
    z-index: 20;
}

.nav-control {
    width: 50px;
    height: 50px;
    background: var(--glass-white);
    -webkit-backdrop-filter: var(--blur-med);
    backdrop-filter: var(--blur-med);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.nav-control:active {
    background: var(--primary-accent);
    transform: scale(0.9);
}


/* --- Project & Card Cursor Followers --- */
#project-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.5);
    /* Premium Dark Glass */
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#project-cursor-follower::after {
    content: '';
    /* Remove text */
    width: 32px;
    height: 32px;
    background-color: var(--white);
    -webkit-mask: url('../assets/cursors/link-stroke.svg') no-repeat center;
    mask: url('../assets/cursors/link-stroke.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    mix-blend-mode: difference;
    /* Icon is inverted */
    opacity: 0;
    transition: opacity 0.3s ease;
}

#project-cursor-follower.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#project-cursor-follower.active::after {
    opacity: 1;
}

/* Specific delays for staggered items can also be handled via inline styles in JS */

/* --- Responsive Overrides & Mobile Refactor --- */




/* --- Project Card Parallax Tilt --- */
.project-card,
.project-card *,
.project-link-overlay {
    cursor: none !important;
    /* Forcefully hide native cursor and pointer */
}

.project-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.project-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    /* High enough to capture all clicks */
}

#project-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.8) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 9999999 !important;
    /* Ultra-high z-index */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#project-cursor-follower.active {
    opacity: 1 !important;
}

#project-cursor-follower::after {
    content: '' !important;
    width: 36px !important;
    height: 36px !important;
    background: url('../assets/cursors/link-stroke.svg') no-repeat center !important;
    background-size: contain !important;
    /* Invert black to white and boost brightness for pure white */
    filter: invert(1) brightness(10) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) !important;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}



/* Burger Animation State */
.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Elite Social Components --- */
.social-sidebar {
    position: fixed;
    left: 40px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 1000;
    animation: slideInSidebar 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-link {
    font-size: 1.1rem;
    color: var(--gray-400);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--blur-low);
    backdrop-filter: var(--blur-low);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link:hover {
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.4);
    border-color: var(--primary-accent);
}

.sidebar-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, var(--primary-accent), transparent);
    box-shadow: 0 0 10px var(--primary-accent);
}

/* Footer Socials */
.footer-socials {
    display: none;
    /* Hidden by default (Desktop) */
    justify-content: center;
    gap: var(--space-24);
    margin-bottom: var(--space-32);
}

.footer-social-link {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.footer-social-link:hover {
    color: var(--primary-accent);
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--primary-accent));
}

@keyframes slideInSidebar {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================================
   @media (max-width: 1100px)
   =========================================== */
@media (max-width: 1100px) {
    .social-sidebar {
        display: none;
    }

    .footer-socials {
        display: flex;
    }
}

/* ===========================================
   @media (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {

    /* Testimonials */
    .testimonials-slider::before,
    .testimonials-slider::after {
        width: 8vw;
    }

    .testimonial-card {
        flex: 0 0 clamp(280px, 80vw, 520px);
        padding: var(--space-48);
    }

    .testimonial-text {
        font-size: 1.15rem;
        margin-bottom: var(--space-32);
    }

    /* Nav */
    .mobile-nav-hint,
    .horizontal-nav-controls,
    .scroll-progress-container {
        display: none !important;
    }

    .nav-wrapper {
        padding: var(--space-8) var(--space-16);
    }

    /* Solutions horizontal scroll */
    .horizontal-scroll-section {
        height: auto !important;
        padding-bottom: var(--space-80);
    }

    .sticky-wrapper {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    .horizontal-container {
        flex-direction: column;
        transform: none !important;
        padding: 0;
        gap: 30px;
    }

    .service-card {
        min-width: 100%;
        height: auto;
        min-height: 320px;
        padding: var(--space-32);
        border-radius: 40px;
    }

    .card-icon-container {
        width: 180px;
        height: 180px;
        top: -30px;
        right: -30px;
    }
}

/* ===========================================
   @media (max-width: 768px)
   =========================================== */
@media (max-width: 768px) {

    /* Particles: CSS dot grid replaces canvas */
    #interactive-grid {
        display: none !important;
    }

    #global-atmosphere::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
        background-size: 32px 32px;
        pointer-events: none;
        z-index: 5;
        opacity: 0.7;
    }

    /* Morph blobs off */
    .morph-blob {
        display: none !important;
    }

    /* Orbs: static but same visual as desktop */
    .atmos-orb {
        filter: blur(80px) !important;
        will-change: auto !important;
        opacity: 0.3 !important;
        animation: none !important;
        display: block !important;
    }

    /* Performance: remove backdrop-filter & will-change on mobile */
    .icon-capsule {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.06) !important;
        animation: none !important;
    }

    .logo-track,
    .testimonials-track,
    .ribbon-track-ltr,
    .ribbon-track-rtl,
    .marquee-content,
    .footer-track,
    .icon-track {
        will-change: auto;
    }

    .service-card,
    .project-card,
    .social-link,
    .cta-btn {
        transition: opacity 0.3s ease !important;
    }

    .btn-meet-elite {
        animation: none !important;
        box-shadow: 0 6px 20px rgba(255, 92, 0, 0.4) !important;
    }

    .horizon-title {
        animation: none !important;
    }

    /* Testimonials */
    .testimonials-slider::before,
    .testimonials-slider::after {
        display: block;
        width: 10vw;
    }

    .testimonials-slider {
        overflow: hidden;
        padding: var(--space-16) 0;
    }

    .testimonials-track {
        animation: testimonial-marquee 30s linear infinite;
        width: max-content;
        gap: var(--space-24);
        display: flex;
    }

    .testimonial-card {
        flex: 0 0 min(86vw, 320px);
        padding: var(--space-24);
        border-radius: 20px;
        gap: var(--space-16);
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: var(--space-16);
    }

    .quote-header {
        margin-bottom: var(--space-16);
    }

    .quote-icon {
        font-size: 2.8rem;
    }

    .client-avatar {
        width: 44px;
        height: 44px;
    }

    .client-name {
        font-size: 0.85rem;
    }

    .client-role {
        font-size: 0.7rem;
    }

    .result-badge {
        font-size: 0.68rem;
        padding: 5px 10px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-info {
        padding: var(--space-24);
    }

    .project-info h3 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
        margin-bottom: 6px;
    }

    .project-info p {
        font-size: clamp(0.78rem, 3vw, 0.95rem);
        margin-bottom: var(--space-12);
    }

    .tags {
        gap: 8px;
        flex-wrap: wrap;
    }

    .tags span {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    #project-cursor-follower {
        display: none !important;
    }

    /* Icon marquee */
    .icon-marquee-separator {
        height: 130px;
    }

    .icon-track {
        gap: 60px;
        padding: 0 30px;
    }

    .icon-capsule {
        width: 64px;
        height: 64px;
    }

    .icon-capsule i {
        width: 26px;
        height: 26px;
    }

    /* Metrics */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .big-number {
        font-size: 3.5rem;
    }

    .suffix {
        font-size: 2rem;
    }

    /* Typography */
    .section-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-line-dynamic {
        font-size: clamp(1rem, 3vw, 2rem);
        margin-bottom: var(--space-40);
        white-space: nowrap;
    }

    .hero-line-static {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    /* Hero image */
    .preloader-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .hero-image-wrapper {
        width: 160px;
        height: 160px;
    }

    /* CTA */
    .cta-btn {
        padding: 16px 32px;
        width: 100%;
    }

    #cta h2 {
        font-size: clamp(1rem, 5vw, 2rem);
    }

    .cta-actions {
        flex-direction: column;
        gap: var(--space-16);
    }

    /* Service cards */
    .service-card h3 {
        font-size: clamp(1.5rem, 4vw, 4rem);
    }

    .service-card p {
        font-size: clamp(0.8rem, 2vw, 2rem);
    }

    /* FAQ */
    .faq-container {
        margin-top: var(--space-32);
    }

    .accordion-item {
        padding: var(--space-20);
        border-radius: 16px;
    }

    .accordion-header {
        padding: var(--space-16);
    }

    .accordion-header h3 {
        font-size: clamp(0.9rem, 3.8vw, 1.1rem);
        padding-right: var(--space-16);
    }

    .accordion-content p {
        font-size: clamp(0.82rem, 3.2vw, 0.95rem);
        max-width: 100%;
        line-height: 1.65;
        padding: 0 var(--space-16);
    }

    .plus-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* ===========================================
   @media (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {

    /* Hero */
    .hero-line-dynamic {
        font-size: clamp(1.3rem, 7vw, 2.5rem);
        white-space: normal;
        line-height: 1.15;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 min(90vw, 290px) !important;
        padding: var(--space-16) !important;
        border-radius: 16px !important;
    }

    .testimonial-text {
        font-size: 0.82rem !important;
        margin-bottom: var(--space-8) !important;
    }

    .client-name {
        font-size: 0.78rem !important;
    }

    .client-role {
        font-size: 0.65rem !important;
    }

    .result-badge {
        font-size: 0.62rem !important;
        padding: 4px 8px !important;
    }

    /* Projects */
    .project-info {
        padding: var(--space-24);
    }

    .project-info h3 {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 4px;
    }

    .project-info p {
        font-size: clamp(0.72rem, 2.8vw, 0.85rem);
        margin-bottom: 8px;
        line-height: 1.45;
    }

    .tags span {
        font-size: 0.62rem;
        padding: 2px 8px;
    }

    /* Icon marquee */
    .icon-marquee-separator {
        height: 100px;
    }

    .icon-track {
        gap: 36px;
        padding: 0 18px;
    }

    .icon-capsule {
        width: 52px;
        height: 52px;
    }

    .icon-capsule i {
        width: 20px;
        height: 20px;
    }

    /* Metrics */
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        font-size: 4rem;
    }

    /* FAQ */
    .accordion-item {
        padding: var(--space-16) var(--space-20);
        border-radius: 14px;
    }

    .accordion-header {
        padding: var(--space-16) 0;
    }

    .accordion-header h3 {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
    }

    .accordion-content p {
        font-size: clamp(0.76rem, 3vw, 0.88rem);
        line-height: 1.6;
        padding: 0;
    }

    .plus-icon {
        width: 16px;
        height: 16px;
    }

    /* Reduce excessive vertical spacing on mobile */
    section { padding: var(--space-32) 0; }
    .trust-metrics { padding: var(--space-40) 0; }
    .kinetic-separator { padding: var(--space-32) 0; min-height: 20vh; }
    #cta { padding: var(--space-32) 0; }
    .double-ribbon-section { padding: var(--space-32) 0; }
    footer { padding: var(--space-32) 0 var(--space-24); }
    #hero { 
        min-height: 85vh; 
        padding-bottom: 80px; 
    }
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Respect system accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}