/**
 * NEXLANCER — Nexus Bloody Red & Black (Dark) / Bloody Red & White (Light) Design System
 * Dynamic Theme Engine with 3-Level Glassmorphism, Fluid Typography & Cyber Aesthetics
 */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600;700&display=swap');

/* ==========================================================================
   01 — Color Tokens & Theme Variables
   ========================================================================== */
:root,
[data-theme="dark"] {
    /* Theme Mode: Dark (Bloody Red & Obsidian Black) */
    --nexus-bg-primary: #050507;
    --nexus-bg-secondary: #0A0A0F;
    --nexus-bg-tertiary: #101017;
    --nexus-bg-card: rgba(14, 14, 20, 0.75);
    --nexus-bg-card-hover: rgba(22, 22, 30, 0.9);
    --nexus-bg-glass: rgba(12, 12, 18, 0.65);
    
    /* Bloody Red System */
    --nexus-red-primary: #E50914;
    --nexus-red-vibrant: #FF1E27;
    --nexus-red-deep: #B80000;
    --nexus-red-dark: #7A0000;
    --nexus-red-light: #FF4D55;
    --nexus-red-glow: rgba(229, 9, 20, 0.4);
    --nexus-red-glow-subtle: rgba(229, 9, 20, 0.15);
    --nexus-red-border: rgba(229, 9, 20, 0.28);

    /* Gradients */
    --nexus-gradient-hero: linear-gradient(135deg, #FFFFFF 15%, #FF2E36 60%, #B80000 100%);
    --nexus-gradient-red: linear-gradient(135deg, #E50914 0%, #B80000 100%);
    --nexus-gradient-red-hover: linear-gradient(135deg, #FF2E36 0%, #D00000 100%);
    --nexus-gradient-border: linear-gradient(135deg, rgba(255, 30, 39, 0.5), rgba(255, 255, 255, 0.05) 50%, rgba(184, 0, 0, 0.3));

    /* Typography */
    --nexus-text-primary: #FFFFFF;
    --nexus-text-secondary: #9CA3AF;
    --nexus-text-muted: #656A76;
    --nexus-text-contrast: #FFFFFF;

    /* Glassmorphic Borders & Shadows */
    --nexus-glass-border: rgba(255, 30, 39, 0.18);
    --nexus-glass-border-subtle: rgba(255, 255, 255, 0.08);
    --nexus-glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -5px rgba(229, 9, 20, 0.15);
    --nexus-ambient-1: rgba(184, 0, 0, 0.25);
    --nexus-ambient-2: rgba(255, 30, 39, 0.15);
    --nexus-navbar-bg: rgba(5, 5, 7, 0.8);
    --nexus-footer-bg: #050507;

    /* Font Family */
    --nexus-font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nexus-font-mono: 'Geist Mono', monospace;
}

[data-theme="light"] {
    /* Theme Mode: Light (Bloody Red & Pure White) */
    --nexus-bg-primary: #FFFFFF;
    --nexus-bg-secondary: #F8F9FC;
    --nexus-bg-tertiary: #F1F3F8;
    --nexus-bg-card: rgba(255, 255, 255, 0.9);
    --nexus-bg-card-hover: #FFFFFF;
    --nexus-bg-glass: rgba(255, 255, 255, 0.8);

    /* Bloody Red in Light Mode */
    --nexus-red-primary: #D00000;
    --nexus-red-vibrant: #B80000;
    --nexus-red-deep: #900000;
    --nexus-red-dark: #660000;
    --nexus-red-light: #E50914;
    --nexus-red-glow: rgba(208, 0, 0, 0.2);
    --nexus-red-glow-subtle: rgba(208, 0, 0, 0.08);
    --nexus-red-border: rgba(208, 0, 0, 0.2);

    /* Gradients */
    --nexus-gradient-hero: linear-gradient(135deg, #0A0A0E 20%, #D00000 70%, #900000 100%);
    --nexus-gradient-red: linear-gradient(135deg, #D00000 0%, #900000 100%);
    --nexus-gradient-red-hover: linear-gradient(135deg, #E50914 0%, #B80000 100%);
    --nexus-gradient-border: linear-gradient(135deg, rgba(208, 0, 0, 0.4), rgba(0, 0, 0, 0.06) 50%, rgba(144, 0, 0, 0.25));

    /* Typography */
    --nexus-text-primary: #0B0D12;
    --nexus-text-secondary: #4B5563;
    --nexus-text-muted: #8F96A3;
    --nexus-text-contrast: #FFFFFF;

    /* Glassmorphic Borders & Shadows */
    --nexus-glass-border: rgba(208, 0, 0, 0.16);
    --nexus-glass-border-subtle: rgba(0, 0, 0, 0.07);
    --nexus-glass-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08), 0 0 20px -3px rgba(208, 0, 0, 0.08);
    --nexus-ambient-1: rgba(208, 0, 0, 0.08);
    --nexus-ambient-2: rgba(229, 9, 20, 0.05);
    --nexus-navbar-bg: rgba(255, 255, 255, 0.85);
    --nexus-footer-bg: #F8F9FC;
}

/* ==========================================================================
   02 — Base & Global Reset & Brand Custom Scrollbar
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Brand Identity Custom Scrollbar (WebKit) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--nexus-bg-primary, #050507);
    border-left: 1px solid rgba(229, 9, 20, 0.15);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--nexus-bg-secondary, #F8F9FC);
    border-left: 1px solid rgba(208, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF1E27 0%, #B80000 100%);
    border-radius: 9999px;
    border: 2px solid var(--nexus-bg-primary, #050507);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    transition: all 0.3s ease;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E50914 0%, #900000 100%);
    border: 2px solid #F8F9FC;
    box-shadow: 0 0 8px rgba(208, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF4D55 0%, #E50914 100%);
    box-shadow: 0 0 16px rgba(255, 30, 39, 0.9);
}

/* Firefox standard */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--nexus-red-primary, #E50914) var(--nexus-bg-primary, #050507);
}

[data-theme="light"] * {
    scrollbar-color: var(--nexus-red-primary, #D00000) #F8F9FC;
}

/* Brand Scroll Progress Bar */
.nexus-scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #B80000 0%, #FF1E27 50%, #FF4D55 100%);
    box-shadow: 0 0 12px #FF1E27, 0 0 22px rgba(255, 30, 39, 0.85);
    z-index: 99999;
    pointer-events: none;
    transition: width 0.08s linear;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--nexus-bg-primary);
    color: var(--nexus-text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--nexus-font-sans);
    background-color: var(--nexus-bg-primary);
    color: var(--nexus-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nexus-page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--nexus-bg-primary);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* ==========================================================================
   Section Scroll Reveal Engine & Card Motions
   ========================================================================== */
.nexus-section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.nexus-section-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Child Reveal Items */
.nexus-stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.is-revealed .nexus-stagger-item,
.nexus-stagger-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.nexus-stagger-item:nth-child(1) { transition-delay: 0.06s; }
.nexus-stagger-item:nth-child(2) { transition-delay: 0.14s; }
.nexus-stagger-item:nth-child(3) { transition-delay: 0.22s; }
.nexus-stagger-item:nth-child(4) { transition-delay: 0.30s; }
.nexus-stagger-item:nth-child(5) { transition-delay: 0.38s; }
.nexus-stagger-item:nth-child(6) { transition-delay: 0.46s; }

/* Enhanced Card 3D Motions & Shimmer Sweep */
.nexus-glass-card,
.nexus-intent-card,
.nexus-talent-card,
.nexus-project-card,
.nexus-why-card,
.nexus-stat-card,
.nexus-step-card {
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nexus-glass-card::before,
.nexus-intent-card::before,
.nexus-talent-card::before,
.nexus-project-card::before,
.nexus-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 30, 39, 0.14), transparent);
    transform: skewX(-22deg);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.nexus-glass-card:hover::before,
.nexus-intent-card:hover::before,
.nexus-talent-card:hover::before,
.nexus-project-card:hover::before,
.nexus-why-card:hover::before {
    left: 160%;
}

.nexus-intent-card:hover,
.nexus-talent-card:hover,
.nexus-project-card:hover,
.nexus-why-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--nexus-red-vibrant) !important;
    box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.75), 0 0 28px rgba(229, 9, 20, 0.32) !important;
}

