/* ===== DEMO SECTION ===== */
.demo {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.demo-video {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-phone {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 8px solid #2a2a3a;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 0 2px #3a3a4a,
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.demo-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-library {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
}

.demo-item {
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 8px;
    animation: demoPulse 3s ease-in-out infinite;
}

.demo-item:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.demo-item:nth-child(3) {
    animation-delay: 1s;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.demo-item:nth-child(4) {
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
}

@keyframes demoPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.demo-caption {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.demo-feature:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(5px);
}

.demo-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.demo-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.demo-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 968px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .demo-video {
        order: -1;
    }
    .demo-phone {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .demo {
        padding: 4rem 1rem;
    }
    .demo-feature {
        padding: 1rem;
    }
}

/* ===== END DEMO ===== */
