/* ─── Usage Strip ─────────────────────────────────────────────────── */

.bbai-usage-strip {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.bbai-usage-strip__row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bbai-usage-strip__row + .bbai-usage-strip__row {
    margin-top: 12px;
}

.bbai-usage-strip__label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 260px;
}

.bbai-usage-strip__plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
}

.bbai-usage-strip__plan-badge--upgrade {
    background: #ecfdf5;
    color: #059669;
}

.bbai-usage-strip__remaining {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.bbai-usage-strip__remaining--muted {
    color: #94a3b8;
}

.bbai-usage-strip__bar {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.bbai-usage-strip__bar-fill {
    height: 100%;
    background: #6366f1;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bbai-usage-strip__bar--comparison {
    background: #ecfdf5;
}

.bbai-usage-strip__bar-fill--comparison {
    background: #10b981;
}

.bbai-usage-strip__ratio {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

.bbai-usage-strip__upgrade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.bbai-usage-strip__upgrade-copy {
    font-size: 13px;
    color: #475569;
    margin: 0;
}

.bbai-usage-strip__upgrade-cta {
    flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .bbai-usage-strip__row {
        flex-wrap: wrap;
    }

    .bbai-usage-strip__label {
        min-width: auto;
        width: 100%;
    }

    .bbai-usage-strip__bar {
        width: 100%;
    }

    .bbai-usage-strip__ratio {
        width: 100%;
        text-align: left;
    }

    .bbai-usage-strip__upgrade {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ─── Before / After Showcase ─────────────────────────────────────── */

.bbai-before-after-showcase {
    margin: 0 0 32px;
    display: grid;
    gap: 16px;
}

.bbai-before-after-showcase__header {
    margin: 0;
}

.bbai-before-after-showcase__title {
    margin: 0;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.bbai-before-after-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bbai-before-after-card {
    min-height: 0;
    padding: 24px;
    border: 1px solid var(--bbai-dashboard-card-border, rgba(226, 232, 240, 0.96));
    border-radius: var(--bbai-dashboard-card-radius-sm, 18px);
    background: #ffffff;
    box-shadow: var(--bbai-dashboard-card-shadow-soft, 0 14px 30px rgba(15, 23, 42, 0.06));
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bbai-before-after-card:hover,
.bbai-before-after-card:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.bbai-before-after-card--before {
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
    border-color: rgba(201, 122, 0, 0.2);
}

.bbai-before-after-card--after {
    background: linear-gradient(135deg, #f4fbf6 0%, #ffffff 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.bbai-before-after-card__label {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #64748b;
}

.bbai-before-after-card__headline,
.bbai-before-after-card__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 600;
    color: #0f172a;
}

.bbai-before-after-card__text--sample {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 700;
}

.bbai-before-after-card__supporting {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #166534;
    font-weight: 600;
}

.bbai-before-after-showcase__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.bbai-before-after-showcase__benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.bbai-before-after-showcase__benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #15803d;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.bbai-before-after-showcase__progress {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #0f172a;
}

.bbai-before-after-showcase__activity {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
}

.bbai-before-after-showcase__activity-item {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

@media (max-width: 768px) {
    .bbai-before-after-showcase__grid {
        grid-template-columns: 1fr;
    }

    .bbai-before-after-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .bbai-before-after-showcase__benefits,
    .bbai-before-after-showcase__activity {
        gap: 10px 12px;
    }
}
