/*
    CSS ORGANIZATION FOLLOWS THE HTML DOCUMENT FLOW
    1. Shared foundation
    2. Header and language navigation
    3. Floating support widget
    4. Hero and Myfxbook portfolio
    5. Terms and risk modal
    6. Dashboard
    7. How It Works and core features
    8. Comparison table and algorithm specifications
    9. Environment setup and installation guide
    10. SET file vault
    11. Recommended brokers
    12. Testimonials and FAQ
    13. Support and corporate footer
    14. Responsive overrides

    Shared selectors stay at the top. Section-specific selectors are kept
    together with their section styles; responsive rules remain beside the
    component they modify.
*/

/* =========================================
    SHARED FOUNDATION
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 90px 0;
}

/* =========================================
    SHARED WHITE THEME COMPONENTS
========================================= */
.section-white-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), #525050d9), url('images/bg-faq.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #111111;
    padding: 90px 0;
}

.card-white {
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    color: #222222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-white h3 {
    color: #111111 !important;
}

.card-white p {
    color: #555555 !important;
}

.card-white:hover {
    border-color: #FFD400 !important;
    transform: translateY(-8px);
}

.section-badge-dark {
    display: inline-block;
    background: #111111;
    color: #FFD400;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.table-white {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #222222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.table-white th, .table-white td {
    padding: 18px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.table-white thead tr {
    background: #111111;
    color: #FFD400;
}

.table-white tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* =========================================
    HEADER & NAVIGATION
========================================= */
header {
    position: fixed;
    width: 100%;
    background: rgba(10, 10, 10, .95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    z-index: 999;
    border-bottom: 1px solid #222;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #ffe600;
    letter-spacing: 1px;
}

.menu a {
    margin-left: 25px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: .3s;
}

.menu a:hover {
    color: #ffe600;
}


/* =========================================
    SHARED TITLES & BADGES
========================================= */
.section-badge {
    display: inline-block;
    background: #FFD400;
    color: #000;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    color: #bfbfbf;
    max-width: 700px;
    margin: auto;
}

/* =========================================
    SHARED CARDS & TABLES
========================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #141414;
    padding: 35px;
    border-radius: 18px;
    transition: .3s;
    border: 1px solid #222;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #ffe600;
}

.card h3 {
    margin: 20px 0;
    color: #ffe600;
}

.table {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 18px;
    border: 1px solid #262626;
}

table tr:nth-child(even) {
    background: #141414;
}

/* =========================================
    LEGACY SELECTORS RETAINED FOR COMPATIBILITY
========================================= */
.testimonial-section {
    background: #0d0d0d;
    padding: 80px 0;
}

.testimonial-slider {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px; /* Ruang selamat supaya butang/kad tidak terkeluar di mobile */
}

.testimonial-card {
    display: none;
    background: #171717;
    border: 1px solid rgba(255, 212, 0, .15);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 212, 0, .4);
}

.testimonial-card.active {
    display: block;
    animation: fade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stars {
    color: #FFD400;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: #d8d8d8;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

.client {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #FFD400;
    flex-shrink: 0;
}

.client h4 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.client span {
    color: #FFD400;
    font-size: 13px;
    display: block;
}

/* Navigasi Butang Prev & Next */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: #FFD400;
    color: #000000;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 212, 0, .2);
    transition: all 0.3s ease;
    z-index: 10;
}

.prev:hover, .next:hover {
    background: #e6be00;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 212, 0, .4);
}

.prev {
    left: -15px;
}

.next {
    right: -15px;
}

/* Indikator Dots */
.dots {
    margin-top: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #444444;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #888888;
}

.dot.active {
    background: #FFD400;
    width: 24px; /* Efek meluas untuk dot aktif */
    border-radius: 12px;
}

/* =========================================
   PENYESUAIAN MOBILE (RESPONSIF)
========================================= */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 0;
    }

    .testimonial-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .testimonial-card p {
        font-size: 14px;
    }

    .stars {
        font-size: 20px;
    }

    .prev, .next {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .prev {
        left: 0px;
    }

    .next {
        right: 0px;
    }
}

/* =========================================
   10. INSTALLATION GUIDE
========================================= */
.guide-number {
    width: 70px;
    height: 70px;
    background: #FFD400;
    color: #000;
    font-size: 26px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}


/* =========================================
   12. SET FILE CENTER
========================================= */
.setfile-section {
    padding: 110px 0;
    background: #0b0b0b;
}

.setfile-wrapper {
    background: linear-gradient(180deg, #171717, #111);
    border: 1px solid rgba(255, 212, 0, .12);
    border-radius: 25px;
    padding: 55px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
}

.setfile-header {
    text-align: center;
    margin-bottom: 40px;
}

.setfile-header h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.setfile-header p {
    max-width: 700px;
    margin: auto;
    color: #AFAFAF;
}

.version-box {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    padding: 25px;
    background: #101010;
    border-radius: 18px;
    border: 1px solid rgba(255, 212, 0, .08);
}

.version-box h3 {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.version-box span {
    font-size: 18px;
    font-weight: 700;
    color: #FFD400;
}

.release {
    color: #34D399 !important;
}

.instrument-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.instrument-card {
    position: relative;
    background: #151515;
    border: 1px solid rgba(255, 212, 0, .08);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: .35s;
}

.instrument-card:hover {
    transform: translateY(-8px);
    border-color: #FFD400;
    box-shadow: 0 15px 40px rgba(255, 212, 0, .18);
}

.recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD400;
    color: #000;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.instrument-card h3 {
    font-size: 28px;
    color: #FFD400;
    margin-bottom: 8px;
}

.instrument-card p {
    color: white;
    margin-bottom: 10px;
}

.instrument-card small {
    display: block;
    color: #999;
    margin-bottom: 25px;
}

.instrument-card a {
    display: block;
    padding: 14px;
    background: #FFD400;
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: .3s;
}

.instrument-card a:hover {
    background: white;
}

/* =========================================
   13. CONTACT & FOOTER
========================================= */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-box {
    background: #141414;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
}

.contact-box h3 {
    margin-bottom: 15px;
    color: #ffe600;
}

.contact-box p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-img-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 10px;
}

.contact-link {
    color: #ffe600;
    font-weight: 500;
    transition: 0.3s;
    margin-left: 5px;
}

.contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer {
    padding: 35px;
    text-align: center;
    background: #050505;
    color: #888;
    border-top: 1px solid #1a1a1a;
}

/* =========================================
   14. CORNGRID FLOATING SUPPORT (OPTIMIZED)
========================================= */
.cg-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    font-family: inherit;
}