/* ==========================================================================
   03 — Ambient Radial Glows
   ========================================================================== */
.nexus-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    transition: all 0.5s ease;
}

.nexus-glow-hero-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--nexus-ambient-1) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.nexus-glow-hero-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--nexus-ambient-2) 0%, transparent 70%);
    top: 250px;
    right: -100px;
}

.nexus-glow-ai {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--nexus-ambient-1) 0%, transparent 70%);
    top: 2200px;
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   04 — Typography
   ========================================================================== */
.nexus-title-hero {
    font-family: var(--nexus-font-sans);
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--nexus-text-primary);
    margin-bottom: 24px;
}

.nexus-title-section {
    font-family: var(--nexus-font-sans);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--nexus-text-primary);
    margin-bottom: 16px;
}

.nexus-gradient-text {
    background: var(--nexus-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nexus-subtitle {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    font-weight: 400;
    color: var(--nexus-text-secondary);
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 36px;
}

.nexus-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nexus-font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nexus-red-vibrant);
    background: var(--nexus-red-glow-subtle);
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid var(--nexus-red-border);
    margin-bottom: 20px;
}

.nexus-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--nexus-red-vibrant);
    box-shadow: 0 0 10px var(--nexus-red-vibrant);
    animation: nexusPulse 2s infinite ease-in-out;
}

@keyframes nexusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   05 — Buttons & CTA Tokens
   ========================================================================== */
.nexus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--nexus-font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.nexus-btn-primary {
    background: var(--nexus-gradient-red);
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px var(--nexus-red-glow);
    position: relative;
    overflow: hidden;
}

.nexus-btn-primary:hover {
    background: var(--nexus-gradient-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--nexus-red-glow);
    color: #FFFFFF !important;
}

.nexus-btn-secondary {
    background: var(--nexus-bg-card);
    color: var(--nexus-text-primary) !important;
    border: 1px solid var(--nexus-glass-border-subtle);
    backdrop-filter: blur(16px);
}

.nexus-btn-secondary:hover {
    background: var(--nexus-bg-card-hover);
    border-color: var(--nexus-red-border);
    color: var(--nexus-red-vibrant) !important;
    transform: translateY(-2px);
}

.nexus-btn-nexus-glass {
    background: var(--nexus-bg-card);
    color: var(--nexus-text-primary) !important;
    border: 1px solid var(--nexus-red-border);
    box-shadow: 0 4px 18px var(--nexus-red-glow-subtle);
}

.nexus-btn-nexus-glass:hover {
    background: var(--nexus-red-primary);
    color: #FFFFFF !important;
    border-color: var(--nexus-red-vibrant);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--nexus-red-glow);
}

/* ==========================================================================
   06 — 3-Level Glassmorphism Cards
   ========================================================================== */
.nexus-glass-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: var(--nexus-glass-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nexus-glass-card:hover {
    background: var(--nexus-bg-card-hover);
    border-color: var(--nexus-red-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px -4px var(--nexus-red-glow);
}

/* Level 3 Nexus Glow Border */
.nexus-glass-card-elevated {
    border: 1px solid var(--nexus-red-border);
    background: var(--nexus-bg-card);
    box-shadow: var(--nexus-glass-shadow);
}

/* ==========================================================================
   07 — Navigation Bar (Frosted Glass with Theme Switcher)
   ========================================================================== */
.nexus-navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nexus-navbar-container.scrolled {
    padding: 10px 0;
    background: var(--nexus-navbar-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--nexus-glass-border-subtle);
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nexus-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.nexus-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--nexus-gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 0 18px var(--nexus-red-glow);
}

.nexus-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--nexus-text-primary);
}

.nexus-brand-badge {
    font-family: var(--nexus-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--nexus-red-vibrant);
    background: var(--nexus-red-glow-subtle);
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid var(--nexus-red-border);
}

.nexus-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nexus-nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--nexus-text-secondary);
    text-decoration: none !important;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.nexus-nav-link:hover,
.nexus-nav-link.active {
    color: var(--nexus-text-primary);
}

.nexus-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--nexus-red-vibrant);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--nexus-red-vibrant);
}

.nexus-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nexus-nav-btn-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--nexus-text-primary);
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nexus-nav-btn-link:hover {
    color: var(--nexus-red-vibrant);
}

/* Theme Toggle Button */
.nexus-theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    color: var(--nexus-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}

.nexus-theme-toggle-btn:hover {
    border-color: var(--nexus-red-border);
    color: var(--nexus-red-vibrant);
    box-shadow: 0 0 16px var(--nexus-red-glow-subtle);
    transform: rotate(15deg);
}

/* ==========================================================================
   08 — Hero Section & Interactive Network
   ========================================================================= */
.nexus-hero-section {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 80px;
    overflow: hidden;
}

