/* =================================================================
   BM FOR BUSINESS — Back Market Pro 1:1 reference
   Scoped under .bm-fb so styles never leak.
   .fb-page class suppresses leaky global UI (homepage category bar etc.)
   ================================================================= */

/* ---------- SUPPRESS leaky global UI ---------- */
.fb-page header div.h-50px.border-bottom,
.fb-page header .bottom-background-color-visibility,
.fb-page header #category-menu-bar,
.fb-page header .all-category,
.fb-page .hover-category-menu,
.fb-page .scroll-top,
.fb-page .scroll-to-top,
.fb-page .aiz-quick-actions,
.fb-page .aiz-sticky-actions,
.fb-page .aiz-floating-actions,
.fb-page .floating-sidebar,
.fb-page [class*="left-floating"],
.fb-page [class*="sticky-floating"] {
    display: none !important;
}

/* ---------- Root tokens ---------- */
.bm-fb {
    --fb-ink:       #111111;
    --fb-ink-soft:  #1f1f24;
    --fb-muted:     #555555;
    --fb-line:      #e6e6e6;
    --fb-line-soft: #efefef;
    --fb-bg:        #f5f5f7;
    --fb-bg-soft:   #fafafb;
    --fb-bg-lav:    #e9e8f7;
    --fb-navy:      #08133a;
    --fb-lime:      #d8ef63;
    --fb-lime-dk:   #c6dd4f;
    --fb-shadow:    0 12px 28px -22px rgba(15, 18, 22, 0.18);
    --fb-shadow-lg: 0 28px 52px -28px rgba(15, 18, 22, 0.22);

    background: #fff;
    color: var(--fb-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Container ---------- */
.bm-fb .fb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---------- Category nav bar ---------- */
.fb-catnav {
    background: #fff;
    border-bottom: 1px solid var(--fb-line);
}
.fb-catnav-scroll {
    display: flex;
    column-gap: 40px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}
.fb-catnav-scroll::-webkit-scrollbar { display: none; }
.fb-catnav-link {
    color: var(--fb-ink);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
    transition: opacity 180ms ease;
}
.fb-catnav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--fb-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}
.fb-catnav-link:hover { color: var(--fb-ink); }
.fb-catnav-link:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.fb-hero {
    position: relative;
    min-height: 680px;
    background: var(--fb-navy) center/cover no-repeat;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.fb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,19,58,0.85) 0%, rgba(8,19,58,0.45) 70%, rgba(8,19,58,0.25) 100%);
    pointer-events: none;
}
.fb-hero-grid {
    position: relative;
    z-index: 1;
    padding: 96px 24px;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    gap: 64px;
    align-items: center;
}
.fb-hero-text { color: #fff; }
.fb-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fb-lime);
    margin-bottom: 18px;
}
.fb-hero-title {
    font-size: clamp(40px, 6.4vw, 72px);
    font-weight: 800;
    letter-spacing: -0.032em;
    line-height: 1.05;
    margin: 0 0 22px;
    color: #fff;
}
.fb-hero-sub {
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 300;
    line-height: 1.4;
    margin: 0 0 36px;
    max-width: 540px;
    color: rgba(255,255,255,0.85);
}
.fb-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 12px;
}

