body {
    background: #f5f5f5;
}

.subscription-toggle {
    display: inline-flex;
    background: #E4E4E4;
    border-radius: 999px;
    padding: 6px;
    gap: 6px;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.subscription-toggle__option {
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #000000;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.12s ease-in-out;
}

.subscription-toggle__option[aria-pressed="true"] {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
}

/* Hide native number input spinner controls for the seats input */
.number-of-seats::-webkit-outer-spin-button,
.number-of-seats::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-of-seats {
    -webkit-appearance: textfield;
    /* Safari/Chrome */
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
    /* Standard */
}

.subscription-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin: 40px auto;
    max-width: 1100px;
}

.subscription-card {
    background: #fff;
    border-radius: 8px;
    width: 430px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 585px;
}

.subscription-card.team {
    background: #AFD67D;
    border: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    width: 100%;
}

.card-header.flex {
    justify-content: space-between;
}

.card-header .flex {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
}

.plan-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #808080;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.plan-badge {
    width: 115px;
    height: auto;
    flex-shrink: 0;
}

.plan-recommended {
    background: #fff;
    color: #222;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 2px 12px;
    letter-spacing: 0.5px;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.card-header .card-price {
    margin-bottom: 0;
    margin-top: 4px;
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

.price-period {
    font-size: 1rem;
    color: #888;
}

.subscription-card.team .price-period {
    color: #000;
}

.card-subtext {
    font-size: 16px;
    color: #000;
    margin-bottom: 18px;
}

.card-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.edit-billing-info-btn {
    width: 100%;
    padding: 8px 12px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #C3C3C3;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.card-btn.subscribe {
    background: #0A5280;
    color: #fff;
}

.card-btn.subscribe.team {
    background: #000;
    color: #fff;
}

.card-btn.quote {
    background: #111;
    color: #fff;
}

.card-btn:active {
    opacity: 0.9;
}

.annual-price {
    font-weight: 500;
    font-size: 16px;
    color: #000;
}

.annual-price.business {
    color: #78736F;
}

.card-quote {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin-bottom: 32px;
    width: 100%;
    text-decoration: underline;
    cursor: pointer;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 8px;
}

.card-features li {
    font-size: 1rem;
    color: #222;
    margin-bottom: 10px;
    position: relative;
    padding-left: 22px;
}

.card-features li:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.0268L4.5 9.5268L0 5.0268L1.06 3.9668L4.5 7.4068L10.94 0.966797L12 2.0268Z' fill='%231AAE39'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 6px;
}

.subscription-card.team .card-features li:before {
    color: #0A5280;
}

.subscription-card.business .card-features li:before {
    color: #0A5280;
}

.subscription-card.business .card-btn {
    background: #0A5280;
}

.subscription-card.business .card-header .plan-title {
    color: #222;
}

.subscription-card.business {
    background: #fff;
}

.subscription-card.individual .card-btn.quote {
    background: none;
    color: #888;
    border: none;
    box-shadow: none;
    cursor: default;
}

.loved-by-wrapper {
    width: 100%;
    padding: 32px 0;
    margin: 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loved-by-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.loved-by-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 18px;
}

.loved-by-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1100px;
}

.loved-logo {
    height: 30px;
    filter: grayscale(100%);
    transition: filter 0.3s;
    opacity: 0.9;
    /* cursor: pointer; */
}

/* .loved-logo:hover {
    filter: none;
    opacity: 1;
} */

.faq-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 40px auto 0 auto;
    max-width: 1100px;
    min-height: 400px;
    overflow: hidden;
}

.faq-left {
    flex: 0 0 340px;
    padding: 48px 32px 32px 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid #eee;
    min-height: 100%;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}

.faq-desc {
    font-size: 1.05rem;
    color: #888;
    margin-bottom: 32px;
    line-height: 1.5;
}

