/* ─────────────────────────────────────────────────────────────
   Yatra Pro · Feature landing pages — visual system
   Premium / agency-grade. One stylesheet, shared by all 18
   /features/<slug>/ pages + the integrations + features hubs.
   ───────────────────────────────────────────────────────────── */

:root {
    --yfl-bg:           #0b1020;
    --yfl-bg-soft:      #11172e;
    --yfl-surface:      #ffffff;
    --yfl-surface-mute: #f8fafc;
    --yfl-border:       #e5e7eb;
    --yfl-border-soft:  #eef2f7;
    --yfl-text:         #0f172a;
    --yfl-text-mute:    #475569;
    --yfl-text-soft:    #64748b;
    --yfl-brand:        #2563eb;
    --yfl-brand-dark:   #1d4ed8;
    --yfl-brand-soft:   #dbeafe;
    --yfl-accent:       #f59e0b;
    --yfl-success:      #16a34a;
    --yfl-radius-sm:    8px;
    --yfl-radius-md:    14px;
    --yfl-radius-lg:    22px;
    --yfl-shadow-sm:    0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
    --yfl-shadow-md:    0 8px 20px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
    --yfl-shadow-lg:    0 20px 50px rgba(15, 23, 42, .12), 0 6px 16px rgba(15, 23, 42, .06);
    --yfl-font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.yatra-feature-landing {
    font-family: var(--yfl-font);
    color: var(--yfl-text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yatra-feature-landing * { box-sizing: border-box; }

.yfl-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section scaffolding ───────────────────────────────────── */
.yfl-section {
    padding: clamp(56px, 8vw, 96px) 0;
}

.yfl-section__head {
    margin-bottom: 40px;
}
.yfl-section__head--center { text-align: center; }
.yfl-section__title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--yfl-text);
}
.yfl-section__lede {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--yfl-text-mute);
    margin: 0;
    max-width: 720px;
}
.yfl-section__head--center .yfl-section__lede { margin: 0 auto; }

/* ── Hero ──────────────────────────────────────────────────── */
.yfl-hero {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(37, 99, 235, .15), transparent 60%),
        radial-gradient(900px 500px at 5% 110%, rgba(245, 158, 11, .12), transparent 60%),
        linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
    padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
    overflow: hidden;
    border-bottom: 1px solid var(--yfl-border-soft);
}
.yfl-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 880px) {
    .yfl-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
.yfl-pill-row {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 16px;
}
.yfl-pill {
    display: inline-flex; align-items: center;
    padding: 5px 11px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    background: var(--yfl-brand-soft);
    color: var(--yfl-brand-dark);
}
.yfl-pill--category {
    background: #f1f5f9;
    color: var(--yfl-text-mute);
}
.yfl-pill--tier.yfl-pill--agency {
    background: #fef3c7; color: #92400e;
}
.yfl-pill--tier.yfl-pill--growth {
    background: #ddd6fe; color: #5b21b6;
}
.yfl-pill--tier.yfl-pill--personal {
    background: #d1fae5; color: #065f46;
}
.yfl-pill--tier.yfl-pill--free {
    background: #ecfeff; color: #0e7490;
}
.yfl-hero__eyebrow {
    color: var(--yfl-brand);
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.yfl-hero__title {
    font-size: clamp(34px, 4.8vw, 60px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--yfl-text);
}
.yfl-hero__subtitle {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--yfl-text-mute);
    margin: 0 0 24px;
    max-width: 580px;
}
.yfl-hero__metric {
    display: inline-flex; flex-direction: column;
    padding: 14px 20px;
    border: 1px dashed #c7d2fe;
    background: #f5f7ff;
    border-radius: var(--yfl-radius-md);
    margin: 4px 0 28px;
}
.yfl-hero__metric-label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--yfl-text-soft);
}
.yfl-hero__metric-value {
    font-size: 20px; font-weight: 700;
    color: var(--yfl-text);
}
.yfl-hero__finepoint {
    color: var(--yfl-text-soft);
    font-size: 13px;
    margin: 16px 0 0;
}
.yfl-hero__visual { position: relative; }