/* ---------- Buttons ---------- */
.fb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 180ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.fb-btn--white {
    background: #fff;
    color: var(--fb-ink) !important;
}
.fb-btn--white:hover { transform: translateY(-1px); background: #f0f0f4; color: var(--fb-ink) !important; }
.fb-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,0.85);
}
.fb-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff !important; }
.fb-btn--dark {
    background: var(--fb-ink);
    color: #fff !important;
}
.fb-btn--dark:hover { transform: translateY(-1px); background: #292a30; color: #fff !important; }
.fb-btn--lime {
    background: var(--fb-lime);
    color: var(--fb-ink) !important;
    font-weight: 700;
}
.fb-btn--lime:hover { transform: translateY(-1px); background: var(--fb-lime-dk); }

/* ---------- Generic section ---------- */
.fb-section {
    padding: 120px 0;
    background: #fff;
}
.fb-section--soft { background: var(--fb-bg); }
.fb-section-title {
    text-align: center;
    font-size: clamp(32px, 4.4vw, 60px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 64px;
    color: var(--fb-ink);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.fb-empty { text-align: center; color: var(--fb-muted); padding: 32px 0; }

/* ---------- Benefits grid ---------- */
.fb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.fb-feature-card {
    text-align: center;
    padding: 24px 16px;
}
.fb-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--fb-bg);
    margin-bottom: 22px;
}
.fb-feature-icon i { font-size: 28px; color: var(--fb-ink); }
.fb-feature-icon img { width: 30px; height: 30px; object-fit: contain; }
.fb-feature-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
    color: var(--fb-ink);
}
.fb-feature-desc {
    color: var(--fb-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Devices grid ---------- */
.fb-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fb-device-card {
    display: block;
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    color: var(--fb-ink) !important;
    text-decoration: none !important;
    border: 1px solid var(--fb-line);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.fb-device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fb-shadow-lg);
    border-color: transparent;
    color: var(--fb-ink) !important;
}
.fb-device-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 18px;
    background: var(--fb-bg);
    border-radius: 16px;
}
.fb-device-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fb-device-image i { font-size: 56px; color: #c5c5cd; }
.fb-device-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    color: var(--fb-ink);
}
.fb-device-desc {
    color: var(--fb-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ---------- B-Corp Section ---------- */
.fb-bcorp-section { background: var(--fb-bg); }
.fb-bcorp {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.fb-bcorp-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fb-muted);
    margin-bottom: 16px;
}
.fb-bcorp-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--fb-ink);
}
.fb-bcorp-sub {
    color: var(--fb-muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 460px;
}
.fb-bcorp-card {
    background: var(--fb-lime);
    border-radius: 28px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fb-bcorp-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.fb-bcorp-badge {
    color: var(--fb-ink);
    font-size: 84px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    column-gap: 4px;
}
.fb-bcorp-badge span {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

/* ---------- Support Banner ---------- */
.fb-support {
    background: var(--fb-navy);
    border-radius: 28px;
    padding: 40px 48px;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 32px;
    position: relative;
    overflow: hidden;
}
.fb-support::before,
.fb-support::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.fb-support::before {
    width: 220px; height: 220px;
    right: -60px; top: -60px;
    background: radial-gradient(circle, rgba(216,239,99,0.18) 0%, transparent 70%);
}
.fb-support::after {
    width: 160px; height: 160px;
    right: 120px; bottom: -50px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.fb-support-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.fb-support-text { position: relative; z-index: 1; }
.fb-support-text h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    color: #fff;
}
.fb-support-text p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 15px;
}
.fb-support .fb-btn { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.fb-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
    max-width: 1080px;
    margin: 0 auto;
}
.fb-faq-row {
    border-bottom: 1px solid var(--fb-line);
    transition: background 200ms ease;
}
.fb-faq-row:hover, .fb-faq-row.is-open { background: #fafafb; }
.fb-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    padding: 22px 8px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--fb-ink);
}
.fb-faq-q {
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.4;
}
.fb-faq-chev {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: var(--fb-ink);
    opacity: 0.6;
    transition: transform 280ms ease, opacity 200ms ease;
    flex-shrink: 0;
}
.fb-faq-row.is-open .fb-faq-chev { transform: rotate(180deg); opacity: 1; }
.fb-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fb-faq-row.is-open .fb-faq-panel { max-height: 600px; }
.fb-faq-answer {
    padding: 0 8px 22px;
    color: var(--fb-ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- Newsletter ---------- */
.fb-news-section {
    background: var(--fb-bg-lav);
    padding: 88px 0;
}
.fb-news-section .fb-container {
    max-width: 1200px;
}
.fb-news {
    background: transparent;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.fb-news-text h3 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--fb-ink);
}
.fb-news-text > p {
    color: var(--fb-muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 24px;
    max-width: 480px;
}
.fb-news-form {
    display: flex;
    column-gap: 12px;
    max-width: 520px;
}
.fb-news-input-wrap { flex: 1 1 auto; }
.fb-news-form input {
    width: 100%;
    height: 52px;
    border: 1px solid var(--fb-line);
    border-radius: 999px;
    padding: 0 22px;
    background: #fff;
    font-size: 14.5px;
    color: var(--fb-ink);
    outline: none;
    transition: border-color 180ms ease;
}
.fb-news-form input:focus { border-color: var(--fb-ink); }
.fb-news-art {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fb-news-art img {
    max-width: 100%;
    border-radius: 24px;
}
.fb-news-blob {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--fb-lime) 70%);
    border-radius: 50%;
    box-shadow: var(--fb-shadow);
}

/* ---------- Footer ---------- */
.fb-footer {
    background: #fff;
    border-top: 1px solid var(--fb-line);
    padding: 64px 0 32px;
    color: var(--fb-muted);
}
.fb-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.fb-footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: var(--fb-ink);
}
.fb-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fb-footer-col li { margin-bottom: 10px; }
.fb-footer-col a {
    color: var(--fb-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 180ms ease;
}
.fb-footer-col a:hover { color: var(--fb-ink); }
.fb-footer-tail {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--fb-line-soft);
    text-align: center;
    font-size: 13px;
    color: var(--fb-muted);
}

/* ---------- Floating feedback fab (right vertical) ---------- */
.fb-feedback-fab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    background: var(--fb-ink);
    color: #fff !important;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -6px 16px -8px rgba(15,18,22,0.25);
    z-index: 1080;
    transition: background 200ms ease, transform 200ms ease;
}
.fb-feedback-fab:hover {
    background: #292a30;
    color: #fff !important;
    transform: translateY(-50%) rotate(-90deg) translateY(-2px);
}

