﻿/* ==========================================================================
   InstaZipp â€” Brand Landing Page
   Every accent is derived from the admin brand colour:
     --primary     = backgroundChange.primary_1_hex
     --primary-rgb = backgroundChange.primary_1_rgb
   Change the brand colour in Admin > Business Settings and this page follows.
   Shared by the home page and /affiliates. Classes are `bx-` (primitives) and`af-` prefixed so nothing collides with landing.css.
   ========================================================================== */

/* ---------- Self-hosted fonts ----------
   Static (non-variable) faces with DISCRETE weights only.
   Do NOT use weight ranges here: pointing a range at a variable font makes the
   browser synthesise/interpolate glyphs, which renders text looking stretched. */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../webfonts/lato-400.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../webfonts/lato-700.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../webfonts/lato-700.woff') format('woff');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../webfonts/lato-900.woff') format('woff');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../webfonts/syne-700.woff') format('woff');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../webfonts/syne-800.woff') format('woff');
}

/* ==========================================================================
   TOKENS
   ========================================================================== */
.bx-root {
    --bx-brand: var(--primary, #FF6B00);
    --bx-brand-rgb: var(--primary-rgb, 255, 107, 0);

    --bx-brand-04: rgba(var(--bx-brand-rgb), .04);
    --bx-brand-08: rgba(var(--bx-brand-rgb), .08);
    --bx-brand-12: rgba(var(--bx-brand-rgb), .12);
    --bx-brand-20: rgba(var(--bx-brand-rgb), .20);
    --bx-brand-35: rgba(var(--bx-brand-rgb), .35);

    --bx-grad: linear-gradient(120deg, var(--bx-brand) 0%, rgba(var(--bx-brand-rgb), .78) 55%, rgba(var(--bx-brand-rgb), .55) 100%);
    --bx-grad-soft: linear-gradient(160deg, rgba(var(--bx-brand-rgb), .10) 0%, rgba(var(--bx-brand-rgb), .02) 60%, transparent 100%);

    --bx-ink: #0F1117;
    --bx-ink-soft: #1B1F2A;
    --bx-body: #4A5162;
    --bx-muted: #767E90;
    --bx-line: #E9ECF3;
    --bx-soft: #F7F8FC;
    --bx-white: #fff;

    --bx-r-lg: 26px;
    --bx-r: 18px;
    --bx-r-sm: 12px;

    --bx-sh-sm: 0 2px 10px rgba(15, 17, 23, .05);
    --bx-sh: 0 14px 38px rgba(15, 17, 23, .08);
    --bx-sh-lg: 0 30px 70px rgba(15, 17, 23, .13);

    --bx-head: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bx-body-font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    position: relative;
    overflow: hidden;
    color: var(--bx-ink);
    background: var(--bx-white);
}

.bx-root,
.bx-root * {
    font-family: var(--bx-body-font);
}

/* ---------- Admin highlighted words ----------
   Helpers::highlight() wraps $text$ from the admin in <span class="hl">.
   landing.css hardcodes it to var(--green), which clashes with the brand colour
   and is invisible on the gradient cards. Override it to follow the brand. */
.bx-root .hl {
    color: var(--bx-brand);
    font-family: inherit;
}

.bx-root h1 .hl,
.bx-root h2 .hl,
.bx-root h3 .hl {
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* On brand-filled / dark surfaces the gradient is invisible â€” use a light tint */
.bx-ref-card .hl,
.bx-app-body .hl,
.bx-tile--fill .hl,
.bx-closing-card .hl,
.bx-zone-body .hl {
    background: none;
    -webkit-text-fill-color: initial;
    color: rgba(255, 255, 255, .92);
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

/* ---------- Display type ----------
   Syne (the previous heading font) is an extremely wide geometric face; at heavy
   weights its glyphs read as horizontally stretched. Everything below now uses
   Lato 900, which is strong but keeps normal letter proportions. */
.bx-root h1,
.bx-root h2,
.bx-root h3,
.bx-root h4,
.bx-root h5,
.bx-root h6,
.bx-root .bx-num,
.bx-root .bx-step-dot {
    font-family: var(--bx-head);
    font-weight: 900;
    font-synthesis: none;
}

.bx-root .bx-kicker {
    font-family: var(--bx-head);
    font-weight: 800;
    letter-spacing: .1em;
    font-synthesis: none;
}

.bx-root .bx-btn,
.bx-root .bx-tab {
    font-family: var(--bx-head);
    font-weight: 700;
    font-synthesis: none;
}

.bx-container {
    max-width: 1220px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* ==========================================================================
   SHARED
   ========================================================================== */
.bx-head {
    max-width: 720px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.bx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    margin-bottom: 15px;
    border-radius: 999px;
    background: var(--bx-brand-08);
    color: var(--bx-brand);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bx-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bx-brand);
}

.bx-head h2 {
    margin: 0 0 13px;
    font-size: clamp(27px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.022em;
    color: var(--bx-ink);
}

.bx-head h2 em {
    font-style: normal;
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bx-head p {
    margin: 0;
    color: var(--bx-body);
    font-size: 16px;
    line-height: 1.72;
}

.bx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .24s cubic-bezier(.2, .9, .3, 1.2), box-shadow .24s ease, background .24s ease;
}

.bx-btn svg { width: 18px; height: 18px; flex: none; }

.bx-btn--primary {
    background: var(--bx-grad);
    color: #fff;
    box-shadow: 0 12px 28px rgba(var(--bx-brand-rgb), .34);
    position: relative;
    overflow: hidden;
}

.bx-btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .40) 50%, transparent 78%);
    transform: translateX(-130%);
    transition: transform .65s ease;
}

.bx-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(var(--bx-brand-rgb), .44); }
.bx-btn--primary:hover::after { transform: translateX(130%); }

