/* ============================================
   ARTHA CORE — CSS DESIGN SYSTEM
   Theme: Black & Orange / Cinematic / AI Agency
   ============================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
    /* Colors */
    --color-black: #000000;
    --color-bg: #050505;
    --color-bg-secondary: #0a0a0a;
    --color-bg-card: #0d0d0d;
    --color-surface: #111111;
    --color-border: rgba(255, 140, 50, 0.12);
    --color-border-subtle: rgba(255, 255, 255, 0.06);

    --color-orange-primary: #FF6A1A;
    --color-orange-light: #FF8C42;
    --color-orange-dark: #CC4400;
    --color-orange-glow: rgba(255, 106, 26, 0.3);
    --color-orange-subtle: rgba(255, 106, 26, 0.08);
    --color-amber: #F5A623;

    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.65);
    --color-text-tertiary: rgba(255, 255, 255, 0.4);
    --color-text-muted: rgba(255, 255, 255, 0.25);

    /* Typography */
    --font-display: 'Orbitron', monospace, sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-accent: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slide: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    /* Z-Index Scale */
    --z-bg: 1;
    --z-spline: 2;
    --z-figure: 3;
    --z-content: 5;
    --z-nav-arrows: 10;
    --z-bottom: 10;
    --z-nav: 100;
    --z-menu: 200;
    --z-cursor: 9999;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

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

ul {
    list-style: none;
}

::selection {
    background: var(--color-orange-primary);
    color: var(--color-black);
}

/* ---- Utility ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--color-orange-primary), var(--color-amber), var(--color-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Custom Cursor Styling ---- */
body.custom-cursor-enabled {
    cursor: none;
}

body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled input,
body.custom-cursor-enabled textarea,
body.custom-cursor-enabled select,
body.custom-cursor-enabled .services__card,
body.custom-cursor-enabled .hero__cta,
body.custom-cursor-enabled .hero__nav {
    cursor: none !important;
}

.cursor, .cursor-follower {
    display: none;
}

body.custom-cursor-enabled .cursor,
body.custom-cursor-enabled .cursor-follower {
    display: block;
}

/* ---- Custom Cursor ---- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: var(--z-cursor);
    will-change: transform;
}

.cursor__dot {
    width: 8px;
    height: 8px;
    background: var(--color-orange-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s ease-out, background 0.2s ease-out;
    will-change: transform;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: var(--z-cursor);
    will-change: transform;
}

.cursor-follower__ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 106, 26, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease-out;
    will-change: transform;
}

.cursor.hovering .cursor__dot {
    transform: translate(-50%, -50%) scale(2);
    background: var(--color-orange-light);
    box-shadow: 0 0 10px var(--color-orange-glow);
}

.cursor-follower.hovering .cursor-follower__ring {
    transform: translate(-50%, -50%) scale(1.4);
    border-color: var(--color-orange-primary);
    box-shadow: 0 0 15px rgba(255, 106, 26, 0.2);
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-2xl);
    z-index: var(--z-nav);
    transition: background var(--transition-base);
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    mix-blend-mode: screen;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px var(--color-orange-glow));
    transition: transform var(--transition-fast);
}

.nav__logo:hover {
    color: var(--color-orange-primary);
}

.nav__logo:hover .nav__logo-icon {
    transform: rotate(10deg) scale(1.08);
}

.nav__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    transition: transform var(--transition-fast);
}

.nav__menu-btn:hover {
    transform: scale(1.1);
}

.nav__menu-line {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav__menu-btn.active .nav__menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.active .nav__menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__menu-btn.active .nav__menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- Menu Overlay ---- */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.99);
    z-index: var(--z-menu);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-overlay__close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: calc(var(--z-menu) + 1);
    transition: transform var(--transition-fast);
    background: transparent;
    border: none;
    padding: 0;
}

.menu-overlay__close-btn:hover {
    transform: scale(1.1);
}

.menu-overlay__close-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    position: absolute;
    transition: background var(--transition-fast);
}

.menu-overlay__close-btn:hover .menu-overlay__close-line {
    background: var(--color-orange-primary);
}

.menu-overlay__close-line:nth-child(1) {
    transform: rotate(45deg);
}

.menu-overlay__close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-overlay__content {
    text-align: center;
}

.menu-overlay__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.menu-overlay__link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    transition: color var(--transition-base), transform var(--transition-base);
    display: inline-block;
    position: relative;
}

.menu-overlay__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange-primary);
    transition: width var(--transition-base);
}

.menu-overlay__link:hover {
    color: var(--color-orange-primary);
    transform: translateX(10px);
}

.menu-overlay__link:hover::after {
    width: 100%;
}