/* ---------- Floating trust badge (bottom-left) ---------- */
.fb-trust-fab {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fb-lime);
    color: var(--fb-ink);
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 16px 36px -10px rgba(15, 18, 22, 0.25);
    z-index: 1080;
    border: 2px solid #fff;
}
.fb-trust-fab span {
    font-size: 10px;
    font-weight: 700;
    margin-left: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .fb-hero-grid { grid-template-columns: 1fr; gap: 0; }
    .fb-hero { min-height: 580px; }
}
@media (max-width: 991.98px) {
    .fb-section { padding: 80px 0; }
    .fb-section-title { margin-bottom: 44px; }
    .fb-features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .fb-devices-grid  { grid-template-columns: repeat(2, 1fr); }
    .fb-bcorp { grid-template-columns: 1fr; gap: 32px; }
    .fb-support { grid-template-columns: 1fr; row-gap: 18px; padding: 32px; text-align: center; }
    .fb-support-icon { margin: 0 auto; }
    .fb-faq-grid { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
    .fb-news { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .fb-news-form { margin: 0 auto; }
    .fb-news-text > p { margin-left: auto; margin-right: auto; }
    .fb-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .fb-section { padding: 60px 0; }
    .fb-hero-grid { padding: 64px 16px; }
    .fb-features-grid { grid-template-columns: 1fr; }
    .fb-devices-grid  { grid-template-columns: 1fr; }
    .fb-news-form { flex-direction: column; row-gap: 10px; }
    .fb-news-form .fb-btn { width: 100%; }
    .fb-footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .fb-feedback-fab { padding: 8px 16px; font-size: 12px; }
    .fb-trust-fab { left: 16px; bottom: 16px; width: 44px; height: 44px; font-size: 18px; }
}
