.demo-video-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-container {
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
    border-radius: 24px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder:hover {
    border-color: var(--primary);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.video-placeholder p {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 500;
}

.video-duration {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.video-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.video-info > p {
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.video-timestamps h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.video-timestamps ul {
    list-style: none;
}

.video-timestamps li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.timestamp {
    color: var(--primary);
    font-family: monospace;
    margin-right: 0.75rem;
}

.demo-videos-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.demo-videos-grid h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.video-thumb {
    height: 160px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.2));
    position: relative;
}

.thumb-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-card-content {
    padding: 1.25rem;
}

.video-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.video-card-content p {
    color: var(--muted);
    font-size: 0.9rem;
}

.demo-playground {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.demo-playground h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.demo-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
}

.playground-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.playground-sidebar {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.playground-sidebar h4 {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dataset-list {
    list-style: none;
}

.dataset-list li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.dataset-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
}

.dataset-list li.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary);
}

.playground-main {
    padding: 2rem;
}

.playground-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.playground-header h4 {
    font-size: 1.25rem;
}

.data-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
}

.playground-preview {
    margin-bottom: 1.5rem;
}

.data-table {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.table-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.9rem;
}

.table-row:last-child {
    border-bottom: none;
}

.playground-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: var(--primary);
}

.action-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
}

.playground-results h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pattern-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pattern-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pattern-icon {
    font-size: 1.5rem;
}

.pattern-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.pattern-item p {
    color: var(--muted);
    font-size: 0.85rem;
}

.confidence {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.demo-signup {
    padding: 6rem 2rem;
}

.demo-cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 4rem;
}

.demo-cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.demo-cta-box p {
    color: var(--muted);
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .demo-video-section {
        grid-template-columns: 1fr;
    }

    .playground-container {
        grid-template-columns: 1fr;
    }

    .playground-sidebar {
        order: -1;
    }

    .table-header, .table-row {
        grid-template-columns: repeat(3, 1fr);
        font-size: 0.75rem;
    }
}
