/* =====================================================
   TranslateXYZ — Pricing Full Page
   Loaded by: /pricing/ only.
   Depends on pricing-shared.css + pricing-bundle.css being loaded too.
   Contains: pricing-full, trust-strip, why-choose, float-toggle.
   ===================================================== */

/* ===========================================
   PRICING FULL — Light pricing page
   =========================================== */
.pricing-full__toggle-wrap {
    padding: var(--sp-9) 0 var(--sp-8);
}

/* Bundle section */
.pricing-full__bundle {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    margin-bottom: var(--sp-10);
}
.pricing-full__bundle-inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: var(--sp-7);
    align-items: start;
}

/* Individual plans */
.pricing-full__individual {
    padding-bottom: var(--sp-11);
    margin-top: var(--sp-10);
}
.pricing-full__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    align-items: start;
}

/* Individual card — light surface */
.pricing-card--full {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    min-width: 0;
}
.pricing-card--full:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
    border-color: var(--green-300);
}
.pricing-card--full .pricing-card__head {
    border-bottom-color: var(--border-light);
    padding-bottom: var(--sp-4);
    margin-bottom: var(--sp-4);
    gap: var(--sp-2);
}
.pricing-card--full .pricing-card__icon { width: 36px; height: 36px; }
.pricing-card--full .pricing-card__name { color: var(--text-on-light-strong); font-size: var(--fs-md); }
.pricing-card--full .pricing-card__for  { color: var(--text-on-light-muted); font-size: var(--fs-xs); }
.pricing-card--full .pricing-price      { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: var(--sp-2); }
.pricing-card--full .pricing-price__current { font-size: var(--fs-3xl); }

/* 4-col grid space-tight overrides — keep cards inside the 1200px wrapper */
.pricing-card--full .pricing-sites {
    width: 100%;
    display: flex;
    margin: var(--sp-3) 0 var(--sp-4);
    padding: 2px;
}
.pricing-card--full .pricing-sites__btn {
    flex: 1 1 0;
    padding: 6px 4px;
    font-size: var(--fs-xs);
    min-width: 0;
    text-align: center;
}
.pricing-card--full .pricing-card__features {
    margin: var(--sp-4) 0;
    font-size: var(--fs-xs);
    gap: 6px;
}
.pricing-card--full .pricing-card__features li svg { width: 14px; height: 14px; }
.pricing-card--full .pricing-cta {
    font-size: var(--fs-sm);
    padding: 10px 12px;
}

/* ===========================================
   TRUST STRIP — Mixed stats + reviews mosaic
   Used inside .pricing-full between bundle and individuals.
   =========================================== */
.pricing-trust-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-4);
    margin: 0;
    padding: var(--sp-4) 0;
    position: relative;
}
.pricing-trust-strip::before,
.pricing-trust-strip::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neutral-200), transparent);
}
.pricing-trust-strip::before { top: 0; }
.pricing-trust-strip::after  { bottom: 0; }
.pricing-trust-strip__card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--sp-5) var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.pricing-trust-strip__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}
.pricing-trust-strip__card--stat {
    text-align: center;
    align-items: center;
}
.pricing-trust-strip__card--stat:hover {
    border-color: var(--green-500);
}
.pricing-trust-strip__card--stat svg {
    width: 28px; height: 28px;
    color: var(--green-600);
    margin-bottom: 2px;
}
.pricing-trust-strip__value {
    font-size: var(--fs-xl);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    line-height: 1;
    letter-spacing: var(--ls-tighter);
}
.pricing-trust-strip__label {
    font-size: var(--fs-xs);
    color: var(--text-on-light-muted);
    line-height: var(--lh-snug);
}
.pricing-trust-strip__card--review {
    grid-column: span 2;
    background: linear-gradient(180deg, rgba(255, 244, 210, 0.45), var(--bg-light) 70%);
    border-color: rgba(233, 197, 19, 0.30);
}
.pricing-trust-strip__card--review:hover {
    border-color: var(--amber-500);
}
.pricing-trust-strip__stars {
    color: var(--amber-500);
    font-size: var(--fs-2xl);
    letter-spacing: 2px;
    line-height: 1;
}
.pricing-trust-strip__quote {
    font-size: var(--fs-sm);
    color: var(--text-on-light);
    line-height: var(--lh-snug);
    margin: 0;
    font-style: italic;
}
.pricing-trust-strip__author {
    font-size: var(--fs-xs);
    color: var(--text-on-light-muted);
    font-weight: var(--fw-medium);
}

/* ===========================================
   WHY CHOOSE — Problem / Solution boxes
   Used as a full-bleed section after the individual plans.
   =========================================== */
