:root {
    /* Modern Color Palette */
    --bg-primary: #0B0E13;
    --bg-secondary: #151921;
    --bg-tertiary: #1C2128;

    --text-primary: #F5F7FA;
    --text-secondary: #B8BCC8;
    --text-muted: #6C727F;

    --accent-primary: #FF6B35;
    --accent-secondary: #FFB830;
    --accent-color: #FF6B35;
    /* Added for compatibility */
    --accent-gradient: linear-gradient(135deg, #FF6B35 0%, #FFB830 100%);

    --surface-elevated: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 24px rgba(255, 107, 53, 0.2);

    /* Premium Transitions (Quintic/Expo Easing) */
    --transition-fast: 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-base: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    overflow: hidden;
    position: relative;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
    /* Hide default cursor for custom one */
}

body.menu-open {
    overflow-y: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.15), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 184, 48, 0.1), transparent 40%);
    opacity: 0.8;
    pointer-events: none;
    z-index: -2;
    animation: flowGlow 20s ease-in-out infinite alternate;
}

@keyframes flowGlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Floating Shapes for Scroll Parallax */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: 10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
}

/* Hero Report Overlay */
.hero-report-overlay {
    position: absolute;
    top: 50%;
    left: 75%;
    /* Moved further right to avoid overlapping central text */
    transform: translateY(-50%) rotate(5deg);
    width: 450px;
    height: 700px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    opacity: 0.1;
    /* Even more subtle */
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

@media (max-width: 1600px) {
    .hero-report-overlay {
        left: 80%;
    }
}

@media (max-width: 1400px) {
    .hero-report-overlay {
        display: none;
        /* Hide earlier to prevent any overlap with hero content */
    }
}

.report-content {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    line-height: 2;
    color: var(--accent-primary);
    animation: scrollReport 90s linear infinite;
    letter-spacing: 1px;
}

@keyframes scrollReport {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30%);
    }
}

#webgl-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.8;
}

/* Image loading state */
img {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

img.loaded,
.logo img {
    opacity: 1;
}

/* Custom Cursor */
.cursor {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
}

.scroll-progress {
    display: none;
    /* Replaced by section-nav-tracker */
}

.section-nav-tracker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    display: flex;
    gap: 4px;
    z-index: 10001;
    padding: 2px 4px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.tracker-segment {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.tracker-segment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--segment-progress, 0%);
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.1s linear;
}



.tracker-segment.filled::after {
    width: 100%;
    opacity: 0.6;
}

/* Modern Floating Dock Header */
.header {
    position: fixed;
    top: 25px;
    /* Floats below the progress bar */
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    padding: 12px 0;
    z-index: 10000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(11, 14, 19, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    /* Pill/Dock Shape */
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(11, 14, 19, 0.95);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    top: 15px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
    box-sizing: border-box;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    height: 55px;
    /* Slightly smaller for dock style */
    width: auto;
    transition: transform var(--transition-base), filter var(--transition-base);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.15));
}

.logo:hover img {
    transform: scale(1.03) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(255, 107, 53, 0.25));
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-base);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Header CTA Button - Pill Style */
.btn-glow-header {
    background: linear-gradient(135deg, #FF8235 0%, #FF6B35 50%, #FFB830 100%) !important;
    color: #ffffff !important;
    padding: 0.85rem 2.2rem !important;
    border-radius: 100px !important;
    /* Perfect Pill */
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: none;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4) !important;
    transition: all var(--transition-base) !important;
    position: relative;
    overflow: hidden;
}

.btn-glow-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-glow-header:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4) !important;
}

.btn-glow-header:hover::before {
    left: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Modern Buttons */
.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-block;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Modern Hero Section */
.hero-quso {
    position: relative;
    padding-top: 160px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    /* Changed from gradient to primary color for better video overlay */
    overflow: hidden;
    perspective: 2000px;
}

.quso-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    /* Softened for text readability */
    filter: saturate(1.2) contrast(1.1);
}

.quso-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--bg-primary) 0%,
            transparent 20%,
            transparent 80%,
            var(--bg-primary) 100%);
    z-index: 1;
}

/* Hero Tech Report Overlay */
.hero-report-overlay {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotateY(-20deg);
    width: 350px;
    height: auto;
    max-height: 400px;
    background: rgba(11, 14, 19, 0.4);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 107, 53, 0.4);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.hero-report-overlay .report-content {
    animation: scrollReport 60s linear infinite;
}

