/* ══════════════════════════════════════════
   FEATURES PAGE — scoped styles
══════════════════════════════════════════ */

/* ---------- Hero (matches about-hero pattern) ---------- */
.features-hero {
    padding: 180px 0 96px;
    background: #bae8f8;
    text-align: center;
}
.features-hero-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
    margin-bottom: 24px;
}
.features-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    max-width: 820px;
    margin: 0 auto 24px;
    color: var(--text);
}
.features-hero-highlight {
    color: var(--text);
    background: #cff3ff;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-block;
}
.features-hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: #000;
    opacity: 0.7;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* ---------- Spotlight (3 hero features) ---------- */
.features-spotlight {
    padding: var(--section-pad) 0 0;
}
.features-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.features-spot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--spot-wash);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.features-spot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(20, 40, 60, 0.2);
}
.features-spot-card.spot1 {
    --spot-accent-solid: #2563eb;
    --spot-accent-grad: linear-gradient(135deg, #60a5fa, #2563eb);
    --spot-wash: linear-gradient(160deg, #eaf2ff 0%, #ffffff 55%);
}
.features-spot-card.spot2 {
    --spot-accent-solid: #9333ea;
    --spot-accent-grad: linear-gradient(135deg, #c084fc, #9333ea);
    --spot-wash: linear-gradient(160deg, #f6ecff 0%, #ffffff 55%);
}
.features-spot-card.spot3 {
    --spot-accent-solid: #ea580c;
    --spot-accent-grad: linear-gradient(135deg, #fb923c, #ea580c);
    --spot-wash: linear-gradient(160deg, #fff3e8 0%, #ffffff 55%);
}
.features-spot-body {
    padding: 32px 32px 24px;
}
.features-spot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.features-spot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--spot-accent-grad);
    box-shadow: 0 8px 16px -8px var(--spot-accent-solid);
    transition: transform 0.25s ease;
}
.features-spot-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}
.features-spot-card:hover .features-spot-icon {
    transform: scale(1.08) rotate(-4deg);
}
.features-spot-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--spot-accent-solid);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}
.features-spot-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.features-spot-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
.features-spot-footer {
    padding: 18px 32px 26px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.features-spot-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 56px;
}
.features-spot-bars span {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: #e4e4e7;
}
.features-spot-bars span.hl {
    background: var(--spot-accent-grad);
}
.features-spot-flow {
    display: flex;
    align-items: center;
    gap: 8px;
}
.features-spot-flow .pill {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.features-spot-flow .pill-tint {
    background: color-mix(in srgb, var(--spot-accent-solid) 14%, transparent);
    color: var(--spot-accent-solid);
}
.features-spot-flow .pill-neutral {
    background: #f0f0f2;
    color: var(--text-muted);
}
.features-spot-flow .pill-filled {
    background: var(--spot-accent-grad);
    color: #fff;
    margin-left: auto;
}
.features-spot-flow .dash {
    flex: 1;
    height: 0;
    border-top: 2px dashed var(--spot-accent-solid);
    opacity: 0.35;
    min-width: 8px;
}

/* ---------- Full feature grid (supporting features) ---------- */
.features-grid-section {
    padding: var(--section-pad) 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.features-card {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(155deg, #f9f9f9 0%, #efefef 100%);
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 18px;
    padding: 26px 26px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 32px -26px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.features-card:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 24px 40px -24px rgba(15, 23, 42, 0.28);
}
.features-card.f-blue   { --f-accent-solid: #2563eb; --f-accent-grad: linear-gradient(135deg, #60a5fa, #2563eb); }
.features-card.f-purple { --f-accent-solid: #9333ea; --f-accent-grad: linear-gradient(135deg, #c084fc, #9333ea); }
.features-card.f-orange { --f-accent-solid: #ea580c; --f-accent-grad: linear-gradient(135deg, #fb923c, #ea580c); }
.features-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--f-accent-grad);
    box-shadow: 0 8px 16px -8px var(--f-accent-solid);
    transition: transform 0.25s ease;
}
.features-card-icon svg {
    width: 21px;
    height: 21px;
    color: #fff;
}
.features-card:hover .features-card-icon {
    transform: scale(1.08) rotate(-4deg);
}
.features-card-content { min-width: 0; }
.features-card h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.features-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .features-hero {
        padding: 140px 0 72px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .features-card {
        flex-direction: column;
    }
}