/* ============================================================
   IFX 2026 — B2B partner page tweaks, layered on top of the
   original Wikiwallet template (template/original/css/...)
   ============================================================ */

/* ---- Hero eyebrow / event tag ---- */
.ifx-eyebrow {
    display: inline-block;
    font-family: 'Museo Sans W01_700', serif;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.ifx-eyebrow i { margin-right: 6px; }

.head.Forex .hero-cta .btn { margin-bottom: 10px; }
.head.Forex .hero-trust {
    font-family: 'Museo Sans W01_500', serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}
.head.Forex .hero-trust i { margin-right: 4px; }

.level-one-robot-gif.forex { max-width: 100%; margin-top: 10px; }

.section-lead {
    font-size: 19px;
    color: #5E6C72;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Subtle brand blobs for plain white sections (very faint)
   ============================================================ */
.ifx-problem,
.ifx-why,
.ifx-contact { position: relative; overflow: hidden; }
.ifx-problem > .container,
.ifx-why > .container,
.ifx-contact > .container { position: relative; z-index: 1; }

.sec-blob {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: .13;
}
.sec-blob.green { background-image: url("../template/original/gfx/green_circle.svg"); }
.sec-blob.plum  { background-image: url("../template/original/gfx/purple_circle.svg"); }
.sec-blob.blue  { background-image: url("../template/original/gfx/luxonpay_circle.svg"); }
.sec-blob.tr { width: 360px; height: 360px; top: -90px; right: -100px; }
.sec-blob.bl { width: 320px; height: 320px; bottom: -90px; left: -100px; }
/* contact blob: show the full circle, tucked in the bottom-right */
.ifx-contact .sec-blob.blue.tr {
    top: auto;
    bottom: 36px;
    right: 70px;
    width: 300px;
    height: 300px;
    opacity: .16;
}
@media (max-width: 768px) {
    .sec-blob { width: 220px !important; height: 220px !important; opacity: .1; }
}

/* ============================================================
   FUNDING FRICTION — problem / solution
   ============================================================ */
.ifx-problem { margin-top: 60px; padding-bottom: 40px; }
.ifx-tagline {
    display: inline-block;
    font-family: 'Museo Sans W01_700', serif;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-primary--blue);
    margin-bottom: 12px;
}
.ifx-problem h2 strong { display: inline; }

.prob-card {
    border-radius: 16px;
    padding: 30px 30px 26px;
    height: 100%;
    margin-bottom: 20px;
}
.prob-card h4 {
    font-family: 'Museo Sans W01_700', serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 18px;
}
.prob-card h4 i { margin-right: 8px; }
.prob-card ul { list-style: none; padding-left: 0; margin: 0; }
.prob-card li {
    font-size: 16px;
    line-height: 22px;
    padding: 9px 0;
    display: flex;
    align-items: flex-start;
}
.prob-card li i { margin-right: 10px; margin-top: 3px; width: 18px; flex-shrink: 0; }

.prob-card.bank {
    background: #fff;
    border: 1px solid #ECEFF1;
    color: #5E6C72;
    box-shadow: 0 6px 18px rgba(60, 66, 87, 0.05);
}
.prob-card.bank h4 { color: var(--color-primary--black); }
.prob-card.bank li i { color: #d1374b; }

.prob-card.wiki {
    background: var(--color-primary--blue);
    color: #fff;
    box-shadow: 0 15px 35px 0 rgba(32, 105, 241, 0.25);
}
.prob-card.wiki li i { color: #C8F169; }

/* ============================================================
   WHY WIKIWALLET — credibility band (blue, white cards)
   ============================================================ */
.ifx-cred {
    background: linear-gradient(135deg, #2069F1 0%, #1450c4 100%);
    padding: 80px 0 86px;
    color: #fff;
}
.ifx-cred .ifx-tagline.light { color: rgba(255, 255, 255, 0.75); }
.ifx-cred h2 { color: #fff; }
.ifx-cred h2 strong { display: inline; }
.ifx-cred .section-lead.light {
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
}
.cred-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px 26px;
    height: 100%;
    text-align: center;
    margin-bottom: 22px;
    box-shadow: 0 18px 40px rgba(15, 45, 110, 0.22);
    transition: transform .25s ease-out;
}
.cred-card:hover { transform: translateY(-6px); }
.cred-card i {
    font-size: 2rem;
    color: var(--color-primary--blue);
    margin-bottom: 14px;
    display: block;
}
.cred-card .cred-num {
    display: block;
    font-family: 'Museo Sans W01_700', serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--color-primary--black);
    line-height: 1.2;
    margin-bottom: 8px;
}
.cred-card p {
    font-size: 14px;
    line-height: 20px;
    color: #5E6C72;
    margin: 0;
}

/* ============================================================
   HOW IT WORKS — step cards
   ============================================================ */
.ifx-steps { margin-top: 60px; }
.step-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px 26px;
    height: 100%;
    box-shadow: 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform .25s ease-out;
    margin-bottom: 20px;
}
.step-card:hover { transform: translateY(-6px); }
.step-card .step-num {
    position: absolute;
    top: -16px;
    left: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary--blue);
    color: #fff;
    font-family: 'Museo Sans W01_700', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(32, 105, 241, 0.35);
}
.step-card .step-icon {
    font-size: 2.4rem;
    color: var(--color-primary--blue);
    margin-top: 10px;
    margin-bottom: 14px;
    display: block;
}
.step-card h4 {
    font-family: 'Museo Sans W01_500', serif;
    font-weight: 500;
    margin-bottom: 8px;
}
.step-card p { font-size: 16px; line-height: 22px; color: #5E6C72; }
.steps-footnote {
    font-size: 20px;
    color: var(--color-primary--black);
}

/* ============================================================
   WHY PARTNERS WIN
   ============================================================ */
.ifx-why { margin-top: 30px; padding-bottom: 90px; }
.ifx-why h2 { line-height: 42px; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-card {
    background: #fff;
    border: 1px solid #ECEFF1;
    border-radius: var(--border-radius);
    padding: 26px;
    box-shadow: 0 6px 18px rgba(60, 66, 87, 0.05);
}
.why-card i {
    font-size: 1.9rem;
    color: var(--color-primary--blue);
    margin-bottom: 12px;
    display: block;
}
.why-card h4 {
    font-family: 'Museo Sans W01_500', serif;
    font-weight: 500;
    margin-bottom: 6px;
}
.why-card p { font-size: 15px; line-height: 21px; color: #5E6C72; margin: 0; }

/* ============================================================
   BRAND COMPARISON CARDS
   ============================================================ */
.ifx-compare-section {
    background: var(--color-secondary--white);
    padding-top: 80px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}
.compare-title strong { display: inline; }
.brand-compare {
    margin-top: 70px;
    position: relative;
}
.brand-compare-head {
    text-align: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 3;
}
.brand-compare-head img { max-height: 40px; }

.cmp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* ---- decorative brand circles (from the wikiwallet brand pages) ---- */
.compare-circle {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    opacity: .5;
    pointer-events: none;
    transition: transform .6s ease-out;
    will-change: transform;
}
.compare-circle.left {
    width: 340px;
    height: 340px;
    left: calc(50% - 580px);
    top: -50px;
}
.compare-circle.right {
    width: 260px;
    height: 260px;
    right: calc(50% - 560px);
    bottom: -60px;
}
.brand-compare.skrill   .compare-circle.left  { background-image: url("../template/original/gfx/skrill_circle.svg"); }
.brand-compare.skrill   .compare-circle.right { background-image: url("../template/original/gfx/skrill_circle_small.svg"); }
.brand-compare.neteller .compare-circle.left  { background-image: url("../template/original/gfx/neteller_circle.svg"); }
.brand-compare.neteller .compare-circle.right { background-image: url("../template/original/gfx/neteller_circle_small.svg"); }
.brand-compare.luxonpay .compare-circle.left  { background-image: url("../template/original/gfx/luxonpay_circle.svg"); }
.brand-compare.luxonpay .compare-circle.right { background-image: url("../template/original/gfx/luxonpay_circle_small.svg"); }

/* hover: grow the circles, like the dedicated brand pages */
.brand-compare:hover .compare-circle.left  { transform: scale(1.14) rotate(-4deg); }
.brand-compare:hover .compare-circle.right { transform: scale(1.2); }

/* ---- peeking brand robot ---- */
.compare-robot {
    position: absolute;
    width: 230px;
    height: 230px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    transition: transform .4s ease-out;
}
.compare-robot.right { right: calc(50% - 620px); }
.compare-robot.left  { left: calc(50% - 620px); }
.brand-compare:hover .compare-robot.right { transform: translateY(-50%) translateX(8px) rotate(4deg); }
.brand-compare:hover .compare-robot.left  { transform: translateY(-50%) translateX(-8px) rotate(-4deg); }

/* hide robots where there isn't room beside the table */
@media (max-width: 1300px) {
    .compare-robot { display: none; }
}
.cmp-card {
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 5px 15px 0 rgba(0, 0, 0, 0.06);
    transition: transform .3s ease-out, box-shadow .3s ease-out;
}
.cmp-card.wiki:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px 0 rgba(60, 66, 87, 0.18), 0 8px 20px 0 rgba(0, 0, 0, 0.12);
}
.cmp-card.regular { background: #fff; color: var(--color-primary--black); }
.cmp-card.wiki { color: #fff; position: relative; overflow: hidden; }
.cmp-card.wiki.skrill { background: #5A205D; }
.cmp-card.wiki.neteller { background: #3F6438; }
.cmp-card.wiki.luxonpay { background: #3A52AE; }

.cmp-card-head { margin-bottom: 18px; }
.cmp-tag {
    font-family: 'Museo Sans W01_700', serif;
    font-size: 18px;
}
.cmp-card.regular .cmp-tag { color: #94A5B1; }

.cmp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 15px;
}
.cmp-card.regular .cmp-row { border-bottom: 1px solid #ECEFF1; }
.cmp-card.wiki .cmp-row { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.cmp-row:last-child { border-bottom: none !important; }
.cmp-row > span:first-child { opacity: .85; }
.cmp-card.regular .cmp-row > span:first-child { color: #5E6C72; opacity: 1; }
.cmp-row .val { font-family: 'Museo Sans W01_700', serif; text-align: right; }
.cmp-card.wiki .val.free { color: #C8F169; }

/* ============================================================
   B2B punch band overrides (uses section.middle.forex)
   ============================================================ */
section.middle.forex p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
section.middle.forex > .container { position: relative; z-index: 2; }

/* ---- reusable wavy divider into the section below ---- */
.wave-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}
.wave-bottom svg {
    display: block;
    width: 100%;
    height: 130px;
}
/* hero needs a positioning context + content above the wave */
.head.Forex {
    position: relative;
    background-color: #6C9F6E; /* solid green base so the wave cuts a clean edge full-width */
}
.head.Forex .intro { position: relative; z-index: 2; }
.head.Forex .wave-bottom svg { height: 120px; }
/* keep the why-section wave behind its cards/button */
.ifx-why .wave-bottom { z-index: 0; }

/* ============================================================
   B2C secondary band
   ============================================================ */
.ifx-b2c { margin-top: 60px; margin-bottom: 50px; position: relative; z-index: 50; }
.ifx-b2c .join--banner {
    border-radius: 20px;
    background: linear-gradient(135deg, #4A60C2 0%, #3A52AE 58%, #2E4196 100%);
    box-shadow: 0 24px 55px rgba(46, 65, 150, 0.32);
    overflow: hidden;
}
.ifx-b2c .join--banner-content h2 { margin-bottom: 0; }
.ifx-b2c .join--banner-content h2 span { color: #fff; }
.ifx-b2c .join--banner-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
}

/* ============================================================
   CONTACT / PARTNER CTA
   ============================================================ */
.ifx-contact { padding: 40px 0 90px; }
.ifx-contact h2 { line-height: 42px; }
.contact-robot {
    width: 240px;
    height: 240px;
    margin: 0 auto -6px;
    display: block;
    position: relative;
    z-index: 2;
}
.contact-list { list-style: none; padding-left: 0; }
.contact-list li {
    font-size: 19px;
    font-family: 'Museo Sans W01_500', serif;
    margin-bottom: 12px;
}
.contact-list li i { color: var(--color-primary--blue); margin-right: 10px; width: 24px; }
.btn.btn-lg { padding: .9rem 2.4rem; font-size: 1.1rem; }

.footer-disclaimer {
    color: #9ca6b8;
    font-size: 13px;
    margin-top: 40px;
}

/* ---- Form error message ---- */
.form-error {
    color: #d1374b;
    font-size: 14px;
    font-family: 'Museo Sans W01_500', serif;
    margin: 0;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
    .why-grid { grid-template-columns: 1fr; }
    .cmp-grid { grid-template-columns: 1fr; gap: 16px; }
    .ifx-contact { text-align: center; }
    .ifx-contact .contact-list { display: inline-block; text-align: left; }
}
@media (max-width: 768px) {
    .head.Forex .hero-cta .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
    }
    .ifx-b2c .join--banner-content p { text-align: center; }
    .ifx-why h2, .ifx-contact h2 { line-height: 34px; }
}
