@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-deep: #02020f;
    --primary-purple: #7c3aed;
    --accent-purple: #a855f7;
    --glow-purple: rgba(124, 58, 237, 0.5);
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- BASE STYLES --- */
body.home-v3 {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* --- PLANET BACKGROUND --- */
.hero-v3 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
}

.planet-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    filter: saturate(1.2) brightness(0.9);
}

/* Unused animations removed */

/* --- HERO CONTENT --- */
.hero-content-v3 {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-v3 h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-v3 p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-btns-v3 {
    display: flex;
    gap: 16px;
    justify-content: center;
}



/* --- DASHBOARD PREVIEW --- */
.dashboard-preview-v3 {
    margin-top: 80px;
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
}

.dash-window {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dash-window img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* Navigation styles moved to global style.css */

/* --- LOGO MARQUEE --- */
.marquee-v3 {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 2, 15, 0.5);
}

.marquee-v3 p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-track {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1) invert(1);
}

.marquee-track img {
    height: 30px;
}

/* --- FEATURES SECTION --- */
.features-v3 {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-header-v3 {
    text-align: center;
    margin-bottom: 80px;
}

.features-header-v3 h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

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

.feature-card-v3 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    transition: all 0.4s ease;
}

.feature-card-v3:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-purple);
    transform: translateY(-8px);
}

.feat-icon-v3 {
    width: 64px;
    height: 64px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feat-icon-v3 i {
    font-size: 2rem;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.3));
}

.feature-card-v3 h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    min-height: 3.8rem;
    display: flex;
    align-items: flex-start;
}

.feature-card-v3 p {
    color: var(--text-gray);
    line-height: 1.6;
    text-align: justify;
}

/* --- MORPHIX SPACE SECTION --- */
.morphix-space-promo {
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.05), transparent 40%),
                var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.space-promo-wrap {
    position: relative;
    z-index: 2;
}

.space-promo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.space-promo-content h2 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.space-promo-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: justify;
    max-width: 650px;
}

/* --- WORKERSTATION IA SECTION --- */
.workerstation-section {
    background: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.ws-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ws-container.reversed {
    direction: ltr; /* Reset if needed */
}

.ws-container.reversed .ws-content {
    order: 2;
}

.ws-container.reversed .cinematic-container {
    order: 1;
}

.ws-content h2 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.ws-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    opacity: 0.8;
    margin-bottom: 35px;
    line-height: 1.7;
    text-align: justify;
    max-width: 650px;
}

/* --- IMMERSIVE CINEMATIC EFFECT --- */
.cinematic-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.cinematic-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: pulseCinematicGlow 4s infinite alternate;
}

.glow-purple {
    background: rgba(168, 85, 247, 0.4);
    top: 5%;
    left: -10%;
}

.glow-blue {
    background: rgba(124, 58, 237, 0.4);
    bottom: 5%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes pulseCinematicGlow {
    0% { transform: scale(0.9); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.cinematic-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 1);
    bottom: -10px;
    animation: floatCinematicParticle linear infinite;
}

@keyframes floatCinematicParticle {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    10% { opacity: 1; transform: translateY(-50px) scale(1); }
    90% { opacity: 1; transform: translateY(-250px) scale(1); }
    100% { transform: translateY(-300px) scale(0); opacity: 0; }
}

.cinematic-intro-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    animation: cinematicFadeInCenter 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cinematic-float-wrapper {
    animation: cinematicGentleFloat 7s ease-in-out infinite alternate;
    animation-delay: 2.5s;
}

.cinematic-dashboard-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 58, 237, 0.2);
    border: 1px solid var(--glass-border);
    transform: translateZ(0);
}

.cinematic-dashboard {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.light-sweep {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: cinematicLightSweep 8s infinite;
    animation-delay: 3s;
    pointer-events: none;
    z-index: 3;
}

@keyframes cinematicFadeInCenter {
    0% { opacity: 0; transform: scale(1.15); filter: blur(5px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes cinematicGentleFloat {
    0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
    100% { transform: translateY(-15px) rotateX(2deg) rotateY(-1deg); }
}

@keyframes cinematicLightSweep {
    0% { left: -150%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

.glass-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}





/* Fix for possible invisible content due to AOS or animations */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
    }
}


@media (max-width: 768px) {
    .home-v3 {
        overflow-x: hidden;
    }
    
    section {
        padding: 60px 20px;
    }

    .hero-v3 {
        padding-top: 100px;
    }

    .planet-container {
        opacity: 0.6; /* More visible on mobile if it was too dark */
    }

    .cinematic-dashboard-wrapper {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    }

    .mx-contact-wrapper {
        grid-template-columns: 1fr !important;
        padding: 30px 20px !important;
        gap: 30px !important;
        border-radius: 20px !important;
    }
}