.menu-overlay__footer {
    margin-top: var(--space-4xl);
    color: var(--color-text-tertiary);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.menu-overlay__socials {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

.menu-overlay__socials a {
    color: var(--color-text-tertiary);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-overlay__socials a:hover {
    color: var(--color-orange-primary);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--color-black);
}

/* Individual Slide */
.hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slide);
}

.hero__slide.active {
    z-index: 2; /* Sit on top of inactive slides so the active WebGL canvas receives pointer events directly */
    opacity: 1;
    pointer-events: auto;
}

/* Force all pointer events inside inactive slides to none to prevent invisible elements from blocking the active slide */
.hero__slide:not(.active) * {
    pointer-events: none !important;
}

/* Background Image Layer */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: var(--z-bg);
    background: 
        radial-gradient(circle at 80% 30%, rgba(255, 80, 0, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255, 80, 0, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, #050302 0%, #000000 100%);
    background-color: #000000;
    overflow: hidden;
}

/* Subtle digital dot matrix grid pattern */
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 80, 0, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hero__bg-img {
    display: none;
}

.hero__slide.active .hero__bg-img {
    transform: scale(1);
}

/* Gradient overlays for readability */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.8) 100%),
        linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 60%);
    z-index: 1;
}

/* Spline 3D Container Layer */
.hero__spline-container {
    position: absolute;
    inset: 0;
    z-index: var(--z-spline);
    pointer-events: none;
}

/* When Spline is loaded, enable pointer events for interaction */
.hero__spline-container.spline-loaded {
    pointer-events: auto;
}

.hero__spline-container spline-viewer {
    width: 100%;
    height: 100%;
    outline: none !important;
    border: none !important;
}

/* =============================================
   ROBOT SPLINE WRAPPER — GPU Composited Layer
   ============================================= */
.hero__robot-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    z-index: var(--z-figure);
    /* Force GPU layer — prevents paint on every animation frame */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
    /* flex-shrink guard */
    flex-shrink: 0;
    pointer-events: auto;
    touch-action: pan-y;
    /* Smooth out the hard left edge where the WebGL canvas meets the background */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

.hero__robot-wrapper spline-viewer {
    outline: none !important;
    border: none !important;
}

.hero__robot-float-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Smooth floating animation using GPU transform only */
    animation: robotImageFloat 8s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.hero__robot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: auto;
    user-select: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 0.15s ease-out;
}

@keyframes robotImageFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -15px, 0) scale(1.02);
    }
}

/* Scroll-driven fade — applied by JS, compositor-only */
.hero__robot-wrapper.robot-scroll-fade {
    opacity: 0;
    transform: translateZ(0) translateY(60px);
}

spline-viewer#spline-robot {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent !important;
    pointer-events: auto !important;
    /* No filter, no box-shadow — instant frame-rate killer */
}

/* Kill any white flash from the shadow DOM canvas */
spline-viewer#spline-robot::part(canvas) {
    background: transparent !important;
}
/* Force hide Spline built-in logo watermark */
spline-viewer#spline-robot::part(logo) {
    display: none !important;
}

spline-viewer#spline-presence {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent !important;
    pointer-events: auto !important;
}

spline-viewer#spline-presence::part(canvas) {
    background: transparent !important;
}
spline-viewer#spline-presence::part(logo) {
    display: none !important;
}

spline-viewer#spline-systems {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent !important;
    pointer-events: auto !important;
    filter: sepia(1) saturate(4.2) hue-rotate(-25deg) brightness(1.1) contrast(1.15);
}

spline-viewer#spline-systems::part(canvas) {
    background: transparent !important;
}
spline-viewer#spline-systems::part(logo) {
    display: none !important;
}

#systems-wrapper {
    will-change: transform;
}

#presence-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

#lead-pipeline-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: auto;
}





/* Hover pulse on robot — orange glow ring around wrapper */
@keyframes robotGlowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
    50%  { box-shadow: 0 0 40px 8px rgba(255, 106, 26, 0.18); }
    100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}

.hero__robot-wrapper.robot-hover-pulse {
    animation: robotGlowPulse 0.8s ease-in-out infinite;
}



/* ---- Watermark Cover Overlay Widget ---- */
.watermark-cover {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: auto;
    min-width: 180px;
    padding: 0 24px;
    height: 48px;
    background-color: var(--color-black);
    border: 1px solid rgba(255, 106, 26, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-nav-arrows);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 106, 26, 0.05);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    pointer-events: auto;
    cursor: pointer;
}

.watermark-cover:hover {
    border-color: var(--color-orange-primary);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.95), 0 0 15px rgba(255, 106, 26, 0.2);
    transform: translateY(-2px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator__dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-orange-primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px var(--color-orange-primary);
    animation: statusDotPulse 2s infinite ease-in-out;
}

.status-indicator__text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

@keyframes statusDotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 4px var(--color-orange-glow);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 12px var(--color-orange-primary);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 4px var(--color-orange-glow);
    }
}

