/* ===================================
   AXIS16 - Custom Styles
   Version: 2.0
   =================================== */

:root {
    /* Color Palette */
    --midnight-dark: #000000;
    --midnight-blue: #0F172A;
    --midnight-light: #1E293B;
    --electric-cyan: #22D3EE;
    --emerald-green: #10B981;
    --warm-gold: #FCD34D;
    --deep-orange: #FB923C;
    --soft-purple: #C084FC;
    --fossil-gray: #64748B;
    
    /* Typography */
    --font-display: 'Manrope', -apple-system, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vh, 8rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--midnight-dark);
    color: white;
    overflow-x: hidden;
    font-family: var(--font-display);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--midnight-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--electric-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-green);
}

/* Text Utilities */
.text-shadow-lg {
    text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}

.text-shadow-glow {
    text-shadow: 0 0 20px currentColor;
}

.cinematic-text {
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 900;
}

/* Glass Morphism */
.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

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

/* Gradient Text */
.gradient-text-cyan {
    background: linear-gradient(135deg, var(--electric-cyan), var(--emerald-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: linear-gradient(135deg, var(--warm-gold), var(--deep-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Overlays */
.gradient-overlay-dark {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.gradient-overlay-radial {
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* Hero Section Specific */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scene Container */
.scene-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

/* Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(34, 211, 238, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.2);
}

/* Icon Containers */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--electric-cyan), var(--emerald-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Lottie Container */
.lottie-container {
    width: 100%;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    pointer-events: none;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(34, 211, 238, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --section-padding: clamp(2rem, 5vh, 4rem);
    }
    
    .cinematic-text {
        line-height: 1;
    }
}

/* Loading State */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--electric-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selection */
::selection {
    background: var(--electric-cyan);
    color: var(--midnight-dark);
}

::-moz-selection {
    background: var(--electric-cyan);
    color: var(--midnight-dark);
}

/* Utility Classes */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}

.pointer-events-none {
    pointer-events: none;
}

.will-change-transform {
    will-change: transform;
}

