﻿/* Elimys Pricing Page Styles */
:root {
    --elimys-primary: #21374C;
    --elimys-primary-light: #2d4a66;
    --elimys-primary-dark: #182838;
}

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-hero .badge-trial {
    background-color: #28a745;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.text-primary {
    color: var(--elimys-primary) !important;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(33, 55, 76, 0.15) !important;
}

.pricing-card-popular {
    border: 2px solid var(--elimys-primary);
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    z-index: 10;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: var(--elimys-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Pricing Price Display */
.pricing-price {
    margin: 1rem 0;
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--elimys-primary);
    vertical-align: super;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--elimys-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: #6c757d;
}

.price-custom {
    font-size: 2rem;
    font-weight: 700;
    color: var(--elimys-primary);
}

/* Trial Badge (small) */
.badge-trial-small {
    background-color: #28a745;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
}

/* Feature List */
.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f3f5;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    width: 20px;
    text-align: center;
}

/* Buttons */
.btn-primary {
    background-color: var(--elimys-primary);
    border-color: var(--elimys-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--elimys-primary-light);
    border-color: var(--elimys-primary-light);
}

.btn-outline-primary {
    color: var(--elimys-primary);
    border-color: var(--elimys-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--elimys-primary);
    border-color: var(--elimys-primary);
    color: #fff;
}

/* Priority Listings Section */
.priority-listings {
    background-color: #fff;
}

.priority-listings .badge-warning {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.priority-step {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Payment Methods Section */
.payment-methods {
    background-color: #f8f9fa;
}

.payment-logos {
    gap: 2rem;
}

.payment-logo-wrapper {
    padding: 1rem;
}

.payment-logo {
    height: 40px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

/* Comparison Table */
.comparison-table .table {
    border-radius: 8px;
    overflow: hidden;
}

.thead-primary {
    background-color: var(--elimys-primary);
    color: #fff;
}

.thead-primary th {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.comparison-table td,
.comparison-table th {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.sticky-col {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 1;
    min-width: 200px;
}

.thead-primary .sticky-col {
    background-color: var(--elimys-primary);
}

.table-warning .sticky-col {
    background-color: #fff3cd;
}

/* FAQ Section */
.faq-section .card {
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.faq-section .card-header {
    padding: 0;
}

.faq-section .btn-link {
    text-decoration: none;
    padding: 1rem 1.25rem;
}

.faq-section .btn-link:hover,
.faq-section .btn-link:focus {
    text-decoration: none;
}

.faq-section .btn-link .fa-chevron-down {
    transition: transform 0.3s ease;
}

.faq-section .btn-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-section .card-body {
    padding: 0 1.25rem 1.25rem 1.25rem;
}

/* Contact Strip */
.contact-strip {
    background: linear-gradient(135deg, var(--elimys-primary) 0%, var(--elimys-primary-dark) 100%);
}

.contact-strip a.text-white:hover {
    text-decoration: underline;
}

.contact-strip .btn-light {
    color: var(--elimys-primary);
    font-weight: 600;
}

.contact-strip .btn-light:hover {
    background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    .ribbon span {
        width: 200px;
        font-size: 0.65rem;
        left: -30px;
        top: 25px;
    }

    .priority-listings .col-lg-6:last-child {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .price-amount {
        font-size: 2rem;
    }

    .price-custom {
        font-size: 1.75rem;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .sticky-col {
        min-width: 150px;
    }

    .payment-logos {
        gap: 1rem;
    }

    .payment-logo {
        height: 30px;
        max-width: 60px;
    }

    .contact-strip .col-md-4 {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .pricing-hero h1 {
        font-size: 1.5rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
    }

    .ribbon span {
        width: 180px;
        font-size: 0.6rem;
        padding: 6px 0;
    }

    .priority-step {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 0.75rem;
    }
}
