/* ==========================================================================
   Features ("What We Offer") — element-scoped styles for the home features grid
   --------------------------------------------------------------------------
   Centered header (badge + glowing heading + subtitle) above a responsive grid
   of icon-box cards. Shared theme tokens (--qr-*) come from qubitrp.css.
   ========================================================================== */

.features-section {
    padding: 96px 0;
    background: #0b0f13;
    position: relative;
}

/* -------------------------------------------------------------- Header block */
.features-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.features-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(43, 189, 246, 0.4);
    border-radius: 999px;
    background: var(--qr-green-soft);
    color: var(--qr-green-bright);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.features-heading {
    margin: 0 0 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    text-shadow: 0 0 24px rgba(43, 189, 246, 0.35);
}

.features-subheading {
    margin: 0;
    color: rgba(233, 246, 255, 0.62);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------- Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 2-up on tablets, 1-up on phones */
@media (max-width: 991.98px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------- Cards */
.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--qr-border);
    border-radius: 16px;
    padding: 28px 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 189, 246, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    background: var(--qr-green-soft);
    color: var(--qr-green);
    font-size: 1.35rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.feature-card:hover .feature-card__icon {
    background: rgba(43, 189, 246, 0.2);
    color: var(--qr-green-bright);
}

.feature-card__title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card__desc {
    margin: 0;
    color: rgba(233, 246, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ Mobile */
@media (max-width: 767.98px) {
    .features-section { padding: 64px 0; }
    .features-head { margin-bottom: 40px; }
}
