/* =========================================
   PROFESSIONAL INTRO ANIMATION
========================================= */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
    animation: introFadeOut 1s ease-in-out 3.5s forwards;
}

.intro-screen.hidden {
    display: none;
}

/* Minimal Ambient Particles */
.intro-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.intro-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(79, 227, 215, 0.4);
    border-radius: 50%;
    animation: particleFloatMinimal 12s infinite ease-in-out;
}

.intro-particle.particle-large {
    width: 5px;
    height: 5px;
    background: rgba(14, 120, 200, 0.3);
}

.intro-particle.particle-small {
    width: 2px;
    height: 2px;
    opacity: 0.6;
}

.intro-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.intro-particle:nth-child(2) {
    left: 85%;
    top: 15%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.intro-particle:nth-child(3) {
    left: 70%;
    top: 70%;
    animation-delay: 2s;
    animation-duration: 11s;
}

.intro-particle:nth-child(4) {
    left: 25%;
    top: 80%;
    animation-delay: 0.5s;
    animation-duration: 12s;
}

.intro-particle:nth-child(5) {
    left: 50%;
    top: 10%;
    animation-delay: 1.5s;
    animation-duration: 14s;
}

@keyframes particleFloatMinimal {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.6;
    }
}

/* Hidden Elements - Keep in DOM but hide them */
.intro-tech-grid,
.intro-geometric-shapes,
.intro-light-rays,
.intro-hud-corners,
.intro-scanlines {
    display: none;
}

/* Logo Container */
.intro-logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Simple Logo Wrapper */
.logo-3d-wrapper {
    position: relative;
    display: inline-block;
}

/* Professional Logo Animation */
.intro-logo {
    width: 280px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
    animation: logoFadeScaleIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    will-change: transform, opacity;
}

@keyframes logoFadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Company Name - Clean Typography */
.intro-company-name {
    margin-top: 25px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    opacity: 0;
    animation: textFadeSlideUp 0.9s ease-out 0.8s forwards;
    font-family: 'Poppins', 'Inter', sans-serif;
}

@keyframes textFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tagline - Subtle */
.intro-tagline {
    margin-top: 12px;
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: textFadeIn 0.8s ease-out 1.3s forwards;
    font-family: 'Poppins', 'Inter', sans-serif;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle Glow Circle */
.intro-glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 227, 215, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: glowFadeIn 1.5s ease-out 0.5s forwards;
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Single Clean Pulse Ring */
.intro-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border: 1px solid rgba(79, 227, 215, 0.2);
    border-radius: 50%;
    animation: pulseRingClean 3s ease-out infinite 1s;
    z-index: -1;
}

.intro-pulse-ring.ring-2 {
    display: none;
    /* Hide second ring for minimal look */
}

@keyframes pulseRingClean {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Clean Progress Bar */
.intro-loading-bar {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    animation: barFadeIn 0.4s ease-out 1.6s forwards;
}

.intro-loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #4fe3d7, #0e78c8);
    border-radius: 10px;
    animation: loadingProgress 1.5s ease-out 1.8s forwards;
    width: 0;
}

@keyframes barFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes loadingProgress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Professional Fade Out */
@keyframes introFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* =========================================
   MERGER ANNOUNCEMENT BANNER
========================================= */
.intro-merger-announcement {
    margin-top: 35px;
    opacity: 0;
    animation: mergerFadeSlideUp 1s ease-out 1.8s forwards;
}

.merger-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite 3s;
}

.badge-icon {
    font-size: 1.1rem;
    animation: iconWiggle 1s ease-in-out infinite 3.5s;
}

.badge-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-family: 'Poppins', sans-serif;
}

.merger-logos-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.merger-text-from {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    animation: textSlideFromLeft 0.8s ease-out 2.3s forwards;
}

.merger-text-to {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4fe3d7, #0e78c8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    animation: textSlideFromRight 0.8s ease-out 2.3s forwards;
}

.merger-arrow-mini {
    font-size: 1.3rem;
    color: #ff6b00;
    opacity: 0;
    animation: arrowBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2.6s forwards,
        arrowPulseLoop 1.5s ease-in-out infinite 3.5s;
}

.merger-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    animation: subtitleFadeIn 0.8s ease-out 2.8s forwards;
}

/* Animations */
@keyframes mergerFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
    }
}

@keyframes iconWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes textSlideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textSlideFromRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes arrowBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes arrowPulseLoop {

    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(5px) scale(1.1);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-logo {
        width: 220px;
    }

    .intro-company-name {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .intro-tagline {
        font-size: 0.85rem;
    }

    .intro-glow-circle {
        width: 300px;
        height: 300px;
    }

    .intro-loading-bar {
        width: 150px;
    }

    /* Merger Announcement Mobile */
    .intro-merger-announcement {
        margin-top: 25px;
        padding: 0 20px;
    }

    .merger-badge {
        padding: 6px 16px;
    }

    .badge-text {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    .merger-logos-mini {
        gap: 10px;
        flex-wrap: wrap;
    }

    .merger-text-from,
    .merger-text-to {
        font-size: 0.95rem;
    }

    .merger-arrow-mini {
        font-size: 1.1rem;
    }

    .merger-subtitle {
        font-size: 0.8rem;
    }
}