/* Cyber Matrix Vector Grid Background */
.nexus-hero-vector-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(229, 9, 20, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(229, 9, 20, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .nexus-hero-vector-grid {
    background-image: 
        linear-gradient(to right, rgba(208, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(208, 0, 0, 0.05) 1px, transparent 1px);
}

/* Concentric Cyber Orbit Rings */
.nexus-hero-orbit-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(880px, 92vw);
    height: min(880px, 92vw);
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.nexus-vector-ring {
    width: 100%;
    height: 100%;
    animation: nexusOrbitSpin 55s linear infinite;
    transform-origin: center center;
}

@keyframes nexusOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tech HUD Coordinate Markers & Geometric Floating Accents (Removed per request) */
.nexus-hero-hud-decorations {
    display: none !important;
}

.nexus-hud-corner {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nexus-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 30, 39, 0.55);
    user-select: none;
}

.nexus-hud-symbol {
    color: var(--nexus-red-vibrant);
    font-weight: 700;
}

.nexus-hud-tl { top: 90px; left: 36px; }
.nexus-hud-tr { top: 90px; right: 36px; }
.nexus-hud-bl { bottom: 30px; left: 36px; }
.nexus-hud-br { bottom: 30px; right: 36px; }

@media (max-width: 991px) {
    .nexus-hud-corner { display: none; }
}

.nexus-floating-vector-shape {
    position: absolute;
    font-family: var(--nexus-font-mono);
    color: var(--nexus-red-vibrant);
    opacity: 0.45;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 0 8px var(--nexus-red-glow));
    animation: nexusFloatShape 8s ease-in-out infinite;
}

.nexus-vshape-1 { top: 18%; left: 22%; font-size: 1.15rem; animation-delay: 0s; }
.nexus-vshape-2 { top: 68%; left: 16%; font-size: 1.4rem; animation-delay: 2.5s; }
.nexus-vshape-3 { top: 22%; right: 20%; font-size: 1.25rem; animation-delay: 5s; }
.nexus-vshape-4 { bottom: 18%; right: 22%; font-size: 1.3rem; animation-delay: 1.5s; }

@keyframes nexusFloatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.4; }
    50% { transform: translateY(-16px) rotate(180deg) scale(1.2); opacity: 0.85; }
}

.nexus-hero-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.nexus-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.nexus-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Hero Cards */
.nexus-floating-card-wrapper {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexus-floating-card-wrapper .nexus-glass-card {
    pointer-events: auto;
    padding: 16px 20px;
}

.nexus-float-card-1 {
    top: 22%;
    left: 4%;
    animation: nexusFloat1 7s ease-in-out infinite;
}

.nexus-float-card-2 {
    bottom: 24%;
    right: 5%;
    animation: nexusFloat2 8s ease-in-out infinite 1s;
}

.nexus-float-card-3 {
    top: 26%;
    right: 7%;
    animation: nexusFloat3 9s ease-in-out infinite 2s;
}

@keyframes nexusFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-1.5deg); }
}

@keyframes nexusFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1.5deg); }
}

@keyframes nexusFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}

/* Talent Mini Card */
.nexus-talent-mini-card {
    width: 270px;
}

.nexus-talent-mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.nexus-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
}

.nexus-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nexus-red-border);
}

.nexus-online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background-color: #00E599;
    border: 2px solid var(--nexus-bg-primary);
    border-radius: 50%;
}

.nexus-talent-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin: 0;
}

.nexus-talent-role {
    font-size: 0.78rem;
    color: var(--nexus-text-secondary);
    margin: 0;
}

.nexus-talent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

/* Modern Elevated Chips & Badges */
.nexus-tag-pill,
.nexus-chip-neon {
    font-family: var(--nexus-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    background: rgba(229, 9, 20, 0.08);
    color: var(--nexus-red-vibrant);
    border: 1px solid rgba(229, 9, 20, 0.3);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .nexus-tag-pill,
[data-theme="light"] .nexus-chip-neon {
    background: rgba(208, 0, 0, 0.06);
    color: var(--nexus-red-primary);
    border-color: rgba(208, 0, 0, 0.25);
}

.nexus-tag-pill:hover,
.nexus-chip-neon:hover {
    background: rgba(229, 9, 20, 0.18);
    border-color: var(--nexus-red-vibrant);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.35);
    transform: translateY(-1px);
}

.nexus-chip-neon-badge {
    font-family: var(--nexus-font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--nexus-gradient-red);
    color: #FFFFFF;
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.nexus-chip-rate {
    font-family: var(--nexus-font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    color: #00E599;
}

.nexus-talent-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
    font-size: 0.76rem;
    color: var(--nexus-text-secondary);
}

.nexus-metric-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* AI Match Mini Card */
.nexus-ai-match-mini-card {
    width: 250px;
}

.nexus-match-percent {
    font-family: var(--nexus-font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nexus-red-vibrant);
}

/* ==========================================================================
   09 — Stats Strip Section
   ========================================================================== */
.nexus-stats-strip-section {
    position: relative;
    z-index: 2;
    padding: 20px 0 60px;
}

.nexus-stats-bar {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 28px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-stat-card {
    text-align: center;
    position: relative;
}

.nexus-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--nexus-glass-border-subtle);
}

.nexus-stat-value {
    font-family: var(--nexus-font-sans);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--nexus-red-vibrant);
    margin-bottom: 4px;
}

.nexus-stat-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--nexus-text-secondary);
}

/* ==========================================================================
   10 — Section Layout & Intent Grid
   ========================================================================== */
.nexus-section-padding {
    padding: 90px 0;
    position: relative;
    z-index: 2;
}

.nexus-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.nexus-intent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nexus-intent-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    padding: 32px 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-intent-card:hover {
    background: var(--nexus-bg-card-hover);
    border-color: var(--nexus-red-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.5), 0 0 24px -4px var(--nexus-red-glow);
}

.nexus-intent-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--nexus-red-glow-subtle);
    border: 1px solid var(--nexus-red-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexus-red-vibrant);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.nexus-intent-card:hover .nexus-intent-icon-wrapper {
    background: var(--nexus-red-primary);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--nexus-red-glow);
    transform: scale(1.08);
}

.nexus-intent-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin-bottom: 8px;
}

.nexus-intent-desc {
    font-size: 0.88rem;
    color: var(--nexus-text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.nexus-intent-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexus-red-vibrant);
    transition: gap 0.2s ease;
}

.nexus-intent-card:hover .nexus-intent-action {
    gap: 10px;
}

/* ==========================================================================
   11 — AI Matching Section
   ========================================================================== */
.nexus-ai-section {
    position: relative;
}

