
.ctrader-features{
    width:100%;
    max-width:786px;
    display:flex;
    flex-wrap:wrap;
    gap:8px; /* Figma gap */
}

/* 2 columns on desktop */
.ctrader-feature{
    flex:0 0 calc(50% - 4px);
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px;
    min-height:56px;
    background:rgba(10,28,44,0.85);
    border-left:2px solid rgba(37,147,249,1);
    box-sizing:border-box;
}

.ctrader-feature__icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ctrader-feature__icon img{
    width:24px;
    height:24px;
    display:block;
}

.ctrader-feature__text{
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-weight:400;
    font-size:16px;
    line-height:140%;
    letter-spacing:-0.02em;
    color:rgba(219,219,224,1);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Mobile */
@media (max-width:768px){
    .ctrader-feature{
        flex:0 0 100%;
        min-height:64px;
    }

    .ctrader-feature__text{
        white-space:normal;
    }
}

/* ===== VIEWPORT (STATIC) ===== */
.ctrader-mobile-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0F0F14;
}

/* ===== STATIC FADES (MOBILE ONLY) ===== */
@media (max-width: 768px) {
    .ctrader-mobile-viewport::before,
    .ctrader-mobile-viewport::after {
        content: "";
        position: absolute;
        top: 0;
        width: 40px;
        height: 100%;
        z-index: 5;
        pointer-events: none;
    }

    .ctrader-mobile-viewport::before {
        left: 0;
        background: linear-gradient(
            90deg,
            #0F0F14 0%,
            rgba(15,15,20,0) 100%
        );
    }

    .ctrader-mobile-viewport::after {
        right: 0;
        background: linear-gradient(
            270deg,
            #0F0F14 0%,
            rgba(15,15,20,0) 100%
        );
    }
}

/* ===== SCROLL AREA ===== */
.ctrader-scroll-area {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .ctrader-scroll-area {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== TABLE ===== */
.ctrader-table {
    display: flex;
    width: 1200px;
    margin: 0 auto;
}

/* ===== COLUMNS ===== */
.ctrader-col {
    width: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #fff;
}

.ctrader-col-head {
    padding: 40px 24px;
    text-align: center;
    border-bottom: 1px solid #34343D;
}

.ctrader-col-head img {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.ctrader-col-title {
    font-family: 'Inter';
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 400;
}

.ctrader-price {
    font-family: 'Space Grotesk';
    font-size: 28px;
    font-weight: 600;
}

.ctrader-sub {
    font-size: 12px;
    opacity: 0.5;
}

/* ===== ROWS ===== */
.ctrader-row {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 1px solid #34343D;
    font-family: 'Inter';
    font-size: 16px;
    text-align: center;
    font-weight: 400;
}

/* ===== CHECK ICON ===== */
.mt5_icon_check {
    font-size: 20px;
    color: #fff;
}

/* ===== HIGHLIGHT COLUMN ===== */
.ctrader-col--highlight {
    background: #2593F9;
}

.ctrader-col--highlight .ctrader-col-head,
.ctrader-row--highlight {
    border-bottom: 1px solid rgba(15,15,20,0.2);
}

/* ===== MOST POPULAR TAG ===== */
.ctrader-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #1F78CC;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    z-index: 2;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .ctrader-table {
        width: max-content;
        padding: 0 16px;
    }

    .ctrader-col {
        width: 230px;
    }

    .ctrader-col-head {
        padding: 32px 16px 16px;
    }

    .ctrader-col-head img {
        width: 32px;
        height: 32px;
        margin-top: 24px;
    }
    
    .ctrader-tag {
        padding: 0px 10px;
    }

    .ctrader-price {
        font-size: 24px;
    }

    .ctrader-row {
        height: 52px;
        font-size: 14px;
        gap: 8px;
    }

    .mt5_icon_check {
        font-size: 16px;
    }
}


/* GRID WRAPPER */
.xbtfx-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* WIDE CARD (ROW 1 LEFT) */
.xbtfx-card-wide {
    grid-column: span 2;
    display: flex;
    gap: 24px;
}

/* BASE CARD */
.xbtfx-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* TEXT */
.xbtfx-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 16px 0 12px;
}

.xbtfx-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