/* Hero Content */
.hero__content {
    position: absolute;
    inset: 0;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--space-2xl);
    padding-top: 60px;
    pointer-events: none; /* Let pointer events pass through to robot wrapper */
}

/* Title */
.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: var(--space-xl);
}

.hero__title-main {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    text-shadow: 
        0 0 40px rgba(255, 106, 26, 0.15),
        0 0 80px rgba(255, 106, 26, 0.08);
    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
    user-select: none;
    pointer-events: auto; /* enable pointer events for title text hover */
}

/* ---- Interactive Title Letters ---- */
.interactive-letter {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                color 0.4s ease, 
                text-shadow 0.4s ease;
    cursor: default;
    will-change: transform, color, text-shadow;
}

.interactive-letter:hover {
    color: var(--color-orange-primary);
    transform: translateY(-6px);
    text-shadow: 
        0 0 10px var(--color-orange-glow),
        0 0 25px rgba(255, 106, 26, 0.5);
}

.interactive-letter-sub {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                color 0.4s ease, 
                text-shadow 0.4s ease;
    cursor: default;
    will-change: transform, color, text-shadow;
}

.interactive-letter-sub:hover {
    color: var(--color-text-primary);
    transform: translateY(-3px);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4);
}

.hero__slide.active .hero__title-main {
    opacity: 1;
    transform: translateY(0);
}

/* Glowing underline effect */
.hero__title-main::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-orange-primary), transparent);
    transition: width 1.2s ease-out 0.6s;
}

.hero__slide.active .hero__title-main::after {
    width: 110%;
}

.hero__title-sub {
    font-family: var(--font-display);
    font-size: clamp(0.7rem, 1.8vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.8em;
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
    text-transform: uppercase;
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}

.hero__slide.active .hero__title-sub {
    opacity: 1;
    transform: translateY(0);
}

/* Info Block (Description + CTA) */
.hero__info {
    max-width: 340px;
    padding-left: var(--space-lg);
    /* Animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.7s, transform 0.8s ease-out 0.7s;
    pointer-events: auto; /* Re-enable pointer events for descriptions and CTAs */
}

.hero__slide.active .hero__info {
    opacity: 1;
    transform: translateY(0);
}

.hero__service-focus {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-orange-primary);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__service-focus::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-orange-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-orange-glow);
}

.hero__description {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

/* CTA Button */
.hero__cta {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    padding: var(--space-md) var(--space-2xl);
    border: 1px solid var(--color-text-secondary);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base), color var(--transition-base);
}

.hero__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-orange-primary);
    transform: translateX(-101%);
    transition: transform var(--transition-base);
    z-index: -1;
}

.hero__cta:hover {
    border-color: var(--color-orange-primary);
    color: var(--color-black);
}

.hero__cta:hover::before {
    transform: translateX(0);
}

/* Navigation Arrows */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-nav-arrows);
    color: var(--color-text-secondary);
    padding: var(--space-md);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.hero__nav:hover {
    color: var(--color-orange-primary);
    transform: translateY(-50%) scale(1.2);
}

.hero__nav--prev {
    left: var(--space-lg);
}

.hero__nav--next {
    right: var(--space-lg);
}

/* Bottom Bar */
.hero__bottom {
    position: absolute;
    bottom: var(--space-2xl);
    left: var(--space-2xl);
    right: var(--space-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-bottom);
    pointer-events: none; /* Let pointer events pass through to robot wrapper */
}

.hero__socials {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    pointer-events: auto; /* Re-enable pointer events for social links */
}

.hero__social-link {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text-tertiary);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__social-link:hover {
    color: var(--color-orange-primary);
}

.hero__social-divider {
    color: var(--color-text-muted);
    font-size: 0.7rem;
    margin: 0 var(--space-xs);
}

.hero__counter {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    pointer-events: auto; /* Re-enable pointer events */
}

.hero__counter-current {
    color: var(--color-text-primary);
    font-weight: 500;
}

.hero__counter-divider {
    margin: 0 var(--space-sm);
    color: var(--color-text-muted);
}

/* Progress Bar */
.hero__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: var(--z-bottom);
}

.hero__progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--color-orange-primary), var(--color-amber));
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* ============================================
   TRUSTED BY SECTION
   ============================================ */
.trusted {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.trusted__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    text-align: center;
}

.trusted__label {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-2xl);
}

.trusted__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.trusted__logo-slot {
    flex: 0 0 auto;
}

.trusted__logo-placeholder {
    width: 120px;
    height: 40px;
    border: 1px dashed var(--color-border);
    border-radius: 6px;
    opacity: 0.3;
    transition: opacity var(--transition-fast);
}