.nexus-ai-interface-container {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-red-border);
    border-radius: 24px;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.6), 0 0 35px -5px var(--nexus-red-glow-subtle);
}

.nexus-ai-prompt-box {
    background: var(--nexus-bg-secondary);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nexus-ai-input-wrapper {
    margin: 20px 0;
    min-height: 80px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--nexus-text-primary);
    line-height: 1.5;
}

.nexus-ai-input-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--nexus-red-vibrant);
    vertical-align: middle;
    animation: blinkCursor 0.9s infinite;
}

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

.nexus-ai-flow-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--nexus-font-mono);
    font-size: 0.75rem;
    color: var(--nexus-text-muted);
}

.nexus-ai-flow-step.active {
    color: var(--nexus-red-vibrant);
    font-weight: 700;
}

.nexus-ai-matches-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nexus-ai-match-result-card {
    background: var(--nexus-bg-secondary);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.nexus-ai-match-result-card:hover {
    border-color: var(--nexus-red-border);
    transform: translateX(4px);
}

.nexus-match-score-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--nexus-font-mono);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--nexus-red-vibrant);
}

.nexus-match-score-label {
    font-size: 0.65rem;
    color: var(--nexus-text-muted);
    letter-spacing: 0.08em;
}

/* ==========================================================================
   12 — Talent Grid (Portfolio-First)
   ========================================================================== */
.nexus-talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.nexus-talent-full-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-talent-full-card:hover {
    border-color: var(--nexus-red-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px -4px var(--nexus-red-glow);
}

.nexus-talent-portfolio-preview {
    width: 100%;
    height: 190px;
    position: relative;
    overflow: hidden;
}

.nexus-portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nexus-talent-full-card:hover .nexus-portfolio-img {
    transform: scale(1.06);
}

.nexus-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--nexus-bg-card) 0%, transparent 60%);
}

.nexus-talent-body {
    padding: 20px 24px 24px;
}

.nexus-talent-profile-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -36px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.nexus-talent-main-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--nexus-bg-card);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.nexus-talent-full-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin: 0;
}

.nexus-talent-full-role {
    font-size: 0.82rem;
    color: var(--nexus-text-secondary);
    margin: 0;
}

.nexus-talent-bio {
    font-size: 0.86rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.nexus-talent-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
}

/* ==========================================================================
   13 — Categories Pills
   ========================================================================== */
.nexus-category-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.nexus-cat-pill {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nexus-text-secondary);
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    backdrop-filter: blur(16px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nexus-cat-pill:hover,
.nexus-cat-pill.active {
    background: var(--nexus-red-glow-subtle);
    border-color: var(--nexus-red-border);
    color: var(--nexus-red-vibrant);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px var(--nexus-red-glow-subtle);
}

/* ==========================================================================
   14 — 4-Step Process Flow
   ========================================================================== */
.nexus-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 40px;
}

.nexus-process-step-card {
    position: relative;
    z-index: 2;
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    padding: 28px 22px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-process-step-card:hover {
    border-color: var(--nexus-red-border);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px var(--nexus-red-glow-subtle);
}

.nexus-step-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--nexus-bg-secondary);
    border: 2px solid var(--nexus-red-vibrant);
    color: var(--nexus-red-vibrant);
    font-family: var(--nexus-font-mono);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 0 16px var(--nexus-red-glow);
}

/* ==========================================================================
   15 — Dual Audience Split (Freelancers vs Clients)
   ========================================================================== */
.nexus-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.nexus-split-card {
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
}

.nexus-split-card.freelancers {
    background: linear-gradient(135deg, var(--nexus-bg-card) 0%, rgba(229, 9, 20, 0.12) 100%);
    border: 1px solid var(--nexus-red-border);
    box-shadow: 0 20px 45px -10px rgba(0,0,0,0.5), 0 0 30px var(--nexus-red-glow-subtle);
}

.nexus-split-card.clients {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-split-card:hover {
    border-color: var(--nexus-red-vibrant);
    transform: translateY(-4px);
}

/* ==========================================================================
   16 — Nexus Ecosystem Section
   ========================================================================== */
.nexus-ecosystem-box {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-red-border);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: var(--nexus-glass-shadow);
}

.nexus-ecosystem-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nexus-eco-node {
    background: var(--nexus-bg-secondary);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 18px;
    padding: 24px 32px;
    min-width: 220px;
    transition: all 0.3s ease;
}

.nexus-eco-node.primary {
    border-color: var(--nexus-red-border);
    box-shadow: 0 0 25px var(--nexus-red-glow-subtle);
}

.nexus-eco-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   17 — Final Conversion CTA
   ========================================================================== */
.nexus-final-cta-section {
    padding: 100px 0 120px;
    position: relative;
    z-index: 2;
}

.nexus-final-cta-card {
    background: linear-gradient(135deg, var(--nexus-bg-card) 0%, rgba(229, 9, 20, 0.16) 100%);
    border: 1px solid var(--nexus-red-border);
    border-radius: 28px;
    padding: 70px 40px;
    text-align: center;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 45px var(--nexus-red-glow-subtle);
}

/* ==========================================================================
   18 — Frosted Footer
   ========================================================================== */
.nexus-footer {
    background: var(--nexus-footer-bg);
    border-top: 1px solid var(--nexus-glass-border-subtle);
    padding: 70px 0 30px;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.nexus-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.nexus-footer-col h4 {
    font-family: var(--nexus-font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--nexus-red-vibrant);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.nexus-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nexus-footer-link {
    font-size: 0.88rem;
    color: var(--nexus-text-secondary);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nexus-footer-link:hover {
    color: var(--nexus-red-vibrant);
    transform: translateX(3px);
}

.nexus-footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--nexus-text-muted);
}

/* ==========================================================================
   19 — Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .nexus-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .nexus-nav-links {
        display: none;
    }
    .nexus-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .nexus-stat-card:nth-child(2)::after {
        display: none;
    }
    .nexus-intent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nexus-ai-interface-container {
        grid-template-columns: 1fr;
    }
    .nexus-talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nexus-process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .nexus-process-line {
        display: none;
    }
    .nexus-split-grid {
        grid-template-columns: 1fr;
    }
    .nexus-floating-card-wrapper {
        display: none;
    }
}

@media (max-width: 640px) {
    .nexus-stats-bar {
        grid-template-columns: 1fr;
    }
    .nexus-stat-card::after {
        display: none !important;
    }
    .nexus-intent-grid {
        grid-template-columns: 1fr;
    }
    .nexus-talent-grid {
        grid-template-columns: 1fr;
    }
    .nexus-process-timeline {
        grid-template-columns: 1fr;
    }
    .nexus-footer-grid {
        grid-template-columns: 1fr;
    }
    .nexus-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* =========================================================================
   FAQ ACCORDION & MARKETPLACE ENHANCEMENTS
   ========================================================================= */
.nexus-faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nexus-faq-item {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-faq-item:hover {
    border-color: var(--nexus-red-border);
    box-shadow: 0 10px 30px -10px rgba(229, 9, 20, 0.15);
}

.nexus-faq-item.active {
    border-color: var(--nexus-red-vibrant);
    box-shadow: 0 12px 35px -8px rgba(229, 9, 20, 0.25);
    background: rgba(18, 18, 26, 0.95);
}

[data-theme="light"] .nexus-faq-item.active {
    background: #FFFFFF;
    border-color: var(--nexus-red-primary);
    box-shadow: 0 12px 30px -8px rgba(208, 0, 0, 0.15);
}

.nexus-faq-question {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--nexus-font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nexus-text-primary);
    transition: color 0.2s ease;
}

.nexus-faq-item.active .nexus-faq-question {
    color: var(--nexus-red-vibrant);
}

[data-theme="light"] .nexus-faq-item.active .nexus-faq-question {
    color: var(--nexus-red-primary);
}

.nexus-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexus-glass-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nexus-text-secondary);
    transition: all 0.3s ease;
}