.bx-btn--soft {
    background: var(--bx-brand-08);
    color: var(--bx-brand);
}

.bx-btn--soft:hover { background: var(--bx-brand-12); transform: translateY(-3px); }

.bx-btn--dark {
    background: var(--bx-ink);
    color: #fff;
}

.bx-btn--dark:hover { transform: translateY(-3px); box-shadow: var(--bx-sh); }

/* ==========================================================================
   HERO
   ========================================================================== */
.bx-hero {
    position: relative;
    padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
    background: var(--bx-white);
    isolation: isolate;
}

.bx-hero-wash {
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(90% 62% at 78% 6%, var(--bx-brand-12) 0%, transparent 62%),
        radial-gradient(70% 55% at 6% 92%, var(--bx-brand-08) 0%, transparent 60%),
        linear-gradient(180deg, var(--bx-brand-04) 0%, transparent 72%);
}

.bx-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(var(--bx-brand-rgb), .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bx-brand-rgb), .055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(ellipse 72% 66% at 50% 24%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 24%, #000 30%, transparent 100%);
}

.bx-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(30px, 5vw, 62px);
    align-items: center;
}

.bx-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 11px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bx-brand-20);
    color: var(--bx-ink);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: var(--bx-sh-sm);
}

.bx-hero-pill .bx-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bx-brand);
    animation: bx-pulse 2s ease-in-out infinite;
}

@keyframes bx-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(var(--bx-brand-rgb), .22); }
    50%      { box-shadow: 0 0 0 8px rgba(var(--bx-brand-rgb), 0); }
}

.bx-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(33px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.032em;
    color: var(--bx-ink);
}

.bx-hero h1 em {
    font-style: normal;
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bx-hero-sub {
    margin: 0 0 30px;
    max-width: 540px;
    color: var(--bx-body);
    font-size: 17px;
    line-height: 1.72;
}

.bx-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.bx-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    padding-top: 26px;
    border-top: 1px solid var(--bx-line);
}

.bx-hero-notes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bx-body);
    font-size: 13.5px;
    font-weight: 600;
}

.bx-hero-notes svg { width: 16px; height: 16px; color: var(--bx-brand); }

/* Hero visual */
.bx-hero-art {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bx-hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--bx-brand);
    filter: blur(90px);
    opacity: .26;
}

.bx-hero-frame {
    position: relative;
    width: min(320px, 78vw);
    padding: 12px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid var(--bx-brand-20);
    box-shadow: var(--bx-sh-lg);
    animation: bx-bob 7s ease-in-out infinite;
}

@keyframes bx-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-15px); }
}

.bx-hero-frame-in {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 9 / 13.5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, var(--bx-brand-08), #fff 70%);
    padding: 30px;
}

.bx-hero-frame-in img {
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(15, 17, 23, .16));
}

.bx-float {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--bx-ink);
    white-space: nowrap;
}

.bx-float small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--bx-muted);
}

.bx-float i {
    width: 32px;
    height: 32px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-style: normal;
    font-size: 16px;
    background: var(--bx-brand-08);
    color: var(--bx-brand);
}

.bx-float--1 { top: 6%; inset-inline-start: -10px; animation: bx-bob 8s ease-in-out infinite; }
.bx-float--2 { top: 46%; inset-inline-end: -16px; animation: bx-bob 9.5s ease-in-out infinite -3s; }
.bx-float--3 { bottom: 4%; inset-inline-start: 2%; animation: bx-bob 10.5s ease-in-out infinite -6s; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.bx-ticker {
    padding: 0 0 clamp(46px, 6vw, 68px);
    background: #fff;
}

.bx-ticker-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 999px;
    background: var(--bx-soft);
    border: 1px solid var(--bx-line);
    overflow-x: auto;
    scrollbar-width: none;
}

.bx-ticker-track::-webkit-scrollbar { display: none; }

.bx-ticker-track span {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bx-line);
    color: var(--bx-body);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .24s ease;
}

.bx-ticker-track span:hover {
    background: var(--bx-grad);
    border-color: transparent;
    color: #fff;
}

.bx-ticker-track span b { color: var(--bx-ink); font-weight: 800; }
.bx-ticker-track span:hover b { color: #fff; }

.bx-ticker-track span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bx-brand);
}