.trusted__logo-placeholder:hover {
    opacity: 0.5;
    border-color: var(--color-orange-primary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 110px;
}

/* Subtle background glow */
.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-orange-subtle) 0%, transparent 70%);
    pointer-events: none;
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.services__label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-orange-primary);
    display: block;
    margin-bottom: var(--space-md);
}

.services__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.services__subtitle {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.services__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    scroll-margin-top: 110px;
}

.services__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-orange-subtle), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.services__card:hover {
    border-color: var(--color-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 106, 26, 0.06);
}

.services__card:hover::before {
    opacity: 1;
}

.services__card--featured {
    border-color: rgba(255, 106, 26, 0.25);
    background: linear-gradient(135deg, var(--color-bg-card), rgba(255, 106, 26, 0.03) 50%, var(--color-bg-card));
    box-shadow: 0 4px 30px rgba(255, 106, 26, 0.02);
}

.services__card--featured:hover {
    border-color: var(--color-orange-primary);
    box-shadow: 0 20px 60px rgba(255, 106, 26, 0.1);
}

@media (min-width: 769px) {
    .services__card--featured {
        grid-column: span 2;
    }
}

.services__card-number {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

.services__card-icon {
    width: 48px;
    height: 48px;
    margin: var(--space-lg) 0;
    color: var(--color-orange-primary);
    position: relative;
    z-index: 1;
}

.services__card-icon svg {
    width: 100%;
    height: 100%;
}

.services__card-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.services__card-desc {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.services__card-link {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-orange-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color var(--transition-fast), gap var(--transition-fast);
    position: relative;
    z-index: 1;
}

.services__card-link:hover {
    gap: var(--space-md);
    color: var(--color-orange-light);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 110px;
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about__label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-orange-primary);
    display: block;
    margin-bottom: var(--space-lg);
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.3;
    margin-bottom: var(--space-xl);
}

.about__description {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.about__stats {
    display: flex;
    gap: var(--space-2xl);
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-orange-primary);
    line-height: 1;
}

.about__stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-orange-primary);
}

.about__stat-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.about__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Spline container for about section */
.about__spline-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.about__spline-container.spline-loaded {
    pointer-events: auto;
}

/* Interactive container that hosts the orb and keeps 3D context */
.about__orb-wrapper {
    position: relative;
    transform-style: preserve-3d;
    animation: orbFloat 6s ease-in-out infinite;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative orb with dynamic light tracking and 3D tilt */
.about__orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    /* Dynamic light spotlight position controlled by JS */
    background: radial-gradient(
        circle at var(--orb-light-x, 30%) var(--orb-light-y, 30%), 
        var(--color-orange-light) 0%, 
        var(--color-orange-primary) 30%, 
        var(--color-orange-dark) 70%, 
        rgba(0, 0, 0, 0.95) 100%
    );
    box-shadow: 
        0 0 60px var(--color-orange-glow),
        0 0 120px rgba(255, 106, 26, 0.15),
        inset 0 0 60px rgba(0,0,0,0.5);
    position: relative;
    transform-style: preserve-3d;
    /* 3D tilt and scale controlled by JS / Hover */
    transform: rotateX(var(--orb-rot-x, 0deg)) rotateY(var(--orb-rot-y, 0deg)) scale(var(--orb-scale, 1));
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, background 0.05s ease;
    will-change: transform, background;
}

/* Outer/Inner rings separated in 3D Z-depth for intense parallax */
.about__orb::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 106, 26, 0.18);
    animation: orbRingInner 10s linear infinite;
    pointer-events: none;
}

.about__orb::after {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 106, 26, 0.08);
    animation: orbRingOuter 14s linear infinite;
    pointer-events: none;
}

/* Dynamic Hover Glow and scale scaling on the orb container */
.about__orb-wrapper:hover .about__orb {
    --orb-scale: 1.08;
    box-shadow: 
        0 0 80px var(--color-orange-glow),
        0 0 160px rgba(255, 106, 26, 0.25),
        inset 0 0 40px rgba(0,0,0,0.4);
}

/* Tactile holographic click ripple */
.about__orb-ripple {
    position: absolute;
    border: 2px solid var(--color-orange-primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--color-orange-glow);
    animation: orbRippleAnim 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 10;
}

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

@keyframes orbRingInner {
    0% { transform: translateZ(30px) rotate(0deg); }
    100% { transform: translateZ(30px) rotate(360deg); }
}

@keyframes orbRingOuter {
    0% { transform: translateZ(-30px) rotate(0deg); }
    100% { transform: translateZ(-30px) rotate(-360deg); }
}

@keyframes orbRippleAnim {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
    position: relative;
    scroll-margin-top: 110px;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--color-orange-subtle) 0%, transparent 70%);
    pointer-events: none;
}

.contact__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    position: relative;
    z-index: 1;
}

.contact__content {
    text-align: center;
}

.contact__label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-orange-primary);
    display: block;
    margin-bottom: var(--space-lg);
}