[data-theme="light"] .nexus-faq-icon {
    background: rgba(0, 0, 0, 0.04);
}

.nexus-faq-item.active .nexus-faq-icon {
    background: var(--nexus-red-vibrant);
    border-color: var(--nexus-red-vibrant);
    color: #FFFFFF;
    transform: rotate(45deg);
}

.nexus-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 28px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nexus-text-secondary);
}

.nexus-faq-item.active .nexus-faq-answer {
    max-height: 350px;
    padding-bottom: 24px;
}

.nexus-cat-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
}

.nexus-cat-rate {
    font-family: var(--nexus-font-mono);
    font-size: 0.78rem;
    color: var(--nexus-red-vibrant);
    font-weight: 600;
}

[data-theme="light"] .nexus-cat-rate {
    color: var(--nexus-red-primary);
}

.nexus-cat-count {
    font-size: 0.78rem;
    color: var(--nexus-text-secondary);
}

/* =========================================================================
   RECENT PROJECTS & CLIENT GIGS
   ========================================================================= */
.nexus-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .nexus-projects-grid {
        grid-template-columns: 1fr;
    }
}

.nexus-project-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.nexus-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--nexus-gradient-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nexus-project-card:hover {
    border-color: var(--nexus-red-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 9, 20, 0.15);
}

.nexus-project-card:hover::before {
    opacity: 1;
}

.nexus-project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.nexus-project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.nexus-project-card:hover .nexus-project-title {
    color: var(--nexus-red-vibrant);
}

.nexus-project-budget {
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: var(--nexus-red-vibrant);
    font-family: var(--nexus-font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    white-space: nowrap;
}

[data-theme="light"] .nexus-project-budget {
    background: rgba(208, 0, 0, 0.08);
    color: var(--nexus-red-primary);
    border-color: rgba(208, 0, 0, 0.25);
}

.nexus-project-desc {
    font-size: 0.9rem;
    color: var(--nexus-text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.nexus-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.nexus-project-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexus-glass-border-subtle);
    color: var(--nexus-text-secondary);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
}

[data-theme="light"] .nexus-project-tag {
    background: rgba(0, 0, 0, 0.04);
}

.nexus-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
    font-size: 0.82rem;
    color: var(--nexus-text-muted);
}

/* =========================================================================
   PRICING & SUBSCRIPTION PLANS
   ========================================================================= */
.nexus-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .nexus-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.nexus-pricing-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 24px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--nexus-red-border);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.15);
}

.nexus-pricing-card.popular {
    border: 2px solid var(--nexus-red-vibrant);
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.08) 0%, rgba(14, 14, 20, 0.95) 100%);
    box-shadow: 0 20px 50px -10px rgba(229, 9, 20, 0.3);
}

[data-theme="light"] .nexus-pricing-card.popular {
    background: linear-gradient(180deg, rgba(208, 0, 0, 0.04) 0%, #FFFFFF 100%);
    border-color: var(--nexus-red-primary);
    box-shadow: 0 20px 45px -10px rgba(208, 0, 0, 0.15);
}

.nexus-pricing-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nexus-gradient-red);
    color: #FFFFFF;
    font-family: var(--nexus-font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.nexus-pricing-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--nexus-text-primary);
    margin-bottom: 8px;
}

.nexus-pricing-desc {
    font-size: 0.86rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 40px;
}

.nexus-pricing-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nexus-glass-border-subtle);
}

.nexus-pricing-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
}

.nexus-pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--nexus-text-primary);
    font-family: var(--nexus-font-sans);
    line-height: 1;
}

.nexus-pricing-period {
    font-size: 0.88rem;
    color: var(--nexus-text-muted);
}

.nexus-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nexus-pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--nexus-text-secondary);
}

.nexus-pricing-feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.12);
    color: var(--nexus-red-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .nexus-pricing-feature-icon {
    color: var(--nexus-red-primary);
    background: rgba(208, 0, 0, 0.08);
}

/* =========================================================================
   AI INTERACTIVE NLP PROMPT STUDIO
   ========================================================================= */
.nexus-ai-interactive-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--nexus-text-primary);
    font-family: var(--nexus-font-sans);
    font-size: 0.92rem;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: all 0.25s ease;
    margin-top: 10px;
}

[data-theme="light"] .nexus-ai-interactive-textarea {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.12);
}

.nexus-ai-interactive-textarea:focus {
    border-color: var(--nexus-red-vibrant);
    box-shadow: 0 0 18px rgba(229, 9, 20, 0.35);
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .nexus-ai-interactive-textarea:focus {
    background: #FFFFFF;
    border-color: var(--nexus-red-primary);
    box-shadow: 0 0 14px rgba(208, 0, 0, 0.2);
}

.nexus-ai-chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.nexus-ai-prompt-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexus-glass-border-subtle);
    color: var(--nexus-text-secondary);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

[data-theme="light"] .nexus-ai-prompt-chip {
    background: rgba(0, 0, 0, 0.04);
}

.nexus-ai-prompt-chip:hover,
.nexus-ai-prompt-chip.active {
    background: rgba(229, 9, 20, 0.15);
    border-color: var(--nexus-red-border);
    color: var(--nexus-red-vibrant);
    transform: translateY(-1px);
}

