/* MT4 Page Styles */

/* ========================================
   MT4 Hero Section
   ======================================== */
.mt4-hero {
    background-color: #000000;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.mt4-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.mt4-hero-left {
    flex: 1;
    max-width: 550px;
}

.mt4-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
}

.mt4-hero-title .highlight {
    color: var(--primary-green);
}

.mt4-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mt4-hero-subdesc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 30px;
}

.mt4-hero-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.mt4-hero-btn:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: #000000;
}

.mt4-hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mt4-chart-visual {
    max-width: 500px;
    width: 100%;
}

.mt4-chart-visual img {
    width: 100%;
    height: auto;
}

/* ========================================
   MT4 Features Introduction Section
   ======================================== */
.mt4-features-intro {
    background-color: #000000;
    padding: 60px 0 80px;
}

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

.features-intro-text {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

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

.feature-card-bg {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.feature-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ========================================
   MT4 Key Features List Section
   ======================================== */
.mt4-key-features {
    background-color: #ffffff;
    padding: 80px 0;
}

.key-features-header {
    margin-bottom: 40px;
}

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

.key-features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.key-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.key-feature-item:hover {
    padding-left: 10px;
    background-color: #f9f9f9;
}

.key-feature-item i {
    color: var(--primary-green);
    font-size: 18px;
    flex-shrink: 0;
}

.key-feature-item span {
    font-size: 15px;
    color: #333333;
}

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

.mt4-faq-section .section-header {
    margin-bottom: 40px;
}

.mt4-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-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

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

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    padding-left: 40px;
}

/* ========================================
   MT4 Download Section
   ======================================== */
.mt4-download-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #9acd32 100%);
    padding: 80px 0;
    text-align: center;
}

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

.download-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.download-header p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
}

.download-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.download-actions .btn-outline-dark {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
}

.download-actions .btn-outline-dark:hover {
    background-color: #000000;
    color: #ffffff;
}

/* ========================================
   Personal Computer Section
   ======================================== */
.mt4-pc-section {
    background-color: #ffffff;
    padding: 80px 0;
}

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

.pc-left {
    flex: 1;
}

.pc-left h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.pc-left p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
}

.pc-download-btns {
    display: flex;
    gap: 15px;
}

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

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

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

.pc-right {
    flex: 1;
}

.pc-mockup {
    max-width: 100%;
}

.pc-mockup img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Mobile Section
   ======================================== */
.mt4-mobile-section {
    background-color: #000000;
    padding: 80px 0;
}

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

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

.mobile-mockup {
    max-width: 280px;
    margin: 0 auto;
}

.mobile-mockup img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.mobile-right {
    flex: 1;
}

.mobile-right h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.mobile-right p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 400px;
}

.mobile-download-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mobile-download-btns .download-btn img {
    height: 45px;
}

/* ========================================
   Join CTA Section (Extended for MT4)
   ======================================== */
.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 MT4)
   ======================================== */
.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) {
    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mt4-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mt4-hero-left {
        max-width: 100%;
    }
    
    .mt4-hero-right {
        justify-content: center;
    }
    
    .mt4-hero-title {
        font-size: 42px;
    }
    
    .pc-content {
        flex-direction: column;
    }
    
    .pc-left {
        text-align: center;
    }
    
    .pc-download-btns {
        justify-content: center;
    }
    
    .mobile-content {
        flex-direction: column;
    }
    
    .mobile-left {
        flex: auto;
    }
    
    .mobile-right {
        text-align: center;
    }
    
    .mobile-right p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-download-btns {
        justify-content: 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) {
    .mt4-hero {
        padding: 120px 0 60px;
    }
    
    .mt4-hero-title {
        font-size: 36px;
    }
    
    .features-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        min-height: auto;
    }
    
    .key-features-header h2 {
        font-size: 28px;
    }
    
    .download-header h2 {
        font-size: 36px;
    }
    
    .pc-left h2,
    .mobile-right h2 {
        font-size: 32px;
    }
    
    .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;
    }
}

@media (max-width: 576px) {
    .mt4-hero-title {
        font-size: 28px;
    }
    
    .mt4-chart-visual {
        max-width: 300px;
    }
    
    .download-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pc-download-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-download-btns {
        flex-direction: column;
        align-items: center;
    }
}