/* ==========================================================================
   STATS
   ========================================================================== */
.bx-stats-sec { padding: 0 0 clamp(50px, 7vw, 78px); background: #fff; }

.bx-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0;
    border-radius: var(--bx-r-lg);
    border: 1px solid var(--bx-line);
    background: #fff;
    box-shadow: var(--bx-sh);
    overflow: hidden;
}

.bx-stat {
    padding: 30px 20px;
    text-align: center;
    border-inline-end: 1px solid var(--bx-line);
    transition: background .26s ease;
}

.bx-stat:last-child { border-inline-end: 0; }
.bx-stat:hover { background: var(--bx-brand-04); }

.bx-stat-ico {
    width: 44px;
    height: 44px;
    margin: 0 auto 13px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--bx-brand-08);
    color: var(--bx-brand);
}

.bx-stat-ico svg { width: 21px; height: 21px; }

.bx-num {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--bx-ink);
}

.bx-num em { font-style: normal; color: var(--bx-brand); }

.bx-stat-cap {
    margin-top: 7px;
    color: var(--bx-muted);
    font-size: 13px;
    font-weight: 600;
}

.bx-stats-foot { margin-top: 14px; text-align: center; color: var(--bx-muted); font-size: 13px; font-weight: 600; }

/* ==========================================================================
   BENTO FEATURES
   ========================================================================== */
.bx-bento { padding: clamp(20px, 4vw, 34px) 0 clamp(56px, 8vw, 92px); background: #fff; }

.bx-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bx-tile {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--bx-r);
    border: 1px solid var(--bx-line);
    background: #fff;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease, border-color .3s ease;
}

.bx-tile:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--bx-sh);
}

.bx-tile--wide { grid-column: span 2; }

.bx-tile--fill { background: var(--bx-grad); border-color: transparent; }

.bx-tile--fill::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.bx-tile--fill:hover { box-shadow: 0 22px 50px rgba(var(--bx-brand-rgb), .34); }

.bx-tile-ico {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--bx-brand-08);
}

.bx-tile--fill .bx-tile-ico { background: rgba(255, 255, 255, .2); }

.bx-tile-ico img { width: 28px; height: 28px; object-fit: contain; }

.bx-tile h4 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--bx-ink);
}

.bx-tile p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--bx-body);
    font-size: 14.5px;
    line-height: 1.7;
}

.bx-tile--fill h4 { color: #fff; }
.bx-tile--fill p { color: rgba(255, 255, 255, .92); }

/* ==========================================================================
   SERVICES / MODULES
   ========================================================================== */
.bx-svc { padding: clamp(56px, 8vw, 96px) 0; background: var(--bx-soft); }

.bx-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    cursor: grab;
}

.bx-tabs::-webkit-scrollbar { display: none; }
.bx-tabs:active { cursor: grabbing; }

.bx-tab {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 19px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bx-line);
    color: var(--bx-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all .24s ease;
}

.bx-tab img { width: 21px; height: 21px; object-fit: contain; }
.bx-tab:hover { border-color: var(--bx-brand); color: var(--bx-brand); }

.bx-tab.is-on {
    background: var(--bx-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--bx-brand-rgb), .3);
}

.bx-panels { position: relative; }

.bx-panel {
    display: none;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh-sm);
}

.bx-panel.is-on { display: grid; animation: bx-in .48s ease both; }

@keyframes bx-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.bx-panel-media {
    border-radius: var(--bx-r);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--bx-brand-04);
}

.bx-panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bx-panel-body .venture-content-box { color: var(--bx-body); font-size: 15px; line-height: 1.85; }

.bx-panel-body .venture-content-box h1,
.bx-panel-body .venture-content-box h2,
.bx-panel-body .venture-content-box h3,
.bx-panel-body .venture-content-box h4 {
    font-family: var(--bx-head);
    font-weight: 800;
    color: var(--bx-ink);
    margin: 0 0 12px;
}

.bx-panel-body .venture-content-box p { margin: 0 0 10px; }
.bx-panel-body .venture-content-box ul { margin: 0 0 12px; padding-inline-start: 18px; }
.bx-panel-body .venture-content-box img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.bx-panel-body .venture-content-box a { color: var(--bx-brand); font-weight: 700; }

/* ==========================================================================
   TIMELINE (how it works)
   ========================================================================== */
.bx-steps-sec { padding: clamp(56px, 8vw, 96px) 0; background: #fff; }

.bx-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.bx-timeline::before {
    content: "";
    position: absolute;
    top: 26px;
    inset-inline: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--bx-brand-20) 0 8px, transparent 8px 16px);
}

.bx-step { position: relative; text-align: center; }

.bx-step-dot {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--bx-brand-20);
    color: var(--bx-brand);
    font-family: var(--bx-head);
    font-weight: 800;
    font-size: 16px;
    transition: all .28s ease;
}

.bx-step:hover .bx-step-dot {
    background: var(--bx-grad);
    border-color: transparent;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 12px 26px rgba(var(--bx-brand-rgb), .34);
}

