/* POS Features Section Styles */

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

.pos-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pos-features-header {
    text-align: center;
    margin-bottom: 60px;
}

.pos-features-header h2 {
    font-family: 'DegularVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.pos-features-header p {
    font-family: 'DegularVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.2rem;
    color: #64748b;
}

.pos-features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.pos-feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pos-feature-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.pos-feature-card:nth-child(even) .pos-feature-content {
    order: 2;
}

.pos-feature-card:nth-child(even) .pos-feature-visual {
    order: 1;
}

.pos-feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pos-feature-card h3 {
    font-family: 'DegularVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.pos-feature-card p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pos-feature-list {
    list-style: none;
    padding: 0;
}

.pos-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #4a5568;
}

.pos-feature-list li::before {
    content: '✓';
    color: #4ECDC4;
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
}

.pos-feature-visual {
    position: relative;
}

.feature-demo {
    background: #f7fafc;
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #e2e8f0;
}

.demo-screen {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-order {
    font-family: 'Courier New', monospace;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.price {
    font-weight: bold;
    color: #2C5F41;
}

.order-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #2C5F41;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: right;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.payment-option {
    background: #f7fafc;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    border-color: #4ECDC4;
    background: #f0fdfa;
}

.payment-option.active {
    border-color: #4ECDC4;
    background: #4ECDC4;
    color: white;
    transform: scale(1.05);
}

.inventory-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 8px;
}

.stock-item.low {
    background: #fef2f2;
    color: #dc2626;
}

.alert {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 16px;
}

.analytics-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 150px;
    padding: 20px;
}

.chart-bar {
    background: linear-gradient(to top, #4ECDC4, #44A08D);
    width: 40px;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 4px;
}

/* Responsive Design for Features */
@media (max-width: 768px) {
    .pos-feature-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pos-feature-card:nth-child(even) .pos-feature-content {
        order: 1;
    }
    
    .pos-feature-card:nth-child(even) .pos-feature-visual {
        order: 2;
    }
    
    .pos-features-header h2 {
        font-size: 2rem;
    }
    
    .pos-feature-card h3 {
        font-size: 1.5rem;
    }
}