/* ── Buttons ───────────────────────────────────────────────── */
.yfl-cta-row {
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: center;
}
.yfl-cta-row--center { justify-content: center; }
.yfl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--yfl-radius-md);
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.yfl-btn--primary {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #fff !important;
    box-shadow: var(--yfl-shadow-md);
}
.yfl-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--yfl-shadow-lg);
    background: linear-gradient(180deg, #1d4ed8, #1e40af);
}
.yfl-btn--ghost {
    background: transparent;
    color: var(--yfl-brand-dark) !important;
    border-color: #c7d2fe;
}
.yfl-btn--ghost:hover {
    background: var(--yfl-brand-soft);
}

/* Ghost button on dark surfaces — the default brand-dark text is
   #1d4ed8, near-invisible against the .yfl-finalcta / .yfl-roi /
   .yfl-gallery near-black gradients. Override to a light text + a
   translucent-white border so the button reads on dark. Hover lifts
   to a faint white wash. Scoped to known dark sections so light-bg
   ghost buttons are untouched.
   The !important is intentional — it beats the !important on the
   base .yfl-btn--ghost color rule above. */
.yfl-finalcta .yfl-btn--ghost,
.yfl-roi      .yfl-btn--ghost,
.yfl-gallery  .yfl-btn--ghost {
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}
.yfl-finalcta .yfl-btn--ghost:hover,
.yfl-roi      .yfl-btn--ghost:hover,
.yfl-gallery  .yfl-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}
.yfl-finalcta .yfl-btn--ghost:focus-visible,
.yfl-roi      .yfl-btn--ghost:focus-visible,
.yfl-gallery  .yfl-btn--ghost:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}
.yfl-btn--lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ── Screenshots ───────────────────────────────────────────── */
.yfl-shot {
    margin: 0;
    border-radius: var(--yfl-radius-lg);
    overflow: hidden;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    box-shadow: var(--yfl-shadow-md);
}
.yfl-shot img {
    display: block; width: 100%; height: auto;
}
.yfl-shot figcaption {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--yfl-text-soft);
    border-top: 1px solid var(--yfl-border-soft);
    background: var(--yfl-surface-mute);
}
.yfl-shot--hero {
    transform: perspective(1800px) rotateY(-3deg) rotateX(2deg);
    transition: transform .35s ease;
}
.yfl-shot--hero:hover { transform: none; }

/* ── Problem block ─────────────────────────────────────────── */
.yfl-problem { background: var(--yfl-surface-mute); }
.yfl-problem__body {
    max-width: 820px; margin: 0 auto;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--yfl-text-mute);
    text-align: center;
    line-height: 1.7;
}

/* ── Outcomes list ─────────────────────────────────────────── */
.yfl-outcome-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px;
}
@media (max-width: 720px) {
    .yfl-outcome-list { grid-template-columns: 1fr; }
}
.yfl-outcome {
    display: flex; gap: 14px;
    font-size: 17px; line-height: 1.55;
    color: var(--yfl-text);
}
.yfl-outcome__check {
    flex: 0 0 28px; height: 28px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin-top: 2px;
}

/* ── Unlocks grid ──────────────────────────────────────────── */
.yfl-unlocks__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 920px) { .yfl-unlocks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .yfl-unlocks__grid { grid-template-columns: 1fr; } }
.yfl-unlock-card {
    padding: 24px;
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    background: var(--yfl-surface);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.yfl-unlock-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yfl-shadow-md);
    border-color: #c7d2fe;
}
.yfl-unlock-card__title {
    font-size: 17px; font-weight: 700;
    margin: 0 0 8px;
    color: var(--yfl-text);
}
.yfl-unlock-card__detail {
    color: var(--yfl-text-mute);
    font-size: 14.5px;
    margin: 0;
    line-height: 1.6;
}