.bx-step h4 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--bx-ink); }
.bx-step p { margin: 0; color: var(--bx-body); font-size: 14px; line-height: 1.72; }

/* ==========================================================================
   PARTNER CARDS
   ========================================================================== */
.bx-earn { padding: clamp(56px, 8vw, 96px) 0; background: var(--bx-soft); }

.bx-earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 20px;
}

.bx-earn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.bx-earn-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: var(--bx-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .42s ease;
}

.bx-earn-card:hover { transform: translateY(-8px); box-shadow: var(--bx-sh); }
.bx-earn-card:hover::before { transform: scaleX(1); }

.bx-earn-ico {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 27px;
    background: var(--bx-brand-08);
}

.bx-earn-ico img { width: 32px; height: 32px; object-fit: contain; }

.bx-earn-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.28;
    color: var(--bx-ink);
}

.bx-earn-card p {
    margin: 0 0 22px;
    flex: 1;
    color: var(--bx-body);
    font-size: 14.5px;
    line-height: 1.72;
}

.bx-earn-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.bx-store {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border-radius: var(--bx-r-sm);
    background: var(--bx-soft);
    border: 1px solid var(--bx-line);
    color: var(--bx-ink);
    text-decoration: none;
    transition: all .24s ease;
}

.bx-store:hover { border-color: var(--bx-brand); background: var(--bx-brand-04); }

.bx-store img { width: 19px; height: 19px; object-fit: contain; }
.bx-store span { display: flex; flex-direction: column; line-height: 1.18; }
.bx-store small { font-size: 10px; color: var(--bx-muted); font-weight: 500; }
.bx-store b { font-size: 12.5px; font-weight: 800; }

/* ==========================================================================
   ZONES
   ========================================================================== */
.bx-zones { padding: clamp(20px, 4vw, 34px) 0 clamp(56px, 8vw, 92px); background: var(--bx-soft); }

.bx-zone {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh);
    overflow: hidden;
}

.bx-zone::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--bx-brand);
    filter: blur(100px);
    opacity: .14;
    top: -150px;
    inset-inline-end: -90px;
    pointer-events: none;
}

.bx-zone-media {
    position: relative;
    z-index: 2;
    border-radius: var(--bx-r);
    overflow: hidden;
    box-shadow: var(--bx-sh-sm);
}

.bx-zone-media img { width: 100%; display: block; }

.bx-zone-body { position: relative; z-index: 2; }

.bx-zone-body h2 {
    margin: 0 0 12px;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.16;
    color: var(--bx-ink);
}

.bx-zone-body p { margin: 0 0 22px; color: var(--bx-body); font-size: 15px; line-height: 1.74; }

.bx-zone-tags { display: flex; flex-wrap: wrap; gap: 9px; }

.bx-zone-tags div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--bx-brand-04);
    border: 1px solid var(--bx-brand-12);
    color: var(--bx-ink);
    font-size: 13px;
    font-weight: 600;
}

.bx-zone-tags i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bx-brand);
}

/* ==========================================================================
   WHY + REFERRAL
   ========================================================================== */
.bx-why { padding: clamp(56px, 8vw, 96px) 0; background: #fff; }

.bx-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; }

.bx-why-card {
    padding: 30px 24px;
    border-radius: var(--bx-r);
    background: var(--bx-soft);
    border: 1px solid transparent;
    text-align: center;
    transition: all .28s ease;
}

.bx-why-card:hover {
    background: #fff;
    border-color: var(--bx-line);
    transform: translateY(-6px);
    box-shadow: var(--bx-sh);
}

.bx-why-ico {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: var(--bx-sh-sm);
}

.bx-why-ico img { width: 32px; height: 32px; object-fit: contain; }

.bx-why-card h4 { margin: 0 0 7px; font-size: 16.5px; font-weight: 800; color: var(--bx-ink); }
.bx-why-card p { margin: 0; color: var(--bx-body); font-size: 14px; line-height: 1.68; }

.bx-ref { padding: 0 0 clamp(56px, 8vw, 92px); background: #fff; }

.bx-ref-card {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 60px);
    border-radius: var(--bx-r-lg);
    text-align: center;
    background: var(--bx-grad);
    box-shadow: 0 24px 56px rgba(var(--bx-brand-rgb), .3);
}

.bx-ref-card::before,
.bx-ref-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .17);
}

.bx-ref-card::before { width: 280px; height: 280px; top: -130px; inset-inline-start: -80px; }
.bx-ref-card::after  { width: 220px; height: 220px; bottom: -120px; inset-inline-end: -60px; }

.bx-ref-card > * { position: relative; z-index: 2; }

.bx-ref-card h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.16;
    color: #fff;
}

.bx-ref-card p {
    margin: 0 auto 24px;
    max-width: 620px;
    color: rgba(255, 255, 255, .92);
    font-size: 15.5px;
    line-height: 1.7;
}

.bx-ref-card .bx-btn { background: #fff; color: var(--bx-brand); }
.bx-ref-card .bx-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .2); }

/* ==========================================================================
   APP DOWNLOAD
   ========================================================================== */