.hero-report-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 1px,
            rgba(255, 107, 53, 0.05) 1px,
            rgba(255, 107, 53, 0.05) 2px);
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scrollReport {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Immersive Aura Light */
.hero-aura-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    filter: blur(80px);
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Perspective Grid Floor */
.quso-grid-floor {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%) perspective(1000px) rotateX(60deg);
    width: 200%;
    height: 800px;
    background-image:
        linear-gradient(to right, rgba(255, 107, 53, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 107, 53, 0.2) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.quso-grid-floor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent 70%);
}

/* Dotted Background */
.quso-bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 107, 53, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-quso-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Central Content */
.quso-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.quso-logo-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    animation: floatLogo 6s ease-in-out infinite;
}

.quso-logo-img {
    width: 50px;
    height: auto;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.quso-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.quso-title span {
    display: block;
    font-size: 0.4em;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.8;
}

.text-gradient {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.quso-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    animation: trustFloat 4s ease-in-out infinite;
}

@keyframes trustFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.avatars {
    display: flex;
    margin-left: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    background-size: cover;
    margin-left: -12px;
    transition: transform var(--transition-base);
}

.avatar:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.avatar:first-child {
    margin-left: 0;
}

.quso-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.btn-glow {
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 10;
    display: inline-block;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.45);
}

.btn-glow:hover::before {
    left: 100%;
}

.no-card {
    font-size: 0.85rem;
    color: #666;
}

/* Floating Elements Layout */
.float-element {
    position: absolute;
    z-index: 2;
    text-decoration: none;
}

/* Positions matching the reference scatter */
.top-left {
    top: 15%;
    left: 5%;
}

.top-right {
    top: 18%;
    right: 5%;
}

.bottom-left {
    bottom: 10%;
    left: 0%;
    transform: rotate(-5deg);
}

.bottom-right {
    bottom: 15%;
    right: 2%;
    transform: rotate(5deg);
}

.side-left-mid {
    top: 45%;
    left: 2%;
}

.side-right-mid {
    top: 50%;
    right: 3%;
}

.quso-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    /* Speed increased */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.quso-card.glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quso-card:hover {
    transform: scale(1.1) !important;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background: rgba(40, 40, 40, 0.9);
    cursor: pointer;
}

.quso-card.sm {
    padding: 10px 20px;
    border-radius: 12px;
}

.quso-card.lg {
    width: 300px;
    height: 180px;
    display: block;
}

.quso-card.md {
    width: 220px;
    height: 140px;
    display: block;
}