[data-theme="light"] .nexus-ai-prompt-chip:hover,
[data-theme="light"] .nexus-ai-prompt-chip.active {
    background: rgba(208, 0, 0, 0.08);
    color: var(--nexus-red-primary);
}

.nexus-ai-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--nexus-glass-border-subtle);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.3s ease;
}

/* =========================================================================
   GLOBAL NETWORK — CONNECT THE WORLD (3D EARTH VISUALIZATION)
   ========================================================================= */
.nexus-global-network-section {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 80px;
}

.nexus-globe-title .nexus-title-accent {
    color: var(--nexus-red-vibrant);
    background: linear-gradient(135deg, #FF2E36 0%, #E50914 50%, #B80000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .nexus-globe-title .nexus-title-accent {
    color: #D50000;
    background: linear-gradient(135deg, #D50000 0%, #B80000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexus-globe-stage {
    position: relative;
    max-width: 1040px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 680px;
}

.nexus-globe-stage::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 720px;
    max-width: 98vw;
    max-height: 98vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.16) 0%, rgba(118, 87, 255, 0.08) 45%, rgba(0,0,0,0) 72%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="light"] .nexus-globe-stage::before {
    background: radial-gradient(circle, rgba(213, 0, 0, 0.08) 0%, rgba(118, 87, 255, 0.04) 45%, rgba(0,0,0,0) 72%);
}

.nexus-globe-canvas {
    width: 720px;
    height: 720px;
    max-width: 100%;
    cursor: grab;
    touch-action: none;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexus-globe-canvas:active {
    cursor: grabbing;
}

[data-theme="light"] .nexus-globe-canvas {
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.08));
}

/* Floating Information Glass Cards */
.nexus-globe-card {
    position: absolute;
    z-index: 5;
    background: rgba(14, 16, 24, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 9, 20, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    pointer-events: auto;
    user-select: none;
}

.nexus-globe-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(229, 9, 20, 0.35);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.18);
}

[data-theme="light"] .nexus-globe-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.07), 0 0 20px rgba(208, 0, 0, 0.05);
}

[data-theme="light"] .nexus-globe-card:hover {
    border-color: rgba(213, 0, 0, 0.3);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 25px rgba(213, 0, 0, 0.1);
}

/* Card 1: Talent (Left Top) */
.nexus-globe-card-talent {
    top: 14%;
    left: 4%;
    width: 260px;
    animation: globeFloatA 8s ease-in-out infinite;
}

/* Card 2: Project (Bottom Left) */
.nexus-globe-card-project {
    bottom: 10%;
    left: 6%;
    width: 275px;
    animation: globeFloatB 9s ease-in-out infinite 1.5s;
    border-color: rgba(255, 45, 55, 0.35);
}

/* Card 3: Live Connection (Bottom Right - Electric Cyan Theme) */
.nexus-globe-card-connection {
    bottom: 12%;
    right: 5%;
    width: 275px;
    animation: globeFloatC 8.5s ease-in-out infinite 0.8s;
    border-color: rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.16) !important;
}

/* Floating Card 4: Product Design Lead (Top Left of Globe) */
.nexus-globe-card-lead {
    top: 14%;
    left: 17%;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(14, 16, 24, 0.88);
    border: 1px solid rgba(255, 45, 55, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(229, 9, 20, 0.18);
    animation: globeFloatA 8s ease-in-out infinite 0.4s;
    z-index: 10;
}

[data-theme="light"] .nexus-globe-card-lead {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(213, 0, 0, 0.35);
}

.nexus-globe-lead-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
}

.nexus-globe-lead-city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--nexus-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--nexus-red-vibrant);
    letter-spacing: 0.04em;
}

.nexus-pin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nexus-red-vibrant);
    box-shadow: 0 0 8px var(--nexus-red-vibrant);
}

/* Top Right Indicator: Global Connections / Real Opportunities */
.nexus-globe-indicator-badge {
    position: absolute;
    top: 12%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.nexus-indicator-bar {
    width: 20px;
    height: 2px;
    background: var(--nexus-red-vibrant);
    box-shadow: 0 0 10px var(--nexus-red-vibrant);
}

.nexus-indicator-title {
    font-family: var(--nexus-font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--nexus-text-primary);
}

.nexus-indicator-sub {
    font-family: var(--nexus-font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--nexus-text-muted);
}

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

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

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

.nexus-globe-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.nexus-globe-card-badge {
    font-family: var(--nexus-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--nexus-text-muted);
}

.nexus-globe-card-dot.live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00E599;
    box-shadow: 0 0 10px #00E599;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.nexus-globe-card-stat {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--nexus-text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
    font-family: var(--nexus-font-sans);
}

.nexus-globe-card-label {
    font-size: 0.78rem;
    color: var(--nexus-text-secondary);
    margin-bottom: 12px;
}

.nexus-globe-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nexus-globe-card-tags span {
    font-family: var(--nexus-font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--nexus-text-secondary);
}

[data-theme="light"] .nexus-globe-card-tags span {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.07);
}

.nexus-globe-match-pill {
    font-family: var(--nexus-font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: #FFFFFF;
    background: var(--nexus-gradient-red);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.nexus-globe-status-pill {
    font-family: var(--nexus-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #00E599;
    background: rgba(0, 229, 153, 0.1);
    border: 1px solid rgba(0, 229, 153, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
}

.nexus-globe-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin: 4px 0 8px;
}

.nexus-globe-card-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nexus-font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    margin-bottom: 12px;
}

.nexus-route-city {
    color: var(--nexus-text-primary);
    letter-spacing: 0.04em;
}

.nexus-route-arrow {
    display: inline-flex;
    color: var(--nexus-red-vibrant);
    animation: arrowPulse 2s ease-in-out infinite;
}

[data-theme="light"] .nexus-route-arrow {
    color: #D50000;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.nexus-globe-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nexus-glass-border-subtle);
}

.nexus-globe-mini-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1.5px solid var(--nexus-red-vibrant);
    flex-shrink: 0;
}

.nexus-globe-meta-text {
    font-size: 0.75rem;
    color: var(--nexus-text-muted);
}

/* Hover Tooltip for Nodes */
.nexus-globe-tooltip {
    position: absolute;
    z-index: 20;
    background: rgba(12, 14, 20, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 9, 20, 0.4);
    border-radius: 10px;
    padding: 8px 14px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -120%) scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 9, 20, 0.25);
}

[data-theme="light"] .nexus-globe-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(213, 0, 0, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(213, 0, 0, 0.15);
}

.nexus-globe-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -130%) scale(1);
}

.nexus-tooltip-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nexus-text-primary);
    white-space: nowrap;
}

