/* Case Study Section */
.case-study {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 255, 157, 0.03) 50%, var(--bg-dark) 100%);
}

.case-study-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.highlight-badge {
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.case-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.ps-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.ps-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.c-stat {
    display: flex;
    flex-direction: column;
}

.cs-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.cs-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Abstract Graph Visual */
.case-visual {
    height: 400px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
}

.graph-container {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    height: 200px;
}

.graph-bar {
    width: 40px;
    background: var(--primary-glow);
    border-radius: 4px 4px 0 0;
    position: relative;
    overflow: hidden;
}

.bar-1 {
    height: 30%;
    animation: growBar 2s ease-out forwards;
}

.bar-2 {
    height: 60%;
    animation: growBar 2s ease-out 0.5s forwards;
}

.bar-3 {
    height: 100%;
    background: var(--primary);
    animation: growBar 2s ease-out 1s forwards;
    box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes growBar {
    from {
        height: 0;
    }
}

@media (max-width: 900px) {
    .case-study-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .case-visual {
        height: 250px;
    }
}