/* Zero Breach Security - Hero Intro Animation Styles */
.hero-intro-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f3460 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Animated background grid */
.intro-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Scanning line effect */
.intro-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: scanLine 3s ease-in-out infinite;
    box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff;
}

@keyframes scanLine {
    0%, 100% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Central shield container */
.intro-shield-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: containerFadeIn 1s ease-out;
    z-index: 2;
}

@keyframes containerFadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Animated shield */
.intro-shield {
    width: 200px;
    height: 230px;
    position: relative;
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.intro-shield svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

/* Shield glow rings */
.intro-shield-ring {
    position: absolute;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s ease-out infinite;
}

.intro-shield-ring:nth-child(1) {
    width: 250px;
    height: 250px;
    animation-delay: 0s;
}

.intro-shield-ring:nth-child(2) {
    width: 300px;
    height: 300px;
    animation-delay: 0.5s;
}

.intro-shield-ring:nth-child(3) {
    width: 350px;
    height: 350px;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Company name */
.intro-company-name {
    font-family: 'Arial Black', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 40px;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
    animation: nameReveal 1s ease-out 0.5s forwards;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                 0 0 40px rgba(0, 212, 255, 0.6),
                 0 0 60px rgba(0, 212, 255, 0.4);
}

@keyframes nameReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 20px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 8px;
    }
}

/* Tagline */
.intro-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #00d4ff;
    margin-top: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: taglineReveal 1s ease-out 1s forwards;
}

@keyframes taglineReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Security badge */
.intro-security-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    animation: badgeFadeIn 0.5s ease-out 1.5s forwards;
}

.intro-security-badge::before {
    content: '🔒';
    margin-right: 8px;
}

@keyframes badgeFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Particles */
.intro-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.intro-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00d4ff;
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Data streams */
.intro-data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #00d4ff, transparent);
    animation: dataStreamFlow 2s linear infinite;
    opacity: 0.3;
}

@keyframes dataStreamFlow {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Tech corner decorations */
.intro-tech-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: rgba(0, 212, 255, 0.3);
    border-style: solid;
}

.intro-tech-corner.top-left {
    top: 30px;
    left: 30px;
    border-width: 3px 0 0 3px;
}

.intro-tech-corner.top-right {
    top: 30px;
    right: 30px;
    border-width: 3px 3px 0 0;
}

.intro-tech-corner.bottom-left {
    bottom: 30px;
    left: 30px;
    border-width: 0 0 3px 3px;
}

.intro-tech-corner.bottom-right {
    bottom: 30px;
    right: 30px;
    border-width: 0 3px 3px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .intro-company-name {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .intro-tagline {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .intro-shield {
        width: 150px;
        height: 175px;
    }

    .intro-tech-corner {
        width: 50px;
        height: 50px;
    }
}
