/* Demo Page Specific Styles */

.demo-section {
    padding: 80px 0;
    background: white;
}

.demo-section.alt {
    background: #f8fafc;
}

.demo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.demo-features h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.demo-features ul {
    list-style: none;
    padding: 0;
}

.demo-features li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 1.125rem;
}

/* POS Mockup */
.pos-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.pos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.order-number {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.pos-menu {
    margin-bottom: 1.5rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item:hover {
    background: #f8fafc;
}

.menu-item.selected {
    background: #eff6ff;
    border-color: #3b82f6;
}

.pos-cart {
    border-top: 2px solid #f3f4f6;
    padding-top: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cart-total {
    text-align: right;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* KDS Mockup */
.kds-mockup {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    max-width: 500px;
    margin: 0 auto;
}

.kds-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #374151;
}

.kds-header h4 {
    color: white;
    margin-bottom: 1rem;
}

.kds-stats {
    display: flex;
    gap: 1rem;
}

.kds-stats .stat {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.kds-stats .stat.active {
    background: #3b82f6;
}

.kds-stats .stat.preparing {
    background: #f59e0b;
}

.kds-stats .stat.ready {
    background: #10b981;
}

.kds-orders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.kds-order {
    background: white;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 1rem;
}

.kds-order.preparing {
    border-left: 4px solid #f59e0b;
}

.kds-order.ready {
    border-left: 4px solid #10b981;
}

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

.order-name {
    font-weight: 600;
}

.order-time {
    color: #6b7280;
    font-size: 0.875rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    padding: 0.25rem 0;
    color: #374151;
}

.status-btn {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-btn.preparing {
    background: #fef3c7;
    color: #92400e;
}

.status-btn.ready {
    background: #d1fae5;
    color: #065f46;
}

/* Management Mockup */
.mgmt-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.mgmt-sidebar {
    background: #1f2937;
    color: white;
    width: 200px;
    padding: 1.5rem;
}

.mgmt-sidebar h4 {
    color: #3b82f6;
    margin-bottom: 2rem;
}

.mgmt-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #374151;
}

.nav-item.active {
    background: #3b82f6;
}

.mgmt-main {
    flex: 1;
    padding: 1.5rem;
    background: #f9fafb;
}

.mgmt-header {
    margin-bottom: 1.5rem;
}

.mgmt-header h4 {
    color: #1a1a1a;
}

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

.mgmt-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mgmt-card h5 {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.card-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Responsive Demo Styles */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kds-orders {
        grid-template-columns: 1fr;
    }
    
    .mgmt-mockup {
        flex-direction: column;
        height: auto;
    }
    
    .mgmt-sidebar {
        width: 100%;
    }
    
    .mgmt-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .mgmt-cards {
        grid-template-columns: 1fr;
    }
    
    .kds-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}