/* ── Gallery ───────────────────────────────────────────────── */
.yfl-gallery { background: var(--yfl-bg); color: #e2e8f0; }
.yfl-gallery .yfl-section__title { color: #fff; }
.yfl-gallery .yfl-section__lede  { color: #94a3b8; }
.yfl-gallery__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 720px) { .yfl-gallery__grid { grid-template-columns: 1fr; } }
.yfl-gallery .yfl-shot { background: #131a30; border-color: #1f2a44; }
.yfl-gallery .yfl-shot figcaption {
    background: #0f1528;
    border-top-color: #1f2a44;
    color: #cbd5e1;
}

/* ── Versus table ──────────────────────────────────────────── */
.yfl-versus { background: var(--yfl-surface-mute); }
.yfl-versus__table {
    background: #fff;
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    overflow: hidden;
    box-shadow: var(--yfl-shadow-sm);
}
.yfl-versus__row {
    display: grid; grid-template-columns: 1.2fr 1fr 2fr;
    padding: 18px 22px;
    border-bottom: 1px solid var(--yfl-border-soft);
    align-items: center;
    gap: 16px;
}
.yfl-versus__row:last-child { border-bottom: 0; }
.yfl-versus__row--head {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.yfl-versus__row--us {
    background: linear-gradient(180deg, #f5f7ff, #eef2ff);
}
@media (max-width: 720px) {
    .yfl-versus__row,
    .yfl-versus__row--head { grid-template-columns: 1fr; gap: 6px; }
    .yfl-versus__row--head { display: none; }
    .yfl-versus__row > div::before {
        content: attr(data-label);
        display: block;
        font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.05em;
        color: var(--yfl-text-soft);
        margin-bottom: 4px;
    }
}

/* ── Steps ─────────────────────────────────────────────────── */
.yfl-steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    counter-reset: yfl-step;
}
@media (max-width: 920px) { .yfl-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .yfl-steps { grid-template-columns: 1fr; } }
.yfl-step {
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    padding: 22px;
}
.yfl-step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--yfl-brand);
    color: #fff;
    font-weight: 700; font-size: 15px;
    margin-bottom: 12px;
}
.yfl-step__title {
    font-size: 16px; font-weight: 700;
    margin: 0 0 6px;
}
.yfl-step__detail {
    font-size: 14.5px;
    color: var(--yfl-text-mute);
    margin: 0;
    line-height: 1.6;
}

/* ── ROI table ─────────────────────────────────────────────── */
.yfl-roi {
    background: linear-gradient(180deg, #0b1020 0%, #11172e 100%);
    color: #e2e8f0;
}
.yfl-roi .yfl-section__title { color: #fff; }
.yfl-roi__table {
    max-width: 880px; margin: 0 auto;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--yfl-radius-md);
    overflow: hidden;
}
.yfl-roi__row {
    display: grid; grid-template-columns: 2fr 1.1fr 2fr;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 14px; align-items: center;
}
.yfl-roi__row:last-child {
    border-bottom: 0;
    background: rgba(37, 99, 235, .12);
}
.yfl-roi__label  { color: #cbd5e1; font-size: 15px; }
.yfl-roi__value  { color: #fff; font-size: 18px; font-weight: 700; }
.yfl-roi__note   { color: #94a3b8; font-size: 13.5px; }
@media (max-width: 720px) {
    .yfl-roi__row { grid-template-columns: 1fr; gap: 6px; }
}

/* ── Quote ─────────────────────────────────────────────────── */
.yfl-quote { background: var(--yfl-surface-mute); }
.yfl-quote__block {
    max-width: 820px; margin: 0 auto;
    padding: 32px;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    box-shadow: var(--yfl-shadow-sm);
}
.yfl-quote__body {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.45;
    font-weight: 500;
    margin: 0 0 18px;
    color: var(--yfl-text);
    letter-spacing: -0.01em;
}
.yfl-quote__by {
    display: flex; flex-direction: column;
    color: var(--yfl-text-soft);
    font-size: 14px;
}
.yfl-quote__by strong { color: var(--yfl-text); font-size: 15px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.yfl-faq__list {
    max-width: 820px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 10px;
}
.yfl-faq__item {
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    overflow: hidden;
    transition: border-color .15s ease;
}
.yfl-faq__item[open] { border-color: #c7d2fe; }
.yfl-faq__q {
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-right: 50px;
}
.yfl-faq__q::-webkit-details-marker { display: none; }
.yfl-faq__q::after {
    content: '+';
    position: absolute; right: 22px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; color: var(--yfl-brand);
    transition: transform .15s ease;
}
.yfl-faq__item[open] .yfl-faq__q::after {
    content: '−';
}
.yfl-faq__a {
    padding: 0 22px 20px;
    color: var(--yfl-text-mute);
    font-size: 15px;
    line-height: 1.65;
}

/* ── Final CTA ─────────────────────────────────────────────── */
.yfl-finalcta {
    background:
        radial-gradient(800px 400px at 50% -20%, rgba(37, 99, 235, .25), transparent 60%),
        linear-gradient(180deg, #0b1020 0%, #060914 100%);
    color: #fff;
    text-align: center;
}
.yfl-finalcta__title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    color: #fff;
}
.yfl-finalcta__sub {
    color: #94a3b8;
    font-size: 17px;
    margin: 0 0 28px;
}
.yfl-finalcta__finepoint {
    color: #64748b;
    font-size: 13px;
    margin: 18px 0 0;
}

/* ─────────────────────────────────────────────────────────────
   Integrations hub
   ───────────────────────────────────────────────────────────── */

.yatra-integrations {
    font-family: var(--yfl-font);
    color: var(--yfl-text);
}
.yatra-integrations .yfl-section { padding: clamp(40px, 5vw, 64px) 0; }
.yatra-integrations .yfl-section:first-of-type { padding-top: 0; }

.yint-cat-head {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yfl-border-soft);
}
.yint-cat-head h2 {
    font-size: 22px; font-weight: 700; margin: 0;
    letter-spacing: -0.01em;
}
.yint-cat-head__count {
    color: var(--yfl-text-soft);
    font-size: 13px;
}

.yint-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 920px) { .yint-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .yint-grid { grid-template-columns: 1fr; } }

.yint-card {
    display: flex; flex-direction: column;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    padding: 18px;
    text-decoration: none !important;
    color: var(--yfl-text);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    min-height: 134px;
}
.yint-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yfl-shadow-md);
    border-color: #c7d2fe;
}
.yint-card__head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 8px; margin-bottom: 10px;
}
.yint-card__name {
    font-size: 16px; font-weight: 700; margin: 0;
    letter-spacing: -0.01em;
}
.yint-card__tag {
    font-size: 11px; font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--yfl-brand-soft);
    color: var(--yfl-brand-dark);
    white-space: nowrap;
}
.yint-card__tag--free  { background: #d1fae5; color: #065f46; }
.yint-card__tag--agency { background: #fef3c7; color: #92400e; }
.yint-card__copy {
    color: var(--yfl-text-mute);
    font-size: 13.5px; line-height: 1.55;
    margin: 0;
    flex: 1 1 auto;
}
.yint-card__cta {
    margin-top: 14px;
    font-size: 13px; font-weight: 600;
    color: var(--yfl-brand-dark);
}

/* Hero (shared with feature page) for the integrations hub */
.yatra-integrations .yfl-hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 48px);
    text-align: center;
}
.yatra-integrations .yfl-hero__copy {
    grid-column: 1 / -1;
    max-width: 760px; margin: 0 auto;
}
.yatra-integrations .yfl-hero__grid { grid-template-columns: 1fr; }

/* ─────────────────────────────────────────────────────────────
   Pricing page — billing-mode toggle + plan cards
   The toggle flips data-billing on .yfl-pricing; cards with
   .yfl-plan--yearly show only in yearly mode, .yfl-plan--lifetime
   only in lifetime mode. Pure CSS, no display:none flicker.
   ───────────────────────────────────────────────────────────── */

.yfl-billing-toggle {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    background: #f1f5f9;
    border-radius: 999px;
    margin: 0 auto 36px;
    border: 1px solid var(--yfl-border);
    box-shadow: var(--yfl-shadow-sm);
}
.yfl-billing-toggle__btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 9px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--yfl-text-soft);
    cursor: pointer;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
.yfl-billing-toggle__btn:hover {
    color: var(--yfl-text);
}
.yfl-billing-toggle__btn.is-active {
    background: #fff;
    color: var(--yfl-text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .06);
}
.yfl-billing-toggle__save {
    font-size: 11px;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: .03em;
}

/* Toggle visibility — show the cards that match the active mode */
.yfl-pricing[data-billing="yearly"]   .yfl-plan--lifetime { display: none; }
.yfl-pricing[data-billing="lifetime"] .yfl-plan--yearly   { display: none; }

/* Plan card scaffold (shared with the original .yfl-unlock-card but
   tighter because we have heavier price typography in here) */
.yfl-plan {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    position: relative;
}
.yfl-plan:hover {
    transform: translateY(-2px);
    box-shadow: var(--yfl-shadow-md);
}
.yfl-plan--featured {
    border-color: var(--yfl-brand);
    box-shadow: 0 14px 40px rgba(37, 99, 235, .15);
}
.yfl-plan--featured:hover {
    box-shadow: 0 18px 50px rgba(37, 99, 235, .22);
}
.yfl-plan__ribbon {
    position: absolute;
    top: -11px; right: 22px;
    background: var(--yfl-brand);
    color: #fff;
    font-size: 11px; font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
}

.yfl-plan__tier {
    align-self: flex-start;
    margin-bottom: 18px;
}
.yfl-plan__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.yfl-plan__price-amount {
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: var(--yfl-text);
}
.yfl-plan__price-unit {
    font-size: 15px;
    color: var(--yfl-text-soft);
}
.yfl-plan__price-strike {
    font-size: 18px;
    color: var(--yfl-text-soft);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 600;
}
.yfl-plan__save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 14px;
    padding: 5px 11px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
.yfl-plan__meta {
    color: var(--yfl-text-soft);
    font-size: 13.5px;
    margin: 0 0 18px;
}
.yfl-plan__list {
    list-style: none; padding: 0;
    margin: 0 0 24px;
    font-size: 14.5px;
    color: var(--yfl-text-mute);
    line-height: 1.7;
}
.yfl-plan__list li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 4px;
}
.yfl-plan__list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--yfl-success);
    font-weight: 700;
}
.yfl-plan__list li.is-excluded {
    color: var(--yfl-text-soft);
}
.yfl-plan__list li.is-excluded::before {
    content: '—';
    color: var(--yfl-text-soft);
}
.yfl-plan__cta {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.yfl-plan__renew {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: var(--yfl-text-soft);
    text-align: center;
}
.yfl-plan__renew strong { color: var(--yfl-text-mute); font-weight: 600; }

@media (max-width: 920px) {
    .yfl-plan__price-amount { font-size: 36px; }
}

/* ─────────────────────────────────────────────────────────────
   Comparison-table ✓ / ✗ pills + numeric cells
   Used in the pricing tier matrix and any feature matrix that
   wants the same visual language.
   ───────────────────────────────────────────────────────────── */

/* 5-column variant of the versus table (Feature | Free | Personal |
   Growth | Agency). Lives in a class — not in inline styles on each
   row — so the mobile media query below can still collapse it to
   single column on phones. Previously the inline `style="grid-
   template-columns:..."` overrode the responsive rule. */
.yfl-versus__row--cols5 {
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 720px) {
    .yfl-versus__row--cols5 { grid-template-columns: 1fr; }
}

/* Solid filled pills with a white glyph — high contrast so the
   "in this plan?" answer reads at a glance across a long matrix.
   Pastel-on-pastel was too faint when there were a dozen rows. */
.yfl-check,
.yfl-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .15);
}
.yfl-check {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}
.yfl-cross {
    background: linear-gradient(180deg, #f87171, #dc2626);
}
.yfl-check svg,
.yfl-cross svg {
    width: 16px;
    height: 16px;
}
.yfl-matrix-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--yfl-text);
    font-weight: 700;
    font-size: 14px;
}