.bx-app { padding: clamp(20px, 4vw, 34px) 0 clamp(56px, 8vw, 92px); background: #fff; }

.bx-app-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(28px, 4.4vw, 54px);
    border-radius: var(--bx-r-lg);
    background: var(--bx-ink);
    overflow: hidden;
}

.bx-app-box::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: var(--bx-brand);
    filter: blur(130px);
    opacity: .34;
    bottom: -220px;
    inset-inline-start: 8%;
}

.bx-app-body { position: relative; z-index: 2; }

.bx-app-body h2 {
    margin: 0 0 14px;
    font-size: clamp(25px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.14;
    color: #fff;
}

.bx-app-body h2 em {
    font-style: normal;
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bx-app-body > p { margin: 0 0 22px; max-width: 500px; color: #A7ADBD; font-size: 15.5px; line-height: 1.74; }

.bx-app-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.bx-app-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #D6DAE6;
    font-size: 12.5px;
    font-weight: 600;
}

.bx-app-tags svg { width: 14px; height: 14px; color: var(--bx-brand); }

.bx-app-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.bx-app-cta .bx-btn--on-dark {
    background: #fff;
    color: var(--bx-ink);
}

.bx-app-cta .bx-btn--on-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }

.bx-app-media { position: relative; z-index: 2; display: flex; justify-content: center; }

.bx-app-phone {
    width: min(230px, 60vw);
    padding: 9px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    animation: bx-bob 8s ease-in-out infinite;
}

.bx-app-phone-in {
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #11141c;
}

.bx-app-phone-in img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.bx-quotes { padding: clamp(56px, 8vw, 96px) 0; background: var(--bx-soft); }

.bx-quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 20px; }

.bx-quote {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    transition: transform .28s ease, box-shadow .28s ease;
}

.bx-quote:hover { transform: translateY(-6px); box-shadow: var(--bx-sh); }

.bx-quote-mark {
    position: absolute;
    top: 10px;
    inset-inline-end: 22px;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: var(--bx-brand-12);
    pointer-events: none;
}

.bx-stars { color: var(--bx-brand); font-size: 15px; letter-spacing: 2px; margin-bottom: 13px; }

.bx-quote p {
    margin: 0 0 20px;
    color: var(--bx-body);
    font-size: 15px;
    line-height: 1.76;
}

.bx-who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--bx-line);
}

.bx-who-av {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bx-soft);
}

.bx-who-av img { width: 100%; height: 100%; object-fit: cover; }
.bx-who b { display: block; font-size: 14.5px; font-weight: 800; color: var(--bx-ink); }
.bx-who small { color: var(--bx-muted); font-size: 12.5px; }
.bx-who img.bx-company { height: 20px; width: auto; object-fit: contain; margin-top: 3px; }

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */
.bx-closing { padding: clamp(30px, 5vw, 50px) 0 clamp(56px, 8vw, 92px); background: #fff; }

.bx-closing-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(42px, 6.5vw, 80px) clamp(22px, 4vw, 56px);
    border-radius: var(--bx-r-lg);
    background: var(--bx-grad);
    box-shadow: 0 26px 60px rgba(var(--bx-brand-rgb), .32);
}

.bx-closing-card::before,
.bx-closing-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.bx-closing-card::before { width: 320px; height: 320px; top: -160px; inset-inline-start: -60px; }
.bx-closing-card::after  { width: 240px; height: 240px; bottom: -130px; inset-inline-end: -50px; }

.bx-closing-card > * { position: relative; z-index: 2; }

.bx-closing-card h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.bx-closing-card h2 em { font-style: normal; color: rgba(255, 255, 255, .78); }

.bx-closing-card p {
    margin: 0 auto 28px;
    max-width: 600px;
    color: rgba(255, 255, 255, .93);
    font-size: 16px;
    line-height: 1.72;
}

.bx-closing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.bx-closing-actions .bx-btn--light { background: #fff; color: var(--bx-brand); }
.bx-closing-actions .bx-btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .2); }

.bx-closing-actions .bx-btn--outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .6);
    color: #fff;
}

.bx-closing-actions .bx-btn--outline:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.bx-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .72s cubic-bezier(.2, .8, .3, 1), transform .72s cubic-bezier(.2, .8, .3, 1);
}

.bx-reveal.is-in { opacity: 1; transform: none; }