.cg-contact-button {
    position: relative;
    width: 64px;
    height: 64px;
    border: 2px solid #FFD400;
    border-radius: 50%;
    background: #111;
    color: #FFD400;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(255, 212, 0, .05), 0 10px 35px rgba(0, 0, 0, .5);
    transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}

.cg-contact-button:hover {
    transform: scale(1.08);
    background: #FFD400;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 212, 0, .35), 0 15px 40px rgba(0, 0, 0, .6);
}

/* Tetapan Semula Ikon Supaya Tepat Di Tengah & Bertukar Mulus */
.cg-open-icon,
.cg-close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cg-close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}

.cg-contact.open .cg-open-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}

.cg-contact.open .cg-close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Animasi Pulse */
.cg-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid #FFD400;
    animation: cgPulse 2s infinite;
    pointer-events: none;
}

/* Hentikan pulse apabila menu terbuka */
.cg-contact.open .cg-pulse {
    display: none;
}

@keyframes cgPulse {
    0% { transform: scale(.9); opacity: .8; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* Menu Pop-Up Support */
.cg-contact-menu {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 320px;
    padding: 15px;
    background: rgba(20, 20, 20, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 212, 0, .18);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 212, 0, .05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.cg-contact.open .cg-contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cg-contact-title {
    padding: 10px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 8px;
}

.cg-contact-title strong { display: block; color: #fff; font-size: 16px; }
.cg-contact-title span { display: block; color: #888; font-size: 12px; margin-top: 3px; }

.cg-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 4px 0;
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.cg-contact-item:hover {
    background: rgba(255, 212, 0, .08);
    transform: translateX(-3px);
}

.cg-contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #FFD400;
    color: #000;
    font-size: 18px;
}

.cg-contact-item div:nth-child(2) { flex: 1; }
.cg-contact-item strong { display: block; color: #fff; font-size: 13px; }
.cg-contact-item span { display: block; color: #888; font-size: 11px; margin-top: 2px; }

.cg-contact-item .arrow {
    color: #666;
    font-size: 11px;
    transition: color .2s ease, transform .2s ease;
}

.cg-contact-item:hover .arrow {
    color: #FFD400;
    transform: translateX(3px);
}

/* =========================================
   PENYESUAIAN MOBILE (RESPONSIF)
========================================= */
@media (max-width: 480px) {
    .cg-contact {
        right: 15px;
        bottom: 15px;
    }

    .cg-contact-button {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }

    .cg-contact-menu {
        width: calc(100vw - 30px);
        max-width: 300px;
        bottom: 68px;
    }
}

/* =========================================
   15. RESPONSIVE / MEDIA QUERIES
========================================= */
@media (max-width: 992px) {
    .instrument-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .version-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .cards,
    .contact,
    .dashboard-card,
    .installation-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 38px;
    }

    .dashboard-content {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .instrument-grid {
        grid-template-columns: 1fr;
    }

    .cg-contact {
        right: 15px;
        bottom: 15px;
    }

    .cg-contact-menu {
        width: calc(100vw - 30px);
        max-width: 330px;
    }

    .cg-contact-button {
        width: 58px;
        height: 58px;
    }
}

/* =========================================
   METRICS GRID (BIG FIRM LOOK)
========================================= */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.metric-box {
    padding: 20px;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
}

.metric-box h3 {
    color: #FFD400;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-box p {
    color: #888888;
    font-size: 13px;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   HEADER DENGAN EFFECT SCROLL DYNAMIC
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 9999;
    background: transparent; /* Asal: Telus */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease-in-out;
}

/* Keadaan Header apabila di-scroll ke bawah (Latar Belakang Hitam) */
header.header-scrolled {
    background: rgba(10, 10, 10, 0.95); /* Latar Belakang Hitam */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 12px 0; /* Menjadi lebih nipis dan kemas */
    border-bottom: 1px solid rgba(255, 212, 0, 0.2); /* Sempadan Kuning Aksen */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #FFD400; /* Warna Asal Putih */
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

/* Menukar warna teks Logo kepada Kuning bila di-scroll */
header.header-scrolled .logo-text {
    color: #FFD400;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    color: #E0E0E0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Garisan halus di bawah pautan apabila tetikus dihalakan (Hover Effect) */
.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD400;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #FFD400;
}

.menu a:hover::after {
    width: 100%;
}

/* Butang 'Get Full Version' tambahan pada Header (Gaya Big Firm) */
.nav-cta-btn {
    background: #FFD400;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    border-radius: 6px;
    transition: all 0.3s ease !important;
}

.nav-cta-btn::after {
    display: none !important; /* Buang garisan bawah untuk butang */
}

.nav-cta-btn:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 212, 0, 0.4);
}

/* =========================================
   MOBILE NAVIGATION MENU STYLES
========================================= */

/* Sembunyikan Butang Toggle secara lalai pada Desktop */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #FFD400;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    padding: 5px;
    transition: transform 0.3s ease;
}

.menu-toggle .icon-close {
    display: none;
}

/* Khas untuk Skrin Telefon Bimbit & Tablet (<= 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Paparkan butang hamburger */
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyikan menu di sebelah kanan skrin */
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 212, 0, 0.2);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 40px 20px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        z-index: 9999;
    }

    /* Apabila Menu Aktif (Buka) */
    .menu.active {
        right: 0; /* Buka menu masuk ke dalam skrin */
    }

    /* Penukaran Ikon Hambuger kepada Ikon 'X' */
    .menu-toggle.active .icon-open {
        display: none;
    }

    .menu-toggle.active .icon-close {
        display: block;
    }

    .menu a {
        margin-left: 0;
        font-size: 18px;
        font-weight: 600;
        width: 100%;
        text-align: center;
    }

    .nav-cta-btn {
        margin-top: 15px;
        width: 100%;
        padding: 12px 20px !important;
    }
}

/* =========================================
   SUPPORT & CLIENT RELATIONS (REDESIGNED)
========================================= */
.support-section {
    padding: 100px 0;
    background-image: linear-gradient(hsla(0, 0%, 1%, 0.8), rgba(0, 0, 0, 0.8)), url('images/bg-support.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    margin-top: 50px;
}

.support-card-title {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-card-title i {
    color: #FFD400;
}

/* Left Side Channels */
.channel-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.channel-item {
    display: flex;
    align-items: center;
    background: #141414;
    border: 1px solid #222222;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.channel-item:hover {
    background: #1a1a1a;
    border-color: #FFD400;
    transform: translateX(6px);
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 18px;
    flex-shrink: 0;
    background: rgba(255, 212, 0, 0.1);
    color: #FFD400;
}

.channel-info {
    flex-grow: 1;
}

.channel-info strong {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
}

.channel-info span {
    display: block;
    color: #888888;
    font-size: 13px;
    margin-top: 2px;
}

.channel-arrow {
    color: #444444;
    font-size: 14px;
    transition: all 0.3s ease;
}

.channel-item:hover .channel-arrow {
    color: #FFD400;
    transform: translateX(4px);
}

/* Right Side Privileges */
.privilege-card {
    background: #121212;
    border: 1px solid rgba(255, 212, 0, 0.2);
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.privilege-subtitle {
    color: #aaaaaa;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
}

.privilege-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.privilege-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.privilege-list li i {
    color: #FFD400;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.privilege-list strong {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
}

.privilege-list span {
    display: block;
    color: #888888;
    font-size: 13px;
    margin-top: 2px;
}

.support-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 212, 0, 0.05);
    border: 1px dashed rgba(255, 212, 0, 0.3);
    padding: 12px 18px;
    border-radius: 8px;
    color: #dddddd;
    font-size: 13px;
}

.support-hours i {
    color: #FFD400;
}

/* Footer Styling Upgrade */
footer {
    padding: 40px 0;
    text-align: center;
    background: #050505;
    color: #666666;
    border-top: 1px solid #1a1a1a;
    font-size: 14px;
}

.footer-tagline {
    display: block;
    margin-top: 8px;
    color: #FFD400;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Responsiveness */
@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CORPORATE FOOTER STYLES
========================================= */
.footer-section {
    background: #050505;
    border-top: 1px solid #1a1a1a;
    padding: 80px 0 30px;
    color: #888888;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    border-radius: 4px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #FFD400;
    letter-spacing: 1.5px;
}

.footer-about {
    line-height: 1.6;
    color: #aaaaaa;
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 212, 0, 0.05);
    border: 1px solid rgba(255, 212, 0, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #dddddd;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34D399;
}

.footer-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-contact a {
    color: #888888;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #FFD400;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-contact i {
    color: #FFD400;
    font-size: 14px;
    width: 16px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #1a1a1a;
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
}

.footer-copyright p {
    color: #aaaaaa;
    margin-bottom: 4px;
}

.footer-copyright strong {
    color: #FFFFFF;
}

.footer-motto {
    color: #FFD400;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal a {
    color: #777777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

.footer-legal .sep {
    color: #444444;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   SIMPLE WHITE THEME DEPLOYMENT GUIDE
========================================= */
.installation-section-white {
    background: radial-gradient(hsl(0, 0%, 56%), #ffffff);
    padding: 90px 0;
    color: #111111;
}

/* Grid 4 Langkah Horizontal */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
    margin-bottom: 45px;
}

.step-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: #ffffff;
    border-color: #FFD400;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.step-badge {
    width: 45px;
    height: 45px;
    background: #111111;
    color: #FFD400;
    font-weight: 800;
    font-size: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 18px;
    color: #111111;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.step-card p strong {
    color: #111111;
}

/* PDF Horizontal Banner */
.pdf-banner-white {
    background: #111111;
    color: #ffffff;
    border-radius: 16px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pdf-banner-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pdf-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 212, 0, 0.15);
    color: #FFD400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.pdf-banner-info h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 700;
}

.pdf-banner-info p {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
}

.btn-pdf-download {
    background: #FFD400;
    color: #111111;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-pdf-download:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 212, 0, 0.3);
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .pdf-banner-white {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .pdf-banner-info {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   ALGORITHMIC SPECIFICATIONS (GRID CARDS)
========================================= */
.algo-specs-section {
    padding: 90px 0;
    background-image:radial-gradient(lch(63.22% 0.01 296.81 / 0.8), hsla(0, 0%, 0%, 0.8)), url('images/bg-algo-specs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.algo-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.algo-card {
    background: #141414;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.algo-card:hover {
    border-color: #FFD400;
    background: #181818;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 212, 0, 0.08);
}

.algo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 212, 0, 0.1);
    color: #FFD400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.algo-info h3 {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 700;
}

.algo-info p {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   ENVIRONMENT SETUP (WHITE CLEAN GRID)
========================================= */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.setup-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.setup-card:hover {
    background: #ffffff;
    border-color: #FFD400;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.setup-label {
    font-size: 13px;
    color: #777777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.setup-val {
    font-size: 20px;
    color: #111111;
    font-weight: 800;
    margin-bottom: 15px;
}

.setup-val small {
    font-size: 13px;
    font-weight: 500;
    color: #555555;
}

.setup-tag {
    display: inline-block;
    align-self: flex-start;
    background: #111111;
    color: #FFD400;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .algo-specs-grid,
    .setup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .algo-specs-grid,
    .setup-grid {
        grid-template-columns: 1fr;
    }
    .algo-card {
        flex-direction: column;
    }
}

/* =========================================
   FAQ SECTION (WHITE THEME STYLES)
========================================= */
.faq-container-white {
    max-width: 850px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item-white {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-white:hover {
    border-color: #FFD400;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-item-white.active {
    background: #ffffff;
    border-color: #FFD400;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question-white {
    width: 100%;
    background: none;
    border: none;
    color: #111111;
    font-size: 17px;
    font-weight: 600;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question-white i {
    width: 32px;
    height: 32px;
    background: #111111;
    color: #FFD400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-answer-white {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-white p {
    padding: 0 28px 22px;
    color: #555555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

.faq-answer-white p strong {
    color: #111111;
}

.faq-item-white.active .faq-answer-white {
    max-height: 250px;
}

.faq-item-white.active .faq-question-white i {
    transform: rotate(45deg);
    background: #FFD400;
    color: #111111;
}

/* =========================================
   RECOMMENDED BROKERS (WHITE THEME STYLES)
========================================= */
.broker-grid-white {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.broker-card-white {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.broker-card-white:hover {
    background: #ffffff;
    border-color: #FFD400;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Featured Broker Highlight */
.featured-broker {
    background: #ffffff;
    border: 2px solid #111111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.broker-badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    color: #FFD400;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    letter-spacing: 1px;
}

.broker-logo-box {
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.broker-logo-box img {
    max-height: 55px;
    max-width: 160px;
    object-fit: contain;
}

.broker-card-white h3 {
    color: #111111;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.broker-features-white {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.broker-features-white li {
    color: #444444;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e5e5e5;
}

.broker-features-white li i {
    color: #FFD400;
    font-size: 15px;
    flex-shrink: 0;
}

.broker-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #111111;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.broker-btn-white:hover {
    background: #FFD400;
    color: #111111;
    box-shadow: 0 6px 20px rgba(255, 212, 0, 0.3);
}

.featured-btn {
    background: #FFD400;
    color: #111111;
}

.featured-btn:hover {
    background: #111111;
    color: #FFFFFF;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
    .broker-grid-white {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .broker-grid-white {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   QUANT SET FILE VAULT (DARK THEME STYLES)
========================================= */
.setfile-section-dark {
    padding: 90px 0;
    background-image: linear-gradient(#000000, #ffffffcc), url('images/bg-features.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.setfile-container-card {
    background: radial-gradient(circle at top right, #181818, #0d0d0d);
    border: 1px solid rgba(255, 212, 0, 0.15);
    border-radius: 24px;
    padding: 55px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.setfile-header-dark {
    text-align: center;
    margin-bottom: 40px;
}

.vault-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 212, 0, 0.1);
    color: #FFD400;
    border: 1px solid rgba(255, 212, 0, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.setfile-header-dark h2 {
    font-size: 38px;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 12px;
}

.setfile-header-dark p {
    color: #888888;
    font-size: 15px;
    font-weight: 400;
    max-width: 680px;
    margin: auto;
    line-height: 1.6;
}

/* Quant Meta Bar */
.quant-meta-bar {
    display: flex;
    justify-content: space-around;
    background: #121212;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.meta-label {
    font-size: 11px;
    color: #666666;
    font-weight: 700;
    letter-spacing: 1px;
}

.meta-val {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 700;
}

.status-live {
    color: #34D399;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34D399;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Vault Grid */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vault-card {
    background: #141414;
    border: 1px solid #222222;
    border-radius: 18px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vault-card:hover {
    background: #181818;
    border-color: #FFD400;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 212, 0, 0.12);
}

.featured-vault {
    border: 1px solid #FFD400;
    background: linear-gradient(180deg, #181818, #121212);
}

.featured-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD400;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.vault-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.vault-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFD400;
    flex-shrink: 0;
}

.vault-card-header h3 {
    font-size: 20px;
    color: #FFFFFF;
    font-weight: 800;
    margin: 0;
}

.asset-type {
    font-size: 12px;
    color: #777777;
    display: block;
    margin-top: 2px;
}

.vault-specs {
    border-top: 1px dashed #222222;
    border-bottom: 1px dashed #222222;
    padding: 14px 0;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888888;
}

.spec-row strong {
    color: #DDDDDD;
}

.risk-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.risk-high { background: rgba(255, 212, 0, 0.15); color: #FFD400; }
.risk-medium { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
.risk-low { background: rgba(52, 211, 153, 0.15); color: #34D399; }

.vault-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #222222;
    color: #FFFFFF;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vault-download-btn:hover {
    background: #FFD400;
    color: #111111;
    box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
}

.btn-gold {
    background: #FFD400;
    color: #111111;
}

.btn-gold:hover {
    background: #FFFFFF;
    color: #111111;
}

/* Responsif Mobile & Tablet */
@media (max-width: 1100px) {
    .vault-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .setfile-container-card {
        padding: 30px 20px;
    }
    .vault-grid {
        grid-template-columns: 1fr;
    }
    .quant-meta-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   CORE FEATURES (DARK QUANT THEME STYLES)
========================================= */
.features-section-dark {
    padding: 100px 0;
    background-image: linear-gradient(oklab(0% 0 0 / 0.8), lch(0% 0 0 / 0.8)), url('images/bg-features.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.features-quant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
}

.feature-quant-card {
    background: #121212;
    border: 1px solid #222222;
    border-radius: 20px;
    padding: 30px 25px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-quant-card:hover {
    background: #161616;
    border-color: #FFD400;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 212, 0, 0.12);
}

/* Featured / Middle Card Highlight */
.featured-feature {
    border: 1px solid rgba(255, 212, 0, 0.4);
    background: linear-gradient(180deg, #181818, #111111);
}

.feature-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFD400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.gold-glow {
    background: rgba(255, 212, 0, 0.12);
    border-color: rgba(255, 212, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.2);
}

.feature-tag {
    font-size: 11px;
    font-weight: 800;
    color: #666666;
    letter-spacing: 1px;
    background: #181818;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #222222;
}

.tag-gold {
    color: #111111;
    background: #FFD400;
    border-color: #FFD400;
}

.feature-media {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 14px;
}

.quant-blend-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.feature-quant-card:hover .quant-blend-img {
    transform: scale(1.05);
}

.feature-card-body h3 {
    font-size: 22px;
    color: #FFD400;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card-body p {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

.feature-card-footer {
    border-top: 1px dashed #222222;
    padding-top: 15px;
}

.foot-status {
    font-size: 12px;
    color: #777777;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.foot-status i {
    color: #FFD400;
}

.gold-status {
    color: #FFD400;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
    .features-quant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .features-quant-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TESTIMONIALS SECTION (DARK QUANT STYLES)
========================================= */
.testimonial-section-dark {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/bg-testimonial\ \(2\).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    position: relative;
    max-width: 850px;
    margin: 50px auto 0;
    overflow: hidden;
    padding: 20px 10px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-card-dark {
    min-width: 100%;
    background: radial-gradient(circle at top left, #181818, #111111);
    border: 1px solid rgba(255, 212, 0, 0.2);
    border-radius: 20px;
    padding: 40px 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    box-sizing: border-box;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 38px;
    color: rgba(255, 212, 0, 0.15);
}

.stars-gold {
    color: #FFD400;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 16px;
    color: #dddddd;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #222222;
    padding-top: 20px;
    position: relative;
}

.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFD400;
}

.client-info h4 {
    font-size: 17px;
    color: #ffffff;
    margin: 0;
    font-weight: 700;
}

.client-role {
    font-size: 13px;
    color: #888888;
    display: block;
    margin-top: 2px;
}

.verified-badge {
    margin-left: auto;
    background: rgba(52, 211, 153, 0.1);
    color: #34D399;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* Nav Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 212, 0, 0.3);
    color: #FFD400;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #FFD400;
    color: #111111;
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.4);
}

.prev-btn { left: -5px; }
.next-btn { right: -5px; }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot-item {
    width: 12px;
    height: 12px;
    background: #222222;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-item.active {
    background: #FFD400;
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 212, 0, 0.4);
}

/* Warning Section */
.warning-section-dark {
    padding: 30px 0 60px;
    background: #050505;
}

.warning-box-dark {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.warning-icon {
    font-size: 28px;
    color: #EF4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box-dark h3 {
    color: #EF4444;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.warning-box-dark p {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Responsif */
@media (max-width: 768px) {
    .testimonial-card-dark {
        padding: 30px 20px;
    }
    .verified-badge {
        display: none;
    }
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* =========================================
   LIVE DASHBOARD (DARK QUANT STYLES)
========================================= */
.dashboard-section-dark {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), #9b9b9bbf), url('images/background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dashboard-card-dark {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
    align-items: center;
    background: radial-gradient(circle at top left, #161616, #0d0d0d);
    border: 1px solid rgba(255, 212, 0, 0.15);
    border-radius: 24px;
    padding: 45px;
    margin-top: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Terminal Window Frame (Left Side) */
.dashboard-image-wrapper {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.dashboard-image-wrapper:hover {
    border-color: rgba(255, 212, 0, 0.4);
    transform: translateY(-5px);
}

.terminal-header-bar {
    background: #181818;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222222;
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
    font-size: 12px;
    color: #888888;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-image-box {
    position: relative;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dashboard-image-wrapper:hover .dashboard-img {
    transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(18, 18, 18, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 212, 0, 0.3);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.badge-top-left {
    top: 15px;
    left: 15px;
}

.badge-bottom-right {
    bottom: 15px;
    right: 15px;
    color: #FFD400;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34D399;
}

/* Content Area (Right Side) */
.content-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD400;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.dashboard-content-dark h3 {
    font-size: 28px;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 12px;
}

.dashboard-intro {
    font-size: 14px;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature Grid Items */
.dashboard-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1a1a1a;
    padding: 14px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 212, 0, 0.03);
    border-color: rgba(255, 212, 0, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 212, 0, 0.1);
    color: #FFD400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-item span {
    display: block;
    color: #888888;
    font-size: 12px;
    line-height: 1.5;
}

/* Action CTA */
.dashboard-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFD400;
    color: #111111;
    font-weight: 800;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-btn-gold:hover {
    background: #FFFFFF;
    color: #111111;
    box-shadow: 0 8px 25px rgba(255, 212, 0, 0.35);
    transform: translateY(-2px);
}

.demo-subtext {
    font-size: 12px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.demo-subtext i {
    color: #FFD400;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
    .dashboard-card-dark {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 35px;
    }
}

@media (max-width: 550px) {
    .dashboard-content-dark h3 {
        font-size: 22px;
    }
    .floating-badge {
        font-size: 10px;
        padding: 6px 10px;
    }
}

/* =========================================
   HERO & PORTFOLIO COMBINED VIDEO BACKGROUND
========================================= */
.hero-portfolio-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #050505; /* Warna simpanan sekiranya video gagal dimuat turun */
}

/* Video Background Layout */
.hero-portfolio-wrapper .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Lapisan Gelap (Dark Overlay) Supaya Teks & Kad Jelas Dibaca */
.hero-portfolio-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(5, 5, 5, 0.75) 0%, 
        rgba(7, 7, 7, 0.85) 50%, 
        rgba(5, 5, 5, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Ensure Sections Sit Above Video & Have Transparent Backgrounds */
.hero-section-dark {
    padding: 160px 0 60px;
    background: transparent !important; /* Ditukar ke lut sinar */
    position: relative;
    overflow: hidden;
    z-index: 2;
}

#portfolio {
    padding: 60px 0;
    background: transparent !important; /* Ditukar ke lut sinar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

/* =========================================
   HERO SECTION (DARK QUANT STYLES)
========================================= */

/* Ambient Glow Effects */
.hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
}

.glow-top-left {
    top: -100px;
    left: -100px;
    background: rgba(255, 212, 0, 0.08);
}

.glow-bottom-right {
    bottom: -100px;
    right: -100px;
    background: rgba(255, 212, 0, 0.05);
}

.hero-grid-dark {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Institutional Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 212, 0, 0.08);
    border: 1px solid rgba(255, 212, 0, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #FFD400;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34D399;
    animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

/* Main Heading Styles */
.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.highlight-gold {
    color: #FFD400;
    position: relative;
    display: inline-block;
    
    /* Cipta gradient emas dengan kilauan putih di tengah */
    background: linear-gradient(
        110deg, 
        #FFD400 0%, 
        #FFD400 40%, 
        #FFFFFF 50%, 
        #FFD400 60%, 
        #FFD400 100%
    );
    background-size: 200% 100%;
    
    /* Potong background supaya mengikut bentuk teks */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Jalankan animasi berkilat */
    animation: goldShine 4s infinite linear;
}

/* Animasi pergerakan cahaya putih lalu */
@keyframes goldShine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-description {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 600px;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero-yellow {
    background: #FFD400;
    color: #111111;
    box-shadow: 0 10px 25px rgba(255, 212, 0, 0.25);
}

.btn-hero-yellow:hover {
    background: #FFFFFF;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 212, 0, 0.4);
}

.btn-hero-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-outline:hover {
    border-color: #FFD400;
    color: #FFD400;
    background: rgba(255, 212, 0, 0.05);
    transform: translateY(-3px);
}

/* Trust Highlights */
.hero-trust-highlights {
    display: flex;
    align-items: center;
    gap: 25px;
    border-top: 1px dashed #222222;
    padding-top: 25px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888888;
    font-weight: 500;
}

.trust-item i {
    color: #FFD400;
    font-size: 14px;
}

/* Right Column Visuals */
.hero-image-wrapper {
    background: #111111;
    border: 1px solid rgba(255, 212, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    position: relative;
}

.hero-terminal-bar {
    background: #181818;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222222;
}

.terminal-tag {
    font-family: monospace;
    font-size: 11px;
    color: #777777;
    letter-spacing: 0.5px;
}

.hero-img-box {
    position: relative;
    padding: 20px;
    background: radial-gradient(circle at center, #181818, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.02);
}

/* Floating Badges */
.hero-float-card {
    position: absolute;
    background: rgba(18, 18, 18, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 212, 0, 0.25);
    padding: 10px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.float-top {
    top: 30px;
    left: -20px;
}

.float-bottom {
    bottom: 30px;
    right: -20px;
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.gold-bg { background: rgba(255, 212, 0, 0.15); color: #FFD400; }
.green-bg { background: rgba(52, 211, 153, 0.15); color: #34D399; }

.hero-float-card strong {
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.hero-float-card span {
    display: block;
    color: #888888;
    font-size: 11px;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
    .hero-section-dark {
        padding: 130px 0 70px;
    }
    .hero-grid-dark {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-float-card {
        display: none;
    }
}

@media (max-width: 550px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero {
        width: 100%;
    }
}

/* Bar Maklumat di Bawah Imej */
.hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
    background: #121212;
    border-top: 1px solid #222222;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-card strong {
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.hero-stat-card span {
    display: block;
    color: #888888;
    font-size: 11px;
}


/* =========================================
   MYFXBOOK VERIFIED PORTFOLIO SHOWCASE
========================================= */

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 20px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.verified-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
}

.portfolio-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.btn-myfxbook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFD400;
    color: #000000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.25);
    text-align: center;
}

.btn-myfxbook:hover {
    background: #d97706;
    box-shadow: 0 0 18px rgba(255, 212, 0, 0.4);
}

/* Penyesuaian Khas Mobile */
@media (max-width: 768px) {
    .btn-myfxbook {
        display: flex;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 9px 16px;
        font-size: 12px;
    }
}

.icon-external {
    font-size: 12px;
}

#portfolio .metric-box {
    background: rgba(15, 15, 15, 0.85); /* Latar belakang separa lut sinar supaya sepadan dengan video */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    position: relative;
}

.metric-label {
    color: #888888;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Penetapan Nilai Metric Value */
.metric-val-gain {
    color: #22c55e !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 10px 0 5px 0 !important;
}

.metric-val-monthly {
    color: #f59e0b !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 10px 0 5px 0 !important;
}

.metric-val-dd {
    color: #ef4444 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 10px 0 5px 0 !important;
}

.metric-val-profit {
    color: #3b82f6 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 10px 0 5px 0 !important;
}

.metric-sub {
    color: #666666;
    font-size: 13px;
    margin: 0;
}

.portfolio-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #888888;
    flex-wrap: wrap;
    gap: 10px;
}

.icon-check {
    color: #22c55e;
    margin-right: 5px;
}

/* Gaya Logo Myfxbook */
.myfxbook-logo {
    height: 14px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* =========================================
   TERMS & RISK POLICY MODAL STYLES (COMPACT & CENTERED)
========================================= */

/* Latar Belakang Gelap Modal (Overlay) */
.terms-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Paparkan Modal Apabila Diberi Kelas .active */
.terms-modal-overlay.active {
    display: flex;
}

/* Kotak Utama Modal (Saiz Diturunkan) */
.terms-modal-content {
    background: #0f0f0f;
    border: 1px solid #222222;
    border-radius: 10px;
    width: 100%;
    max-width: 500px; /* Dikecilkan dari 600px ke 500px */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    max-height: 75vh; /* Diturunkan dari 88vh ke 75vh */
    overflow: hidden;
}

/* Bahagian Atas Modal (Header) */
.terms-modal-header {
    padding: 12px 16px;
    background: #141414;
    border-bottom: 1px solid #222222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-modal-header h3 {
    color: #ffffff;
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ikon/Logo dalam Header */
.terms-modal-header h3 i,
.terms-modal-header .modal-logo {
    color: #ffd400;
}

/* Butang Tutup (X) */
.terms-modal-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.terms-modal-close:hover {
    color: #ffd400;
}

/* Kotak Teks Terma Boleh Scroll */
.terms-scroll-box {
    padding: 14px 16px;
    overflow-y: auto;
    color: #cccccc;
    font-size: 13px;
    line-height: 1.0;
    flex: 1;
    text-align: left;
    white-space: pre-line;
}

/* Notis Pengesahan Akhir Fail (Center Ditengah Tepat) */
.terms-scroll-end {
    margin-top: 15px;
    padding: 8px 12px;
    background: rgba(255, 212, 0, 0.1);
    border: 1px solid rgba(255, 212, 0, 0.2);
    color: #ffd400;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.terms-scroll-end i {
    font-size: 14px;
}

/* Bahagian Bawah Modal (Footer) */
.terms-modal-footer {
    padding: 14px 16px;
    background: #141414;
    border-top: 1px solid #222222;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Tetapan Checkbox & Label */
.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #888888;
    font-size: 12px;
    cursor: pointer;
    line-height: 1.4;
}

.terms-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #ffd400;
    cursor: pointer;
}

/* Kumpulan Butang Tindakan (Selari & Ditengah) */
.terms-btn-group {
    display: flex;
    justify-content: center; /* Ditengah secara mendatar */
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-terms-cancel {
    background: #222222;
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-align: center;
    flex: 1; /* Saiz butang seimbang */
    max-width: 180px;
}

.btn-terms-cancel:hover {
    background: #333333;
    color: #ffd400;
}

/* Butang Muat Turun (Download) */
.btn-terms-download {
    background: #ffd400;
    color: #000000;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    text-align: center;
    flex: 1; /* Saiz butang seimbang */
    max-width: 200px;
}

/* Keadaan Butang Terkunci (Disabled) */
.btn-terms-download.disabled {
    background: #333333;
    color: #666666;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

/* Keadaan Butang Aktif Apabila Disetujui */
.btn-terms-download:not(.disabled):hover {
    background: #e6be00;
    color: #000000;
    box-shadow: 0 0 12px rgba(255, 212, 0, 0.35);
}

/* Responsif Mobile (Skrin Bawah 480px) */
@media (max-width: 480px) {
    .terms-btn-group {
        justify-content: space-between;
    }

    .btn-terms-cancel,
    .btn-terms-download {
        max-width: 100%;
        padding: 9px 10px;
        font-size: 12px;
    }
}

/* =========================================
   LANGUAGE SWITCHER STYLES
========================================= */
.lang-switch-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 212, 0, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #FFFFFF;
}

.lang-btn.active {
    color: #FFD400;
    font-weight: 800;
}

.lang-divider {
    color: #444444;
    font-size: 11px;
}

/* Responsif untuk Mobile Navigation Menu */
@media (max-width: 768px) {
    .lang-switch-box {
        margin-left: 0;
        margin-top: 15px;
        padding: 6px 18px;
    }
    .lang-btn {
        font-size: 14px;
    }
}