/* Hero Visual Styles */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.visual-card {
    background: rgba(20, 24, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 500px;
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.visual-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #a0a0a0;
    letter-spacing: 0.1em;
}

.visual-badge {
    font-size: 10px;
    font-weight: 700;
    color: #04b6d0;
    background: rgba(4, 182, 208, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(4, 182, 208, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.visual-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #04b6d0;
    box-shadow: 0 0 8px #04b6d0;
    animation: blink 2s infinite;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-box.before {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.stat-box.after {
    background: linear-gradient(135deg, rgba(4, 182, 208, 0.15) 0%, rgba(4, 182, 208, 0.05) 100%);
    border: 1px solid rgba(4, 182, 208, 0.3);
    box-shadow: 0 8px 30px rgba(4, 182, 208, 0.1);
    transform: scale(1.02);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-box.before .stat-icon {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.stat-box.after .stat-icon {
    background: #04b6d0;
    color: #000;
    box-shadow: 0 0 20px rgba(4, 182, 208, 0.4);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    flex-grow: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.stat-box.after .stat-label {
    color: #04b6d0;
}

.stat-metric {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-metric.poor {
    color: #ff3b30;
}

.stat-metric.good {
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-metric.good span {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 500;
}

.stat-sub {
    font-size: 14px;
    color: #888;
}

.stat-details {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #a0a0a0;
    margin-top: 4px;
}

.stat-details strong {
    color: #fff;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes float {

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

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    .visual-card {
        padding: 24px;
    }

    .stat-metric {
        font-size: 18px;
    }
}