/*
 * Plan picker (index.php) and payment result (process.php) refresh: login-page background (auth-bg.css),
 * top bar, four plan cards with Free, current plan highlight, cleaner feature table.
 * Loaded after styles.css, so it only overrides what it needs.
 */

body.rc-pricing {
    background: transparent;
    color: #1f2d3d;
}

/* Top bar with the back link (was a fixed button on top of the heading) */
.rc-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid rgba(140, 170, 205, 0.25);
}
.rc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50rem;
    border: 1px solid #cfe0f5;
    background: #fff;
    color: #116dff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.rc-back:hover {
    background: #eef5ff;
    box-shadow: 0 2px 8px rgba(17, 109, 255, 0.12);
    color: #0a58ca;
}
.rc-brand {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #1f3b57;
}

/* Heading */
.rc-hero {
    margin: 12px auto 28px;
    max-width: 760px;
}
.rc-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #14263b;
    margin-bottom: 8px;
}
.rc-subtitle {
    font-size: 1.1rem;
    color: #4a5d73;
    margin: 0;
}

/* Free plan usage */
.rc-usage {
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dbe7f5;
    box-shadow: 0 4px 18px rgba(31, 59, 87, 0.06);
}
.rc-usage .progress {
    height: 8px;
    background: #e8eef6;
}

/* Plan cards */
.rc-plans .pricing-card {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    border: 1px solid #dbe4ef;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(31, 59, 87, 0.07);
    padding: 26px 22px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rc-plans .pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(31, 59, 87, 0.12);
}
.rc-plans .pricing-card.business-card {
    background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 60%);
    border: 2px solid #0091c7;
}
.rc-plans .pricing-card.current {
    border: 2px solid #19a463;
    box-shadow: 0 0 0 4px rgba(25, 164, 99, 0.12), 0 8px 26px rgba(31, 59, 87, 0.08);
}
.rc-plans .rc-free-card {
    background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 55%);
}
.rc-plans .card-header {
    padding: 0;
}
.rc-plans .plan-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #14263b;
}
.rc-plans .plan-description {
    font-size: 0.92rem;
    color: #55677c;
    min-height: 88px;
}
.rc-plans .price-display {
    margin: 6px 0 4px;
    justify-content: center;
}
.rc-plans .price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #14263b;
}
.rc-plans .plan-includes {
    text-align: center;
    font-weight: 600;
    color: #1f3b57;
}
.rc-plans .plan-includes--muted {
    font-weight: 400;
    color: #6a7b8f;
    margin-bottom: 14px;
}
.rc-plans .btn-try-free {
    margin: 4px 0 16px;
    border-radius: 50rem;
    font-weight: 700;
    padding: 11px 12px;
    font-size: 1rem;
}
.rc-plans .btn.disabled,
.rc-plans .btn:disabled {
    background-image: none;
    opacity: 1;
    font-size: 1rem;
}
.rc-plans .current .btn.disabled,
.rc-plans .current .btn:disabled {
    background: #e9f7ef;
    border-color: #19a463 !important;
    color: #137a4a;
}
.rc-plans .rc-free-btn {
    background: #f4f6f8;
    color: #6a7b8f;
    border-color: #d6dde5 !important;
    margin-bottom: 4px;
}
.rc-card-note {
    font-size: 0.8rem;
    color: #6a7b8f;
    text-align: center;
    margin: 0 0 14px;
}
.rc-plans .feature-list {
    border-top: 1px solid #e6edf5;
    padding-top: 14px;
    margin-bottom: 0;
}
.rc-plans .feature-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.rc-plans .feature-list li.rc-no,
.rc-plans .feature-list li.rc-no i {
    color: #9aa8b7;
}

/* "Most Popular" / "Your plan" badges sit on the card's top edge */
.rc-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
    background: #0091c7;
    box-shadow: 0 3px 10px rgba(0, 145, 199, 0.3);
}
.rc-badge--current {
    background: #19a463;
    box-shadow: 0 3px 10px rgba(25, 164, 99, 0.3);
}

.rc-footnote {
    color: #4a5d73;
    font-size: 0.9rem;
}

/* Sections below the cards sit on white panels so they read well on the background */
.rc-pricing .sona-section,
.rc-pricing .compare-plans-section,
.rc-pricing .faq-section {
    border-radius: 16px;
}
.rc-pricing .compare-plans-section {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dbe4ef;
    box-shadow: 0 6px 24px rgba(31, 59, 87, 0.06);
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

/* Feature table: Free column */
.feature-comparison-table .rc-free-col {
    background-color: #f3faf6;
}
.feature-comparison-table th.rc-free-col h4 {
    color: #137a4a;
}
.rc-col-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6a7b8f;
}

@media (max-width: 767.98px) {
    .rc-plans .plan-description {
        min-height: 0;
    }
    .rc-brand {
        display: none;
    }
}

/* process.php (after Stripe checkout) */
.rc-result {
    max-width: 640px;
    margin: 6vh auto 40px;
    padding: 36px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbe4ef;
    box-shadow: 0 10px 34px rgba(31, 59, 87, 0.1);
    text-align: center;
}
.rc-result__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: #19a463;
    box-shadow: 0 6px 18px rgba(25, 164, 99, 0.35);
}
.rc-result__icon--wait {
    background: #116dff;
    box-shadow: 0 6px 18px rgba(17, 109, 255, 0.3);
}
.rc-result__icon--error {
    background: #d9534f;
    box-shadow: 0 6px 18px rgba(217, 83, 79, 0.3);
}
.rc-result h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #14263b;
}
.rc-result p {
    color: #4a5d73;
}
.rc-result .btn {
    border-radius: 50rem;
    padding: 10px 26px;
    font-weight: 700;
}
.rc-result .btn + .btn {
    margin-left: 8px;
}

