/* Custom Styles for D Company Clone */

:root {
    --primary-red: #e60012;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #000000;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.6;
}

p {
    color: var(--text-dark);
}

p.text-muted {
    color: var(--text-dark) !important;
}

@media (min-width: 1320px) {
    .container {
        max-width: 1480px;
    }
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgb(246 246 246) !important;
}

/* Utilities */
.text-dark {
    color: var(--text-dark) !important;
}

.text-danger {
    color: var(--primary-red) !important;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #c4000f;
    border-color: #c4000f;
}

.btn-warning.btn-register, .btn-warning.btn-get-started {
    background-color: #f7ff00 !important; /* Bright yellow from screenshot */
    border-color: #f7ff00 !important;
}

.btn-warning.btn-register:hover, .btn-warning.btn-get-started:hover {
    background-color: #e6ee00 !important;
    border-color: #e6ee00 !important;
}

/* Platform New Section Styles */
.platforms-new .image-display-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platforms-new .platform-tabs {
    margin-top: 1.5rem;
}

.platforms-new .platform-btn {
    border: 1px solid #dee2e6;
    background-color: transparent;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
}

.platforms-new .platform-btn.active {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.platforms-new .platform-btn:hover:not(.active) {
    background-color: #f8f9fa;
}

.platforms-new #platform-main-image {
    transition: opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

.highlight-text {
    background-color: #f7ff00;
    padding: 2px 8px;
    display: inline-block;
}

/* Our Numbers Section Styles */
.our-numbers .stat-item {
    transition: transform 0.3s ease;
}

.our-numbers .stat-item:hover {
    transform: translateX(10px);
}

.our-numbers .counter {
    display: inline-block;
}

@media (max-width: 767.98px) {
    .platforms-new {
        text-align: center;
    }

    .platforms-new .image-display-container {
        margin-top: 1.5rem;
    }

    .platforms-new .platform-tabs {
        margin-top: 0;
        margin-bottom: 1rem;
        order: -1;
    }

    .platforms-new .col-lg-7 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .platforms-new .platform-btn {
        min-width: 0;
        padding: 0.35rem 0.9rem;
        font-size: 0.9rem;
    }

    .our-numbers {
        text-align: center;
    }

    .our-numbers .col-lg-7 {
        display: flex;
        justify-content: center;
    }

    .our-numbers .our-numbers-card {
        width: 100%;
        max-width: 560px;
    }

    .our-numbers .stat-item {
        text-align: left;
    }
}

/* Trending News Section Styles */
.trending-news .news-card {
    transition: transform 0.3s ease;
}

.trending-news .news-card:hover {
    transform: translateY(-5px);
}

.trending-news .news-nav .btn {
    transition: all 0.3s ease;
}

.trending-news .news-nav .btn:hover {
    background-color: var(--text-dark);
    color: white;
}

.trending-news .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ced4da;
    opacity: 1;
}

.trending-news .swiper-pagination-bullet-active {
    background: var(--primary-red);
    width: 12px;
    border-radius: 4px;
}

/* ... existing styles ... */

.no-caret::after {
    display: none !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    letter-spacing: -1px;
}

@media (min-width: 992px) {
    .navbar {
        box-shadow: none !important;
        border-bottom: 0 !important;
        transition: border-color 0.2s ease;
    }

    .navbar.navbar-scrolled {
        border-bottom: 2px solid #e9ecef !important;
    }
}

@media (min-width: 992px) {
    .navbar.shadow,
    .navbar.shadow-sm,
    .navbar.shadow-lg,
    .navbar.sticky-top,
    .navbar.sticky-top.shadow-sm {
        box-shadow: none !important;
    }
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1.4rem !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #000000;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.navbar .nav-item:hover > .nav-link,
.navbar .nav-item.dropdown:hover > .nav-link,
.navbar .nav-item.dropdown > .nav-link.show {
    color: var(--primary-red) !important;
}

.navbar .nav-link:focus,
.navbar .nav-link:focus-visible,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle:focus-visible,
.navbar button:focus,
.navbar button:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.mega-toggle::after {
    display: none !important;
}

.mega-dropdown .mega-toggle.show,
.mega-dropdown:hover .mega-toggle {
    color: var(--primary-red) !important;
}

.mobile-nav-toggle .navbar-toggler-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.mobile-nav-offcanvas {
    width: 340px;
}

.mobile-nav-offcanvas .offcanvas-header {
    padding: 18px 18px 10px;
}

.mobile-nav-offcanvas .offcanvas-body {
    padding: 0 18px 96px;
}

.mobile-nav-offcanvas .mobile-nav-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 14px 18px 18px;
}