@keyframes floatingItem {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.delay-1 {
    animation-delay: 1s;
}

.delay-2 {
    animation-delay: 2s;
}

.delay-3 {
    animation-delay: 3s;
}

/* Connecting Lines (Pseudo-elements or SVGs) */
.connect-line {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: -1;
    pointer-events: none;
}

/* Simple implementation visual for lines */
.line-tl {
    width: 200px;
    height: 1px;
    top: 50%;
    left: 100%;
    transform: rotate(25deg);
    border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

.line-tr {
    width: 200px;
    height: 1px;
    top: 50%;
    right: 100%;
    transform: rotate(-25deg);
    border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

/* Dummy UI Stubs */
.dummy-ui-header {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.skeleton-rect {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.skeleton-row {
    display: flex;
    gap: 10px;
}

.skeleton-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 60%;
}

.short {
    width: 30%;
}

.dummy-graph {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 80px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.bar {
    width: 20px;
    background: var(--accent-color);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

.graph-label {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* Bottom Icons */
.floating-icons {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    opacity: 0.8;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s;
}

.tech-icon:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .float-element {
        opacity: 0.5;
        transform: scale(0.8);
    }

    /* Fade floating cards on smaller screens to focus on text */
    .top-left,
    .top-right {
        top: 10%;
    }
}

@media (max-width: 768px) {
    .hero-quso {
        padding-top: 120px;
    }

    .quso-title {
        font-size: 3rem;
    }

    .float-element {
        display: none;
    }

    /* Hide floating UI on mobile */
    .quso-logo-box {
        margin-bottom: 20px;
    }
}

/* Service Categories Marquee */
.service-marquee {
    background: var(--accent-gradient);
    padding: var(--space-xl) 0;
    overflow: hidden;
    position: relative;
    border-top: none;
    border-bottom: none;
}

/* Removed dark fades for orange background */

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: var(--space-xl);
    padding-right: var(--space-xl);
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
    text-transform: uppercase;
    position: relative;
    padding: 0 var(--space-lg);
    transition: all var(--transition-base);
    opacity: 1;
}

.marquee-item:hover {
    color: #000000;
    transform: scale(1.05);
}

.marquee-item::after {
    content: '•';
    position: absolute;
    right: calc(var(--space-lg) * -0.5);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
}

.marquee-item:hover {
    color: #FF6B35;
    transform: scale(1.1);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Marquee */
@media (max-width: 768px) {
    .service-marquee {
        padding: var(--space-md) 0;
    }

    .marquee-item {
        font-size: 1.125rem;
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: block;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-list {
    margin: 20px 0;
    list-style: none;
    padding-left: 20px;
}

.tech-list li {
    margin-bottom: 10px;
    position: relative;
}

.tech-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -20px;
}

.about-visuals {
    position: relative;
    height: 400px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.stat-card:nth-child(1) {
    top: 20%;
    left: 10%;
}

.stat-card:nth-child(2) {
    bottom: 20%;
    right: 10%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-accent);
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card {
    background: var(--surface-elevated);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    will-change: transform, border-color;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.05), transparent 70%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--surface-hover);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 107, 53, 0.1) inset;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 5px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.2));
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

/* Approach Section - Pinned Style (ClickUp-like) */
.approach {
    padding: 0;
    position: relative;
    background: var(--bg-color);
    /* Ensure background is solid */
}

.approach-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    /* No fixed height, let content dictate scroll length */
}

.approach-visual {
    width: 50%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.phone-mockup {
    width: 240px;
    height: 480px;
    border: 10px solid #080808;
    border-radius: 40px;
    position: relative;
    box-shadow:
        0 80px 160px -40px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: none;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    background: #000;
}

/* Premium Phone Frame Details */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 42px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 10;
}

/* Glass Reflection */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            transparent 100%);
    transform: rotate(-25deg);
    pointer-events: none;
    z-index: 15;
    animation: phoneShine 8s infinite linear;
}

@keyframes phoneShine {
    0% {
        transform: rotate(-25deg) translateY(-50%);
    }

    100% {
        transform: rotate(-25deg) translateY(50%);
    }
}

/* Hardware Buttons */
.phone-mockup::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 100px;
    width: 4px;
    height: 40px;
    background: #222;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 50px 0 #222, 0 100px 0 #222;
}

.notch {
    width: 100px;
    height: 36px;
    background: #000;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 18px;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.notch-sensor {
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
}

.notch::after {
    content: '';
    width: 40px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    padding: 20px;
    text-align: center;
}

.screen-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* Screen Content Component Detail Styling */
.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.screen-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 5;
}

.screen-content.prev {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
    filter: blur(5px);
}

.screen-content.next {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(5px);
}

.screen-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.pulse-ring {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    animation: ringPulse 2s infinite;
}

.approach-visual::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.05;
    filter: blur(80px);
    z-index: -1;
    animation: glowMove 10s infinite alternate ease-in-out;
}

@keyframes glowMove {
    0% {
        transform: translate(-10%, -10%);
    }

    100% {
        transform: translate(10%, 10%);
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.design-preview {
    width: 100%;
    height: 100px;
    position: relative;
    margin: 15px 0;
}

.preview-card {
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 10%;
    backdrop-filter: blur(5px);
}

.preview-card.offset {
    top: 20px;
    left: 20%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
}

.color-palette {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.color-palette span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c1 {
    background: var(--accent-primary);
}

.c2 {
    background: var(--accent-secondary);
}

.c3 {
    background: #ffffff;
}

.screen-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.launch-btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 25px;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    border: none;
    cursor: none;
}

/* Right Side Text Steps */
.approach-text {
    width: 50%;
    padding: 20vh 0;
    display: flex;
    flex-direction: column;
    gap: 60vh;
    padding-right: var(--space-lg);
}

.step-container {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    opacity: 0.1;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.step-container.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 107, 53, 0.1);
}

.step-container.active::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-primary), transparent 40%, transparent 60%, var(--accent-secondary));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    pointer-events: none;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    right: 40px;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}


.step-container.active .step-number {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px transparent;
    opacity: 0.8;
    transform: scale(1.1);
}

.step-container h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-container p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 100%;
}

/* Phone Screen Enhancements */
.skeleton-box {
    margin-top: 20px;
}

.skeleton-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.code-terminal {
    background: #0d1117;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    margin-top: 20px;
}

.terminal-header {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.terminal-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f56;
}

