/* Landing Animation Styles */

.landing-animation-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
    transition: opacity 1.5s ease-in-out;
}

.landing-animation-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(53, 94, 59, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.landing-logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.landing-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.landing-logo .studio {
    color: #355E3B;
    display: block;
    font-size: 2.5rem;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.landing-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    color: #CCCCCC;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
    max-width: 800px;
    line-height: 1.6;
}

.particles-landing {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(53, 94, 59, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 0.5s;
    animation-duration: 7s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 40%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(4) {
    left: 40%;
    top: 10%;
    animation-delay: 1.5s;
    animation-duration: 6s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 70%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(6) {
    left: 60%;
    top: 30%;
    animation-delay: 0.3s;
    animation-duration: 7s;
}

.particle:nth-child(7) {
    left: 70%;
    top: 60%;
    animation-delay: 1.2s;
    animation-duration: 9s;
}

.particle:nth-child(8) {
    left: 80%;
    top: 15%;
    animation-delay: 0.8s;
    animation-duration: 6s;
}

.particle:nth-child(9) {
    left: 90%;
    top: 50%;
    animation-delay: 1.7s;
    animation-duration: 8s;
}

.particle:nth-child(10) {
    left: 15%;
    top: 90%;
    animation-delay: 2.2s;
    animation-duration: 7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.8;
    }

    90% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutLanding {
    0% {
        opacity: 1;
        visibility: visible;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.circuit-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #355E3B, transparent);
    opacity: 0;
    animation: lineExpand 2s ease-out forwards;
}

.circuit-line.horizontal {
    width: 0;
    top: 50%;
    left: 50%;
}

.circuit-line.vertical {
    width: 2px;
    height: 0;
    top: 50%;
    left: 50%;
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 300px;
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-logo {
        font-size: 2.5rem;
    }

    .landing-logo .studio {
        font-size: 1.8rem;
    }

    .landing-tagline {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Hidden by default after animation */
.landing-animation-hidden {
    display: none;
}