.mobile-lang-flag {
    width: 32px;
    height: 32px;
}

.mobile-lang-chevron {
    margin-left: 6px !important;
}

.mobile-nav-offcanvas .mobile-nav-accordion > .accordion-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
}

.mobile-nav-offcanvas .mobile-nav-accordion > .accordion-item > .accordion-header .accordion-button {
    background: transparent;
    border: 0;
    border-radius: 0 !important;
    font-weight: 800;
    color: var(--text-dark);
    padding: 14px 16px;
    box-shadow: none !important;
}

.mobile-nav-offcanvas .mobile-nav-accordion > .accordion-item > .accordion-header .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--text-dark);
}

.mobile-nav-offcanvas .accordion-button::after {
    transform: scale(0.9);
}

.mobile-nav-offcanvas .accordion-body {
    background: transparent;
}

.mobile-nav-offcanvas .mobile-nav-accordion > .accordion-item > .accordion-collapse > .accordion-body {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

.mobile-nav-offcanvas .mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.mobile-nav-offcanvas .mobile-nav-link:hover {
    background: #f8f9fa;
    color: var(--primary-red);
}

.mobile-nav-offcanvas .mobile-nav-subaccordion .accordion-button {
    font-weight: 700;
    background: transparent;
    border: 0;
    border-radius: 0 !important;
    padding: 10px 16px;
    box-shadow: none !important;
}

.mobile-nav-offcanvas .mobile-nav-subaccordion {
    padding-left: 14px;
}

.mobile-nav-offcanvas .mobile-nav-subaccordion .accordion-body {
    padding-left: 14px !important;
    padding-right: 0 !important;
}

.mobile-nav-offcanvas .mobile-nav-subaccordion .accordion-item {
    background: transparent;
    border: 0;
    margin-bottom: 10px;
}

.nav-simple-menu {
    min-width: 260px;
    border-radius: 14px;
    margin-top: 12px;
}

.nav-simple-menu .dropdown-item {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-simple-menu .dropdown-item:hover,
.nav-simple-menu .dropdown-item:focus {
    background: #f8f9fa;
    color: var(--primary-red);
    outline: 0;
    box-shadow: none;
}

.mega-menu {
    width: 760px;
    border-radius: 16px;
    margin-top: 12px;
}

.mega-left-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    position: relative;
    transition: background-color 0.2s ease;
}

.mega-left-item:hover {
    background-color: #f8f9fa;
}

.mega-left-item.active {
    background-color: #f8f9fa;
}

.mega-left-item.active::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent #f8f9fa;
}

.mega-left-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mega-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-dark);
    flex: 0 0 auto;
}

