/* ================================================================
   Velora — Fcard widget  (mirrors handoff .fcard design)
   ================================================================ */

/* ── Card shell ─────────────────────────────────────────────── */
.fcard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background-color: #16191F;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 30px 30px 32px;
    min-height: 300px;
    box-sizing: border-box;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

.fcard:hover {
    border-color: rgba(255,255,255,0.16);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(11,12,14,0.16);
}

/* ── Glow ───────────────────────────────────────────────────── */
.fcard .fc-glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: -10%;
    right: -5%;
    width: 78%;
    height: 58%;
    background: radial-gradient(
        ellipse 60% 60% at 60% 35%,
        rgba(255,255,255,.22),
        rgba(255,255,255,.05) 45%,
        transparent 72%
    );
    filter: blur(22px);
    opacity: .35;
    transition: opacity .35s;
}

.fcard:hover .fc-glow {
    opacity: .7;
}

/* ── Dots pattern ───────────────────────────────────────────── */
.fcard .fc-dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(#CCFF02 .7px, transparent 1px);
    background-size: 15px 15px;
    opacity: .5;
    -webkit-mask-image: radial-gradient(ellipse 34% 38% at 90% 10%, #000 12%, transparent 68%);
    mask-image:         radial-gradient(ellipse 34% 38% at 90% 10%, #000 12%, transparent 68%);
    transition: opacity .55s ease, -webkit-mask-image .55s ease, mask-image .55s ease;
}

.fcard:hover .fc-dots {
    opacity: .8;
    -webkit-mask-image: radial-gradient(ellipse 56% 62% at 90% 10%, #000 14%, transparent 74%);
    mask-image:         radial-gradient(ellipse 56% 62% at 90% 10%, #000 14%, transparent 74%);
}

/* ── Body content ───────────────────────────────────────────── */
.fcard .fc-body {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

/* ── Kicker ─────────────────────────────────────────────────── */
.fcard .fc-kicker {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #CCFF02;
    line-height: 1;
}

/* ── Number ─────────────────────────────────────────────────── */
.fcard .fc-num {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-stretch: 125%;
    font-size: clamp(56px, 6vw, 86px);
    line-height: .9;
    letter-spacing: -.02em;
    color: #F4F5F2;
    margin-top: 14px;
}

.fcard .fc-num .u {
    color: #CCFF02;
}

/* ── Description ────────────────────────────────────────────── */
.fcard .fc-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #A7ADB5;
    margin: 16px 0 0;
    max-width: 30ch;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .fcard {
        min-height: 240px;
        padding: 24px 24px 26px;
    }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .fcard,
    .fcard .fc-glow,
    .fcard .fc-dots {
        transition: none;
    }
}
