/* ----------------------------------------------------
   Ballet Sensei Landing Page Stylesheet
   Theme: Dark Mode Premium, Neon Cyan/Magenta Tracker Accents
   ---------------------------------------------------- */

:root {
    /* Colors */
    --bg-primary: #07080a;
    --bg-secondary: #0e0f14;
    --bg-tertiary: #15161f;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-cyan-glow: rgba(0, 245, 255, 0.4);
    --neon-magenta: #ff007f;
    --neon-magenta-glow: rgba(255, 0, 127, 0.4);
    --neon-purple: #9d4edd;
    --neon-purple-glow: rgba(157, 78, 221, 0.4);
    
    /* Glassmorphism */
    --glass-bg: rgba(14, 15, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-glow-border: rgba(0, 245, 255, 0.15);
    
    /* Font Stack */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    /* Slider State */
    --slider-pos: 50%;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Background Mesh Glow Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -2;
}

.bg-glow-cyan {
    background: var(--neon-cyan);
    top: -100px;
    left: -100px;
}

.bg-glow-magenta {
    background: var(--neon-magenta);
    bottom: 20%;
    right: -100px;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-magenta {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.hide { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.2);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    filter: blur(10px);
    opacity: 0.4;
    border-radius: var(--border-radius-sm);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(15px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--neon-cyan);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    width: fit-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulse 1.5s infinite;
}

.badge.accent-magenta {
    background: rgba(255, 0, 127, 0.08);
    border-color: rgba(255, 0, 127, 0.2);
    color: var(--neon-magenta);
}

.badge.accent-magenta .badge-dot {
    background-color: var(--neon-magenta);
    box-shadow: 0 0 8px var(--neon-magenta);
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* ----------------- NAVBAR ----------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 8, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.navbar-scrolled {
    padding: 10px 0;
    background: rgba(7, 8, 10, 0.9);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon svg {
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ----------------- HERO ----------------- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hero-trust {
    margin-top: 48px;
}

.trust-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-logos span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -0.2px;
}

/* Phone Mockup Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    position: relative;
    width: 320px;
    height: 640px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.phone-frame {
    width: 100%;
    height: 100%;
    background-color: #0c0d12;
    border: 12px solid #1a1c24;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.phone-camera {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background-color: #1a1c24;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.app-hud {
    position: absolute;
    inset: 0;
    padding: 36px 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

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

.hud-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
}

.hud-fps {
    font-family: monospace;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-cyan);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    animation: pulse 1s infinite alternate;
}

.hud-metrics {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.metric-card {
    flex: 1;
    background: rgba(14, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(4px);
}

.metric-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.metric-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 2px;
}

.hud-skeleton {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hud-message {
    background: rgba(14, 15, 20, 0.9);
    border-left: 3px solid var(--neon-cyan);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--neon-cyan);
}

.msg-icon {
    color: var(--neon-cyan);
    font-size: 0.95rem;
}

/* ----------------- DEMO (SLIDER) ----------------- */
.demo-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.demo-comparison-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.demo-comparison {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.comparison-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.comparison-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.raw-feed {
    z-index: 1;
}

.ai-tracking {
    z-index: 2;
    clip-path: inset(0 0 0 var(--slider-pos));
    border-left: 1px solid transparent;
}

.overlay-badge {
    position: absolute;
    top: 24px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    z-index: 5;
}

.raw-badge {
    left: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ai-badge {
    right: 24px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

/* Skeleton SVG overlay details */
.skeleton-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.skeleton-svg .bones line {
    animation: drawBone 1.5s ease-out forwards;
}

@keyframes drawBone {
    from { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

/* Interactive joint pulsing hotspots */
.joint-hotspot {
    position: absolute;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.joint-hotspot .dot {
    width: 12px;
    height: 12px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 10px var(--neon-cyan-glow);
    transition: var(--transition-fast);
}

.joint-hotspot .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: jointPulse 2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

/* Active hotspot switches to pink or glows more */
.joint-hotspot.active .dot {
    background-color: var(--neon-magenta);
    box-shadow: 0 0 12px var(--neon-magenta-glow);
}

.joint-hotspot.active .pulse-ring {
    border-color: var(--neon-magenta);
}

.joint-hotspot:hover .dot {
    transform: scale(1.3);
    background-color: #fff;
    border-color: var(--neon-cyan);
}

@keyframes jointPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* HUD Panel Overlay (Inside AI Tracking Panel) */
.hud-overlay-panel {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 220px;
    background: rgba(10, 11, 15, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
    pointer-events: none;
}

.hud-overlay-panel h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 6px;
}

.hud-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.hud-stat-row:last-child {
    margin-bottom: 0;
}

.hud-stat-row span:first-child {
    color: var(--text-secondary);
}

.hud-stat-value {
    font-weight: 600;
}

/* Slider Controls */
.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos);
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-magenta));
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    pointer-events: none;
}

/* Transparent Range Input Layer */
.comparison-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: col-resize;
    z-index: 5;
    margin: 0;
}

/* Feedback Joint Details Card */
.demo-feedback-card {
    max-width: 760px;
    margin: 24px auto 0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.demo-feedback-card .card-icon {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 245, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 245, 255, 0.15);
}

.demo-feedback-card .card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.demo-feedback-card .card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ----------------- FEATURES ----------------- */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-glow-border);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.04);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.bg-cyan-glow {
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.bg-magenta-glow {
    background: rgba(255, 0, 127, 0.08);
    border: 1px solid rgba(255, 0, 127, 0.2);
}

.bg-purple-glow {
    background: rgba(157, 78, 221, 0.08);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.feature-list li i {
    font-size: 0.95rem;
}

/* ----------------- TECH SPECS HUD ----------------- */
.tech-section {
    padding: 100px 0;
}

.hud-container {
    position: relative;
    padding: 64px;
    overflow: hidden;
}

/* Corner HUD crosshairs */
.hud-corner-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(255, 255, 255, 0.15);
    border-style: solid;
    pointer-events: none;
}

.hud-corner-marker.top-left { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.hud-corner-marker.top-right { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.hud-corner-marker.bottom-left { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; }
.hud-corner-marker.bottom-right { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

.hud-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 64px;
    align-items: center;
}

.hud-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hud-info h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 800;
}

.hud-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--text-primary);
}

.hud-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: var(--transition-fast);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    color: #fff;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ----------------- CAROUSEL (ONBOARDING) ----------------- */
.onboarding-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.carousel-outer {
    position: relative;
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

.carousel-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 24px 40px;
    list-style: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.carousel-scroller::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.carousel-slide {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

/* Responsive adjust slide width for smaller screens */
@media (max-width: 480px) {
    .carousel-slide {
        flex: 0 0 280px;
    }
}

/* Target center slide scale-up using CSS Scroll-driven animations */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes carouselFocus {
        0% {
            scale: 0.9;
            opacity: 0.6;
            border-color: var(--glass-border);
        }
        50% {
            scale: 1.05;
            opacity: 1;
            border-color: var(--glass-glow-border);
            box-shadow: 0 20px 40px rgba(0, 245, 255, 0.06);
        }
        100% {
            scale: 0.9;
            opacity: 0.6;
            border-color: var(--glass-border);
        }
    }

    .carousel-slide {
        animation: carouselFocus auto linear both;
        animation-timeline: view(inline);
        animation-range: cover 0% cover 100%;
    }
}

.slide-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    align-self: flex-end;
}

.slide-visual {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--neon-cyan);
    position: relative;
    overflow: hidden;
}

.carousel-slide:nth-child(even) .slide-visual {
    color: var(--neon-magenta);
}

.visual-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    opacity: 0.3;
}

.carousel-slide h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.carousel-slide p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Carousel Controls & Dot Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: var(--neon-cyan);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--neon-cyan);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* ----------------- CTA SECTION ----------------- */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    position: relative;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-card .bg-glow-cyan {
    top: -200px;
    left: -200px;
    opacity: 0.1;
}

.cta-card .bg-glow-magenta {
    bottom: -200px;
    right: -200px;
    opacity: 0.1;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.cta-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.cta-form input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.cta-form input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}

.form-feedback {
    font-size: 0.95rem;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ----------------- FOOTER ----------------- */
.footer {
    background-color: #040507;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 64px;
    padding-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo span {
    color: var(--neon-cyan);
}

.footer-logo svg {
    vertical-align: middle;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* ----------------- MEDIA QUERIES ----------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hud-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu can be toggled by JS */
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-logos {
        justify-content: center;
    }
    
    .hud-info {
        text-align: center;
    }
    
    .tech-stack {
        justify-content: center;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile Nav Overlay State */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(7, 8, 10, 0.95);
    border-bottom: 1px solid var(--glass-border);
    padding: 32px;
    gap: 24px;
    align-items: center;
    backdrop-filter: blur(20px);
}

/* Language Switcher Styles */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 30px;
    margin-right: 16px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.08);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    margin: 0 2px;
    user-select: none;
}

@media (max-width: 991px) {
    .lang-switcher {
        margin-right: 0;
        margin-bottom: 16px;
    }
}