.mega-title {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.mega-desc {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.mega-panel {
    display: none;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
}

.mega-panel.active {
    display: block;
}

.mega-links a {
    display: block;
    padding: 10px 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
}

.mega-links a:hover {
    background: #f8f9fa;
    color: var(--primary-red);
}

@media (max-width: 991.98px) {
    .mega-menu {
        width: 100%;
        margin-top: 8px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    line-height: 1.1;
}
.mark{
    padding: 0 2px;
    padding-inline: 10px;
    padding-block: 4px;
    background-color: #efff04;
}


.hero-image-placeholder {
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-placeholder:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Asset Tabs */
.asset-classes .nav-pills .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    background-color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asset-classes .nav-pills .nav-link.active {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.asset-classes .nav-pills .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.asset-classes .table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.asset-classes .table td {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.asset-classes-container {
    background-color: white;
    border-radius: 1rem;
    padding-left: 7em;
    padding-right: 7em;
}
/* Features Section */
.features .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

/* Partner Section */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.partner-logo-box {
    backdrop-filter: blur(10px);
}

/* How to Start */
.step-number {
    box-shadow: 0 0.5rem 1rem rgba(230, 0, 18, 0.3);
}

/* Awards */
.award-item {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.award-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-red);
}

/* Footer Styles */
.footer-new {
    background-color: #f8f9fa;
    border-top: 4px solid var(--primary-red);
}

.footer-new .footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-new .footer-links > li.text-muted.small {
    display: block;
    width: 100%;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem !important;
    border-bottom: 1px solid #ced4da;
}

.footer-new .footer-links a:hover {
    color: var(--primary-red);
}

.disclaimer-section .nav-tabs .nav-link {
    color: var(--text-dark) !important;
}

.disclaimer-section .nav-tabs .nav-link.active {
    color: var(--text-dark) !important;
}

.disclaimer-section .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background-color: var(--primary-red);
}

.disclaimer-section .tab-content {
    color: var(--text-dark) !important;
}

.disclaimer-section .tab-content a {
    color: var(--text-dark) !important;
}

.disclaimer-section .tab-content a:hover {
    color: var(--primary-red) !important;
}
footer {
    font-size: 0.9rem;
}

footer hr {
    opacity: 0.1;
}

footer .bi {
    transition: color 0.3s ease;
}

footer a:hover .bi {
    color: white !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .display-3 {
        font-size: 3rem;
    }
}

.stock-swaps-table {
    width: 100%;
    margin-bottom: 0;
}

.stock-swaps-table thead th {
    border-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    white-space: nowrap;
}

.stock-swaps-table thead th:first-child {
    text-align: left;
    width: 40%;
}

.stock-swaps-table tbody td {
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 0.75rem;
    color: var(--text-dark);
}

.stock-swaps-table tbody td:not(:first-child) {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.stock-swaps-table .stock-symbol {
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.2px;
}

.stock-swaps-table .stock-desc {
    margin-top: 4px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.stock-swaps-pagination .page-link {
    border: 0;
    color: var(--text-dark);
    background: transparent;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

.stock-swaps-pagination .page-link:hover {
    background: #f1f3f5;
    color: var(--text-dark);
}

.stock-swaps-pagination .page-link:focus {
    box-shadow: none;
}

.stock-swaps-pagination .page-item.active .page-link {
    background: var(--primary-red);
    color: #ffffff;
}

.stock-swaps-pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    background: transparent;
}

.stock-hours-section .highlight-text {
    padding: 2px 10px;
}

.stock-hours-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.stock-hours-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.stock-hours-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 0, 18, 0.08);
    color: var(--primary-red);
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.stock-hours-title {
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.stock-hours-subtitle {
    margin-top: 3px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-hours-time-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f6f6;
    border: 1px solid rgba(0,0,0,0.06);
    font-weight: 800;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.stock-hours-notes {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0px 30px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
}

.stock-hours-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 6px;
    color: var(--text-dark);
}

.stock-hours-note i {
    color: var(--primary-red);
    margin-top: 2px;
}

.stock-hours-link {
    color: var(--primary-red);
    font-weight: 800;
    text-decoration: none;
}

.stock-hours-link:hover {
    color: #c4000f;
    text-decoration: underline;
}

.stock-example-title {
    font-size: 2.5rem;
    line-height: 1.15;
}

.stock-example-title-left {
    display: inline-block;
    padding: 3px 10px;
    background: #d6d6d6;
}

.stock-example-title-right {
    display: inline-block;
    padding: 3px 10px;
    background: #f7ff00;
}

.stock-example-image {
    max-height: 520px;
    object-fit: cover;
}

.stock-example-block {
    background: #f6f6f6;
    border-radius: 18px;
    padding: 18px 20px;
}

.stock-example-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stock-example-block-title i {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.stock-example-block-body {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.98rem;
}

.stock-example-formula {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 0.98rem;
}

.stock-example-formula-label {
    font-weight: 900;
}

.trade-dprime-title {
    font-size: 2.6rem;
    line-height: 1.15;
}

.trade-dprime-highlight {
    display: inline-block;
    padding: 3px 12px;
    background: #f7ff00;
}

.trade-dprime-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.trade-dprime-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    text-align: center;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trade-dprime-card-left {
    text-align: left;
}

.trade-dprime-card-title {
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.trade-dprime-card-desc {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.trade-dprime-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #f1f1f1;
    height: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trade-dprime-image {
    height: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 18px;
}

@media (max-width: 991.98px) {
    .trade-dprime-title {
        font-size: 2.1rem;
    }

    .trade-dprime-image-wrap {
        min-height: 360px;
    }
}

.faq-title {
    font-size: 2.6rem;
    line-height: 1.05;
    padding-left: 20px;
}

.faq-title .highlight-text {
    padding: 3px 10px;
}

.faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #f1f3f5;
}

.faq-accordion .accordion-button {
    padding: 20px 0;
    font-weight: 700;
    color: var(--text-dark);
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 0 0 18px 0;
    color: #7a7a7a;
    line-height: 1.8;
}

.faq-accordion .accordion-button::after {
    background-size: 0.9rem;
}

.mt4-platform-title {
    font-size: 2.6rem;
    line-height: 1.1;
}

.mt4-title-gray {
    display: inline-block;
    padding: 3px 10px;
    background: #d6d6d6;
}

.mt4-title-yellow {
    display: inline-block;
    padding: 3px 10px;
    background: #f7ff00;
}

.mt4-platform-tile {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.mt4-platform-img-top {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.mt4-platform-img-bottom {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.mt4-platform-tile-lg {
    height: 100%;
}

.mt4-platform-img-lg {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .mt4-platform-title {
        font-size: 2.1rem;
    }

    .mt4-platform-img-sm {
        height: 220px;
    }

    .mt4-platform-img-lg {
        min-height: 360px;
    }
}

.mt4-features-title {
    font-size: 1.8rem;
}

.mt4-feature-card {
    background: #f1f1f1;
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    min-height: 78px;
    height: 110px;
}

.mt4-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    flex: 0 0 auto;
    grid-row: 1 / span 2;
}

.mt4-feature-name {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    font-size: 1.05rem;
    grid-column: 2;
}

.mt4-feature-desc {
    margin-top: 2px;
    color: var(--text-dark);
    line-height: 1.35;
    font-size: 0.95rem;
    grid-column: 2;
}

.mt4-anywhere-wrap {
    background: #151515;
    border-radius: 22px;
    padding: 46px 40px 38px;
}

.mt4-anywhere-title {
    font-size: 2.4rem;
    line-height: 1.1;
}

.mt4-anywhere-title .highlight-text {
    padding: 4px 10px;
}

.mt4-anywhere-subtitle {
    max-width: 880px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

.mt4-anywhere-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.mt4-anywhere-card-top {
    padding: 22px 22px 10px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.mt4-anywhere-card-kicker {
    font-weight: 900;
    color: var(--text-dark);
}

.mt4-anywhere-card-title {
    font-weight: 900;
    color: var(--text-dark);
    margin-top: 2px;
}

.mt4-anywhere-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #1f4fff;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
}

.mt4-anywhere-link:hover {
    text-decoration: underline;
}

.mt4-anywhere-device-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    flex: 0 0 auto;
}

.mt4-anywhere-media {
    margin-top: auto;
    padding: 0;
    position: relative;
    height: 340px;
    overflow: hidden;
}

.mt4-anywhere-img {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%) scale(1.08);
    width: 120%;
    height: auto;
    max-width: none;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.mt4-anywhere-card-mobile .mt4-anywhere-media {
    height: 360px;
}

.mt4-anywhere-card-mobile .mt4-anywhere-img {
    left: auto;
    right: -18px;
    bottom: -22px;
    transform: scale(1.06);
    width: 118%;
}

.mt4-anywhere-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.mt4-anywhere-badge img {
    height: 36px;
    width: auto;
    display: block;
}

.mt4-webtrader-bar {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
}

.mt4-webtrader-title {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
}

.mt4-webtrader-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: #1f4fff;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
}

.mt4-webtrader-link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .mt4-anywhere-wrap {
        padding: 34px 18px 28px;
    }

    .mt4-anywhere-title {
        font-size: 2rem;
    }

    .mt4-webtrader-bar {
        margin-top: 4px;
    }

    .mt4-anywhere-card {
        min-height: 0;
    }

    .mt4-anywhere-media {
        height: 280px;
    }

    .mt4-anywhere-card-mobile .mt4-anywhere-media {
        height: 320px;
    }
}

.mt4-vs-title {
    font-size: 2.6rem;
    line-height: 1.1;
}

.mt4-vs-title .highlight-text {
    padding: 4px 10px;
}

.mt4-vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.mt4-vs-col {
    min-width: 0;
}

.mt4-vs-labels .mt4-vs-row {
    font-weight: 600;
    color: var(--text-dark);
}

.mt4-vs-head-spacer {
    height: 58px;
}

.mt4-vs-card {
    background: #f6f6f6;
    border-radius: 14px;
    overflow: hidden;
}

.mt4-vs-head {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--text-dark);
}

.mt4-vs-row {
    padding: 14px 16px;
    border-top: 1px solid #e9ecef;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

.mt4-vs-row-last {
    border-bottom: 1px solid #e9ecef;
}

@media (max-width: 991.98px) {
    .mt4-vs-title {
        font-size: 2.1rem;
    }

    .mt4-vs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mt4-vs-head-spacer {
        display: none;
    }

    .mt4-vs-labels {
        display: none;
    }
}

.mt4-why-title {
    font-size: 2.6rem;
    line-height: 1.1;
}

.mt4-why-title .highlight-text {
    padding: 4px 10px;
}

.mt4-why-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.mt4-why-card {
    background: #f1f1f1;
    border-radius: 16px;
    padding: 22px 20px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mt4-why-card-center {
    text-align: center;
}

.mt4-why-card-title {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
}

.mt4-why-card-desc {
    margin-top: 8px;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.98rem;
}

.mt4-why-image-wrap {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    min-height: 520px;
}

.mt4-why-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .mt4-why-title {
        font-size: 2.1rem;
    }

    .mt4-why-image-wrap {
        min-height: 360px;
    }
}

.tv-benefit-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 26px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.tv-benefit-card p {
    line-height: 1.7;
}

.tv-start-card {
    background: #f1f1f1;
    border-radius: 18px;
    padding: 46px 50px;
}

.tv-start-section .tv-start-card:not(.tv-start-card-image) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-start-card-image {
    padding: 0;
    overflow: hidden;
}

.tv-start-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.tv-start-title .highlight-text {
    padding: 4px 10px;
}

.tv-start-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 20px;
}

.tv-start-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tv-start-step-num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 3px;
}

.tv-start-step-title {
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
}

.tv-start-step-desc {
    margin-top: 2px;
    color: var(--text-dark);
    opacity: 0.85;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .tv-start-card {
        padding: 30px 22px;
    }

    .tv-start-image {
        min-height: 360px;
    }
}

.explore-platforms-wrap {
    background: #151515;
    border-radius: 22px;
    padding: 80px 50px;
}

.explore-platforms-title {
    font-size: 2.5rem;
    line-height: 1.5;
}

.explore-platforms-title .highlight-text {
    padding: 4px 10px;
}

.explore-platforms-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.explore-platforms-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.8em;
}

.explore-platforms-item i {
    font-size: 1.35rem;
    color: #ffffff;
    opacity: 0.95;
}

.explore-platforms-sep {
    width: 2px;
    height: 26px;
    background: var(--primary-red);
    opacity: 0.9;
}

@media (max-width: 991.98px) {
    .explore-platforms-wrap {
        padding: 40px 18px 34px;
    }

    .explore-platforms-title {
        font-size: 1.8rem;
    }

    .explore-platforms-sep {
        display: none;
    }
}