.bx-reveal[data-d="1"] { transition-delay: .08s; }
.bx-reveal[data-d="2"] { transition-delay: .16s; }
.bx-reveal[data-d="3"] { transition-delay: .24s; }
.bx-reveal[data-d="4"] { transition-delay: .32s; }
.bx-reveal[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    .bx-reveal { opacity: 1 !important; transform: none !important; }
    .bx-hero-frame, .bx-float, .bx-app-phone, .bx-hero-pill .bx-pulse { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
    .bx-bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bx-tile--wide { grid-column: span 2; }
}

@media (max-width: 991px) {
    .bx-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .bx-hero-sub { margin-inline: auto; }
    .bx-hero-cta, .bx-hero-notes { justify-content: center; }
    .bx-hero-art { order: -1; min-height: auto; }
    .bx-float--1 { inset-inline-start: 0; }
    .bx-float--2 { inset-inline-end: 0; }
    .bx-panel { grid-template-columns: 1fr; }
    .bx-zone { grid-template-columns: 1fr; }
    .bx-app-box { grid-template-columns: 1fr; text-align: center; }
    .bx-app-body > p { margin-inline: auto; }
    .bx-app-tags, .bx-app-cta { justify-content: center; }
    .bx-timeline { grid-template-columns: repeat(2, 1fr); }
    .bx-timeline::before { display: none; }
}

@media (max-width: 767px) {
    .bx-container { padding-inline: 16px; }
    .bx-bento-grid { grid-template-columns: 1fr; }
    .bx-tile--wide { grid-column: span 1; }
    .bx-timeline { grid-template-columns: 1fr; }
    .bx-stat { border-inline-end: 0; border-bottom: 1px solid var(--bx-line); }
    .bx-stat:last-child { border-bottom: 0; }
    .bx-btn { padding: 13px 22px; font-size: 13.5px; }
    .bx-float { font-size: 11px; padding: 9px 13px; }
    .bx-float i { width: 27px; height: 27px; font-size: 14px; }
    .bx-earn-cta .bx-btn, .bx-earn-cta .bx-store { flex: 1; justify-content: center; }
}

[dir="rtl"] .bx-ticker-track { direction: rtl; }

/* ==========================================================================
   AFFILIATE PAGE COMPONENTS  (af- prefix)
   Shares the bx- tokens above, so it follows the admin brand colour too.
   ========================================================================== */

/* ---------- Announcement bar ---------- */
.af-topbar {
    background: var(--bx-ink);
    color: #D8DCE6;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 16px;
}

.af-topbar a {
    color: var(--bx-brand);
    font-weight: 800;
    text-decoration: none;
    margin-inline-start: 6px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}

.af-topbar a:hover { border-bottom-color: currentColor; }

/* ---------- Hero ---------- */
.af-hero {
    position: relative;
    padding: clamp(48px, 7vw, 88px) 0 clamp(52px, 8vw, 96px);
    background: var(--bx-white);
    isolation: isolate;
}

.af-hero-wash {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(88% 60% at 80% 4%, var(--bx-brand-12) 0%, transparent 62%),
        radial-gradient(66% 52% at 4% 94%, var(--bx-brand-08) 0%, transparent 60%),
        linear-gradient(180deg, var(--bx-brand-04) 0%, transparent 70%);
}

.af-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
}

.af-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(31px, 4.8vw, 56px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: var(--bx-ink);
}

.af-hero h1 em {
    font-style: normal;
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.af-hero-sub {
    margin: 0 0 30px;
    max-width: 520px;
    color: var(--bx-body);
    font-size: 16.5px;
    line-height: 1.72;
}

.af-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.af-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    padding-top: 26px;
    border-top: 1px solid var(--bx-line);
}

.af-hero-stats div { display: flex; flex-direction: column; }

.af-hero-stats strong {
    font-family: var(--bx-head);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: var(--bx-brand);
}

.af-hero-stats span { margin-top: 5px; color: var(--bx-muted); font-size: 12.5px; font-weight: 600; }

/* Floating dashboard mock */
.af-panel { position: relative; min-height: 420px; display: flex; align-items: center; }

.af-panel-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--bx-brand);
    filter: blur(90px);
    opacity: .24;
}

.af-panel-inner { position: relative; width: 100%; display: grid; gap: 14px; }

.af-panel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--bx-r);
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh-sm);
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.af-panel-card:hover { transform: translateX(6px); box-shadow: var(--bx-sh); }

.af-panel-card:nth-child(2) { margin-inline-start: 34px; }
.af-panel-card:nth-child(3) { margin-inline-start: 12px; }

.af-panel-ico {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px;
    background: var(--bx-brand-08);
}

.af-panel-card b { display: block; font-size: 15px; font-weight: 800; color: var(--bx-ink); }
.af-panel-card small { color: var(--bx-muted); font-size: 12.5px; }
.af-panel-card .af-gain { color: var(--bx-brand); font-weight: 800; }

/* ---------- Commission tiers ---------- */
.af-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.af-tier {
    position: relative;
    padding: 32px 26px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.af-tier::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: var(--bx-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .42s ease;
}

.af-tier:hover { transform: translateY(-8px); box-shadow: var(--bx-sh); }
.af-tier:hover::before { transform: scaleX(1); }

.af-tier--hot { background: var(--bx-grad); border-color: transparent; }
.af-tier--hot::before { display: none; }
.af-tier--hot:hover { box-shadow: 0 22px 50px rgba(var(--bx-brand-rgb), .34); }

.af-tier-tag {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.af-tier-step {
    font-family: var(--bx-head);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--bx-brand);
    margin-bottom: 14px;
}

.af-tier--hot .af-tier-step { color: rgba(255, 255, 255, .8); }

.af-tier h3 {
    margin: 0 0 6px;
    font-family: var(--bx-head);
    font-size: 20px;
    font-weight: 900;
    color: var(--bx-ink);
}

.af-tier--hot h3 { color: #fff; }

.af-tier-rate {
    font-family: var(--bx-head);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--bx-brand);
    margin-bottom: 12px;
}

.af-tier--hot .af-tier-rate { color: #fff; }

.af-tier p { margin: 0; color: var(--bx-body); font-size: 14.5px; line-height: 1.7; }
.af-tier--hot p { color: rgba(255, 255, 255, .93); }

/* ---------- Earnings calculator ---------- */
.af-calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }

.af-calc-card {
    padding: 32px 28px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh-sm);
}

