/**
 * NEXUS AI - Immersive Neural Network Glassmorphism Design System
 * Primary Design Philosophy: "INTELLIGENT AI OPERATING SYSTEM DESIGN SYSTEM"
 * Optimized for Bootstrap 5 grid layout with high-end Awwwards-style interactions.
 * Built with rich spatial UI components, holographic highlights, and premium micro-interactions.
 */

/* 1. LOCAL FONTS SETUP */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Syne';
    src: url('../fonts/syne-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Syne';
    src: url('../fonts/syne-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 2. DESIGN SYSTEM & COLOR TOKENS */
:root {
    /* Core Palette */
    --bg-dark: #050608;              /* Velvet Obsidian Black */
    --bg-card: rgba(8, 12, 18, 0.45); /* Semi-transparent panel bg */
    --c-violet: #8c00ff;             /* Deep Amethyst */
    --c-blue: #0df5c4;               /* Bioluminescent Mint */
    --c-cyan: #baff00;               /* Active High-Velocity Volt */
    --c-silver: #cfd8dc;             /* Soft Silver */
    --c-white: #f5fcf5;              /* Pure minty white */
    --c-gray: #90a4ae;               /* Muted Label Silver */

    /* Accent Gradients & Shadows */
    --c-glow-purple: #9d4edd;
    --c-glow-pink: #ff007f;          /* Cosmic Fuchsia */
    --c-glow-teal: #0df5c4;          /* Bioluminescent Mint */
    --c-glow-amber: #ff9e00;         /* Cyber Amber */
    
    --g-holo: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-glow-teal) 35%, var(--c-glow-amber) 70%, var(--c-glow-pink) 100%);
    --g-neural: linear-gradient(90deg, var(--c-cyan) 0%, var(--c-glow-teal) 100%);
    --g-neon-pink: linear-gradient(135deg, var(--c-glow-amber) 0%, var(--c-glow-pink) 100%);
    --g-dark-command: linear-gradient(180deg, rgba(5, 6, 8, 0.4) 0%, rgba(8, 12, 18, 0.95) 100%);
    --g-spatial-ui: radial-gradient(circle at 50% 50%, rgba(186, 255, 0, 0.08) 0%, rgba(13, 245, 196, 0.02) 80%);

    /* Premium Intelligent Glassmorphism Settings */
    --glass-bg: rgba(8, 12, 16, 0.4);
    --glass-bg-hover: rgba(14, 20, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.03);
    --glass-border-hover: rgba(186, 255, 0, 0.25);
    --glass-shadow: rgba(0, 0, 0, 0.85);
    --glass-blur: 24px;
    
    /* Animation Speeds & Motion Easing */
    --transition-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3. BASE RESET & HOLOGRAPHIC ENVIRONMENT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--c-white);
    font-family: 'Outfit', sans-serif;
    scroll-behavior: auto !important; /* Defeats prefers-reduced-motion to allow smooth GSAP Lenis scroll */
}

/* 3.1 LENIS SMOOTH SCROLL */
html.lenis, html.lenis body {
    height: auto;
}
.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis-stopped {
    overflow: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--c-cyan);
}

/* Text Selection Glow */
::selection {
    background: rgba(124, 77, 255, 0.3);
    color: var(--c-white);
}

/* 4. WEBGL CANVAS & SPATIAL COMMAND BACKGROUND */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    opacity: 0.9;
    transform: translate3d(0,0,0);
}

/* Spatial Command Center Grid Layer */
.spatial-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    pointer-events: none;
    z-index: -9;
    opacity: 0.55;
}

/* Radial Vignette Overlay */
.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(5, 5, 8, 0.8) 100%);
    pointer-events: none;
    z-index: -8;
}

/* Interactive Ambient Glows */
.neural-glow-orb {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -7;
    opacity: 0.22;
    animation: floatGlow 30s infinite alternate ease-in-out;
}
.glow-cyan {
    background: radial-gradient(circle, var(--c-cyan) 0%, rgba(186,255,0,0) 70%);
    top: -10vh;
    left: -10vw;
}
.glow-purple {
    background: radial-gradient(circle, var(--c-glow-teal) 0%, rgba(13,245,196,0) 70%);
    bottom: -20vh;
    right: -10vw;
    animation-delay: -8s;
}
.glow-pink {
    background: radial-gradient(circle, var(--c-glow-pink) 0%, rgba(255,0,127,0) 70%);
    top: 50vh;
    left: 25vw;
    animation-delay: -15s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 6vw) scale(1.2); }
}

