/* ===== WHY CHOOSE US VISUALS ===== */
.feature-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    /* Reset padding to allow image to flush */
    background: rgba(11, 28, 45, 0.6);
    border: 1px solid rgba(0, 194, 255, 0.1);
}

.feature-visual {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #05101a;
    border-bottom: 1px solid rgba(0, 194, 255, 0.1);
}

.feature-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Common Visual Styles */
.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 194, 255, 0.2), transparent 70%),
        linear-gradient(0deg, rgba(11, 28, 45, 1) 0%, transparent 100%);
    z-index: 2;
}

.visual-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 194, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    perspective: 500px;
    transform: perspective(500px) rotateX(60deg) translateY(-50px) scale(2);
    opacity: 0.3;
}

/* 1. Lightning Fast Visual */
.speed-visual .speed-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00fff2, transparent);
    box-shadow: 0 0 10px #00fff2;
    transform: translateY(-50%);
    animation: speedLine 2s infinite linear;
}

.speed-visual .speed-lines::before,
.speed-visual .speed-lines::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 242, 0.5), transparent);
    animation: speedLine 3s infinite linear reverse;
}

.speed-visual .speed-lines::after {
    top: 20px;
    animation-duration: 1.5s;
}

@keyframes speedLine {
    0% {
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
}

/* 2. Secure Visual */
.secure-visual .shield-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secure-visual .shield-hex {
    position: absolute;
    width: 60px;
    height: 70px;
    background: rgba(0, 255, 127, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid #00ff7f;
    animation: shieldPulse 3s infinite ease-in-out;
}

.secure-visual .lock-icon {
    font-size: 2rem;
    color: #00ff7f;
    filter: drop-shadow(0 0 10px #00ff7f);
    z-index: 3;
}

@keyframes shieldPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(0, 255, 127, 0.2);
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
        box-shadow: 0 0 40px rgba(0, 255, 127, 0.4);
    }
}

/* 3. Expert Team Visual */
.team-visual .node-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.team-visual .node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFD700;
}

.team-visual .node:nth-child(1) {
    top: 30%;
    left: 30%;
    animation: floatNode 4s infinite ease-in-out;
}

.team-visual .node:nth-child(2) {
    top: 60%;
    left: 70%;
    animation: floatNode 5s infinite ease-in-out 1s;
}

.team-visual .node:nth-child(3) {
    top: 40%;
    left: 60%;
    animation: floatNode 6s infinite ease-in-out 0.5s;
}

.team-visual .connection {
    position: absolute;
    top: 30%;
    left: 30%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, transparent);
    transform-origin: left center;
    transform: rotate(20deg);
    opacity: 0.5;
}

@keyframes floatNode {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5px, -5px);
    }
}

/* 4. Support Visual */
.support-visual .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid #FF00FF;
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s infinite linear;
}

.support-visual .pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

.support-visual .chat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #FF00FF;
    filter: drop-shadow(0 0 10px #FF00FF);
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 4px;
    }

    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        border-width: 0;
    }
}

/* Adjust Feature Content for new layout */
.feature-card p {
    margin-bottom: 0;
}

.feature-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}