/* ============================================
   MT5 Download Page - mt5-down.css
   ============================================ */

/* ---- Banner ---- */
.mt5-banner {
    background: url('../images/mt5/mt5-banner-bg.webp') center/cover no-repeat #1a0000;
    padding: 238px 0 233px;
    overflow: hidden;
}

.mt5-banner-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 219px;
}

.mt5-banner-mockup {
    flex: 0 0 665px;
    max-width: 665px;
}

.mt5-banner-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.mt5-banner-text {
    color: #fff;
}

.mt5-banner-text h1 {
    font-size: 80px;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 42px;
    white-space: nowrap;
}

.mt5-banner-desc {
    font-size: #FFFFFF;
    font-weight: normal;
    line-height: 1.8;
    margin: 0 0 108px;
    color: #FFFFFF;
}

.mt5-banner-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    padding-bottom: 30px;
}

.mt5-banner-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    transition: opacity 0.3s, border-color 0.3s;
}

.mt5-banner-icons a:hover {
    opacity: 0.8;
    border-color: #fff;
}

.mt5-banner-icons img {
    width: 76px;
    height: 76px;
    display: block;
    filter: brightness(0) invert(1);
}

.mt5-banner-info {
    font-size: 16px;
    color: #B6B6B6;
    line-height: 1.8;
}

.mt5-banner-info a {
    color: #B6B6B6;
}

/* ---- Section Title ---- */
.mt5-section-title {
    padding: 160px 0 100px;
    text-align: center;
    background: #fff;
}

.mt5-section-heading {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 30px;
    color: #222222;
}

.mt5-section-desc {
    font-size: 24px;
    font-weight: 200;
    color: #666666;
    margin: 0;
}

/* ---- Feature Blocks ---- */
.mt5-feature {
    padding-bottom: 100px;
    background: #fff;
}

.mt5-feature-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mt5-feature .mt5-feature-text {
    flex: 0 0 42%;
    max-width: 400px;
    margin: 0 auto;
}

.mt5-feature .mt5-feature-img {
    flex: 0 0 50%;
    text-align: center;
}

.mt5-feature--reverse .mt5-feature-inner {
    flex-direction: row-reverse;
}

.mt5-feature-img img {
    max-width: 560px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mt5-feature-text h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 16px;
    line-height: 1.4;
    color: #24282A;
}

.mt5-feature-text p {
    font-size: 14px;
    color: #24282A;
    line-height: 1.8;
    margin: 0 0 0.6rem;
}

/* ---- Checklist ---- */
.mt5-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.mt5-checklist li {
    display: flex;
    align-items: center;
    width: 50%;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.2;
    color: #24282A;
}

.mt5-checklist li img {
    width: 16px;
    height: 16px;
    margin-right: 16px;
    background: #E32519;
    border-radius: 20px;
    flex-shrink: 0;
}

/* ---- Platform Coverage ---- */
.mt5-platforms {
    background: #F6F7F8;
    padding: 125px 0 130px;
    text-align: center;
}

.mt5-platforms-header {
    margin-bottom: 64px;
}

.mt5-platforms-header .mt5-section-heading {
    margin-bottom: 8px;
}

.mt5-platforms-header .mt5-section-desc {
    margin: 0;
}

.mt5-platform-group {
    margin-bottom: 24px;
}

.mt5-platform-group h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 7px;
    color: #24282A;
}

.mt5-platform-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
}

.mt5-platform-btns a {
    display: inline-block;
    transition: opacity 0.3s;
}

.mt5-platform-btns a:hover {
    opacity: 0.8;
}

.mt5-platform-btns img {
    height: 56px;
    display: block;
}

/* ============================================
   Responsive — Tablet (≤991px)
   ============================================ */

@media (max-width: 991px) {

    /* -- Banner -- */
    .mt5-banner {
        padding: 100px 0 80px;
    }

    .mt5-banner-inner {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .mt5-banner-mockup {
        flex: none;
        width: 80%;
        max-width: 500px;
    }

    .mt5-banner-text {
        text-align: center;
    }

    .mt5-banner-text h1 {
        font-size: 48px;
        white-space: normal;
    }

    .mt5-banner-desc {
        margin-bottom: 40px;
    }

    .mt5-banner-icons {
        justify-content: center;
        gap: 24px;
    }

    .mt5-banner-icons a {
        width: 60px;
        height: 60px;
    }

    .mt5-banner-icons img {
        width: 60px;
        height: 60px;
    }

    .mt5-banner-info {
        font-size: 13px;
    }

    /* -- Section Title -- */
    .mt5-section-title {
        padding: 80px 0 50px;
    }

    .mt5-section-heading {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .mt5-section-desc {
        font-size: 18px;
    }

    /* -- Feature Blocks -- */
    .mt5-feature {
        padding-bottom: 60px;
    }

    .mt5-feature-inner {
        flex-direction: column !important;
        gap: 40px;
    }

    .mt5-feature .mt5-feature-text,
    .mt5-feature .mt5-feature-img {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .mt5-feature-text {
        text-align: left;
    }

    .mt5-feature-img img {
        max-width: 420px;
    }

    /* -- Platform Coverage -- */
    .mt5-platforms {
        padding: 70px 0 80px;
    }

    .mt5-platforms-header {
        margin-bottom: 40px;
    }

    .mt5-platform-btns {
        gap: 20px;
    }

    .mt5-platform-btns img {
        height: 48px;
    }
}

/* ============================================
   Responsive — Mobile (≤576px)
   ============================================ */

@media (max-width: 576px) {

    /* -- Banner -- */
    .mt5-banner {
        padding: 60px 0 50px;
    }

    .mt5-banner-inner {
        gap: 32px;
    }

    .mt5-banner-mockup {
        width: 90%;
        max-width: 320px;
    }

    .mt5-banner-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .mt5-banner-desc {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .mt5-banner-icons {
        gap: 16px;
        padding-bottom: 20px;
    }

    .mt5-banner-icons a {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .mt5-banner-icons img {
        width: 50px;
        height: 50px;
    }

    .mt5-banner-info {
        font-size: 11px;
    }

    /* -- Section Title -- */
    .mt5-section-title {
        padding: 50px 0 32px;
    }

    .mt5-section-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .mt5-section-desc {
        font-size: 14px;
    }

    /* -- Feature Blocks -- */
    .mt5-feature {
        padding-bottom: 40px;
    }

    .mt5-feature-inner {
        gap: 24px;
    }

    .mt5-feature-text h3 {
        font-size: 20px;
    }

    .mt5-feature-text p {
        font-size: 13px;
    }

    .mt5-checklist li {
        width: 100%;
        font-size: 13px;
    }

    /* -- Platform Coverage -- */
    .mt5-platforms {
        padding: 50px 0 60px;
    }

    .mt5-platforms-header {
        margin-bottom: 28px;
    }

    .mt5-platform-btns {
        gap: 12px;
    }

    .mt5-platform-btns img {
        height: 40px;
    }

    .mt5-platform-group {
        margin-bottom: 20px;
    }

    .mt5-platform-group h6 {
        font-size: 13px;
    }
}