.terminal-header span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-header span:nth-child(3) {
    background: #27c93f;
}

.code-snippet {
    color: #6fbef6;
    margin: 5px 0;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeInCode 0.5s forwards;
}

.code-snippet.delay {
    animation-delay: 0.3s;
    color: #a5d6ff;
}

@keyframes fadeInCode {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-check svg {
    width: 80px;
    height: 80px;
    stroke: var(--accent-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Stats Section */
.stats {
    background: var(--bg-primary);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    padding: 80px 60px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.1),
        0 0 0 1px rgba(255, 107, 53, 0.1) inset;
}

.stat-item {
    padding: 20px;
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item .counter {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item p {
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Work / Portfolio Section */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px);
    /* Taller cards for better visual */
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    /* Remove default link underline */
    color: #fff;
    display: block;
    transition: all var(--transition-base);
    will-change: transform, opacity;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Layout Spans */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

/* Backgrounds & Overlays */
.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover .bento-bg {
    transform: scale(1.05);
}

.bento-item:hover .bento-overlay {
    opacity: 0.9;
}

/* Content Layout */
.bento-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Tags & Pills */
.bento-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pill-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.year {
    font-family: var(--font-heading);
    opacity: 0.6;
}

/* Bottom Content */
.bento-bottom h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1.1;
}

.bento-bottom p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 90%;
}

/* Interactive Buttons */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    opacity: 0;
    /* Hidden initially on desktop */
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.btn-link .arrow {
    transition: transform 0.3s ease;
}

.bento-item:hover .btn-link {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover .btn-link .arrow {
    transform: translateX(5px);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    bottom: 30px;
    right: 30px;
    transition: all 0.3s ease;
}

.bento-item:hover .btn-icon {
    background: var(--accent-color);
    transform: rotate(45deg);
    /* Arrow effect */
}

/* Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-large,
    .item-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
    }

    .btn-link {
        opacity: 1;
        /* Always show buttons on mobile */
        transform: translateY(0);
    }
}

/* Workflow Section (Horizontal Timeline) */
.workflow {
    background: var(--bg-secondary);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.workflow::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.center-text {
    text-align: center;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    gap: 20px;
}

.workflow-line {
    position: absolute;
    top: 36px;
    /* Align with middle of dot (dot is 12px + margin top 20 + padding) */
    left: 5%;
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px 10px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.step-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    background: var(--bg-color);
    /* To hide line behind label text if needed, but line is below */
    z-index: 2;
    position: relative;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Active State */
.step-card:hover .step-dot,
.step-card.active .step-dot {
    background: #c3f53b;
    /* Lime Green */
    transform: scale(1.2);
}

/* Active Ring */
.step-card.active .step-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px solid #c3f53b;
    border-radius: 50%;
    opacity: 0.5;
}

.step-big-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10%);
    /* Shifted down slightly */
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    pointer-events: none;
    line-height: 1;
}

.step-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.step-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

/* Hover Effects */
.step-card:hover .step-big-num {
    color: rgba(255, 255, 255, 0.08);
    /* Brighter on hover */
}

.step-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }

    .workflow-line {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
    }

    .step-card {
        width: 100%;
    }

    .step-label {
        background: var(--bg-color);
        padding: 5px 15px;
        border-radius: 20px;
        z-index: 2;
    }
}

/* Schedule Section */
.schedule-section {
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: visible;
    /* Changed from hidden to prevent clipping of 3D tilt and glows */
}

/* Floating Platform Icons */
.floating-icon {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 10px 18px 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 10;
    pointer-events: none;
    user-select: none;
}

.floating-icon span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.floating-icon svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* Google Meet — top-right, floats up/down with gentle tilt */
.float-gmeet {
    top: 8%;
    right: 6%;
    animation: floatGmeet 5s ease-in-out infinite;
}

/* Zoom — bottom-left area, opposite rhythm */
.float-zoom {
    top: 55%;
    right: 3%;
    animation: floatZoom 6.5s ease-in-out infinite;
}

@keyframes floatGmeet {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-18px) rotate(1.5deg);
    }

    100% {
        transform: translateY(0px) rotate(-1deg);
    }
}

@keyframes floatZoom {
    0% {
        transform: translateY(0px) rotate(1deg);
    }

    40% {
        transform: translateY(-14px) rotate(-1.5deg);
    }

    100% {
        transform: translateY(0px) rotate(1deg);
    }
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.schedule-content {
    position: relative;
    z-index: 10;
    /* Ensures content stays above background blobs */
}

.schedule-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.schedule-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1.1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
}