.nexus-tooltip-city {
    font-family: var(--nexus-font-mono);
    font-size: 0.7rem;
    color: var(--nexus-red-vibrant);
    margin-top: 2px;
}

[data-theme="light"] .nexus-tooltip-city {
    color: #D50000;
}

/* ==========================================================================
   10 — Full Arabic & RTL Mirroring Engine
   ========================================================================== */
[dir="rtl"],
html[dir="rtl"],
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Tajawal', var(--nexus-font-sans);
}

[dir="rtl"] .nexus-title-hero,
[dir="rtl"] .nexus-title-section,
[dir="rtl"] .nexus-subtitle,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] p, [dir="rtl"] span, [dir="rtl"] a, [dir="rtl"] li, [dir="rtl"] button {
    font-family: 'Cairo', 'Tajawal', var(--nexus-font-sans);
}

[dir="rtl"] .nexus-subtitle.mx-auto {
    text-align: center;
}

/* RTL Floating Card Mirroring in Desktop Hero (Clean non-overlapping positioning) */
@media (min-width: 992px) {
    [dir="rtl"] .nexus-float-card-1 {
        left: auto !important;
        right: 5% !important;
        top: 20% !important;
        bottom: auto !important;
    }
    [dir="rtl"] .nexus-float-card-2 {
        right: auto !important;
        left: 5% !important;
        bottom: 22% !important;
        top: auto !important;
    }
    [dir="rtl"] .nexus-float-card-3 {
        right: auto !important;
        left: 5% !important;
        top: 20% !important;
        bottom: auto !important;
    }
    [dir="rtl"] .nexus-float-card-4 {
        right: auto !important;
        left: 5% !important;
        bottom: 15% !important;
        top: auto !important;
    }

    [dir="rtl"] .nexus-globe-card-talent {
        left: auto;
        right: 4%;
    }
    [dir="rtl"] .nexus-globe-card-project {
        left: auto;
        right: 4%;
    }
    [dir="rtl"] .nexus-globe-card-connection {
        right: auto;
        left: 4%;
    }
}

/* RTL Arrows & Icons */
[dir="rtl"] .nexus-route-arrow svg,
[dir="rtl"] .nexus-btn-icon svg,
[dir="rtl"] .nexus-cta-arrow,
[dir="rtl"] .nexus-card-arrow {
    transform: scaleX(-1);
}

/* RTL Search & Input Bars */
[dir="rtl"] .nexus-search-input {
    text-align: right;
    padding-right: 48px;
    padding-left: 120px;
}

[dir="rtl"] .nexus-search-icon {
    left: auto;
    right: 18px;
}

[dir="rtl"] .nexus-search-btn {
    right: auto;
    left: 8px;
}

/* RTL Navigation & Dropdowns */
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
    right: 0 !important;
    left: auto !important;
}

[dir="rtl"] .me-1, [dir="rtl"] .me-2, [dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-1, [dir="rtl"] .ms-2, [dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

/* RTL Chips & Badges */
[dir="rtl"] .nexus-chip-neon,
[dir="rtl"] .nexus-chip-neon-badge,
[dir="rtl"] .nexus-globe-card-badge {
    direction: rtl;
}

/* ==========================================================================
   11 — Master Mobile Responsiveness System (< 992px, < 768px, < 480px)
   ========================================================================== */

/* 1. Global Viewport & Container Reset */
html, body, .nexus-page-wrapper {
    max-width: 100vw;
    overflow-x: hidden !important;
}

.nexus-page-wrapper {
    padding-top: 70px;
}

/* 2. Mobile Navbar */
.nexus-theme-toggle-btn-mobile {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-glass-border);
    color: var(--nexus-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 991px) {
    .navbar-area {
        background: var(--nexus-navbar-bg) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid var(--nexus-glass-border-subtle);
    }

    .navbar-collapse {
        background: var(--nexus-bg-secondary);
        border: 1px solid var(--nexus-glass-border);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }

    .mobile-nav-auth-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--nexus-glass-border-subtle);
    }

    .mobile-auth-btn {
        display: block;
        text-align: center;
        padding: 12px;
        border-radius: 10px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-auth-btn-bg {
        background: var(--nexus-gradient-red);
        color: #FFFFFF !important;
    }

    .mobile-auth-btn-outline {
        border: 1px solid var(--nexus-red-border);
        color: var(--nexus-text-primary) !important;
        background: rgba(255, 30, 39, 0.05);
    }
}

/* 3. Hero Section Mobile Optimization */
@media (max-width: 991px) {
    .nexus-hero-section {
        padding: 60px 16px 40px !important;
        min-height: auto !important;
    }

    .nexus-title-hero {
        font-size: clamp(2.2rem, 8vw, 3.4rem) !important;
        letter-spacing: -0.02em;
    }

    /* Hide Hero Floating Cards on mobile screens to keep the hero section focused and clean */
    .nexus-floating-card-wrapper {
        display: none !important;
    }

    .nexus-hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 380px;
        margin: 24px auto !important;
        gap: 12px !important;
    }

    .nexus-hero-ctas .nexus-btn {
        width: 100%;
        justify-content: center;
    }

    .nexus-hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
}

/* 4. Global Network 3D Earth Section Mobile Optimization */
@media (max-width: 1024px) {
    .nexus-globe-stage {
        min-height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 16px;
    }

    .nexus-globe-canvas {
        width: 440px !important;
        height: 440px !important;
        max-width: 100%;
    }

    .nexus-globe-card {
        position: static !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        animation: none !important;
    }
}

@media (max-width: 576px) {
    .nexus-globe-canvas {
        width: 320px !important;
        height: 320px !important;
    }

    .nexus-globe-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
    }

    .nexus-globe-card {
        max-width: 100% !important;
        padding: 16px !important;
    }
}