/* 5. TYPOGRAPHY & OVERSIZED SPATIAL HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-white);
}

p {
    color: var(--c-silver);
    line-height: 1.6;
}

.text-muted {
    color: #94a3b8 !important; /* High-contrast slate silver for perfect readability on deep space black */
}

.text-gradient-holo {
    background: var(--g-holo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: var(--g-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: var(--g-neon-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-spatial {
    font-size: clamp(2.8rem, 6vw, 6.2rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: 0 0 50px rgba(186, 255, 0, 0.15);
}

.subtitle-spatial {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: var(--c-silver);
    max-width: 650px;
    line-height: 1.6;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--c-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-cyan);
}

/* 6. CUSTOM INTERACTIVE CURSOR */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(186, 255, 0, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background-color 0.3s;
}
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--c-cyan);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 12px var(--c-cyan);
    transition: transform 0.25s ease;
}
.cursor-hover .custom-cursor {
    width: 52px;
    height: 52px;
    background-color: rgba(186, 255, 0, 0.08);
    border-color: var(--c-glow-pink);
}
.cursor-hover .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(1.8);
    background-color: var(--c-glow-pink);
    box-shadow: 0 0 15px var(--c-glow-pink);
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-dot {
        display: none;
    }
}

/* 7. PREMIUM FLOATING GLASS OS NAVBAR */
.navbar-nexus {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    z-index: 1000;
    padding: 14px 28px;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    will-change: transform;
}
.navbar-nexus.scrolled {
    background: rgba(5, 5, 8, 0.85);
    border-color: rgba(186, 255, 0, 0.2);
    padding: 10px 28px;
    top: 14px;
    border-radius: 14px;
}

.navbar-brand-nexus {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
    color: var(--c-white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon-mesh {
    width: 24px;
    height: 24px;
    background: var(--g-holo);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    display: inline-block;
    box-shadow: 0 0 15px var(--c-cyan);
    animation: rotateMesh 8s linear infinite;
}

@keyframes rotateMesh {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.navbar-nexus .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-silver) !important;
    padding: 6px 12px !important;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nexus .nav-link {
        font-size: 0.82rem !important;
        padding: 5px 8px !important;
    }
    .navbar-brand-nexus {
        font-size: 1.2rem !important;
    }
    .btn-nexus-nav {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}
.navbar-nexus .nav-link:hover {
    color: var(--c-cyan) !important;
    background: rgba(186, 255, 0, 0.05);
}
.navbar-nexus .nav-item.active .nav-link {
    color: var(--c-white) !important;
    background: rgba(186, 255, 0, 0.15);
    border-bottom: 2px solid var(--c-cyan);
}

.btn-nexus-nav {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(186, 255, 0, 0.3);
    color: var(--c-white);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}
.btn-nexus-nav:hover {
    background: var(--g-holo);
    border-color: transparent;
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transform: translateY(-1px);
}

/* 8. LAYERED GLASSMORPHISM PANELS & FLOATING CARDS */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px var(--glass-shadow);
}
.glass-panel:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 35px 80px rgba(0, 229, 255, 0.08);
    transform: translateY(-4px) scale(1.005);
}

/* Glass panel light swipe effect */
.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent 45%, 
        rgba(0, 229, 255, 0.05) 50%, 
        transparent 55%
    );
    transform: rotate(30deg);
    transition: transform 0.8s ease-in-out;
    pointer-events: none;
}
.glass-panel:hover::after {
    transform: translate(50%, 50%) rotate(30deg);
}

/* Interactive Floating Intelligence Cards */
.intelligence-card {
    background: rgba(10, 12, 22, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
}
.intelligence-card:hover {
    border-color: rgba(124, 77, 255, 0.35);
    background: rgba(124, 77, 255, 0.03);
    transform: translateY(-8px);
}

.card-glowing-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--c-violet);
    filter: blur(50px);
    top: -20px;
    right: -20px;
    opacity: 0.15;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.intelligence-card:hover .card-glowing-glow {
    background: var(--c-cyan);
    opacity: 0.3;
    filter: blur(40px);
}

/* Micro Icon Wrapper */
.intel-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--c-cyan);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.intelligence-card:hover .intel-icon-box {
    background: var(--g-neural);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 0 15px var(--c-cyan);
}

/* 9. SECTION LAYOUT STRUCTURES (SINGLE PAGE SECTIONS) */
.section-spatial {
    padding: 130px 0;
    position: relative;
    z-index: 2;
}

/* 10. HERO EXPERIENCE SECTION */
#hero-experience {
    min-height: 100vh;
    padding-top: 170px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-dashboard-preview {
    position: relative;
    width: 100%;
    perspective: 1500px;
}
.spatial-dashboard-frame {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 12, 22, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.8);
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(2deg);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.spatial-dashboard-frame:hover {
    transform: rotateX(2deg) rotateY(-2deg) rotateZ(0deg);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 55px 120px rgba(0, 229, 255, 0.1);
}