.contact__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-md);
}

.contact__desc {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact__input {
    width: 100%;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    padding: var(--space-md) var(--space-lg);
    transition: all var(--transition-fast);
    outline: none;
}

.contact__input::placeholder {
    color: var(--color-text-muted);
}

.contact__input:focus {
    border-color: var(--color-orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.1);
}

.contact__textarea {
    resize: vertical;
    min-height: 100px;
}

.contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: var(--space-lg) var(--space-2xl);
    background: var(--color-orange-primary);
    color: var(--color-black);
    border: none;
    border-radius: 8px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
    align-self: center;
    margin-top: var(--space-md);
}

.contact__submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-orange-light), var(--color-amber));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.contact__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 26, 0.3);
}

.contact__submit:hover::before {
    opacity: 1;
}

.contact__submit span,
.contact__submit svg {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-black);
    border-top: 1px solid var(--color-border-subtle);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: var(--space-xl);
}

.footer__logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__logo-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--color-orange-glow));
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-text-primary);
}

.footer__tagline {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
    margin-top: var(--space-sm);
    max-width: 280px;
}

.footer__links {
    display: flex;
    gap: var(--space-3xl);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.footer__link {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer__link:hover {
    color: var(--color-orange-primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal-link {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer__legal-link:hover {
    color: var(--color-text-secondary);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-orange-primary), var(--color-amber), var(--color-orange-light));
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.3, 1), transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Clip-path reveal for section headers */
.services__title,
.about__title,
.contact__title {
    clip-path: inset(0 0 100% 0);
    transform: translateY(40px);
    transition: clip-path 1.2s cubic-bezier(0.25, 1, 0.3, 1), transform 1.2s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: clip-path, transform;
}

.services__header.visible .services__title,
.about__title.visible,
.contact__content.visible .contact__title {
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
}

/* Staggered 3D card scroll reveal overrides */
.services__card.reveal {
    opacity: 0;
    transform: translateY(60px) rotateX(12deg) scale(0.96);
    transform-origin: bottom center;
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.3, 1), transform 0.9s cubic-bezier(0.25, 1, 0.3, 1), border-color var(--transition-base), box-shadow var(--transition-base);
    will-change: transform, opacity;
}

.services__card.reveal.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about__visual {
        min-height: 300px;
    }

    .about__orb {
        width: 220px;
        height: 220px;
    }

}

@media (max-width: 768px) {
    .nav {
        padding: var(--space-md) var(--space-lg);
    }

    .hero__content {
        padding: 0 var(--space-lg);
        padding-top: 80px;
    }

    .hero__info {
        max-width: 280px;
    }


    .hero__bottom {
        left: var(--space-lg);
        right: var(--space-lg);
        bottom: var(--space-lg);
    }

    .hero__nav--prev {
        left: var(--space-sm);
    }

    .hero__nav--next {
        right: var(--space-sm);
    }

    .services__grid,
    .process__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .contact__form-row {
        grid-template-columns: 1fr;
    }

    .footer__top {
        flex-direction: column;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* Hide custom cursor on touch devices */
    .cursor, .cursor-follower { display: none; }
    .hero__robot-wrapper { display: none !important; }
    body { cursor: auto; }
    a, button { cursor: pointer; }
}

@media (max-width: 480px) {
    .hero__title-main {
        font-size: 2.5rem;
    }

    .hero__title-sub {
        font-size: 0.6rem;
        letter-spacing: 0.5em;
    }


    .about__orb {
        width: 180px;
        height: 180px;
    }
}


/* ============================================
   LOADING ANIMATION
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 99999;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-orange-primary);
    opacity: 0;
    animation: loaderCinematicFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    clip-path: inset(0 0 0 0);
}

@keyframes loaderCinematicFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

/* Premium ambient radial glow behind the loader content */
.page-loader::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 106, 26, 0.06) 0%,
        rgba(255, 106, 26, 0.025) 35%,
        transparent 70%
    );
    opacity: 0;
    animation: loaderAmbientGlow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    z-index: -1;
}

@keyframes loaderAmbientGlow {
    0% { opacity: 0; transform: scale(0.7); }
    40% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

.page-loader__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--color-orange-glow));
    animation: loaderLogoPulse 1.5s ease-in-out infinite;
    margin-bottom: var(--space-sm);
}

@keyframes loaderLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px var(--color-orange-glow));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 25px rgba(255, 106, 26, 0.6));
    }
}

/* Logo activation: text gains clarity and sharpness as loading begins */
.page-loader__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
    opacity: 0;
    filter: blur(4px);
    animation: loaderTextActivation 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-shadow: 0 0 0 transparent;
}

