/* ========================================
   Security Page Specific Styles
   ======================================== */

/* Hero Visual - Security Shield */
.hero-visual-security {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 400px;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

.shield-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Glow */
.shield-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--brand-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Concentric Rings */
.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.5s ease;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(99, 102, 241, 0.1);
    animation: spinReverse 20s linear infinite;
}

.ring-1::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--brand-gradient-start);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-gradient-start);
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-style: dashed;
    border-color: rgba(99, 102, 241, 0.2);
    animation: spin 30s linear infinite;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

/* Main Shield Element */
.shield-main {
    position: relative;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    /* Frosted glass look */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 10px 30px -5px rgba(99, 102, 241, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

/* Shield Icon */
.shield-icon {
    width: 64px;
    height: 64px;
    color: #6366f1;
    /* Brand color fallback */
    filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.4));
    animation: shieldBreath 4s ease-in-out infinite;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

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

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

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

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shieldBreath {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 8px 12px rgba(99, 102, 241, 0.6));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shield-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-visual-security {
        min-height: 300px;
        margin-top: var(--space-8);
    }
}