/* Optional "Leave us a review" on process.php (non-Wix star form). */
.rc-review {
    max-width: 440px;
    margin: 22px auto 0;
    padding-top: 20px;
    border-top: 1px solid #dbe4ef;
}
.rc-review__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14263b;
}
.rc-review__stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    margin: 4px 0 12px;
    padding: 0;
    border: 0;
}
.rc-review__stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.rc-review__stars label {
    font-size: 1.9rem;
    line-height: 1;
    color: #cfd8e3;
    cursor: pointer;
    transition: color .12s ease;
}
.rc-review__stars label:hover,
.rc-review__stars label:hover ~ label,
.rc-review__stars input:checked ~ label {
    color: #f5b301;
}
.rc-review__stars input:focus-visible + label {
    outline: 2px solid #116dff;
    outline-offset: 2px;
    border-radius: 4px;
}
.rc-review textarea {
    border-radius: 12px;
    resize: vertical;
}
.rc-result .rc-review__error {
    color: #d9534f;
}
.rc-result .rc-review__done {
    color: #14263b;
    font-weight: 700;
}
.rc-result .rc-review__done i {
    color: #e0245e;
}
.rc-result .rc-review__hint {
    color: #6b7d92;
}

/* Five columns now (feature + Free + 3 plans): styles.css made every column 25% and tinted column 3. */
.feature-comparison-table th,
.feature-comparison-table td {
    width: 18%;
}
.feature-comparison-table th.feature-col,
.feature-comparison-table td.feature-name {
    width: 28%;
}
.rc-pricing table td:nth-child(3n) {
    background-color: transparent;
}
.rc-pricing .feature-comparison-table td:nth-child(4) {
    background-color: #e7f2ff;
}
.rc-pricing .feature-comparison-table td.rc-free-col {
    background-color: #f3faf6;
}
.rc-pricing table.feature-comparison-table {
    table-layout: fixed;
}

/* ---- Section accordions (Detailed List of Features / FAQ): same size, no underline ---- */
.rc-pricing .compare-plans-section {
    padding: 0;
    overflow: hidden;
}
.rc-pricing .compare-plans-section .accordion-body {
    padding: 0 24px 24px !important;
}
.rc-section-head {
    margin: 0;
}
.rc-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    color: #14263b;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}
.rc-section-toggle:hover {
    background: rgba(17, 109, 255, 0.04);
}
.rc-section-toggle .bi-chevron-down {
    font-size: 1.1rem;
    color: #116dff;
    transition: transform 0.25s ease;
}
.rc-section-toggle:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}
.rc-pricing #faqAccordion .accordion-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}
.rc-pricing #faqAccordion .accordion-button {
    font-weight: 600;
    color: #1f2d3d;
    box-shadow: none;
}
.rc-pricing #faqAccordion .accordion-button:not(.collapsed) {
    background: #eef5ff;
    color: #0a58ca;
}

/* ---- Smart SMS add-on ---- */
.rc-sms {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    margin: 40px 0 8px;
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbe4ef;
    box-shadow: 0 6px 24px rgba(31, 59, 87, 0.07);
}
.rc-sms__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.rc-sms__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0091c7, #116dff);
    box-shadow: 0 6px 16px rgba(17, 109, 255, 0.25);
}
.rc-sms__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0091c7;
}
.rc-sms__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #14263b;
}
.rc-sms__lead {
    color: #4a5d73;
    font-size: 1rem;
    margin-bottom: 14px;
}
.rc-sms__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
.rc-sms__list li {
    display: flex;
    gap: 8px;
    font-size: 0.92rem;
    color: #1f2d3d;
}
.rc-sms__list i {
    color: #19a463;
}
.rc-sms__more {
    font-weight: 600;
    color: #116dff;
    text-decoration: none;
}
.rc-sms__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.rc-sms__price {
    padding: 18px;
    border-radius: 12px;
    background: #f3f9ff;
    border: 1px solid #d6e6f7;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rc-sms__amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #14263b;
    line-height: 1;
}
.rc-sms__amount span {
    font-size: 1.2rem;
    vertical-align: top;
}
.rc-sms__amount small {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6a7b8f;
    margin-left: 4px;
}
.rc-sms__price-line {
    margin: 8px 0 12px;
    font-size: 0.88rem;
    color: #4a5d73;
}
.rc-sms__fee {
    font-size: 0.8rem;
    color: #6a7b8f;
    padding-top: 10px;
    border-top: 1px dashed #c9d9ec;
}
.rc-sms__video {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0d1b2a;
    cursor: pointer;
    min-height: 170px;
}
.rc-sms__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.rc-sms__video:hover img {
    transform: scale(1.04);
    opacity: 1;
}
.rc-sms__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin: -38px 0 0 -29px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #116dff;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.rc-sms__video-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}
.rc-video-modal .modal-content {
    background: #0d1b2a;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}
.rc-video-modal .modal-header {
    border-bottom: 0;
    color: #fff;
}
.rc-video-modal .modal-title {
    font-size: 1rem;
    font-weight: 600;
}
@media (max-width: 991.98px) {
    .rc-sms {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .rc-sms__list,
    .rc-sms__side {
        grid-template-columns: 1fr;
    }
}

/* Public pricing page (pricing.html): no buttons, keep the cards aligned */
.rc-card-spacer {
    height: 12px;
}