@keyframes loaderTextActivation {
    0% {
        opacity: 0;
        filter: blur(4px);
        text-shadow: 0 0 0 transparent;
    }
    60% {
        opacity: 0.85;
        filter: blur(0.5px);
        text-shadow: 0 0 20px rgba(255, 106, 26, 0.15);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        text-shadow: 0 0 30px rgba(255, 106, 26, 0.08);
    }
}

.page-loader__bar {
    width: 240px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: loaderBarFadeIn 0.3s ease-out forwards;
}

@keyframes loaderBarFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.page-loader__bar-inner {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange-primary), var(--color-amber));
    position: relative;
    border-radius: 2px;
}

/* Premium energy glow that travels with the loading bar leading edge */
.page-loader__bar-inner::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -4px;
    width: 30px;
    height: 10px;
    background: radial-gradient(
        ellipse at right center,
        rgba(255, 140, 50, 0.5) 0%,
        rgba(255, 106, 26, 0.2) 40%,
        transparent 75%
    );
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.page-loader.animating .page-loader__bar-inner {
    animation: loaderBar 3.2s cubic-bezier(0.05, 0.0, 0.15, 1) forwards;
}

/* Premium completion transition: cinematic iris-open power-on reveal */
.page-loader.loaded {
    animation: loaderIrisOpen 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    pointer-events: none;
}

@keyframes loaderIrisOpen {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        filter: brightness(1);
    }
    15% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        filter: brightness(1.8);
    }
    30% {
        clip-path: inset(2% 2% 2% 2%);
        filter: brightness(1.2);
    }
    100% {
        clip-path: inset(50% 50% 50% 50%);
        opacity: 0;
        filter: brightness(0.5) blur(4px);
    }
}

.page-loader.loaded .page-loader__text {
    animation: none;
    transition: opacity 0.3s ease-out, transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), text-shadow 0.3s ease-out;
    text-shadow: 0 0 50px rgba(255, 106, 26, 0.4);
    transform: scale(1.15);
    opacity: 0;
}

.page-loader.loaded .page-loader__bar {
    transition: opacity 0.3s ease-out, box-shadow 0.3s ease-out;
    box-shadow: 0 0 15px rgba(255, 106, 26, 0.15);
    opacity: 0;
}

.page-loader.loaded .page-loader__logo {
    animation: none;
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-out;
    transform: scale(0.9);
    opacity: 0;
}

.page-loader.loaded::before {
    animation: none;
    transition: opacity 0.4s ease-out, transform 0.6s ease-in;
    transform: scale(1.5);
    opacity: 0;
}

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

@keyframes loaderBar {
    0% { 
        width: 0%; 
        box-shadow: 0 0 4px rgba(255, 106, 26, 0.2);
    }
    25% {
        width: 8%;
        box-shadow: 0 0 6px rgba(255, 106, 26, 0.3);
    }
    50% {
        width: 22%;
        box-shadow: 0 0 8px var(--color-orange-glow);
    }
    70% {
        width: 45%;
        box-shadow: 0 0 10px var(--color-orange-primary);
    }
    85% {
        width: 78%;
        box-shadow: 0 0 14px var(--color-orange-primary);
    }
    95% {
        width: 97%;
        box-shadow: 0 0 25px var(--color-orange-primary), 0 0 8px var(--color-amber);
    }
    98% {
        width: 100%;
        box-shadow: 0 0 50px var(--color-white), 0 0 30px var(--color-orange-primary), 0 0 80px rgba(255, 106, 26, 0.4);
        background: linear-gradient(90deg, var(--color-orange-primary), var(--color-white));
    }
    100% { 
        width: 100%; 
        box-shadow: 0 0 20px var(--color-orange-primary);
        background: linear-gradient(90deg, var(--color-orange-primary), var(--color-amber));
    }
}

/* ============================================
   DIRECT INSTAGRAM CONTACT & ICON STYLING
   ============================================ */
.social-icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

a:hover .social-icon {
    transform: scale(1.1);
}

.contact__direct {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-secondary);
}

.contact__direct-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    white-space: nowrap;
}

.contact__direct-divider {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

.contact__instagram-link,
.contact__email-link,
.contact__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-orange-primary);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.contact__instagram-link:hover,
.contact__email-link:hover,
.contact__phone-link:hover {
    color: var(--color-orange-light);
    transform: translateY(-1px);
}

.menu-overlay__email,
.menu-overlay__phone {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.menu-overlay__email:hover,
.menu-overlay__phone:hover {
    color: var(--color-orange-primary);
}



.services__card-btn.active:hover {
    background: #24ff7e !important;
}

/* ============================================
   ROI CALCULATOR SECTION
   ============================================ */
.roi-calc {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

.roi-calc::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.roi-calc__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.roi-calc__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.roi-calc__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.roi-calc__subtitle {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.roi-calc__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.roi-calc__sliders {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
    padding: var(--space-2xl) var(--space-3xl);
}

.roi-calc__slider-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.roi-calc__slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roi-calc__label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.roi-calc__value-badge {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-orange-primary);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 6px;
    padding: 2px 10px;
    min-width: 80px;
    text-align: center;
    transition: all 0.2s ease;
}

.roi-calc__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--color-border-subtle);
    outline: none;
    cursor: pointer;
}