.schedule-btn .btn-icon {
    position: static;
    /* Remove absolute positioning */
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    margin-left: 5px;
}

/* Animated Calendar Visual */
.schedule-visual {
    position: relative;
    perspective: 1000px;
}

.calendar-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.calendar-link:hover .calendar-container {
    transform: rotateY(0deg) rotateX(0deg) scale(1.03);
    box-shadow: 0 30px 70px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.2);
}

.calendar-container {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.schedule-visual:hover .calendar-container {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.month-label {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.calendar-dots {
    display: flex;
    gap: 6px;
}

.calendar-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.day-slot {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
}

.day-slot.empty {
    opacity: 0.1;
    border: none;
}


.day-slot.booked {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.day-slot.today {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 1px;
}

.day-slot.active {
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.35);
    color: var(--accent-color);
    font-weight: 600;
}

.opt-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #000;
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    z-index: 3;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.mesh-blob-schedule {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    /* Fixes click interception on mobile CTA */
}

@media (max-width: 1024px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .schedule-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .calendar-container {
        transform: none;
    }
}

/* Footer Content Styles */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: var(--space-md);
    max-width: 320px;
    line-height: 1.7;
}

.footer-links ul {
    list-style: none;
    margin-top: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-contact h4,
.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
    font-weight: 600;
}

.footer-contact p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border-default);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
    font-weight: 600;
}

.social-links a:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Brand-specific hover colors */
.social-links a[aria-label="LinkedIn"]:hover {
    background: #0077B5;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.social-links a[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 110%, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
}

.social-links a[aria-label="Facebook"]:hover {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Modern Footer */
main {
    position: relative;
    background-color: var(--bg-primary);
}

.footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
    padding: var(--space-xl) 0 var(--space-lg);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -50px);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) 0 var(--space-md);
    }

    .approach-wrapper {
        flex-direction: column;
    }

    .approach-text,
    .approach-visual {
        width: 100%;
    }

    .approach-visual {
        height: 400px;
        position: relative;
    }

    /* Unset sticky for mobile */
    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Animations Utility */

/* Who We Are Section */
.who-we-are {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
    /* Ensure contrast */
}

.who-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pill-badge-sm {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.who-desc {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.who-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.glass-stat {
    flex: 1;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.glass-stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.glass-stat:hover::before {
    opacity: 1;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.btn-text-arrow:hover {
    gap: 15px;
    color: var(--accent-color);
}

/* Who Visual */
.who-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-stack {
    position: relative;
    width: 300px;
    height: 400px;
    z-index: 2;
}

.v-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.v1 {
    background: #333;
    transform: rotate(-10deg) translate(-20px, 10px);
    opacity: 0.5;
    z-index: 1;
}

.v2 {
    background: #444;
    transform: rotate(5deg) translate(20px, 5px);
    opacity: 0.8;
    z-index: 2;
}

.v3 {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-2deg);
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 30px;
    overflow: hidden;
}

.who-visual:hover .v1 {
    transform: rotate(-15deg) translate(-40px, 20px);
}

.who-visual:hover .v2 {
    transform: rotate(10deg) translate(40px, 10px);
}

.who-visual:hover .v3 {
    transform: rotate(0deg) scale(1.05);
}

.code-typing {
    font-family: monospace;
    color: var(--accent-color);
}

.code-line {
    display: block;
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInCode 2s forwards;
}

.code-line:nth-child(2) {
    animation-delay: 0.5s;
    padding-left: 20px;
    color: #fff;
}

.code-line:nth-child(3) {
    animation-delay: 1s;
    padding-left: 20px;
    color: #fff;
}

.code-line:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes fadeInCode {
    to {
        opacity: 1;
    }
}

.mesh-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobPulse 8s infinite alternate;
}

@keyframes blobPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@media (max-width: 768px) {
    .who-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .who-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .who-stats-grid {
        justify-content: center;
        gap: 15px;
    }

    .glass-stat {
        flex: 1 1 100%;
        padding: 20px;
        margin-bottom: 10px;
    }

    .who-visual {
        height: 350px;
    }

    /* Adjust height for mobile */
    .section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 16px;
    }

    .btn-text-arrow {
        justify-content: center;
    }
}

/* Header Glow Button */
.btn-glow-header {
    background: var(--accent-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 166, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-glow-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 166, 0, 0.5);
}

/* About Us Expanded Section */
.about-expanded {
    padding: 100px 0;
    background: #080808;
    /* Slightly lighter than main bg for separation */
    position: relative;
    overflow: hidden;
}

.about-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.section-title-sm {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-desc {
    font-size: 1.05rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 550px;
}

.values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.v-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.value-item p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Industry Card */
.about-visual-col {
    position: relative;
}

.industry-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.industry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: #ccc;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: default;
}

.industry-list li:hover {
    transform: translateX(10px);
    color: var(--accent-color);
}

.i-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.decorative-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    top: -50px;
    right: -50px;
    z-index: 1;
    animation: rotateCircle 20s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .industry-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Floating Elements Responsive Adjustments */
@media (max-width: 1024px) {
    .float-element {
        transform: scale(0.8);
    }

    /* Scale down on tablets */
    .top-left {
        top: 10%;
        left: 2%;
    }

    .top-right {
        top: 10%;
        right: 2%;
    }
}

@media (max-width: 768px) {
    .hero-quso {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .quso-title {
        font-size: 2.8rem;
    }

    .quso-logo-box {
        margin-bottom: 20px;
    }

    /* Mobile Layout for Floating Elements - Visible & Clickable */
    .float-element {
        position: relative;
        display: inline-block;
        transform: none !important;
        /* Reset parallax transform */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 10px;
        opacity: 1 !important;
        animation: none !important;
        /* Disable float animation for stability */
    }

    .hero-quso-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .quso-center {
        order: 1;
    }

    .quso-card {
        pointer-events: auto;
    }

    /* Ensure clickable */

    /* Hide decorative lines on mobile */
    .connect-line {
        display: none;
    }
}

/* --- Long Scroll Parallax Section Styles (v2) --- */
.parallax-journey {
    height: 400vh;
    /* Better pacing */
    position: relative;
    background: #050505;
    /* Galaxy Black */
    overflow: visible !important;
}

.journey-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
}

/* Layer 0: Background */
.layer-bg {
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #0B0E13 0%, #050505 100%);
}

.nebula-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    filter: blur(100px);
}

