/* 
   XECHO Landing Page - Modular CSS Structure
   Main Stylesheet that imports all component-specific CSS files
   This approach makes the codebase more maintainable and organized
*/

/* Core Styles */
@import url('styles/variables.css');
@import url('styles/base.css');

/* Layout Components */
@import url('styles/navigation.css');
@import url('styles/hero.css');

/* Content Sections */
@import url('styles/features.css');
@import url('styles/experience.css');
@import url('styles/sections.css');

/* Layout */
@import url('styles/footer.css');

/* Responsive Design */
@import url('styles/responsive.css');

/* Framer Motion Enhancements */
@import url('styles/framer-motion.css');

/* Status Tags - Additional styles not in other files */
.status-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}

.status-tag.upcoming {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
    color: #FFC107;
}

.status-tag.upcoming:hover {
    background: rgba(255, 193, 7, 0.3);
    border-color: #FFC107;
    color: #FFC107;
    transform: scale(1.05);
}

.status-tag.implemented {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ECC71;
    color: #2ECC71;
}

.status-tag.implemented:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: #2ECC71;
    color: #2ECC71;
    transform: scale(1.05);
}

/* Advanced Animation Styles for XECHO */

/* Floating Particles Container */
.floating-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Hero Title Simple Display */
.hero-title {
    position: relative;
    z-index: 10;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title .title-main,
.hero-title .title-accent {
    position: relative;
    z-index: 2;
    display: block;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Liquid Background Blob */
.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, rgba(2, 113, 252, 0.4), rgba(2, 86, 214, 0.2), transparent);
    animation: blob-pulse 4s ease-in-out infinite;
}

@keyframes blob-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        border-radius: 30% 70% 70% 30%;
    }
    50% {
        transform: scale(0.9) rotate(180deg);
        border-radius: 70% 30% 30% 70%;
    }
    75% {
        transform: scale(1.05) rotate(270deg);
        border-radius: 40% 60% 60% 40%;
    }
}

/* Enhanced Liquid Button Styles */
.liquid-button {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.liquid-button:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 10px 30px rgba(2, 113, 252, 0.3),
        0 0 50px rgba(2, 113, 252, 0.1);
}

.liquid-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
    animation: liquid-ripple 0.6s ease-out forwards;
}

@keyframes liquid-ripple {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
    50% {
        border-radius: 30% 70% 70% 30%;
    }
    100% {
        transform: scale(4) rotate(180deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* 3D Card Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
}

/* Morphing Shape Animations with Liquid Effects */
.morphing-shape {
    transition: all 0.3s ease;
    transform-origin: center;
    filter: drop-shadow(0 0 10px rgba(2, 113, 252, 0.3));
}

.morphing-shape:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(2, 113, 252, 0.6));
}

/* Liquid Morphing Keyframes */
@keyframes liquid-morph {
    0% {
        clip-path: circle(50% at 50% 50%);
        transform: rotate(0deg) scale(1);
    }
    25% {
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        transform: rotate(90deg) scale(1.05);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        transform: rotate(180deg) scale(0.95);
    }
    75% {
        clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        clip-path: circle(50% at 50% 50%);
        transform: rotate(360deg) scale(1);
    }
}

/* Magnetic Button Enhancement */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.magnetic-btn:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* Liquid Loader Styles */
.liquid-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

/* Enhanced Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content should have staggered animations */
.hero .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation-fill-mode: forwards;
}

/* Specific hero element animations */
.hero .hero-title { animation: heroFadeIn 1s ease-out 0.2s forwards; }
.hero .hero-tagline { animation: heroFadeIn 1s ease-out 0.4s forwards; }
.hero .hero-description { animation: heroFadeIn 1s ease-out 0.6s forwards; }
.hero .hero-disclaimer-neutral { animation: heroFadeIn 1s ease-out 0.8s forwards; }
.hero .hero-buttons { animation: heroFadeIn 1s ease-out 1.0s forwards; }
.hero .hero-stats { animation: heroFadeIn 1s ease-out 1.2s forwards; }
.hero .hero-social { animation: heroFadeIn 1s ease-out 1.4s forwards; }

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Feature Cards */
.feature-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    perspective: 1000px;
}

.feature-card .card-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1), 
        transparent 50%, 
        rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover .card-reflection {
    opacity: 1;
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::after {
    width: 300%;
    height: 300%;
}

/* Parallax Element Optimization */
.parallax-element {
    will-change: transform;
}

/* Enhanced Waves */
.wave {
    will-change: transform;
    backface-visibility: hidden;
}

/* Social Links Enhancement */
.hero-social-link {
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.hero-social-link:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(2, 113, 252, 0.5));
}

/* Stats Animation */
.stat-number {
    font-weight: 700;
    background: linear-gradient(45deg, #0271FC, #0256D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Experience Items Enhancement */
.experience-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 113, 252, 0.2);
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-content > * {
    will-change: opacity, transform;
}

/* Mobile Optimizations for Animations */
@media (max-width: 768px) {
    .card-3d:hover {
        transform: none;
    }
    
    .magnetic-btn {
        transform: none !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Example Data Note Styling */
.example-data-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.example-data-note:hover {
    opacity: 1;
}

/* Hero Video Embed */
.hero-video-embed {
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-video-embed .video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    transform: translateZ(0);
}

.hero-video-embed .video-container:hover {
    transform: scale(1.05);
}

.hero-video-embed iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 15px;
}

/* Responsive adjustments for hero video */
@media (max-width: 768px) {
    .hero-video-embed {
        margin: 1.5rem 0 1rem 0;
        padding: 1rem;
    }
    
    .hero-video-embed .video-container {
        max-width: 100%;
        margin: 0 -1rem;
    }
    
    .hero-video-embed iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-video-embed {
        margin: 1rem 0 0.5rem 0;
        padding: 0.5rem;
    }
    
    .hero-video-embed .video-container {
        max-width: 100%;
        margin: 0 -0.5rem;
        border-radius: 12px;
    }
    
    .hero-video-embed iframe {
        height: 300px;
        border-radius: 11px;
    }
}


