/* ===========================================================
   FX & Payments page
   =========================================================== */

/* ----- Header (matches grading page header pattern) ----- */
.fx-header-img {
    object-fit: cover;
    height: 280px;
    width: 100%;
}
.fx-header-img-mask {
    background: linear-gradient(90deg, #18182e 0%, rgba(24, 24, 46, 0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}
.fx-head-texts {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 80px;
}
.fx-head-texts h1 {
    font-family: "Hamlin";
    font-weight: 700;
    font-size: 60px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #ece8dc;
}
.fx-head-texts p {
    font-family: "Hamlin";
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    color: #ece8dc;
    opacity: 0.5;
}

/* ----- Intro section (cream bg) ----- */
.fx-intro-section {
    padding-top: 70px;
    padding-bottom: 70px;
}
.fx-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #1a162c;
}
.fx-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    color: #7a292a;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fx-trust-row .fx-trust-divider {
    width: 1px;
    height: 18px;
    background-color: #7a292a;
    opacity: 0.3;
}
.fx-trust-row .fx-trust-stars {
    color: #d6a85a;
    letter-spacing: 2px;
    font-size: 14px;
}

/* ----- Why Choose section (dark bg) ----- */
.fx-why-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.fx-section-title {
    font-family: "Hamlin";
    font-weight: 800;
    font-size: 36px;
    text-transform: uppercase;
    color: #ece8dc;
    text-align: center;
}
.fx-section-subtitle {
    text-align: center;
    color: #ece8dc;
    opacity: 0.7;
    font-size: 14px;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fx-feature-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 26px;
    height: 100%;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease;
}
.fx-feature-card:hover {
    background-color: rgba(122, 41, 42, 0.18);
    border-color: rgba(122, 41, 42, 0.6);
    transform: translateY(-3px);
}
.fx-feature-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(122, 41, 42, 0.5);
    color: #ece8dc;
    margin-bottom: 18px;
    font-size: 20px;
}
.fx-feature-title {
    font-family: "Hamlin";
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #ece8dc;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.fx-feature-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #ece8dc;
    opacity: 0.75;
    margin-bottom: 0;
}

/* ----- How to Get Started ----- */
.fx-steps-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.fx-steps-section .fx-section-title {
    color: #1a162c;
}
.fx-steps-section .fx-section-subtitle {
    color: #1a162c;
    opacity: 0.6;
}
.fx-step {
    text-align: center;
    padding: 0 10px;
}
.fx-step-num {
    display: inline-block;
    font-family: "Hamlin";
    font-weight: 700;
    font-size: 14px;
    color: #7a292a;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.fx-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(122, 41, 42, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7a292a;
    font-size: 30px;
    margin-bottom: 22px;
}
.fx-step-title {
    font-family: "Hamlin";
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #1a162c;
    margin-bottom: 12px;
}
.fx-step-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #1a162c;
    opacity: 0.7;
    margin-bottom: 0;
}

/* ----- Final CTA ----- */
.fx-cta-section {
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: center;
}
.fx-cta-section .fx-section-title {
    color: #ece8dc;
}
.fx-cta-text {
    color: #ece8dc;
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.8;
    max-width: 640px;
    margin: 18px auto 32px;
}
.fx-cta-footnote {
    color: #ece8dc;
    opacity: 0.55;
    font-size: 12px;
    margin-top: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----- Disclaimer (legal/regulatory note) ----- */
.fx-disclaimer-section {
    padding: 60px 0;
}

.fx-disclaimer-title {
    font-family: "Hamlin", sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    color: #1a162c;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.fx-disclaimer-text {
    font-family: "Hamlin", sans-serif;
    font-size: 12px;
    line-height: 1.8;
    color: #1a162c;
    opacity: 0.8;
    margin-bottom: 14px;
}

.fx-disclaimer-text a {
    color: #7b1f21;
    text-decoration: underline;
}

.fx-disclaimer-text a:hover {
    color: #5e1719;
}

.fx-disclaimer-contact {
    border-top: 1px solid rgba(26, 22, 44, 0.15);
    padding-top: 22px;
}

.fx-disclaimer-contact-title {
    font-family: "Hamlin", sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #1a162c;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.fx-disclaimer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.fx-disclaimer-contact-list li {
    font-family: "Hamlin", sans-serif;
    font-size: 13px;
    line-height: 1.9;
    color: #1a162c;
    opacity: 0.85;
}

.fx-disclaimer-contact-list li:first-child {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 1;
    margin-bottom: 4px;
}

.fx-disclaimer-contact-list li a {
    color: #1a162c;
    text-decoration: none;
    font-weight: 600;
    /* Larger tap target for the phone numbers on touch devices. */
    display: inline-block;
    padding: 4px 6px;
}

.fx-disclaimer-contact-list li a:hover {
    text-decoration: underline;
}

/* ----- Responsive ----- */
@media screen and (max-width: 991px) {
    .fx-section-title {
        font-size: 28px;
    }
}
@media screen and (max-width: 768px) {
    .fx-head-texts h1 {
        font-size: 35px;
    }
    .fx-head-texts p {
        font-size: 14px;
    }
    .fx-head-texts {
        padding-top: 60px;
    }
    .fx-section-title {
        font-size: 24px;
    }
    .fx-intro-section,
    .fx-why-section,
    .fx-steps-section,
    .fx-cta-section,
    .fx-disclaimer-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .fx-disclaimer-title {
        font-size: 15px;
    }
    .fx-disclaimer-text,
    .fx-disclaimer-contact-list li {
        font-size: 11px;
        line-height: 1.7;
    }
    .fx-trust-row {
        gap: 14px;
        font-size: 12px;
    }
    .fx-step {
        margin-bottom: 30px;
    }
}