.faq-contact-btn {
    background: #0A5280;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 8px 0;
    width: 80%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.faq-contact-btn:active {
    opacity: 0.9;
}

.faq-right {
    flex: 1;
    padding: 48px 0px 32px 32px;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #C4C4C4;
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-item.active .faq-question {
    color: #0A5280;
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 400;
    margin-left: 16px;
    color: #222;
    user-select: none;
}

.faq-item.active .faq-toggle {
    color: #0A5280;
}

.faq-answer {
    font-size: 1rem;
    color: #444;
    margin-top: 12px;
    line-height: 1.5;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.testimonial-section {
    background: #fafbfc;
    border-radius: 8px;
    max-width: 1100px;
    margin: 32px auto 0 auto;
    padding: 32px 32px 24px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-inner {
    width: 100%;
    text-align: center;
}

.testimonial-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.testimonial-logo {
    height: 40px;
    margin-right: 8px;
}

.testimonial-company {
    font-size: 2rem;
    font-weight: 700;
    color: #444;
    margin-right: 8px;
}

.testimonial-sub {
    font-size: 1.1rem;
    color: #888;
    font-weight: 400;
}

.testimonial-quote {
    margin-bottom: 32px;
}

.testimonial-quote-main {
    font-size: 1.15rem;
    font-weight: 500;
    color: #222;
    display: block;
    margin-bottom: 6px;
}

.testimonial-quote-sub {
    font-size: 1.05rem;
    color: #222;
    display: block;
}

.testimonial-link {
    color: #0A5280;
    font-weight: 500;
    text-decoration: underline;
    margin-left: 8px;
    transition: color 0.2s;
}

.testimonial-link:hover {
    color: #0d3c5e;
}

.testimonial-arrow {
    font-size: 1.1em;
    margin-left: 2px;
}

.testimonial-person-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.testimonial-person-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-person-info {
    text-align: left;
}

.testimonial-person-name {
    font-weight: 700;
    color: #222;
    font-size: 1.05rem;
}

.testimonial-person-title {
    color: #444;
    font-size: 0.98rem;
}


/* Subscription modal styles (scoped for this view) */
.glss-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 24px;
}

.glss-modal {
    width: 100%;
    max-height: 90svh;
    max-width: 1100px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.35);
    display: block;
    padding: 28px;
    position: relative;
    overflow: auto;
}

#subscription-reasons-field .ss-content {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    width: 100% !important;
    z-index: 120000 !important;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.2);
}

#subscription-reasons-field {
    position: relative;
    overflow: visible;
}

.glss-modal-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.glss-modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: #223;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Left form column */
.glss-modal__form {
    display: block;
    width: 50%
}

.glss-field {
    margin-bottom: 14px;
}

.glss-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #233;
}

.glss-field input[type="text"],
.glss-field input[type="email"],
.glss-field input[type="tel"],
.glss-field input[type="password"],
.glss-field input[type="number"],
.glss-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

/* Readonly input disabled effect */
.readonly[readonly],
.readonly[readonly],
.readonly:read-only {
    background: #f2f2f2 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.glss-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.glss-card {
    padding: 14px;
}

/* Right summary column */
.glss-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 45%;
}

.glss-billing-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glss-billing-option {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.glss-billing-option input {
    accent-color: #0a5573;
}

.glss-billing-option.active-option {
    border-color: #0a5573;
    background: #f4fbfd;
}

.glss-price-box {
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}

.glss-price {
    font-weight: 700;
    font-size: 28px;
    color: #082b38;
}

.glss-price-small {
    margin-left: 0.5rem;
    font-size: 13px;
    color: #5a6b72;
}

.selected-course-card {
    border: 2px solid #0A5280;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.selected-course-header {
    margin-bottom: 8px;
}

.selected-course-label {
    display: inline-block;
    font-weight: 700;
    color: #0d4f6b;
}

.selected-course-body {
    padding: 0;
}

.selected-course-title {
    font-size: 14px;
    font-weight: 500;
    color: #262627;
    margin-bottom: 6px;
}

.selected-course-price {
    font-size: 14px;
    font-weight: 800;
    color: #262627;
}

.selected-course-copy {
    font-size: 10px;
    color: #5E5E5E;
}

.selected-course-copy .bold {
    color: #000;
}

/* Purchase summary details card inside modal */
.glss-details-toggle {
    background: transparent;
    border: 0;
    color: #5a6b72;
    font-weight: 600;
}

.purchase-summary-card {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    padding: 12px;
}

.purchase-summary-card .ps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-summary-card .ps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-summary-card .ps-header strong {
    font-size: 14px;
}

.purchase-summary-card .ps-section {
    margin-top: 10px;
}

.purchase-summary-card .ps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-summary-card .ps-title {
    font-weight: 600;
}

.purchase-summary-card .ps-value {
    font-weight: 700;
    color: #082b38;
}

.purchase-summary-card .ps-note {
    color: #5e5e5e;
    font-size: 12px;
}

.glss-subscribe-title {
    font-size: 20px;
}

.glss-subscribe-subtitle {
    color: #5a6b72;
}

.glss-subscribe-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #0a5573;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
}

