/* Products */
.products {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
    max-width: 1200px;
    width: 100%;
    align-items: stretch;
}

.product {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
    max-width: 380px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-description {
    margin-top: 1rem;
    color: #666;
    flex-grow: 1;
    text-align: left;
}

.buy-now-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
    height: 40px; /* Explicitly set height for consistency */
    line-height: 1; /* Ensure text is centered vertically */
    display: flex; /* Added to center text vertically */
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
}

.buy-now-button:hover {
    background-color: #218838;
}

/* Plan Options */
.plan-options-container {
    margin-top: 1rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
}

.plan-options-content p {
    margin-bottom: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.plan-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 40px; /* Match buy-now-button height */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-button:hover {
    background-color: #218838;
}

/* Additional Offers */
.additional-offers {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.demo-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 40px; /* Changed from 52px to 40px to match buy-now-button */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-button:hover {
    background-color: #0056b3;
}

.ebc-offer-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 40px; /* Changed from 52px to 40px to match buy-now-button */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebc-offer-button:hover {
    background-color: #218838;
}

.ebc-offer-image {
    max-width: 120px; /* Keep width proportional */
    max-height: 40px; /* Match button height */
    height: auto;
    object-fit: contain;
    display: block;
}

/* Shared Button Styles */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 40px; /* Match other buttons */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: 40px; /* Match other buttons */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive Styles for Sales Page */
@media (max-width: 768px) {
    .products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 100%;
        max-width: 100%;
    }

    .button-group {
        flex-direction: column;
    }

    .plan-button,
    .demo-button,
    .ebc-offer-button,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        height: 50px; /* Increased from 40px to 50px for mobile visibility */
    }

    .additional-offers {
        flex-direction: column;
    }

    .ebc-offer-image {
        max-width: 150px; /* Slightly larger for mobile visibility */
        max-height: 50px; /* Match mobile button height */
    }
}