/* ═══════════════════════════════════════════════════════════
   Landing Page — Wallet Earn Plans (v2 style)
   Scoped under .lp-earn
   ═══════════════════════════════════════════════════════════ */

.lp-earn {
    --we-blue:         var(--front-palette-1a6fdb);
    --we-blue-dark:    var(--front-palette-1255b0);
    --we-blue-light:   var(--front-palette-eff6ff);
    --we-blue-border:  var(--front-palette-bfdbfe);
    --we-shadow-sm:    0 1px 3px rgba(var(--front-rgb-26-111-219), .06), 0 1px 2px rgba(var(--front-color-black-rgb), .04);
    --we-shadow-md:    0 4px 16px rgba(var(--front-rgb-26-111-219), .12), 0 2px 6px rgba(var(--front-color-black-rgb), .04);
    --we-shadow-blue:  0 6px 24px rgba(var(--front-rgb-26-111-219), .25);

    position: relative;
    padding: 100px 0 90px;
    background: var(--front-palette-f5f7ff);
    font-family: inherit;
    overflow: hidden;
    isolation: isolate;
}

/* ── Background orbs ─────────────────────────────────────── */
.lp-earn__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.lp-earn__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .38;
}
.lp-earn__orb--a {
    width: 560px; height: 560px;
    top: -160px; left: -120px;
    background: radial-gradient(circle, rgba(var(--front-rgb-26-111-219), .20) 0%, transparent 70%);
}
.lp-earn__orb--b {
    width: 460px; height: 460px;
    bottom: -80px; right: -80px;
    background: radial-gradient(circle, rgba(var(--front-rgb-123-92-234), .16) 0%, transparent 70%);
}

.lp-earn > .container,
.lp-earn__header {
    position: relative;
    z-index: 1;
}

/* ── Section Header ──────────────────────────────────────── */
.lp-earn__header {
    text-align: center;
    padding-bottom: 48px;
}

.lp-earn__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--front-font-sm);
    font-weight: var(--front-font-bold);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--we-blue);
    background: rgba(var(--front-rgb-26-111-219), .09);
    border: 1px solid rgba(var(--front-rgb-26-111-219), .18);
    border-radius: 50px;
    padding: 7px 20px;
    margin-bottom: 24px;
}

.lp-earn__title {
    font-size: var(--front-font-size-px-46);
    font-weight: var(--front-font-bold);
    color: var(--heading-color, var(--front-color-heading));
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -.02em;
}
@media (max-width: 1199px) { .lp-earn__title { font-size: var(--front-font-size-px-38); } }
@media (max-width: 767px)  { .lp-earn__title { font-size: var(--front-font-size-px-28); } }

.lp-earn__sub {
    font-size: var(--front-font-lg);
    color: var(--front-palette-5a6080);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Plans Grid ───────────────────────────────────────────── */
.lp-earn__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 1100px) {
    .lp-earn__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .lp-earn__grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}

/* ── Card Wrap (holds badge outside overflow) ─────────────── */
.lp-earn__card-wrap {
    position: relative;
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Badge (sibling of card, above it) ───────────────────── */
.lp-earn__badge-wrap {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 2;
}

.lp-earn__badge {
    display: inline-block;
    font-size: var(--front-font-2xs);
    font-weight: var(--front-font-extrabold);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.4;
}
.lp-earn__badge--amber {
    background: var(--front-palette-f59e0b);
    color: var(--front-color-white);
}
.lp-earn__badge--blue {
    background: var(--we-blue);
    color: var(--front-color-white);
}

/* ── Card ─────────────────────────────────────────────────── */
.lp-earn__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--front-color-white);
    border: 1.5px solid var(--front-palette-e2e8f0);
    border-radius: 16px;
    box-shadow: var(--we-shadow-sm);
    overflow: hidden;
    transition: transform .22s cubic-bezier(.34,1.2,.64,1), box-shadow .22s ease, border-color .18s ease;
    flex: 1;
}
.lp-earn__card:not(.lp-earn__card--featured):hover {
    transform: translateY(-4px);
    border-color: var(--we-blue);
    box-shadow: var(--we-shadow-md);
}

/* ── Featured Card ────────────────────────────────────────── */
.lp-earn__card--featured {
    background: linear-gradient(145deg, var(--we-blue), var(--we-blue-dark));
    border: none;
    box-shadow: var(--we-shadow-blue);
}
.lp-earn__card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 44px rgba(var(--front-rgb-26-111-219), .45);
}
.lp-earn__card--featured::before,
.lp-earn__card--featured::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.lp-earn__card--featured::before {
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: rgba(var(--front-color-white-rgb), .07);
}
.lp-earn__card--featured::after {
    bottom: -30px; left: -20px;
    width: 100px; height: 100px;
    background: rgba(var(--front-color-white-rgb), .04);
}

/* ── Card Top Section ─────────────────────────────────────── */
.lp-earn__card-top {
    padding: 18px 18px 12px;
    position: relative;
    z-index: 1;
}

/* ── Header: icon + name ──────────────────────────────────── */
.lp-earn__card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lp-earn__card-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--we-blue-light);
    color: var(--we-blue);
}
.lp-earn__card--featured .lp-earn__card-icon {
    background: rgba(var(--front-color-white-rgb), .15);
    color: var(--front-color-white);
}

.lp-earn__card-title-wrap { min-width: 0; }