.af-calc-card label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--bx-ink);
    font-size: 13.5px;
    font-weight: 700;
}

.af-calc-card label:not(:first-child) { margin-top: 26px; }

.af-calc-card label strong { color: var(--bx-brand); font-family: var(--bx-head); font-weight: 900; }

.af-calc-card select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--bx-r-sm);
    border: 1px solid var(--bx-line);
    background: var(--bx-soft);
    color: var(--bx-ink);
    font-size: 14px;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
}

.af-calc-card input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    appearance: none;
    background: var(--bx-brand-12);
    cursor: pointer;
}

.af-calc-card input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bx-brand);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(var(--bx-brand-rgb), .45);
    cursor: pointer;
}

.af-calc-card input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bx-brand);
    border: 3px solid #fff;
    cursor: pointer;
}

.af-calc-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--bx-muted);
    font-size: 11.5px;
    font-weight: 600;
}

.af-calc-out {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 30px;
    border-radius: var(--bx-r-lg);
    background: var(--bx-ink);
    box-shadow: var(--bx-sh-lg);
}

.af-calc-out > span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.af-calc-amt {
    font-family: var(--bx-head);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    margin: 10px 0 12px;
    background: var(--bx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.af-calc-out p { margin: 0 0 20px; color: #A7ADBD; font-size: 14px; line-height: 1.6; }

.af-calc-pays { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.af-calc-pays li {
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #D6DAE6;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Influencer videos ---------- */
.af-vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.af-vid {
    display: flex;
    flex-direction: column;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.af-vid:hover { transform: translateY(-8px); box-shadow: var(--bx-sh); }

.af-vid-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--bx-soft);
    overflow: hidden;
}

.af-vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.af-vid:hover .af-vid-thumb img { transform: scale(1.05); }

.af-vid-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--bx-ink);
    box-shadow: var(--bx-sh);
    transition: transform .25s ease;
}

.af-vid:hover .af-vid-play { transform: scale(1.1); }
.af-vid-play svg { width: 18px; height: 18px; margin-left: 2px; }

.af-vid-featured {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--bx-grad);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.af-vid-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.af-vid-body h3 { margin: 0 0 4px; font-family: var(--bx-head); font-size: 17px; font-weight: 900; color: var(--bx-ink); }
.af-vid-role { margin: 0 0 12px; color: var(--bx-brand); font-size: 12.5px; font-weight: 700; }
.af-vid-body p { margin: 0 0 16px; flex: 1; color: var(--bx-body); font-size: 14px; line-height: 1.68; }

.af-vid-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.af-vid-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bx-soft);
    border: 1px solid var(--bx-line);
    color: var(--bx-muted);
    font-size: 11.5px;
    font-weight: 600;
}

/* ---------- FAQ ---------- */
.af-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }

.af-faq-item {
    border-radius: var(--bx-r);
    background: #fff;
    border: 1px solid var(--bx-line);
    overflow: hidden;
    transition: border-color .24s ease, box-shadow .24s ease;
}

.af-faq-item.is-open { border-color: var(--bx-brand); box-shadow: var(--bx-sh-sm); }

.af-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--bx-head);
    font-size: 16px;
    font-weight: 800;
    color: var(--bx-ink);
    user-select: none;
    transition: color .2s ease;
}

.af-faq-q:hover { color: var(--bx-brand); }

.af-faq-q .af-caret {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bx-brand-08);
    color: var(--bx-brand);
    font-size: 11px;
    transition: transform .28s ease, background .24s ease;
}

.af-faq-item.is-open .af-caret { transform: rotate(180deg); background: var(--bx-brand); color: #fff; }

.af-faq-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }

.af-faq-body p { margin: 0; padding: 0 24px 22px; color: var(--bx-body); font-size: 14.5px; line-height: 1.76; }

/* ---------- Affiliate responsive ---------- */
@media (max-width: 991px) {
    .af-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .af-hero-sub { margin-inline: auto; }
    .af-hero-cta, .af-hero-stats { justify-content: center; }
    .af-panel { order: -1; min-height: auto; }
    .af-panel-card:nth-child(2), .af-panel-card:nth-child(3) { margin-inline-start: 0; }
    .af-calc { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .af-panel-card:hover { transform: none; }
    .af-calc-card, .af-calc-out { padding: 26px 22px; }
    .af-faq-q { padding: 17px 18px; font-size: 15px; }
    .af-faq-body p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .af-faq-body { transition: none; }
}

/* ==========================================================================
   SELLING-PARTNER PAGE COMPONENTS  (vn- prefix)
   ========================================================================== */

/* ---------- Two-column card split ---------- */
.vn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }

