/*
 * rapybus-components.css
 * Reusable UI components shared across web pages.
 * Requires rapybus-tokens.css.
 *
 * Components:
 *   - .eyebrow          pill-shaped section label
 *   - .section-header   centred/left section heading block
 *   - .app-btn          hero app-store button (dark glass)
 *   - .feature-card     card with coloured icon badge
 *   - .feature-icon     coloured icon badge (variants: .green .blue .teal .purple)
 *   - .benefit-list     checklist with green circle checkmarks
 *   - .teaser-btn       dark pill CTA button
 */

/* ── Eyebrow label ───────────────────────────────────────── */

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.eyebrow--green {
    color: var(--rb-green-dark);
    background: rgba(0, 203, 118, 0.1);
}

.eyebrow--blue {
    color: var(--rb-blue);
    background: rgba(9, 73, 207, 0.08);
}

/* ── Section header block ────────────────────────────────── */

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--rb-dark);
    margin-bottom: 0;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 56px;
}

.section-header.left {
    margin-bottom: 40px;
}

.section-header .sub {
    font-size: 1rem;
    color: var(--rb-text-muted);
    max-width: 400px;
    margin-top: 8px;
}

/* ── App store button ────────────────────────────────────── */

.app-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px 22px;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
    font-family: var(--nav-font, 'Poppins', sans-serif);
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.app-btn i {
    font-size: 1.6rem;
}

.app-btn .btn-label small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.75;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-btn .btn-label strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ── Feature card ────────────────────────────────────────── */

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    border: 1.5px solid var(--rb-border);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(9, 73, 207, 0.1);
    border-color: rgba(9, 73, 207, 0.15);
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rb-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--rb-text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ── Feature icon badge ──────────────────────────────────── */

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.6rem;
}

.feature-icon.green  { background: rgba(0, 203, 118, 0.12); color: var(--rb-green-dark); }
.feature-icon.blue   { background: rgba(9, 73, 207, 0.1);   color: var(--rb-blue); }
.feature-icon.teal   { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.feature-icon.purple { background: rgba(124, 58, 237, 0.1);  color: #7c3aed; }

/* ── Benefit checklist ───────────────────────────────────── */

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.97rem;
    color: var(--rb-text-body);
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list li .check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--rb-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    margin-top: 1px;
}

/* ── Teaser / CTA button ─────────────────────────────────── */

.teaser-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rb-dark);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.teaser-btn:hover {
    background: var(--rb-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(9, 73, 207, 0.3);
}

.teaser-btn i {
    font-size: 1.1rem;
}
