/* ===================================================================
   Founders Program pricing display
   -------------------------------------------------------------------
   Sprint 2.A (2026-04-30) — surfaces the Founders Program 50%-off-
   lifetime deal on the 3 pricing cards on the homepage. Designed to
   work with the existing glassmorphism card variants (.card-white /
   .card-orange / .card-dark) without breaking the master pitch CSS.

   Layout per card:
     1) .founders-badge       — small pill above the price
     2) .price-was-block      — struck-through "was $79" anchor
     3) .price-value-founders — dominant founders price (e.g. $39.50)
     4) .price-period         — existing class, "per location per month"
     5) .founders-note        — scarcity message
     6) .founders-cta         — full-width CTA button
   =================================================================== */

/* ---------- 1) Founders Badge ---------- */
.founders-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.75rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(241, 118, 25, 0.20), rgba(241, 118, 25, 0.08));
    border: 1px solid rgba(241, 118, 25, 0.40);
    color: #ffb280;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card-white .founders-badge {
    color: #c14d00;
    background: linear-gradient(135deg, rgba(241, 118, 25, 0.14), rgba(241, 118, 25, 0.05));
    border-color: rgba(241, 118, 25, 0.45);
}

.card-orange .founders-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.founders-badge-icon {
    font-size: 0.95rem;
    line-height: 1;
}

/* ---------- 2) Was-price block (struck-through anchor) ---------- */
.price-was-block {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-size: 1.0rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

.price-was-block::before {
    content: "was";
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.price-was-block .monthly-price,
.price-was-block .yearly-price {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    opacity: 0.85;
    color: inherit;
}

.card-white .price-was-block {
    color: #64748b;
}

.card-orange .price-was-block {
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- 3) Founders price (dominant) ---------- */
.price-value-founders {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.card-white .price-value-founders {
    color: #0c111a;
}

.card-orange .price-value-founders {
    color: #ffffff;
}

/* Override existing .price-display flex layout when founders-pricing is in play.
   Default .price-display is `display: flex` row — we want a vertical stack so
   "was $79", "$39.50", "per location per month" sit cleanly on their own lines. */
.pitch-pricing .price-display:has(.price-value-founders) {
    display: block;
}

/* ---------- 4) Existing .price-period stays as-is ---------- */
/* (defined in gid-pitch-pricing.css line 238) */

/* ---------- 5) Founders note (scarcity) ---------- */
.founders-note {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #94a3b8;
    margin-top: 0.7rem;
    margin-bottom: 1.0rem;
    opacity: 0.95;
}

.card-white .founders-note {
    color: #475569;
}

.card-orange .founders-note {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- 6) Founders CTA button ---------- */
.founders-cta {
    display: block;
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.25s ease;
    background: #f17619;
    color: #ffffff;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.founders-cta:hover {
    background: #e86b10;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 118, 25, 0.45);
}

.founders-cta:focus-visible {
    outline: 2px solid #ffb280;
    outline-offset: 3px;
}

.card-white .founders-cta {
    background: #0c111a;
    color: #ffffff;
}
.card-white .founders-cta:hover {
    background: #1e293b;
    box-shadow: 0 6px 20px rgba(12, 17, 26, 0.40);
}

.card-orange .founders-cta {
    background: #ffffff;
    color: #c14d00;
}
.card-orange .founders-cta:hover {
    background: #f8fafc;
    color: #c14d00;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.55);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .founders-badge {
        font-size: 0.66rem;
        padding: 0.26rem 0.6rem;
        margin-bottom: 0.65rem;
    }
    .founders-badge-icon {
        font-size: 0.85rem;
    }
    .price-was-block {
        font-size: 0.88rem;
    }
    .price-was-block::before {
        font-size: 0.7rem;
    }
    .price-value-founders {
        font-size: 2.3rem;
    }
    .founders-note {
        font-size: 0.74rem;
        margin-top: 0.55rem;
        margin-bottom: 0.85rem;
    }
    .founders-cta {
        padding: 0.82rem 0.9rem;
        font-size: 0.94rem;
    }
}
