/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Reset and smooth scroll core */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #0F172A; /* cxDark */
    color: #FFFFFF;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    scroll-behavior: auto !important;
}

/* Lenis smooth scrolling styles */
html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0B5CFF;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism system */
.glass-panel {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(11, 92, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(11, 92, 255, 0.1);
}

/* Text gradients */
.text-gradient-primary {
    background: linear-gradient(135deg, #FFFFFF 30%, #00C2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, #0B5CFF 0%, #00C2FF 50%, #5A3FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Connected Experience Networks animations */
.pulse-path {
    stroke-dasharray: 10, 10;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* SVG Line Glows */
.glowing-line {
    filter: drop-shadow(0px 0px 4px rgba(0, 194, 255, 0.5));
}

.glowing-line-primary {
    filter: drop-shadow(0px 0px 4px rgba(11, 92, 255, 0.5));
}

/* Particle animation background styles */
.dot-network-bg {
    background-image: radial-gradient(rgba(11, 92, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Orbit node glowing and rotations */
.ai-core-glow {
    filter: drop-shadow(0 0 25px rgba(0, 194, 255, 0.6))
            drop-shadow(0 0 50px rgba(90, 63, 255, 0.4));
}

.zoom-node {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-node:hover {
    filter: drop-shadow(0 0 15px rgba(0, 194, 255, 0.8));
    transform: scale(1.1);
}

/* Custom interactive dashboard grid styling */
.challenge-card {
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(11, 92, 255, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.challenge-card:hover::before {
    opacity: 1;
}

/* Horizontal agenda layout */
.agenda-journey-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.agenda-journey-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Input validation error styling matching form */
label.error {
    color: #F87171;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

input.error {
    border-color: #EF4444 !important;
    background-color: rgba(239, 68, 68, 0.05);
}

/* Utility Animations */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}
