/* ============================================================================
   Home page — hero and feature grid.
   ========================================================================= */

.hero {
    background: linear-gradient(135deg, #1e7cec 0%, #0d5bc4 100%);
    color: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 124, 236, 0.25);
}

.hero-qr {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.hero .lead {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto 1.75rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-light {
    font-weight: 600;
    padding: 0.6rem 1.6rem;
}

.hero .btn-outline-light {
    font-weight: 600;
    padding: 0.6rem 1.6rem;
}

/* ── Feature cards ─────────────────────────────────────────────────────── */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #212529;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 124, 236, 0.1);
    color: #1e7cec;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #212529;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ── Closing call to action ────────────────────────────────────────────── */
.cta-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-panel h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .hero {
        padding: 2rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero-qr {
        width: 92px;
        height: 92px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}
