/* WebTrader Page Styles */

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

/* Trading Banner - White Theme */
.trading_banner {
    position: relative;
    width: 100%;
}

.trading_banner.white_banner {
    background-color: #ffffff;
}

.trading_banner .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* Banner Top Section */
.trading_banner_top {
    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;
}

.trading_banner_top_title {
    flex: 1;
    z-index: 2;
}

.trading_banner_top_title h1 {
    font-size: 68px;
    font-weight: 600;
    /* color: #ffffff; */
    line-height: 1.2;
    margin: 0;
}

.trading_banner_top_title h1 span {
    color: var(--primary-green);
}

/* Banner Images */
.trading_banner_top_img_max {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.trading_banner_top_img_max img {
    width: 480px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.trading_banner_top_img_min {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.trading_banner_top_img_min img {
    width: 160px;
    height: auto;
    display: block;
    opacity: 0.7;
}

/* Banner Bottom Content */
.trading_banner_bot {
    padding: 50px 0 0;
}

.trading_banner_bot_text {
    max-width: 750px;
    margin-bottom: 30px;
}

.trading_banner_bot_text p {
    font-size: 15px;
    color: #555555;
    line-height: 1.9;
    margin: 0;
}

.trading_banner_button {
    display: flex;
    gap: 15px;
    margin-left: 60px;
}

.trading_black_button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trading_black_button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.trading_black_button i {
    font-size: 12px;
}

/* ========================================
   WebTrader Features Section
   ======================================== */
.webtrader-features {
    background-color: #ffffff;
    padding: 80px 0;
}

.webtrader-features .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.webtrader-features h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
}

.webtrader-features h2 span {
    color: #000000;
}

.webtrader-features-list {
    width: 100%;
}

.webtrader-features-list ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.webtrader-features-list li {
    background-color: #000000;
    border-radius: 16px;
    padding: 30px 25px;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.webtrader-features-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.webtrader-features-list .feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-green);
    display: block;
    margin-bottom: 15px;
}

.webtrader-features-list li p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

.webtrader-features-list-image {
    margin-top: auto;
    padding-top: 20px;
}

.webtrader-features-list-image img {
    width: 83px;
    height: auto;
}

/* ========================================
   Platform Experience Section
   ======================================== */
.webtrader-platform-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    overflow: hidden;
}

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

.platform-left {
    flex: 0 0 45%;
}

.platform-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.4;
}

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

.platform-right {
    flex: 1;
}

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

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

/* ========================================
   Trading Steps Section
   ======================================== */
.webtrader-steps-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.webtrader-steps-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.step-label {
    font-size: 12px;
    color: #999999;
}

.step-icon-wrapper {
    margin-bottom: 20px;
}

.step-icon-wrapper img {
    width: 70px;
    height: auto;
    margin: 0 auto;
}

.step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #000000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step-btn:hover {
    background-color: #333333;
}

.step-btn.step-btn-green {
    background-color: var(--primary-green);
    color: #000000;
}

.step-btn.step-btn-green:hover {
    background-color: var(--primary-green-dark);
}

.step-btn i {
    font-size: 10px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: #777777;
    margin: 0;
}

.steps-cta {
    text-align: center;
}

.btn-open-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.btn-open-account:hover {
    background-color: transparent;
    color: #000000;
}

.btn-open-account i {
    font-size: 12px;
}

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

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

.webtrader-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
   ======================================== */
.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
   ======================================== */
.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) {
    .trading_banner_top_img_max img {
        width: 240px;
    }
    
    .trading_banner_top_img_min img {
        width: 140px;
    }
    
    .join-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .trading_banner_top {
        padding: 50px 40px;
        padding-right: 200px;
    }
    
    .trading_banner_top_title h1 {
        font-size: 38px;
    }
    
    .trading_banner_top_img_max {
        right: 40px;
    }
    
    .trading_banner_top_img_max img {
        width: 200px;
    }
    
    .trading_banner_top_img_min {
        display: none;
    }
    
    .webtrader-features-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-content {
        flex-direction: column;
    }
    
    .platform-left {
        flex: auto;
        text-align: center;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .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) {
    .webtrader-hero {
        padding-top: 60px;
    }
    
    .trading_banner .inner {
        padding: 40px 20px 60px;
    }
    
    .trading_banner_top {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        min-height: auto;
    }
    
    .trading_banner_top_title h1 {
        font-size: 32px;
    }
    
    .trading_banner_top_img_max {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 30px;
    }
    
    .trading_banner_top_img_max img {
        width: 200px;
        margin: 0 auto;
    }
    
    .trading_banner_bot {
        padding-top: 40px;
        text-align: center;
    }
    
    .trading_banner_button {
        justify-content: center;
    }
    
    .webtrader-features h2 {
        font-size: 26px;
    }
    
    .webtrader-features-list ul {
        grid-template-columns: 1fr;
    }
    
    .webtrader-features-list li {
        min-height: auto;
    }
    
    .platform-left h2 {
        font-size: 28px;
    }
    
    .webtrader-steps-section .section-title {
        font-size: 26px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .webtrader-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;
    }
}

@media (max-width: 576px) {
    .trading_banner_top_title h1 {
        font-size: 26px;
    }
    
    .trading_banner_top_img_max img {
        width: 160px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .step-card {
        padding: 20px;
    }
    
    .step-number {
        font-size: 24px;
    }
}