.roi-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-orange-primary);
    cursor: pointer;
    border: 3px solid var(--color-bg-primary);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.roi-calc__slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
    transform: scale(1.15);
}

.roi-calc__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-orange-primary);
    cursor: pointer;
    border: 3px solid var(--color-bg-primary);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}

.roi-calc__slider-range {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
}

.roi-calc__outputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.roi-calc__output-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.roi-calc__output-card--highlight {
    border-color: rgba(255, 107, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, var(--color-bg-card) 100%);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.08);
}

.roi-calc__output-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.roi-calc__output-value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    line-height: 1;
}

.roi-calc__output-card--highlight .roi-calc__output-value {
    background: linear-gradient(135deg, var(--color-orange-primary), #ff8c40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes roi-pulse {
    0%   { transform: scale(1); opacity: 1; }
    30%  { transform: scale(1.06); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.roi-calc__output-value.is-animating {
    animation: roi-pulse 0.35s ease-out forwards;
}

.roi-calc__cta-wrapper {
    text-align: center;
}

.roi-calc__cta {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-bg-primary);
    background: linear-gradient(135deg, var(--color-orange-primary), #ff8c40);
    padding: 18px 52px;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.35);
}

.roi-calc__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(255, 107, 0, 0.5);
}

@media (max-width: 768px) {
    .roi-calc__outputs {
        grid-template-columns: 1fr;
    }

    .roi-calc__sliders {
        padding: var(--space-xl) var(--space-lg);
    }
}






/* ============================================
   AI CHATBOT WIDGET
   ============================================ */

.chat-toggle {
    position: fixed;
    bottom: 12px;
    left: var(--space-2xl);
    padding: 6px 14px;
    background: var(--color-bg-primary);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.chat-toggle:hover {
    border-color: var(--color-orange-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}

.chat-toggle__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-orange-primary);
    box-shadow: 0 0 6px var(--color-orange-primary);
    animation: chat-dot-pulse 2s ease-out infinite;
}
@keyframes chat-dot-pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.chat-toggle__text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-orange-primary);
    text-transform: uppercase;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    left: 28px;
    width: 360px;
    max-height: 520px;
    background: #111111;
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.chat-window.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.chat-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #161616; border-bottom: 1px solid rgba(255,107,0,0.12); flex-shrink: 0; }
.chat-header__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--color-orange-primary),#ff8c40); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-header__avatar svg { width: 18px; height: 18px; color: #0a0a0a; }
.chat-header__name { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff; line-height: 1; }
.chat-header__status { font-family: var(--font-accent); font-size: 0.68rem; color: #4ade80; display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.chat-header__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; flex-shrink: 0; }

.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgba(255,107,0,0.2) transparent; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,107,0,0.2); border-radius: 2px; }