/* Layer 1: Data Grid */
.layer-mid-far {
    z-index: 1;
    opacity: 0.3;
}

.data-grid {
    width: 300%;
    height: 300%;
    background-image:
        linear-gradient(to right, rgba(255, 107, 53, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 107, 53, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(1000px) rotateX(60deg) translateY(-20%);
}

/* Layer 2: Titles */
.layer-middle {
    z-index: 2;
    pointer-events: auto;
}

.journey-content {
    position: relative;
    text-align: center;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: translateY(0) scale(1);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    overflow: visible;
    display: inline-block;
}

.journey-word-group {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.period {
    font-size: 1em;
    margin-left: 0.05em;
    color: var(--accent-primary);
    display: inline-block;
    opacity: 1;
}

.outlined-period {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
}

/* Individual word timing */
.word-1 {
    animation-delay: 0s;
}

.word-2 {
    animation-delay: 0.3s;
}

.word-3 {
    animation-delay: 0.6s;
}

.journey-title.outlined {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
}

/* Layer 3: Orbitals */
.layer-mid-near {
    z-index: 3;
}

.floating-orbitals {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    /* More compact */
    height: 600px;
}

.orbital {
    position: absolute;
    inset: 0;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.orbital span {
    position: absolute;
    top: 50%;
    left: -6px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-primary);
}

.orb-1 {
    width: 300px;
    height: 300px;
    animation: orbitRotate 15s linear infinite;
}

.orb-2 {
    width: 450px;
    height: 450px;
    animation: orbitRotate 25s linear infinite reverse;
}

.orb-3 {
    width: 600px;
    height: 600px;
    animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Layer 4: UI Cluster */
.layer-ui {
    z-index: 4;
}

.ui-cluster {
    position: relative;
    width: 100%;
    height: 100vh;
}

.ui-card {
    position: absolute;
    width: 280px;
    /* More elegant resize */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
}

.ui-header .dot.neon {
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe;
}

.ui-header .dot.orange {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.ui-header .label {
    font-family: monospace;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 2px;
}

.ui-body {
    min-height: 80px;
}

.chart-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    margin: 10px 0;
}

.stat-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    display: flex;
    flex-direction: column;
}

.stat span {
    font-size: 0.6rem;
    color: #666;
    font-weight: 400;
}

.color-palette {
    display: flex;
    gap: 8px;
}

.color-palette span {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.c1 {
    background: #FF6B35;
}

.c2 {
    background: #FFB830;
}

.c3 {
    background: #8B5CF6;
}

.code-lines .line {
    height: 4px;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
}

.code-lines .line.short {
    width: 40%;
}

.ui-card.v1 {
    top: 15%;
    left: 8%;
}

.ui-card.v2 {
    top: 45%;
    right: 8%;
}

.ui-card.v3 {
    bottom: 15%;
    left: 18%;
}



.approach-timeline-line {
    position: absolute;
    left: -20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 10%,
            rgba(255, 255, 255, 0.05) 90%,
            transparent 100%);
    z-index: 0;
}

@media (max-width: 1200px) {
    .phone-mockup {
        width: 300px;
        height: 600px;
        border-width: 10px;
    }

    .step-container {
        padding: 2.5rem;
    }

    .step-number {
        font-size: 6rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 var(--space-md);
    }

    /* Header & Mobile Menu */
    .menu-toggle {
        display: flex;
        z-index: 10002;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        transform: translateY(0) rotate(-45deg);
        width: 26px;
    }

    .nav-links {
        display: flex !important;
        /* Ensure visibility on mobile */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 14, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        transition: right var(--transition-base);
        z-index: 10001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    /* Hero Section */
    .hero-quso {
        padding: 140px 0 80px;
    }

    .hero-report-overlay {
        display: none;
    }

    .float-element,
    .hero-aura-light,
    .hero-report-overlay {
        display: none;
        /* Hide immersive elements on tablet/mobile to avoid clutter */
    }

    .quso-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    /* Who We Are */
    .who-wrapper {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .who-content {
        order: 1;
    }

    .who-visual {
        order: 2;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .who-stats-grid {
        justify-content: center;
    }

    .visual-card-stack {
        transform: scale(0.8);
        margin-top: 40px;
    }

    /* About Expanded */
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .values-row {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 20px;
    }

    /* Approach */
    .approach-wrapper {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .approach-visual {
        position: relative !important;
        top: 0 !important;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
        z-index: 1;
        /* Lower than text */
    }

    .approach-text {
        width: 100%;
        padding: 20px 0;
        gap: 30px;
        z-index: 2;
        /* Stack above any lingering visual elements */
    }

    .step-container {
        min-height: auto;
        padding: 2rem;
        transform: none !important;
        opacity: 1 !important;
        margin-bottom: 20px;
    }

    .step-number {
        position: relative;
        top: 0;
        right: 0;
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
    }


    /* Journey */
    .journey-title {
        font-size: 4rem;
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

@media (max-width: 768px) {
    .header {
        width: 95%;
        padding: 8px 0;
    }

    .quso-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item.item-large,
    .bento-item.item-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
    }

    .bento-item {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .journey-title {
        font-size: 3rem;
    }

    .ui-cluster {
        display: none;
        /* Hide UI cards on small mobile journey */
    }
}

@media (max-width: 480px) {
    .quso-title {
        font-size: 2.5rem;
    }

    .quso-subtitle {
        font-size: 1rem;
    }

    .btn-glow {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .who-stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .journey-title {
        font-size: 2.5rem;
    }

    .service-marquee {
        padding: 15px 0;
    }

    .marquee-item {
        font-size: 0.8rem;
    }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS — Added 2026-02-22
   Covers: floating icons, schedule, calendar, hero, footer,
           section titles, buttons, and all new elements.
   ============================================================ */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {

    /* Floating platform icons: scale down and reposition */
    .float-gmeet {
        top: 4%;
        right: 3%;
    }

    .float-zoom {
        top: auto;
        bottom: 8%;
        right: 3%;
    }

    .section-title-sm {
        font-size: 2.2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .schedule-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .schedule-btn {
        margin: 0 auto;
    }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {

    /* --- Floating platform icons: hide on mobile (too cramped) --- */
    .floating-icon {
        display: none;
    }

    /* --- Schedule / Meet section --- */
    .schedule-section {
        padding: 60px 0 100px;
        /* Extra bottom padding for mobile nav */
    }

    .section-title-sm {
        font-size: 2rem;
    }

    .schedule-desc {
        font-size: 0.95rem;
    }

    .schedule-btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Calendar --- */
    .calendar-link {
        display: block;
    }

    .calendar-container {
        padding: 18px;
        border-radius: 16px;
        transform: none !important;
        margin-bottom: 40px;
    }

    .month-label {
        font-size: 0.95rem;
    }

    .day-header {
        font-size: 0.65rem;
        padding: 4px 0;
    }

    .day-slot {
        font-size: 0.62rem;
        border-radius: 6px;
    }

    .opt-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        bottom: 15px;
        /* Moved inside */
        right: 15px;
    }

    /* --- Hero --- */
    .hero-title,
    .quso-title {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    /* --- Footer links centering --- */
    .footer-links ul {
        padding: 0;
        list-style: none;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* --- Social icons spacing --- */
    .social-links {
        gap: 12px;
        justify-content: center;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    /* --- Section titles --- */
    .section-title-sm {
        font-size: 1.9rem;
    }

    /* --- Bento cards: already 1-col but image height fix --- */
    .bento-item,
    .bento-item.item-large,
    .bento-item.item-wide {
        height: 280px;
    }

    /* --- Pill badge --- */
    .pill-badge-sm {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    /* --- Header CTA --- */
    .btn-glow-header {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* --- Container padding --- */
    .container {
        padding: 0 20px;
        overflow: hidden;
        /* Prevent child overflow in container */
    }

    /* --- Scale down decorative elements to prevent overflow --- */
    .hero-aura-light,
    .approach-visual::before,
    .mesh-blob,
    .floating-orbitals {
        width: 300px !important;
        height: 300px !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .orb-1 {
        width: 150px !important;
        height: 150px !important;
    }

    .orb-2 {
        width: 220px !important;
        height: 220px !important;
    }

    .orb-3 {
        width: 300px !important;
        height: 300px !important;
    }

    /* --- Ensure sections clip absolute children --- */
    .hero,
    .who-we-are,
    .approach-section {
        overflow-x: hidden !important;
    }

    .parallax-journey {
        overflow: visible !important;
    }

    .journey-sticky {
        overflow: hidden !important;
    }
}

/* ---- Small Mobile (≤ 480px) ---- */
@media (max-width: 480px) {

    .hero-title,
    .quso-title {
        font-size: 2rem;
    }

    .section-title-sm {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Calendar grid tighter on very small screens */
    .calendar-container {
        padding: 12px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .day-slot {
        font-size: 0.55rem;
        border-radius: 4px;
    }

    .day-header {
        font-size: 0.58rem;
    }

    /* Schedule button full width */
    .schedule-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    /* Footer stack tighter */
    .footer-content {
        gap: 30px;
    }

    /* Bento height */
    .bento-item,
    .bento-item.item-large {
        height: 240px;
    }

    /* Nav logo sizing */
    .logo img {
        height: 36px;
    }

    /* Social icons */
    .social-links a {
        width: 34px;
        height: 34px;
    }

    .social-links a img {
        width: 18px;
        height: 18px;
    }

    /* Stats — full width on tiny phones */
    .glass-stat {
        flex: 1 1 100%;
        padding: 16px;
    }

    /* Prevent any text from escaping viewport */
    .section-title,
    .section-title-sm,
    .hero-title,
    .quso-title,
    h1,
    h2,
    h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Container tightest padding */
    .container {
        padding: 0 12px;
    }

    /* Hide large decorative artifacts on very small screens to avoid clutter */
    .hero-aura-light,
    .mesh-blob {
        display: none;
    }

    .floating-orbitals {
        transform: translateX(-50%) scale(0.7) !important;
    }

    /* Hide approach visual mockup on tiny screens to avoid overlap/clutter */
    .approach-visual {
        display: none !important;
    }
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    /* Hidden by default (desktop) */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: 70px;
    background: rgba(11, 14, 19, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: 10000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    gap: 4px;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-icon {
    width: 22px;
    height: 22px;
}

.mobile-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-item.active {
    color: var(--accent-primary);
}

/* Specialized Build Button */
.mobile-nav-item.build-btn {
    position: relative;
    top: -15px;
    /* Float slightly up */
}

.build-btn-inner {
    width: 54px;
    height: 54px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.build-btn:active .build-btn-inner {
    transform: scale(0.9);
}

/* Hide top menu and show bottom nav on mobile */
@media (max-width: 992px) {

    .menu-toggle,
    .nav-links {
        display: none !important;
        /* Hide old menu system */
    }

    .mobile-bottom-nav {
        display: flex;
        /* Show new bottom navigation */
    }

    /* Center logo at the top on mobile */
    .nav {
        justify-content: center;
    }

    /* Adjust padding to avoid content being hidden by the fixed bottom nav */
    body {
        padding-bottom: 100px;
    }
}