/* MT5 Page Styles */

/* ========================================
   MT5 Hero Section
   ======================================== */
.mt5-hero {
    background-color: #ffffff;
    padding-top: 70px;
    position: relative;
}

.mt5-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt5-container .inner {
    padding: 60px 0 80px;
}

/* Banner Box - Black container with image extending right */
.mt5banner-box {
    position: relative;
    background-color: #000000;
    border-radius: 16px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    overflow: visible;
}

.mt5banner-box .text-box {
    flex: 1;
    z-index: 2;
}

.mt5banner-box .text-box h1 {
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.mt5banner-box .text-box h1 span {
    color: var(--primary-green);
}

.mt5banner-box .text-box p {
    font-size: 18px;
    color: var(--primary-green);
    font-weight: 400;
}

.mt5banner-box .img-box {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.mt5banner-box .img-box .pc-mask {
    width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Banner Bottom Content */
.mt5banner-bottom {
    padding: 50px 0 0;
}

.mt5banner-bottom h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 25px;
}

.mt5-content {
    max-width: 800px;
}

.mt5-content .mt5-botext {
    font-size: 15px;
    color: #555555;
    line-height: 1.9;
    margin-bottom: 15px;
}

.mt5-content .mt5-download-links {
    font-size: 14px;
    color: #777777;
    line-height: 1.8;
}

.mt5-content .mt5-download-links a {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mt5-content .mt5-download-links a:hover {
    color: var(--primary-green-dark);
}

/* ========================================
   Next Generation Features Section
   ======================================== */
.mt5-features-section {
    background-color: #f5f5f5;
    padding: 70px 0;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.features-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.carousel-arrow:hover i {
    color: #000000;
}

.carousel-arrow i {
    font-size: 16px;
    color: #666666;
}

.features-carousel-wrapper {
    flex: 1;
    overflow: hidden;
}

.features-carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
}

.feature-card {
    flex: 0 0 calc(33.333% - 17px);
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #000000;
}

.carousel-dots .dot:hover {
    background-color: #888888;
}

/* ========================================
   Trade Anytime Anywhere Section
   ======================================== */
.mt5-trade-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    overflow: hidden;
}

.trade-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.trade-left {
    flex: 0 0 40%;
}

.trade-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.trade-left p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.trade-right {
    flex: 1;
}

.trade-image {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.trade-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Why Choose MT5 Section
   ======================================== */
.mt5-why-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.why-content {
    max-width: 900px;
}

.why-header {
    margin-bottom: 30px;
}

.why-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.why-logo {
    width: 40px;
    height: auto;
}

.why-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.9;
    margin-bottom: 30px;
}

.why-cta {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.why-note {
    font-size: 14px;
    color: #777777;
    margin-bottom: 40px;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.download-btn i {
    font-size: 18px;
}

.download-btn-img {
    display: inline-block;
    transition: all 0.3s ease;
}

.download-btn-img:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.download-btn-img img {
    height: 44px;
    width: auto;
}

/* ========================================
   Learn More CTA Banner
   ======================================== */
.mt5-cta-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0;
}

.cta-banner-content {
    text-align: center;
}

.cta-banner-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-banner-content a {
    color: var(--primary-green);
    text-decoration: underline;
}

.cta-banner-content a:hover {
    color: var(--primary-green-dark);
}

/* ========================================
   MT5 FAQ Section
   ======================================== */
.mt5-faq-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.mt5-faq-section .section-header {
    margin-bottom: 50px;
}

.mt5-faq-section .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #d0d0d0;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-num {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-right: 12px;
    min-width: 30px;
}

.faq-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
}

.faq-arrow {
    font-size: 14px;
    color: #999999;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fafafa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px 67px;
}

.faq-answer p {
    font-size: 14px;
    color: #666666;
    line-height: 1.9;
}

/* ========================================
   Join CTA Section (Extended for MT5)
   ======================================== */
.join-cta-section {
    background-color: #000000;
    padding: 80px 0 60px;
}

.join-cta-content {
    text-align: center;
}

.join-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.join-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.join-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.join-stat-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.join-stat-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.join-stat-column ul li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.join-stat-column ul li:hover {
    color: var(--primary-green);
}

.apps-column {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-downloads img {
    height: 40px;
    width: auto;
}

/* ========================================
   Footer Styles (Extended for MT5)
   ======================================== */
.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-brand-row .footer-logo img {
    height: 40px;
}

.footer-brand-row .footer-badges {
    display: flex;
    gap: 20px;
}

.footer-brand-row .footer-badges img {
    height: 40px;
    width: auto;
}

.footer-legal-content {
    padding-bottom: 30px;
}

.footer-legal-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.regulatory-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.regulatory-list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 5px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-chat-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    cursor: pointer;
}

.footer-chat-icon i {
    font-size: 18px;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .feature-card {
        flex: 0 0 calc(50% - 13px);
    }
    
    .join-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mt5banner-box .img-box {
        right: -10px;
    }
    
    .mt5banner-box .img-box .pc-mask {
        width: 240px;
    }
}

@media (max-width: 992px) {
    .mt5banner-box {
        padding: 50px 40px;
        padding-right: 180px;
    }
    
    .mt5banner-box .text-box h1 {
        font-size: 38px;
    }
    
    .mt5banner-box .img-box {
        right: 0;
    }
    
    .mt5banner-box .img-box .pc-mask {
        width: 200px;
    }
    
    .trade-content {
        flex-direction: column;
    }
    
    .trade-left {
        flex: auto;
        text-align: center;
    }
    
    .join-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apps-column {
        justify-content: flex-start;
    }
    
    .footer-brand-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mt5-hero {
        padding-top: 60px;
    }
    
    .mt5-container .inner {
        padding: 40px 0 60px;
    }
    
    .mt5banner-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px 120px;
        border-radius: 12px;
    }
    
    .mt5banner-box .text-box h1 {
        font-size: 32px;
    }
    
    .mt5banner-box .text-box p {
        font-size: 16px;
    }
    
    .mt5banner-box .img-box {
        position: absolute;
        right: 50%;
        bottom: -60px;
        top: auto;
        transform: translateX(50%);
    }
    
    .mt5banner-box .img-box .pc-mask {
        width: 180px;
    }
    
    .mt5banner-bottom {
        padding-top: 80px;
    }
    
    .mt5banner-bottom h2 {
        font-size: 26px;
    }
    
    .features-header h2 {
        font-size: 26px;
    }
    
    .feature-card {
        flex: 0 0 100%;
    }
    
    .carousel-arrow {
        display: none;
    }
    
    .features-carousel-track {
        flex-direction: column;
    }
    
    .trade-left h2 {
        font-size: 28px;
    }
    
    .why-header h2 {
        font-size: 24px;
    }
    
    .cta-banner-content h2 {
        font-size: 24px;
    }
    
    .mt5-faq-section .section-header h2 {
        font-size: 26px;
    }
    
    .join-cta-content h2 {
        font-size: 28px;
    }
    
    .join-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .join-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .mt5banner-box .text-box h1 {
        font-size: 26px;
    }
    
    .mt5banner-box .text-box p {
        font-size: 14px;
    }
    
    .mt5banner-box .img-box .pc-mask {
        width: 150px;
    }
    
    .mt5banner-bottom h2 {
        font-size: 22px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}