.pricing-why-section {
    /* light-subtle bg already from .section-light-subtle */
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-10);
}
.pricing-why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    align-items: start;
}
.pricing-why__col {
    border-radius: var(--r-xl);
    padding: var(--sp-7);
    border: 1px solid var(--border-light);
    background: var(--bg-light);
}
.pricing-why__col--problem {
    background: #FFF7F6;
    border-color: #F3D8D3;
}
.pricing-why__col--solution {
    background: linear-gradient(180deg, var(--green-50) 0%, var(--bg-light) 100%);
    border-color: var(--green-200);
    box-shadow: 0 0 0 1px rgba(48,178,48,0.12), var(--sh-md);
}
.pricing-why__head { margin-bottom: var(--sp-5); }
.pricing-why__head h3 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-on-light-strong);
    margin: var(--sp-3) 0 0;
    letter-spacing: var(--ls-tighter);
}
.pricing-why__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: #FBE2DE;
    color: #B83A2B;
}
.pricing-why__chip--good {
    background: var(--green-100);
    color: var(--green-700);
}
.pricing-why__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}
.pricing-why__list li {
    position: relative;
    padding-left: 30px;
    font-size: var(--fs-sm);
    color: var(--text-on-light);
    line-height: var(--lh-snug);
}
.pricing-why__col--problem .pricing-why__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E74C3C;
    background-image: linear-gradient(135deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
                      linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%);
}
.pricing-why__col--solution .pricing-why__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-500);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

/* ===========================================
   FLOATING Y / L TOGGLE
   Compact horizontal pill, bottom-right corner.
   Hidden by default — shown by JS when main toggle scrolls off.
   =========================================== */
.pricing-float-toggle {
    position: fixed;
    right: var(--sp-6);
    bottom: var(--sp-13);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--bg-light);
    border: 1px solid var(--green-400);
    border-radius: var(--r-xl);
    box-shadow: 0 0 0 1px rgba(48, 178, 48, 0.10), 0 12px 32px rgba(15, 30, 15, 0.18), 0 4px 10px rgba(15, 30, 15, 0.10);
    padding: 6px;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity var(--t-base), transform var(--t-base);
    flex-direction: column;
}
.pricing-float-toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.pricing-float-toggle__label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--text-on-light-muted);
    white-space: nowrap;
}
.pricing-float-toggle__label::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 3px rgba(48,178,48,0.18);
    margin-right: 6px;
    vertical-align: middle;
    transform: translateY(-1px);
}
.pricing-float-toggle .toggle-group {
    padding: 3px;
    background: var(--bg-light-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    display: inline-flex;
    gap: 2px;
}
.pricing-float-toggle .toggle-btn {
    padding: 6px 14px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--text-on-light-muted);
    border: none;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.pricing-float-toggle .toggle-btn.is-active {
    background: var(--green-500);
    color: #fff;
    box-shadow: 0 2px 8px rgba(48,178,48,0.35);
}
.pricing-float-toggle .toggle-btn:hover:not(.is-active) {
    color: var(--green-700);
    background: var(--green-50);
}



/* ===========================================
   RESPONSIVE — full + trust-strip + why + float-toggle
   =========================================== */
@media (max-width: 640px) {
    .pricing-float-toggle {
        right: var(--sp-4);
        bottom: var(--sp-4);
        padding: 4px 4px 4px var(--sp-3);
        gap: var(--sp-2);
    }
    .pricing-float-toggle__label { display: none; }
    .pricing-float-toggle .toggle-btn { padding: 6px 10px; }
}

@media (max-width: 1024px) {
    .pricing-full__grid { grid-template-columns: repeat(2, 1fr); }
    /* Bundle stacks to one column on tablet and below.
       Lives here (not in pricing-bundle.css) because the default
       .pricing-full__bundle-inner rule is in this file later in the cascade,
       and the override needs to come after it. */
    .pricing-full__bundle-inner {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
    }
    /* Trust strip: 4 stat cards in one row, review card spans full width below.
       Previously was 3 cols + span 3, which left a half-empty middle row. */
    .pricing-trust-strip { grid-template-columns: repeat(4, 1fr); }
    .pricing-trust-strip__card--review { grid-column: span 4; }
    .pricing-why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pricing-trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }
    .pricing-trust-strip__card--review { grid-column: span 2; }
    .pricing-why__col { padding: var(--sp-5); }
    .pricing-full__toggle-wrap { padding: var(--sp-7) 0 var(--sp-6); }
}

@media (max-width: 640px) {
    .pricing-full__grid { grid-template-columns: 1fr; }
    .pricing-trust-strip { grid-template-columns: 1fr; }
    .pricing-trust-strip__card--review { grid-column: span 1; }
    .pricing-trust-strip__value { font-size: var(--fs-lg); }
}
