.demo-section {
    padding: 6rem 0 12rem 0;
    background: white;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.demo-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-video-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback/Placeholder style if video fails or while loading */
.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.demo-content {
    padding: 1.5rem;
}

.demo-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.problem-solution {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ps-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.ps-row.problem {
    color: #ef4444;
    /* Red */
}

.ps-row.solution {
    color: #10b981;
    /* Green */
    font-weight: 500;
}

.ps-row i {
    width: 18px;
    height: 18px;
}

@media (max-width: 1024px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet */
    }
}

@media (max-width: 768px) {
    .demo-grid {
        grid-template-columns: 1fr;
        /* 1 col on mobile */
    }
}