.chat-msg { display: flex; flex-direction: column; max-width: 88%; animation: chat-msg-in 0.28s ease-out both; }
@keyframes chat-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg--ai { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__bubble { padding: 10px 14px; border-radius: 12px; font-family: var(--font-accent); font-size: 0.82rem; line-height: 1.55; }
.chat-msg--ai .chat-msg__bubble { background: #1e1e1e; border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.88); border-bottom-left-radius: 4px; }
.chat-msg--user .chat-msg__bubble { background: linear-gradient(135deg,var(--color-orange-primary),#ff8c40); color: #0a0a0a; font-weight: 500; border-bottom-right-radius: 4px; }

.chat-typing { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: #1e1e1e; border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; border-bottom-left-radius: 4px; align-self: flex-start; width: fit-content; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,107,0,0.7); animation: chat-dot 1.2s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-dot { 0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

.chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #161616; border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.chat-input { flex: 1; background: #222222; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 9px 12px; font-family: var(--font-accent); font-size: 16px; color: rgba(255,255,255,0.9); outline: none; transition: border-color 0.2s ease; }
.chat-input::placeholder { color: rgba(255,255,255,0.25); }
.chat-input:focus { border-color: rgba(255,107,0,0.4); }
.chat-send { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg,var(--color-orange-primary),#ff8c40); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.15s ease, opacity 0.15s ease; }
.chat-send:hover { transform: scale(1.08); }
.chat-send:disabled { opacity: 0.4; cursor: default; transform: none; }
.chat-send svg { width: 16px; height: 16px; color: #0a0a0a; }

@media (max-width: 480px) {
    .chat-window { left: 12px; right: 12px; width: auto; bottom: 90px; }
    .chat-toggle { left: var(--space-lg); bottom: 12px; }
}
/* ========================================= */
/* COMPREHENSIVE MOBILE OPTIMIZATION OVERRIDES */
/* ========================================= */

/* GLOBAL TOUCH TARGETS & TYPOGRAPHY */
@media (max-width: 1024px) {
    .section {
        padding: 80px 4vw !important;
    }
    .hero__content {
        padding: 0 4vw !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px !important;
    }
    .section {
        padding: 60px 20px !important;
    }
    
    /* Touch targets */
    .slider-btn, .nav__menu-btn, .chat-toggle, .menu-overlay__close-btn {
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-overlay__close-btn {
        top: 15px !important;
        right: 15px !important;
    }
    .nav__menu-btn {
        width: 44px !important;
        height: 44px !important;
    }
    
    /* GRIDS TO 1 COLUMN */
    .about__grid,
    .services__grid,
    .analytics__grid,
    .automation__grid,
    .process__grid,
    .contact__grid,
    .footer__grid,
    .roi-calc__outputs {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* SPLINE 3D CINEMATIC FULL-SCREEN BACKGROUND (CSS FALLBACK) */
    spline-viewer,
    #lead-pipeline-canvas {
        display: none !important;
        outline: none !important;
        border: none !important;
    }
    
    .hero__robot-wrapper,
    .hero__spline-container {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0.8 !important;
        z-index: 0 !important;
        pointer-events: none !important;
        background: radial-gradient(circle at 70% 50%, rgba(255, 107, 0, 0.15) 0%, rgba(10, 10, 10, 0) 60%) !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    /* Specific glow positions per slide to match original 3D model positions */
    .hero__slide[data-slide="0"] .hero__robot-wrapper {
        background: radial-gradient(circle at 80% 60%, rgba(255, 107, 0, 0.2) 0%, rgba(10, 10, 10, 0) 70%) !important;
    }
    .hero__slide[data-slide="1"] .hero__robot-wrapper {
        background: radial-gradient(circle at 20% 40%, rgba(255, 107, 0, 0.15) 0%, rgba(10, 10, 10, 0) 65%) !important;
    }
    .hero__slide[data-slide="2"] .hero__spline-container {
        background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.2) 0%, rgba(10, 10, 10, 0) 75%) !important;
    }
    .hero__slide[data-slide="3"] .hero__robot-wrapper {
        background: radial-gradient(circle at 70% 30%, rgba(255, 107, 0, 0.15) 0%, rgba(10, 10, 10, 0) 60%) !important;
    }
    
    /* HERO TEXT READABILITY & CENTERING */
    .hero__slide {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .hero__content {
        z-index: 5 !important;
        position: relative !important;
        padding-top: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    .hero__title-main {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
        line-height: 1.0 !important;
    }
    .hero__title-sub {
        font-size: clamp(1rem, 5vw, 2.5rem) !important;
        letter-spacing: 0.3em !important;
    }
    .hero__description {
        max-width: 100% !important;
    }

    /* NAV ARROWS: LARGER TOUCH TARGET WITHOUT CHANGING VISUAL SIZE */
    .hero__nav {
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* CORE INTEL CHATBOT BUTTON: COMPACT CENTERED PILL */
    .chat-toggle {
        max-width: 180px !important;
        width: 180px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        justify-content: center !important;
        bottom: 15px !important;
    }
    
    /* SLIDE NAVIGATION PREVENTION OVERLAP */
    .hero__slider-nav {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    /* MENU OVERLAY */
    .menu-overlay__content {
        height: 100vh !important;
        overflow-y: auto !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    .menu-overlay__link {
        font-size: clamp(1.5rem, 6vw, 3rem) !important;
        padding: 10px 0 !important;
    }
    
    /* CONTACT FORM INPUTS (16px prevents iOS zoom) */
    .contact__input {
        min-height: 44px !important;
        font-size: 16px !important;
        padding: 12px 15px !important;
    }
    
    /* ROI CALCULATOR SLIDERS TOUCH AREA */
    input[type=range] {
        width: 100% !important;
        margin: 15px 0 !important;
    }
    .roi-calc__slider::-webkit-slider-thumb {
        height: 44px !important;
        width: 44px !important;
        margin-top: -16px !important;
    }
    .roi-calc__slider::-moz-range-thumb {
        height: 44px !important;
        width: 44px !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 15px !important;
    }
    
    /* CHATBOT WINDOW REPOSITIONING */
    .chat-window {
        width: calc(100% - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        bottom: 80px !important;
        height: 60vh !important;
        max-height: 450px !important;
    }
    
    /* HERO BUTTONS */
    .hero__cta {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 340px) {
    /* Extreme small screens (320px) */
    .hero__title-main {
        font-size: 1.8rem !important;
    }
    .nav {
        padding: 15px !important;
    }
}
