/* =============================================================
   FieldCRM — Pricing Page  |  Light Theme
   ============================================================= */

/* ── Hero ── */
.pricing-hero {
    padding: 5.5rem 0 3.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--blue-xlight) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(29,78,216,.07) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Billing Toggle ── */
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--clr-border);
    border-radius: 99px;
    padding: 5px 5px 5px 14px;
    margin-top: 1.75rem;
    box-shadow: var(--shadow-xs);
}

.toggle-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-label.active { color: var(--gray-800); }

.form-check-input.billing-switch {
    width: 44px;
    height: 24px;
    cursor: pointer;
    background-color: var(--gray-200);
    border-color: var(--gray-300);
}

.form-check-input.billing-switch:checked {
    background-color: var(--blue);
    border-color: var(--blue);
}

.save-badge {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
}

/* ── Plans ── */
.pricing-section {
    padding: 2.5rem 0 5.5rem;
    background: var(--gray-50);
}

.plan-card {
    background: var(--white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-xl);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.plan-card.plan-popular {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
}

.plan-name {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: .4rem;
}

.plan-desc {
    font-size: .85rem;
    color: var(--clr-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: .3rem;
}

.plan-price .currency { font-size: 1.4rem; vertical-align: super; font-weight: 600; }
.plan-price .period   { font-size: .875rem; font-weight: 400; color: var(--clr-muted); }

.plan-yearly-note {
    font-size: .75rem;
    color: var(--clr-muted);
    margin-bottom: 1.25rem;
}

.plan-yearly-note .original { text-decoration: line-through; margin-right: 4px; }
.plan-yearly-note .saving   { color: #16a34a; font-weight: 600; }

.plan-techs {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-sm);
    padding: .55rem .875rem;
    font-size: .82rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.plan-techs i { color: var(--blue); }
.plan-techs strong { color: var(--gray-900); }

.plan-divider {
    height: 1px;
    background: var(--clr-border);
    margin: 1.25rem 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .875rem;
    color: var(--gray-700);
    padding: .38rem 0;
}

.plan-features li .feat-yes { color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.plan-features li .feat-no  { color: var(--gray-300); flex-shrink: 0; margin-top: 1px; }
.plan-features li.feat-disabled { color: var(--gray-400); }

.btn-plan {
    width: 100%;
    padding: .78rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
    border: 1.5px solid transparent;
    font-family: var(--font);
    cursor: pointer;
}

.btn-plan-blue {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.btn-plan-blue:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

.btn-plan-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--clr-border);
}
.btn-plan-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* ── Guarantee ── */
.guarantee-section { padding: 4rem 0; background: var(--white); }

.guarantee-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1.5px solid #bbf7d0;
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-icon {
    width: 64px;
    height: 64px;
    background: #16a34a;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    flex-shrink: 0;
}

/* ── FAQ ── */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.accordion-item {
    background: var(--white) !important;
    border: 1.5px solid var(--clr-border) !important;
    border-radius: var(--r-md) !important;
    margin-bottom: .65rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white) !important;
    color: var(--gray-900) !important;
    font-weight: 600;
    font-size: .9rem;
    font-family: var(--font);
    padding: 1.1rem 1.25rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--blue-xlight) !important;
    color: var(--blue) !important;
}

.accordion-button::after { filter: none; }

.accordion-body {
    font-size: .875rem;
    color: var(--clr-muted);
    padding: 0 1.25rem 1.25rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .plan-card { padding: 1.5rem; }
    .plan-price { font-size: 2.4rem; }
    .guarantee-card { flex-direction: column; }
}