/* Dark rows (versus header / final row) need lighter pill bgs */
.yfl-versus__row--head .yfl-check,
.yfl-versus__row--head .yfl-cross { background: rgba(255,255,255,.12); color: #fff; }

/* ─────────────────────────────────────────────────────────────
   Tooltip / popover on feature labels — pure CSS, no JS.
   Works on :hover (desktop) and :focus-within (keyboard / mobile).
   Used in pricing tier matrix to explain each module on hover.
   ───────────────────────────────────────────────────────────── */

.yfl-feat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.yfl-feat__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    border: 0;
    padding: 0;
    transition: background .12s ease, color .12s ease;
}
.yfl-feat__info:hover,
.yfl-feat__info:focus {
    background: var(--yfl-brand);
    color: #fff;
    outline: none;
}
.yfl-feat__tip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    z-index: 20;
    width: max-content;
    max-width: 320px;
    padding: 12px 14px;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 400;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
    pointer-events: none;
}
.yfl-feat__tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 18px;
    border: 6px solid transparent;
    border-top-color: #0f172a;
}
.yfl-feat:hover .yfl-feat__tip,
.yfl-feat:focus-within .yfl-feat__tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (max-width: 640px) {
    .yfl-feat__tip { max-width: 240px; left: -8px; }
}

