/* Improved Tech Security Section */
#tech {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

#tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#tech h2,
#tech p {
    color: white;
}

.check-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    padding-left: 3.5rem;
    /* Make room for icon */
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.check-list li::before {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    content: '\f00c';
    /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Security Visual Animation */
.security-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.shield-container {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.shield-icon {
    font-size: 10rem;
    background: -webkit-linear-gradient(#2563eb, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.5));
}

.shield-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s infinite;
}

.lock-icon-floating {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    z-index: 3;
    animation: lockPop 6s ease-in-out infinite;
}

.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.data-stream span {
    position: absolute;
    background: linear-gradient(to bottom, transparent, #22c55e, transparent);
    width: 2px;
    height: 50px;
    opacity: 0;
    animation: dataRain 3s infinite linear;
}

.data-stream span:nth-child(1) {
    left: 20%;
    top: -50px;
    animation-delay: 0.5s;
    height: 80px;
}

.data-stream span:nth-child(2) {
    left: 50%;
    top: -80px;
    animation-delay: 1.5s;
    height: 60px;
}

.data-stream span:nth-child(3) {
    left: 80%;
    top: -30px;
    animation-delay: 2.5s;
    height: 100px;
}

@keyframes float {

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

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes lockPop {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes dataRain {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(400px);
        opacity: 0;
    }
}

/* Responsive adjustment for tech section */
@media (max-width: 992px) {
    .security-visual {
        margin-top: 3rem;
    }
}