/* bf-featcards.css — the landing's feature cards (index.html #features) for the
   other public pages, scoped to .bf-cards. Same look as on the landing. The
   card art refers to #bg-glow and #neon-glow, so the page carries those defs once. */
.bf-cards {
    --fc-primary: #00d4ff;
    --fc-bg: #030305;
    --fc-muted: #86868b;
    --fc-glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
    --fc-glass-border: rgba(255, 255, 255, 0.06);
    --fc-glass-blur: blur(64px) saturate(180%) brightness(1.05);
    --fc-spring: cubic-bezier(0.25, 1.2, 0.3, 1);
    --fc-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.bf-cards .feature-card {
    position: relative;
    background: var(--fc-glass-bg);
    backdrop-filter: var(--fc-glass-blur);
    -webkit-backdrop-filter: var(--fc-glass-blur);
    border: 1px solid var(--fc-glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--fc-spring);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.bf-cards .feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 255, 0.05);
}
.bf-cards .feature-card:focus-within { border-color: rgba(0, 212, 255, 0.5); }
.bf-cards .feature-img-wrapper { height: 150px; overflow: hidden; position: relative; }
.bf-cards .feature-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--fc-bg) 100%);
}
.bf-cards .feature-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.7s var(--fc-smooth), opacity 0.4s;
    filter: saturate(0.5);
}
.bf-cards .feature-card:hover .feature-img { transform: scale(1.05); opacity: 0.9; filter: saturate(1.2); }
.bf-cards .feature-content { padding: 18px 20px 22px; }
.bf-cards .feature-title {
    font-family: 'Blastron', sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: 0;
    text-transform: none;
}
/* the title is the link; its ::after covers the card, so the whole card opens the page */
.bf-cards .feature-title a { color: inherit; text-decoration: none; }
.bf-cards .feature-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.bf-cards .feature-desc {
    color: var(--fc-muted);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82em;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 900px) {
    .bf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 520px) {
    .bf-cards { grid-template-columns: 1fr; }
}