.lp-earn__card-name {
    font-weight: var(--front-font-extrabold);
    font-size: var(--front-font-base);
    color: var(--front-palette-1e293b);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.lp-earn__card--featured .lp-earn__card-name { color: var(--front-color-white); }

.lp-earn__card-tagline {
    font-size: var(--front-font-xs);
    color: var(--front-palette-94a3b8);
    margin-top: 2px;
    line-height: 1.35;
}
.lp-earn__card--featured .lp-earn__card-tagline { color: rgba(var(--front-color-white-rgb), .60); }

/* ── Rate ─────────────────────────────────────────────────── */
.lp-earn__rate {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 8px;
}

.lp-earn__rate-value {
    font-weight: var(--front-font-black);
    font-size: var(--front-font-size-px-38);
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--we-blue);
}
.lp-earn__card--featured .lp-earn__rate-value { color: var(--front-color-white); }

.lp-earn__rate-pct {
    font-size: var(--front-font-base);
    font-weight: var(--front-font-bold);
    color: var(--front-palette-64748b);
}
.lp-earn__card--featured .lp-earn__rate-pct { color: rgba(var(--front-color-white-rgb), .75); }

.lp-earn__rate-label {
    font-size: var(--front-font-xs);
    font-weight: var(--front-font-semibold);
    margin-left: 2px;
    color: var(--front-palette-94a3b8);
}
.lp-earn__card--featured .lp-earn__rate-label { color: rgba(var(--front-color-white-rgb), .55); }

/* ── Pills ────────────────────────────────────────────────── */
.lp-earn__pills {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.lp-earn__pill {
    font-size: var(--front-font-xs);
    font-weight: var(--front-font-bold);
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--we-blue-light);
    color: var(--we-blue);
}
.lp-earn__pill--muted {
    background: var(--front-palette-f1f5f9);
    color: var(--front-palette-475569);
}
.lp-earn__card--featured .lp-earn__pill {
    background: rgba(var(--front-color-white-rgb), .18);
    color: var(--front-color-white);
}
.lp-earn__card--featured .lp-earn__pill--muted {
    background: rgba(var(--front-color-white-rgb), .12);
    color: rgba(var(--front-color-white-rgb), .80);
}

/* ── Divider ─────────────────────────────────────────────── */
.lp-earn__divider {
    height: 1px;
    background: var(--front-palette-f1f5f9);
    margin: 0 18px;
    position: relative;
    z-index: 1;
}
.lp-earn__card--featured .lp-earn__divider { background: rgba(var(--front-color-white-rgb), .10); }

/* ── Card Body ────────────────────────────────────────────── */
.lp-earn__card-body {
    padding: 10px 18px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── Details ─────────────────────────────────────────────── */
.lp-earn__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.lp-earn__detail {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 0;
    border-bottom: 1px solid var(--front-palette-f8fafc);
}
.lp-earn__card--featured .lp-earn__detail { border-bottom-color: rgba(var(--front-color-white-rgb), .07); }

.lp-earn__detail i {
    font-size: var(--front-font-xs);
    color: var(--front-palette-94a3b8);
    width: 11px;
    flex-shrink: 0;
}
.lp-earn__card--featured .lp-earn__detail i { color: rgba(var(--front-color-white-rgb), .50); }

.lp-earn__detail-val {
    font-size: var(--front-font-xs);
    font-weight: var(--front-font-bold);
    color: var(--front-palette-334155);
    white-space: nowrap;
}
.lp-earn__card--featured .lp-earn__detail-val { color: rgba(var(--front-color-white-rgb), .85); }

.lp-earn__detail-sub {
    font-size: var(--front-font-xs);
    color: var(--front-palette-94a3b8);
    white-space: nowrap;
}
.lp-earn__card--featured .lp-earn__detail-sub { color: rgba(var(--front-color-white-rgb), .45); }

/* ── Bullets ─────────────────────────────────────────────── */
.lp-earn__bullets {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-earn__bullet {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--front-font-xs);
    color: var(--front-palette-64748b);
}
.lp-earn__card--featured .lp-earn__bullet { color: rgba(var(--front-color-white-rgb), .65); }

.lp-earn__bullet-check {
    width: 15px; height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--front-palette-d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--front-font-size-px-7);
    color: var(--front-palette-059669);
}
.lp-earn__card--featured .lp-earn__bullet-check {
    background: rgba(var(--front-color-white-rgb), .18);
    color: var(--front-color-white);
}

/* ── CTA ─────────────────────────────────────────────────── */
.lp-earn__card-cta {
    padding: 0 18px 18px;
    position: relative;
    z-index: 1;
}

.lp-earn__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    line-height: 1.4;
    border-radius: 10px;
    background: var(--we-blue-light);
    color: var(--we-blue);
    border: 1.5px solid var(--we-blue-border);
    font-weight: var(--front-font-extrabold);
    font-size: var(--front-font-base);
    text-decoration: none;
    transition: all .18s;
}
.lp-earn__btn:hover {
    background: var(--we-blue);
    color: var(--front-color-white);
    border-color: var(--we-blue);
    box-shadow: var(--we-shadow-blue);
    text-decoration: none;
}
.lp-earn__card--featured .lp-earn__btn {
    background: var(--front-color-white);
    color: var(--we-blue);
    border: none;
}
.lp-earn__card--featured .lp-earn__btn:hover {
    opacity: .88;
    box-shadow: none;
    color: var(--we-blue);
}