.download-quote {
    width: 100%;
}

.glss-field {
    margin: 12px;
}

.zillow-image {
    width: 80px;
    height: 20px;
}

.membership-link {
    color: #0A5280;
    cursor: pointer;
    text-decoration: underline;
}

.number-of-seats-wrapper {
    position: absolute;
    display: inline-flex;
    gap: 6px;
    right: 8px;
    top: 4px;
}

/* Smaller screens: stack columns */
@media (max-width: 990px) {
    .glss-modal__form {
        width: 100%;
    }

    .glss-summary {
        width: 100%;
    }

    .glss-modal {
        padding: 18px;
        gap: 14px;
        height: 100%;
    }

    .glss-modal-backdrop {
        padding: 12px;
    }
}

@media (max-width: 420px) {
    .glss-modal-logo {
        width: 30px;
        height: 30px;
    }

    .glss-field label {
        font-size: 12px;
    }

    .glss-price {
        font-size: 22px;
    }
}


@media (max-width: 1024px) {
    .subscription-cards-wrapper {
        gap: 20px;
        max-width: 100vw;
        padding: 0 16px;
    }

    .subscription-card {
        width: 300px;
        min-height: 480px;
        padding: 24px 16px 20px 16px;
    }

    .loved-by-inner {
        max-width: 100vw;
        padding: 0 16px;
    }

    .loved-by-logos {
        gap: 32px;
        max-width: 100vw;
        padding: 0 16px;
    }

    .loved-logo {
        height: 28px;
    }

    .faq-section {
        max-width: 100vw;
        margin: 32px 0 0 0;
    }

    .faq-left {
        flex: 0 0 260px;
        padding: 32px 16px 24px 16px;
    }

    .faq-right {
        padding: 32px 16px 24px 16px;
    }

    .testimonial-section {
        max-width: 98vw;
        padding: 24px 8px 16px 8px;
    }

    .testimonial-logo {
        height: 32px;
    }
}

@media (max-width: 768px) {
    .subscription-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin: 24px auto;
        padding: 0 8px;
    }

    .subscription-card {
        width: 100%;
        max-width: 400px;
        min-height: 0;
        padding: 40px;
    }

    .loved-by-logos {
        gap: 20px;
        padding: 0 8px;
    }

    .loved-logo {
        height: 24px;
    }

    .faq-section {
        flex-direction: column;
        max-width: 100vw;
        margin: 24px 0 0 0;
        border-radius: 10px;
    }

    .faq-left {
        flex: 1;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 24px 10px 16px 10px;
        min-height: 0;
    }

    .faq-right {
        padding: 24px 10px 16px 10px;
    }

    .testimonial-section {
        padding: 40px;
        border-radius: 8px;
    }

    .testimonial-company {
        font-size: 1.3rem;
    }

    .testimonial-logo {
        height: 24px;
    }

    .testimonial-person-img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .subscription-cards-wrapper {
        gap: 16px;
        margin: 12px auto;
        padding: 0 4px;
    }

    .subscription-card {
        width: 100%;
        max-width: 98vw;
        padding: 40px;
        border-radius: 8px;
    }

    .plan-title {
        font-size: 1.1rem;
    }

    .price-main {
        font-size: 1.3rem;
    }

    .card-btn {
        font-size: 1rem;
        padding: 10px 0;
    }

    .card-features li {
        font-size: 0.95rem;
        padding-left: 18px;
    }

    .loved-by-title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .loved-by-logos {
        gap: 32px;
        justify-content: center;
    }

    .loved-logo {
        height: 22px;
    }

    .faq-section {
        margin: 12px 0 0 0;
        border-radius: 6px;
        padding: 40px;
    }

    .faq-title {
        font-size: 1.3rem;
    }

    .faq-left,
    .faq-right {
        padding: 12px 4px 10px 4px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-toggle {
        font-size: 1.5rem;
        margin-left: 8px;
    }

    .testimonial-section {
        padding: 40px;
        border-radius: 4px;
    }

    .testimonial-company {
        font-size: 1.1rem;
    }

    .testimonial-logo {
        height: 18px;
    }

    .testimonial-person-img {
        width: 24px;
        height: 24px;
    }
}