.dashboard-header-bar {
    height: 42px;
    background: rgba(14, 18, 24, 0.95) !important; /* High-contrast obsidian gray bar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    position: relative;
    z-index: 10; /* Ensures it sits above any image content */
}
.header-dot {
    width: 10px; /* Slightly larger for gorgeous high-dpi screen visibility */
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.header-dot-red { background: #ff5f56 !important; box-shadow: 0 0 8px rgba(255, 95, 86, 0.4); }
.header-dot-yellow { background: #ffbd2e !important; box-shadow: 0 0 8px rgba(255, 189, 46, 0.4); }
.header-dot-green { background: #27c93f !important; box-shadow: 0 0 8px rgba(39, 201, 63, 0.4); }

/* Floating Intelligence Modules inside Hero */
.floating-intel-module {
    position: absolute;
    background: rgba(10, 11, 18, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 10;
    pointer-events: none;
    animation: floatModule 6s ease-in-out infinite alternate;
}
.module-left-top {
    top: -10%;
    left: 4%;
    animation-delay: -1s;
}
.module-left-mid {
    top: 38%;
    left: 0%;
    animation-delay: -2.5s;
}
.module-left-bottom {
    bottom: -10%;
    left: 4%;
    animation-delay: -4s;
}
.module-right-top {
    top: 4%;
    right: -14%;
    animation-delay: -1.8s;
}
.module-right-mid {
    top: 42%;
    right: -10%;
    animation-delay: -3.2s;
}
.module-right-bottom {
    bottom: 4%;
    right: -12%;
    animation-delay: -5s;
}

@media (max-width: 991px) {
    .floating-intel-module {
        display: none !important;
    }
}

@keyframes floatModule {
    0% { transform: translateY(0) translateZ(30px) scale(1); }
    100% { transform: translateY(-15px) translateZ(50px) scale(1.02); }
}

/* 11. BUTTONS & MICRO-INTERACTIONS */
.btn-nexus-primary {
    background: var(--g-holo);
    border: none;
    color: var(--bg-dark) !important;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 10px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-nexus-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.5);
}

.btn-nexus-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--c-white) !important;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 10px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.btn-nexus-outline:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--c-cyan);
    transform: translateY(-3px);
}

/* 12. NEURAL WORKFLOW SHOWCASE */
.workflow-graph-container {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 11, 18, 0.45);
    padding: 40px;
    position: relative;
}
.workflow-node-item {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 5;
    transition: var(--transition-fast);
}
.workflow-node-item.active {
    border-color: var(--c-cyan);
    background: rgba(0, 229, 255, 0.05);
}
.workflow-connector-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--c-cyan), var(--c-violet), transparent);
    z-index: 1;
}

/* 13. AUTOMATION ECOSYSTEM - CONCENTRIC ORBITS */
.orbit-system-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-ring-1 {
    width: 180px;
    height: 180px;
    animation: rotateOrbit 20s linear infinite;
}
.orbit-ring-2 {
    width: 320px;
    height: 320px;
    animation: rotateOrbitReverse 35s linear infinite;
}
.orbit-ring-3 {
    width: 460px;
    height: 460px;
    animation: rotateOrbit 50s linear infinite;
}

.orbit-center-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--g-holo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-dark);
    box-shadow: 0 0 35px var(--c-cyan);
    z-index: 5;
}

.orbiting-node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 12, 22, 0.9);
    border: 1.5px solid var(--c-cyan);
    color: var(--c-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transition: var(--transition-fast);
}
.orbiting-node:hover {
    background: var(--c-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--c-cyan);
    transform: scale(1.15);
}

.node-o1-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-o2-1 { top: 50%; left: 0; transform: translate(-50%, -50%); }
.node-o2-2 { top: 50%; right: 0; transform: translate(50%, -50%); }
.node-o3-1 { top: 15%; left: 15%; transform: translate(-50%, -50%); }
.node-o3-2 { bottom: 15%; right: 15%; transform: translate(50%, 50%); }

@keyframes rotateOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes rotateOrbitReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* 14. DATA & ANALYTICS VISUALIZATION */
.analytics-metrics-panel {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 11, 18, 0.45);
    padding: 30px;
}
.metric-bar-fill {
    height: 6px;
    border-radius: 3px;
    background: var(--g-neural);
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 15. INTEGRATION GRID - DYNAMIC PLATFORMS */
.integration-card-mesh {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}
.integration-card-mesh:hover {
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(0, 229, 255, 0.03);
    transform: scale(1.05);
}
.integration-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--c-silver);
    transition: var(--transition-fast);
}
.integration-card-mesh:hover .integration-logo-circle {
    background: var(--g-neon-pink);
    color: var(--c-white);
    border-color: transparent;
    box-shadow: 0 0 20px var(--c-glow-pink);
}