/* 5. AI Matching Simulation Terminal Mobile Optimization */
@media (max-width: 768px) {
    .nexus-ai-terminal {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .nexus-ai-input-box {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .nexus-ai-input-box input {
        width: 100%;
        font-size: 0.9rem;
    }

    .nexus-ai-match-btn {
        width: 100%;
        justify-content: center;
    }

    .nexus-ai-chips-bar {
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .nexus-specialists-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* 6. Recent Projects & Pricing Grid Mobile Optimization */
@media (max-width: 991px) {
    .nexus-projects-grid,
    .nexus-pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 460px;
        margin: 0 auto;
    }

    .nexus-project-card,
    .nexus-pricing-card {
        width: 100% !important;
    }
}

/* 7. Footer Mobile Optimization */
@media (max-width: 768px) {
    .nexus-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .nexus-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   Master Modern Sliders & Carousels (Slick, Ribbon, Range, Dots)
   ========================================================================== */
.slick-slider {
    position: relative;
    user-select: none;
    -webkit-touch-callout: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-slide {
    outline: none !important;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.append-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.append-team,
.append-jobs,
.append-project,
.append-freelancer,
.append-search,
.append-testimonial,
.append-testimonial2,
.append-projectCategory,
.append-jobCategory {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.slick-arrow,
.slick-prev,
.slick-next,
.prev-icon,
.next-icon,
.nav-style-one .prev-icon,
.nav-style-one .next-icon,
.append-team .slick-arrow,
.append-jobs .slick-arrow,
.append-project .slick-arrow,
.append-freelancer .slick-arrow,
.append-search .slick-arrow,
.append-testimonial .slick-arrow,
.append-projectCategory .slick-arrow,
.append-jobCategory .slick-arrow {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
    outline: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

[data-theme="light"] .slick-arrow,
[data-theme="light"] .slick-prev,
[data-theme="light"] .slick-next,
[data-theme="light"] .prev-icon,
[data-theme="light"] .next-icon,
[data-theme="light"] .nav-style-one .prev-icon,
[data-theme="light"] .nav-style-one .next-icon,
[data-theme="light"] .append-team .slick-arrow,
[data-theme="light"] .append-jobs .slick-arrow,
[data-theme="light"] .append-project .slick-arrow,
[data-theme="light"] .append-freelancer .slick-arrow,
[data-theme="light"] .append-search .slick-arrow,
[data-theme="light"] .append-testimonial .slick-arrow,
[data-theme="light"] .append-projectCategory .slick-arrow,
[data-theme="light"] .append-jobCategory .slick-arrow {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.slick-arrow:hover,
.slick-prev:hover,
.slick-next:hover,
.prev-icon:hover,
.next-icon:hover,
.nav-style-one .prev-icon:hover,
.nav-style-one .next-icon:hover,
.append-team .slick-arrow:hover,
.append-jobs .slick-arrow:hover,
.append-project .slick-arrow:hover,
.append-freelancer .slick-arrow:hover,
.append-search .slick-arrow:hover,
.append-testimonial .slick-arrow:hover,
.append-projectCategory .slick-arrow:hover,
.append-jobCategory .slick-arrow:hover {
    background: linear-gradient(135deg, #FF1E27 0%, #D00000 100%) !important;
    border-color: rgba(255, 30, 39, 0.6) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5) !important;
    transform: scale(1.08) !important;
}

.slick-arrow:active,
.prev-icon:active,
.next-icon:active {
    transform: scale(0.96) !important;
}

.slick-disabled,
.slick-arrow.slick-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.categorySub-arrow::before {
    background-color: rgba(18, 18, 28, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[data-theme="light"] .categorySub-arrow::before {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.categorySub-arrow:hover::before {
    background: linear-gradient(135deg, #FF1E27 0%, #D00000 100%) !important;
    border-color: rgba(255, 30, 39, 0.5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 16px rgba(229, 9, 20, 0.5) !important;
    transform: scale(1.1) !important;
}

.slick-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 24px 0 0 0 !important;
}

.slick-dots li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

.slick-dots li button {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    font-size: 0 !important;
    color: transparent !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="light"] .slick-dots li button {
    background: rgba(0, 0, 0, 0.2) !important;
}

.slick-dots li.slick-active button {
    width: 28px !important;
    background: linear-gradient(135deg, #FF1E27 0%, #D00000 100%) !important;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.5) !important;
}

.attraction-slider .slick-slide,
.project-slider .slick-slide {
    padding: 0 12px !important;
}

.ui-slider-horizontal {
    height: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important;
    border: none !important;
    position: relative !important;
}

[data-theme="light"] .ui-slider-horizontal {
    background: rgba(0, 0, 0, 0.08) !important;
}

.ui-slider .ui-slider-range {
    background: linear-gradient(90deg, #FF1E27, #E50914) !important;
    border-radius: 9999px !important;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5) !important;
    position: absolute !important;
    height: 100% !important;
    top: 0 !important;
}

.ui-slider .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 3px solid #FF1E27 !important;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.6) !important;
    cursor: grab !important;
    top: -6px !important;
    outline: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ui-slider .ui-slider-handle:hover,
.ui-slider .ui-slider-handle:active {
    transform: scale(1.25) !important;
    box-shadow: 0 0 16px rgba(229, 9, 20, 0.9) !important;
}

/* =========================================================================
   NEXUS FUTURISTIC CAROUSEL & SLIDER HEADERS
   ========================================================================= */
.nexus-section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
}

.nexus-section-header-left {
    flex: 1;
    max-width: 750px;
}

.nexus-carousel-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nexus-slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--nexus-glass-border-subtle);
    color: var(--nexus-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nexus-slider-arrow:hover {
    background: linear-gradient(135deg, #FF1E27 0%, #D00000 100%);
    border-color: rgba(255, 30, 39, 0.6);
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.45);
    transform: translateY(-2px);
}

.nexus-slider-arrow:active {
    transform: scale(0.95);
}

[data-theme="light"] .nexus-slider-arrow {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nexus-slider-arrow:hover {
    background: linear-gradient(135deg, #FF1E27 0%, #D00000 100%);
    color: #FFFFFF;
}

/* Slick Slides Spacing & Stretch */
.nexus-intent-slider,
.nexus-talent-slider,
.nexus-projects-slider {
    margin-left: -12px;
    margin-right: -12px;
}

.nexus-intent-slider .slick-list,
.nexus-talent-slider .slick-list,
.nexus-projects-slider .slick-list {
    padding: 12px 0 20px 0 !important;
}

.nexus-intent-slider .slick-slide,
.nexus-talent-slider .slick-slide,
.nexus-projects-slider .slick-slide {
    padding: 0 12px;
    height: auto;
    box-sizing: border-box;
}

.nexus-intent-slider .slick-track,
.nexus-talent-slider .slick-track,
.nexus-projects-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.nexus-intent-slider .slick-slide > div,
.nexus-talent-slider .slick-slide > div,
.nexus-projects-slider .slick-slide > div {
    height: 100%;
}

.nexus-intent-slider .nexus-slider-item,
.nexus-talent-slider .nexus-slider-item,
.nexus-projects-slider .nexus-slider-item {
    height: 100%;
    display: flex !important;
    flex-direction: column;
}

.nexus-intent-slider .nexus-intent-card,
.nexus-talent-slider .nexus-talent-card,
.nexus-projects-slider .nexus-project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}