.vn-card {
    padding: 34px 30px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    box-shadow: var(--bx-sh-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.vn-card:hover { transform: translateY(-5px); box-shadow: var(--bx-sh); }

.vn-card--fill { background: var(--bx-grad); border-color: transparent; }

.vn-card > h3 {
    margin: 0 0 12px;
    font-family: var(--bx-head);
    font-size: 21px;
    font-weight: 900;
    color: var(--bx-ink);
}

.vn-card--fill > h3 { color: #fff; }

.vn-card > p { margin: 0 0 24px; color: var(--bx-body); font-size: 15px; line-height: 1.74; }
.vn-card--fill > p { color: rgba(255, 255, 255, .93); }

/* ---------- Numbered checklist ---------- */
.vn-steps { display: grid; gap: 14px; }

.vn-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--bx-r);
    background: var(--bx-soft);
    border: 1px solid var(--bx-line);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.vn-step:hover { transform: translateX(5px); background: #fff; border-color: var(--bx-brand); }

.vn-step-num {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--bx-grad);
    color: #fff;
    font-family: var(--bx-head);
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(var(--bx-brand-rgb), .3);
}

.vn-step b { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 800; color: var(--bx-ink); }
.vn-step p { margin: 0; color: var(--bx-body); font-size: 14px; line-height: 1.68; }

/* ---------- Included checklist ---------- */
.vn-ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.vn-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 16px;
    border-radius: var(--bx-r-sm);
    background: var(--bx-soft);
    border: 1px solid var(--bx-line);
    color: var(--bx-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    transition: border-color .25s ease, background .25s ease;
}

.vn-ticks li:hover { background: #fff; border-color: var(--bx-brand); }

.vn-ticks li::before {
    content: "\2713";
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bx-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.vn-ticks--onDark li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #E7EAF2; }
.vn-ticks--onDark li::before { background: #fff; color: var(--bx-brand); }
.vn-ticks--onDark li:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }

/* ---------- Documents grid ---------- */
.vn-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.vn-doc {
    position: relative;
    padding: 26px 22px;
    border-radius: var(--bx-r);
    background: #fff;
    border: 1px solid var(--bx-line);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.vn-doc:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--bx-sh); }

.vn-doc-n {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--bx-brand-08);
    color: var(--bx-brand);
    font-family: var(--bx-head);
    font-size: 15px;
    font-weight: 900;
}

.vn-doc b { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 800; color: var(--bx-ink); }
.vn-doc p { margin: 0; color: var(--bx-muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Selling-partner responsive ---------- */
@media (max-width: 991px) {
    .vn-split { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .vn-card { padding: 26px 22px; }
    .vn-step:hover { transform: none; }
}

/* ==========================================================================
   SERVICE-PROVIDER PAGE COMPONENTS  (sp- prefix)
   ========================================================================== */

/* ---------- Pricing models ---------- */
.sp-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }

.sp-price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 28px 30px;
    border-radius: var(--bx-r-lg);
    background: #fff;
    border: 1px solid var(--bx-line);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.sp-price::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: var(--bx-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .42s ease;
}

.sp-price:hover { transform: translateY(-8px); box-shadow: var(--bx-sh); }
.sp-price:hover::before { transform: scaleX(1); }

/* The recommended plan is filled with the brand gradient so it reads as the
   obvious default choice without needing a "featured" label to be noticed. */
.sp-price--hot { background: var(--bx-grad); border-color: transparent; }
.sp-price--hot::before { display: none; }
.sp-price--hot:hover { box-shadow: 0 22px 50px rgba(var(--bx-brand-rgb), .34); }

.sp-price-tag {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sp-price-ico {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 25px;
    background: var(--bx-brand-08);
}

.sp-price--hot .sp-price-ico { background: rgba(255, 255, 255, .2); }

.sp-price h3 {
    margin: 0 0 10px;
    font-family: var(--bx-head);
    font-size: 20px;
    font-weight: 900;
    color: var(--bx-ink);
}

.sp-price--hot h3 { color: #fff; }

.sp-price > p { margin: 0 0 22px; flex: 1; color: var(--bx-body); font-size: 14.5px; line-height: 1.72; }
.sp-price--hot > p { color: rgba(255, 255, 255, .93); }

.sp-price-ticks { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }

.sp-price-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--bx-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.sp-price-ticks li::before {
    content: "\2713";
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bx-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.sp-price--hot .sp-price-ticks li { color: #fff; }
.sp-price--hot .sp-price-ticks li::before { background: #fff; color: var(--bx-brand); }

/* ---------- Service-provider responsive ---------- */
@media (max-width: 767px) {
    .sp-price { padding: 28px 22px; }
    .sp-price:hover { transform: none; }
}