/* 16. PRICING EXPERIENCE ACCENT CARDS */
.pricing-panel-nexus {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.pricing-panel-nexus:hover {
    transform: translateY(-6px);
}
.pricing-featured {
    background: rgba(124, 77, 255, 0.06);
    border-color: rgba(124, 77, 255, 0.35);
    box-shadow: 0 30px 70px rgba(124, 77, 255, 0.12);
}
.pricing-badge-accent {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--g-holo);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    color: var(--bg-dark);
    letter-spacing: 0.05em;
}

/* 17. ACCORDION SYSTEM FOR FAQ */
.nexus-accordion .accordion-item {
    background: rgba(10, 11, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 16px;
    border-radius: 10px !important;
    overflow: hidden;
    transition: var(--transition-fast);
}
.nexus-accordion .accordion-item:hover {
    border-color: rgba(0, 229, 255, 0.25);
    background: rgba(10, 11, 18, 0.55);
}
.nexus-accordion .accordion-button {
    background: transparent !important;
    color: var(--c-white) !important;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    padding: 22px 28px;
    box-shadow: none !important;
}
.nexus-accordion .accordion-button::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(170deg); /* Color match to cyan */
}
.nexus-accordion .accordion-body {
    padding: 0 28px 24px;
    color: var(--c-silver);
    line-height: 1.6;
}

/* 18. WAITLIST / DEMO CTA SECTION */
.waitlist-wrapper-spatial {
    background: radial-gradient(circle at top right, rgba(124,77,255,0.06), transparent 50%),
                rgba(10, 11, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 70px 50px;
    position: relative;
    overflow: hidden;
}
.waitlist-form-input-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}
.waitlist-form-input-container:focus-within {
    border-color: var(--c-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}
.waitlist-text-input {
    background: transparent !important;
    border: none !important;
    color: var(--c-white) !important;
    font-size: 1.02rem;
    padding-left: 16px !important;
    box-shadow: none !important;
    outline: none !important;
}
.waitlist-text-input::placeholder {
    color: var(--c-gray);
}

/* 19. CONTACT ENVIRONMENT FORM */
.contact-glass-form {
    background: rgba(10, 12, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.nexus-form-control {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--c-white) !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 0.98rem;
    transition: var(--transition-fast) !important;
}
.nexus-form-control:focus {
    border-color: var(--c-cyan) !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}
.nexus-form-control::placeholder {
    color: var(--c-gray);
}

.feedback-message-box {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 20px;
    display: none;
    animation: slideUpFade 0.4s ease;
}
.feedback-success {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--c-cyan);
    color: var(--c-cyan);
}
.feedback-error {
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid var(--c-glow-pink);
    color: var(--c-glow-pink);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 20. FOOTER STYLING & BRAND DIVIDERS */
.footer-nexus {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    padding: 80px 0 40px;
    position: relative;
    z-index: 5;
}
.footer-divider-neural {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-violet), transparent);
    margin-bottom: 50px;
}
.footer-logo-nexus {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--c-white);
    text-decoration: none;
}
.footer-link-item {
    color: var(--c-silver);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-link-item:hover {
    color: var(--c-cyan);
    transform: translateX(3px);
    display: inline-block;
}

/* 21. SWIPER MOCKUP GALLERY */
.swiper-nexus-container {
    padding: 40px 0 !important;
}
.swiper-nexus-container .swiper-slide {
    width: 380px;
    height: auto;
    transition: var(--transition-smooth);
    opacity: 0.35;
    transform: scale(0.85) rotateY(-18deg);
}
.swiper-nexus-container .swiper-slide-active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.gallery-mockup-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background: #000;
}
.gallery-mockup-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* 22. RESPONSIVE DESIGN ADJUSTMENTS */
@media (max-width: 991px) {
    .section-spatial {
        padding: 85px 0;
    }
    #hero-experience {
        padding-top: 130px;
        text-align: center;
    }
    .hero-dashboard-preview {
        margin-top: 60px;
    }
    .spatial-dashboard-frame {
        transform: none;
    }
    .floating-intel-module {
        display: none; /* Hide floating details on tablet/mobile for readability */
    }
    .orbit-system-wrapper {
        display: none; /* Hide complex orbits on tablet/mobile to save layout space */
    }
    .pricing-featured {
        transform: none;
        margin: 20px 0;
    }
}