/* ICON */
.xbtfx-icon {
    width: 32px;
    height: 32px;
}

/* COLORS */
.xbtfx-card-cyan {
    background: #5EE7FF;
    color: #0F0F14;
    flex-direction: row;
    padding: 32px 0px 32px 32px;
}

.xbtfx-card-white {
    background: #FFFFFF;
    color: #0F0F14;
}

.xbtfx-card-dark {
    background: #0F0F14;
    color: #FFFFFF;
}

.xbtfx-card-gray {
    background: #202029;
    color: #FFFFFF;
}

.xbtfx-card-blue {
    background: #2593F9;
    color: #FFFFFF;
}

/* FORCE WHITE TITLES */
.xbtfx-card-dark h4,
.xbtfx-card-gray h4,
.xbtfx-card-blue h4 {
    color: #FFFFFF;
}

/* MEDIA */
.xbtfx-card-media img {
    max-width: 100%;
    height: auto;
}

/* BUTTONS */
.xbtfx-btn {
    margin-top: 24px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}

.xbtfx-btn-light {
    border-color: rgba(0,0,0,0.2);
    color: #0F0F14;
}

.xbtfx-btn-dark,
.xbtfx-btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: #FFFFFF;
}

/* MOBILE */
@media (max-width: 768px) {
    .xbtfx-features-grid {
        display: flex;
        flex-direction: column;
    }

    .xbtfx-card-wide {
        flex-direction: column;
    }
    
    .xbtfx-card-media {
        display: none;
    }
    
    .xbtfx-card-cyan {
        padding: 24px;
    }
    
    .xbtfx-card {
        padding: 24px;
    }
}

.ctrader_protraders_section {
    position: relative;
    overflow: hidden;
}

/* decorative bottom background */
.ctrader_protraders_section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 420px;

    background-image: url("https://cdncloudcart.com/66865/files/image/pro_trader_bottom_left_bacground.svg?1768731525");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: auto 100%;

    pointer-events: none;
    z-index: 0;
}

/* content stays above */
.ctrader_protraders_section > * {
    position: relative;
    z-index: 1;
}


/* what set section */
.ctrader_whatset .mt5_value {
    font-family: "Space Grotesk";
    font-weight: 600;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.02em;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);
}


.ctrader_whatset  .mt5_title {
    font-family: "Space Grotesk";
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.02em;
    vertical-align: middle;
    color: rgba(219, 219, 224, 1);
}

.ctrader_whatset .mt5_divider {
    height: 216px;
}


.ctrader_payment_methods .mt5_steps_3_subtitle {
    margin-bottom: 60px;
}

.ctrader_payment_methods.mt5_payment::before, 
.ctrader_payment_methods.mt5_payment::after {
    display: none;
}


.s200plus_section {
    background-image: url('https://cdncloudcart.com/66865/files/image/200plus_section_desktop_background.png?1768739434');
    background-size: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ctrader_footer p {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #DBDBE0;
    text-align: center;
    vertical-align: middle;

}

.ctrader_button_flex .mt5_blue_button {
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: #0F0F14;
    background: #fff;
    padding: 10px 16px;
}

.ctrader_button_flex .mt5_black_outline_button {
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: #fff;
    background: transparent;
    padding: 10px 24px;
    border: 1px solid rgba(52, 52, 61, 1);
}

.ctrader_footer.universal_page_footer::before,
.ctrader_footer.universal_page_footer::after {
    top: -600px;
}

.ctrader_button_flex.mt5_button_flex {
    margin-top: 40px;
}

@media (max-width: 767px) {

    .ctrader_footer .mt5_button_flex {
        width: 100%;
    }
}


@media (max-width: 767px) {
    .s200plus_section {
        background-image: url('https://cdncloudcart.com/66865/files/image/200plus_section_mobile_background.png?1768739435');
        background-size: 100%;
        height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .ctrader_footer.universal_page_footer::before,
    .ctrader_footer.universal_page_footer::after {
        top: -200px;
    }
}

@media (max-width: 767px) {
    .ctrader_whatset .mt5_divider {
        width: 100%;
        height: 1px;
        background: rgba(52, 52, 61, 1);
        margin: 0px;
    }
}

@media (max-width: 767px) {
    .ctrader_whatset .mt5_feature {
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
    }
}


