/* =====================================================
   TranslateXYZ — Pricing Single (Product Page Pricing)
   Loaded by: product pages (/plugin/*) only.
   Depends on pricing-shared.css being loaded too.
   ===================================================== */

/* ===========================================
   PRICING SINGLE — Dark product page section
   =========================================== */
.pricing-single {
    background: radial-gradient(1000px 500px at 50% 110%, rgba(48,178,48,0.20), transparent 65%),
                linear-gradient(180deg, #0A1A0A 0%, #051005 100%);
    color: var(--text-on-dark);
    padding: var(--sp-12) 0;
}

.pricing-single__header {
    max-width: 680px;
    margin: 0 auto var(--sp-9);
}
.pricing-single__header .eyebrow { margin-bottom: var(--sp-3); }
.pricing-single__title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extra);
    color: var(--text-on-dark-strong);
    letter-spacing: var(--ls-tighter);
    margin-bottom: var(--sp-3);
}
.pricing-single__desc {
    font-size: var(--fs-md);
    color: var(--text-on-dark-muted);
}

.pricing-single__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    align-items: start;
}

/* Shared pricing card */
.pricing-card {
    border-radius: var(--r-xl);
    padding: var(--sp-7);
    position: relative;
}

/* Individual card — dark surface */
.pricing-card--individual {
    background: var(--bg-dark-elev);
    border: 1px solid var(--border-dark-strong);
}

/* Featured bundle card — DARK elevated with green accent (was white) */
.pricing-card--featured {
    background: linear-gradient(165deg, #1F3A24 0%, #16291A 60%, #0F2614 100%);
    border: 2px solid var(--green-500);
    box-shadow:
        0 0 0 1px rgba(48,178,48,0.25),
        0 24px 56px rgba(0,0,0,0.5),
        0 0 80px rgba(48,178,48,0.18),
        inset 0 1px 0 rgba(255,255,255,0.05);
    color: var(--text-on-dark);
    overflow: hidden;
}
.pricing-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 220px at 50% -30%, rgba(48,178,48,0.22), transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: var(--r-xl);
}
.pricing-card--featured > * { position: relative; z-index: 1; }

.pricing-card__best-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--green-500);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 5px 14px;
    border-radius: 0 0 0 var(--r-pill);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
    box-shadow: 0 4px 14px rgba(48, 178, 48, 0.45);
    position: absolute;
    top: 0px;
    right: 0;
}
.pricing-card__head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border-dark);
}
.pricing-card__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
}
.pricing-card__bundle-icons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.pricing-card__bundle-icons img {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.pricing-card__name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-on-dark-strong);
    line-height: 1.2;
}
.pricing-card__for {
    font-size: var(--fs-sm);
    color: var(--text-on-dark-muted);
    margin-top: 2px;
}

/* Featured card uses softer save badge — green-tinted on dark */
.pricing-card--featured .pricing-save__badge {
    background: rgba(48,178,48,0.18);
    color: var(--green-300);
    border-color: rgba(48,178,48,0.4);
}

/* Upsell diff note (inside dark featured card) */
.pricing-card__upsell-note {
    display: inline-flex;
    align-items: center;
    color: var(--green-300);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--r-pill);
    letter-spacing: 0.02em;
}

/* Bottom note */
.pricing-single__footer-note {
    margin-top: var(--sp-7);
    font-size: var(--fs-sm);
    color: var(--text-on-dark-muted);
}
.pricing-single__footer-note strong { color: var(--green-300); }


/* ===========================================
   RESPONSIVE — single
   =========================================== */
@media (max-width: 1024px) {
    .pricing-single__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pricing-single { padding: var(--sp-9) 0; }
    .pricing-single__title { font-size: var(--fs-2xl); }
}

@media (max-width: 640px) {
    .pricing-card { padding: var(--sp-5); }
}