/* ─────────────────────────────────────────────────────────────
   Pricing matrix — category banding for legibility
   ───────────────────────────────────────────────────────────── */

.yfl-versus__row--category {
    display: block !important;
    background: #f8fafc;
    padding: 14px 22px 6px !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--yfl-text-soft);
    border-top: 1px solid var(--yfl-border);
}
.yfl-versus__row--category:first-of-type { border-top: 0; }

/* ─────────────────────────────────────────────────────────────
   Payment-gateways panel (pricing page section)
   ───────────────────────────────────────────────────────────── */

.yfl-gateways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 880px) { .yfl-gateways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .yfl-gateways { grid-template-columns: 1fr; } }

.yfl-gw {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.yfl-gw:hover {
    border-color: #c7d2fe;
    transform: translateY(-2px);
    box-shadow: var(--yfl-shadow-sm);
}
.yfl-gw__mark {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -.02em;
}
.yfl-gw__body { min-width: 0; flex: 1; }
.yfl-gw__name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--yfl-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.yfl-gw__tag {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--yfl-brand-soft);
    color: var(--yfl-brand-dark);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.yfl-gw__tag--free { background: #d1fae5; color: #065f46; }
.yfl-gw__copy {
    font-size: 12.5px;
    color: var(--yfl-text-soft);
    margin: 2px 0 0;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   Long-form WP.org review cards (homepage social-proof section).
   Each card carries a 4-line excerpt + handle + date + thread link.
   Replaces the earlier short-quote layout that just showed titles.
   ───────────────────────────────────────────────────────────── */

.yfl-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1140px;
    margin: 0 auto;
}
@media (max-width: 980px) {
    .yfl-reviews { grid-template-columns: 1fr; max-width: 720px; }
}

.yfl-review {
    display: flex;
    flex-direction: column;
    background: var(--yfl-surface);
    border: 1px solid var(--yfl-border);
    border-radius: var(--yfl-radius-md);
    padding: 26px 24px 22px;
    box-shadow: var(--yfl-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.yfl-review:hover {
    transform: translateY(-2px);
    box-shadow: var(--yfl-shadow-md);
    border-color: #c7d2fe;
}
.yfl-review__stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.yfl-review__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--yfl-text);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.yfl-review__body {
    flex: 1 1 auto;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--yfl-text-mute);
    quotes: none;
}
.yfl-review__body strong {
    color: var(--yfl-text);
}
.yfl-review__by {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: baseline;
    padding-top: 14px;
    border-top: 1px solid var(--yfl-border-soft);
    font-size: 13px;
    color: var(--yfl-text-soft);
}
.yfl-review__by strong { color: var(--yfl-text); font-size: 13.5px; }
.yfl-review__when { color: var(--yfl-text-soft); }
.yfl-review__link {
    color: var(--yfl-brand-dark);
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
}
.yfl-review__link:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .yfl-review__by { flex-direction: column; align-items: flex-start; gap: 4px; }
    .yfl-review__link { margin-left: 0; }
}

/* ─────────────────────────────────────────────────────────────
   Trust strip (homepage section 2) — promoted to a real class so
   the homepage doesn't ship inline styles.
   ───────────────────────────────────────────────────────────── */

.yfl-trust {
    padding: 28px 0;
    border-bottom: 1px solid var(--yfl-border-soft);
    background: #fff;
}
.yfl-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
    text-align: center;
}
.yfl-trust__value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--yfl-text);
}
.yfl-trust__label {
    font-size: 11.5px;
    color: var(--yfl-text-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px;
}
@media (max-width: 760px) {
    .yfl-trust__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ─────────────────────────────────────────────────────────────
   SVG hero illustration — sized to feel like a screenshot but
   stay crisp at any zoom.
   ───────────────────────────────────────────────────────────── */

.yfl-hero__illo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 60px rgba(15, 23, 42, .15)) drop-shadow(0 8px 16px rgba(37, 99, 235, .12));
}

/* ─────────────────────────────────────────────────────────────
   Final tightening — better visual rhythm
   ───────────────────────────────────────────────────────────── */

.yfl-section + .yfl-section { /* avoid double-spacing on stacked sections */
    padding-top: clamp(56px, 7vw, 84px);
}
.yfl-versus__row { font-size: 14.5px; }
.yfl-versus__row--head { font-size: 11.5px; }
.yfl-quote__block .yfl-quote__body { font-size: clamp(16px, 1.5vw, 18px); }
