/* ==========================================
   GLOBAL VARIABLES & FONT (MULISH)
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mulish', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================
   TOP WARNING BAR
   ========================================== */
.top-warning-bar {
    background-color: #8d8e8f; 
    color: #ffffff;            
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
    padding: 10px 25px;
}

.top-warning-bar a {
    color: #93c5fd;            
    text-decoration: underline;
}

/* ==========================================
   NAVBAR LAYOUT
   ========================================== */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    background-color: var(--white);
    width: 100%;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    text-decoration: none;
    margin-right: 48px;
}
.logo-bold { font-weight: 900; } 
.logo-light { font-weight: 700; }

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links > li > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-links > li > a:hover {
    color: var(--primary-blue);
}

.nav-external-icon {
    font-size: 11px;
    margin-left: 6px;
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Sticky stack */
.top-warning-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
}

.navbar {
    position: sticky;
    top: var(--warning-bar-height, 42px);
    z-index: 190;
    width: 100%;
    background-color: #ffffff;
}

/* ==========================================
   FULL-WIDTH MEGA MENU 
   ========================================== */
.dropdown {
    position: static;
}

.dropdown.active > a {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.dropdown-menu {
    position: absolute;
    top: 100%;            
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    z-index: 99;
    padding: 40px 0 50px;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 
        clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.5s;
}

.dropdown.active .dropdown-menu {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    padding-left: 210px; 
}

.dropdown-menu .menu-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.dropdown-menu li {
    margin-bottom: 12px;
}
.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.dropdown-menu li a:hover {
    color: var(--primary-blue);
}

.dropdown-menu li a.text-gray {
    color: #94a3b8;
}

body.dropdown-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.35); 
    z-index: 80; 
    pointer-events: none; 
    animation: fadeOverlay 0.4s ease;
}

@keyframes fadeOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================
   BUTTONS & ICONS
   ========================================== */
.btn {
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-alt);
    border-color: #94a3b8;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

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

.icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 14px;
}

.icon-btn:hover {
    background-color: var(--bg-alt);
    border-color: #94a3b8;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 70px 0 90px;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.hero-left { max-width: 520px; width: 100%; }

.hero-left h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-main);
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 35px;
    font-weight: 500;
}

.hero-description strong { color: var(--text-main); font-weight: 800;}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
}

.hero-right { width: 100%; max-width: 520px; }

.widget-wrapper {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* ==========================================
   FEATURES / IPHONE SECTION
   ========================================== */
.features-section {
    padding: 80px 0 100px;
    background-color: var(--white);
    width: 100%;
}

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

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

.features-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.features-header p {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
}

.features-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 280px;
}

.left-col { padding-right: 20px; }
.right-col { padding-left: 20px; }

.feature-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.feature-item h3 .bullet { 
    font-size: 20px; 
    color: var(--primary-blue); 
}

.feature-item p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* iPhone Mockup */
.feature-center {
    position: relative;
    width: 340px;
    height: 600px;
    display: flex;
    justify-content: center;
}

.iphone-frame {
    width: 320px;
    height: 650px;
    background-color: var(--white);
    border: 10px solid #0f172a;
    border-radius: 45px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
}

.iphone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.dynamic-island {
    width: 90px;
    height: 25px;
    background-color: #000;
    border-radius: 20px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.status-icons { display: flex; gap: 5px; font-size: 10px; }
.iphone-screen { padding: 20px 15px; }

.app-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pair-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.real-badge {
    background-color: var(--bg-alt);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}

.real-badge .gray-text { color: var(--text-muted); }
.real-badge i { color: #94A3B8; }

.app-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.tab {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.tab.active {
    color: var(--primary-blue);
    font-weight: 800;
    position: relative;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

.app-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.main-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-main);
}

.text-gold { color: #FBBF24; font-size: 18px; }

.app-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.app-toolbar i, .app-toolbar .fx-icon {
    font-size: 14px;
    color: var(--text-main);
}

.app-chart-area { position: relative; height: 280px; }

.chart-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-left: 1px solid var(--border-color);
    margin-left: 50px;
    padding-left: 10px;
}

.grid-line {
    border-top: 1px dashed var(--border-color);
    position: relative;
    width: 100%;
}

.grid-line span {
    position: absolute;
    right: -10px;
    top: -8px;
    font-size: 9px;
    color: var(--text-muted);
}

.active-line { border-top: 1px dashed var(--primary-blue); }
.price-blue { background: var(--primary-blue); color: white !important; padding: 2px 4px; top: -14px !important; }
.price-red { background: #EF4444; color: white !important; padding: 2px 4px; top: 4px !important; }
.dummy-chart-img { position: absolute; top: 20px; left: 0; width: 100%; height: 80%; }

.floating-tag {
    position: absolute;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tp-tag { top: 220px; left: -20px; background-color: #ECFDF5; color: #10B981; }
.sl-tag { bottom: 240px; right: -25px; background-color: #FEF2F2; color: #EF4444; }

.floating-position-box {
    position: absolute;
    top: 130px;
    right: -60px;
    background: var(--white);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    width: 190px;
    z-index: 10;
}

.pos-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.pos-bottom { display: flex; align-items: center; gap: 8px; }

.pos-blue-circle {
    width: 16px;
    height: 16px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.pos-status { font-size: 12px; font-weight: 700; color: var(--text-main); }
.pos-value { font-size: 12px; font-weight: 800; color: #10B981; margin-left: auto; }

.fx-reserves-box {
    position: absolute;
    top: 60px;
    left: -10px;
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    gap: 8px;
    z-index: 5;
    border: 1px solid var(--border-color);
}

.us-flag { width: 20px; height: 20px; background: url('https://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg') center/cover; border-radius: 50%; }
.fx-title { font-size: 11px; font-weight: 700; color: var(--text-main); }
.fx-time { font-size: 9px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.red-dots { color: #EF4444; font-size: 12px; line-height: 0; }

/* ==========================================
   GLOBAL SECTION CONTAINER
   ========================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.text-center { text-align: center; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 42px; font-weight: 900; color: var(--text-main); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 15px; }
.section-header p { font-size: 18px; color: var(--text-muted); font-weight: 500; }
.font-medium { font-weight: 600; color: var(--text-main); }

/* ==========================================
   PRICING TABLE SECTION
   ========================================== */
.pricing-section {
    padding: 60px 0 100px;
    background-color: var(--white);
    width: 100%;
}

.pricing-table { display: flex; flex-direction: column; width: 100%; }
.pricing-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border-color); width: 100%; }
.pricing-row:last-child { border-bottom: none; }
.pricing-header { font-size: 13px; color: var(--text-muted); font-weight: 600; padding-bottom: 15px; }

.col-instrument { flex: 2; display: flex; align-items: center; }
.col-leverage { flex: 1.2; text-align: left; }
.col-spread { flex: 1.2; text-align: left; }
.col-swap { flex: 1.5; text-align: left; }
.col-category { flex: 1.5; text-align: right; }

.category-tag { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 600;}

.asset-info { display: flex; align-items: center; gap: 14px; }
.asset-icon { width: 36px; height: 36px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.asset-names { display: flex; flex-direction: column; }
.asset-symbol { font-weight: 800; font-size: 15px; color: var(--text-main); }
.asset-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.gold-bg { background-color: #E5A93C; }
.eur-bg  { background-color: #1A3B8B; }
.btc-bg  { background-color: #F7931A; }
.us30-bg { background-color: #C02B2B; }
.nvd-bg  { background-color: #76B900; }
.bg-dark-gray { background-color: #333333; }

/* ==========================================
   APP DOWNLOAD SECTION
   ========================================== */
.app-section { padding: 80px 0 120px; width: 100%; background-color: var(--bg-alt); }

.app-layout { display: flex; align-items: center; justify-content: space-between; gap: 60px; width: 100%; }
.app-left { flex: 1; display: flex; justify-content: center; }
.app-right { flex: 1; }

.massive-title { font-size: 46px; font-weight: 900; color: var(--text-main); line-height: 1.15; letter-spacing: -1px; margin-bottom: 40px; }
.qr-download-block { display: flex; align-items: center; gap: 25px; margin-bottom: 60px; }
.qr-code { background-color: var(--white); padding: 15px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.qr-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500;}
.qr-text h3 { font-size: 24px; font-weight: 800; color: var(--text-main); }

.platform-icons-row { display: flex; gap: 40px; }
.platform-icon { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-main); font-weight: 700; font-size: 14px; cursor: pointer; }
.platform-icon i { font-size: 32px; }
.platform-icon:hover { color: var(--primary-blue); }

.half-phone { height: 500px; border-bottom: none; border-radius: 45px 45px 0 0; overflow: hidden; }
.app-actions-row { display: flex; justify-content: space-between; }
.app-action-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--text-main); }
.app-action-icon i { width: 40px; height: 40px; background-color: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--primary-blue); }
.app-list-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.ali-left strong { color: var(--text-main); font-size: 14px; font-weight: 800;}
.ali-left span, .ali-right span { color: var(--text-muted); font-size: 11px; font-weight: 600;}
.ali-right { text-align: right; font-weight: 800; }
.text-green { color: #10B981; }
.tiny-tp { background-color: #eff6ff; padding: 2px 4px; border-radius: 4px; font-size: 9px; margin-left: 5px; color: var(--primary-blue); font-weight: 800;}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding-top: 80px;
    padding-bottom: 140px;
    width: 100%;
    background: #ffffff;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.stat-block {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #e2e8f0;
}

.stat-block h3 {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-block p {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================
   SAFETY & CUSTOM SHIELD SECTION
   ========================================== */
.safety-section { 
    padding: 60px 30vh 120px; 
    width: 100%; 
    background-color: #ffffff;
}
.safety-layout { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.safety-left { flex: 1; max-width: 520px; }
.safety-left h2 { font-size: 42px; font-weight: 900; color: var(--text-main); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 20px; }
.safety-left p { font-size: 18px; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; font-weight: 500;}
.safety-right { flex: 1; display: flex; justify-content: center; align-items: center;  padding-left: 20vh; }

.em-shield {
    width: 240px;
    height: 290px;
    background: linear-gradient(135deg, #93c5fd 0%, #1e3a8a 100%);
    border-radius: 12px 12px 130px 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(29, 78, 216, 0.25), inset 0 8px 20px rgba(255,255,255,0.4);
    position: relative;
    border: 6px solid var(--white);
}
.shield-inner { font-size: 72px; font-weight: 900; color: var(--white); letter-spacing: -4px; text-shadow: 0 4px 12px rgba(0,0,0,0.2); }

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section { padding: 60px 0 100px; width: 100%; background-color: var(--white); }
.faq-list { max-width: 900px; margin: 0 auto; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-summary { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; cursor: pointer; transition: opacity 0.2s; }
.faq-summary:hover { opacity: 0.8; }
.faq-question-wrap { display: flex; align-items: center; gap: 20px; }

.faq-num { background-color: var(--white); color: var(--primary-blue); font-size: 14px; font-weight: 800; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border-color); }
.faq-question { font-size: 17px; font-weight: 700; color: var(--text-main); }
.faq-icon { font-size: 16px; color: var(--primary-blue); transition: transform 0.3s ease; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding: 0 0 25px 65px; }
.faq-content p { font-size: 15px; color: var(--text-muted); line-height: 1.6; font-weight: 500;}

/* ==========================================
   FINAL CALL TO ACTION (CTA) SECTION
   ========================================== */
.cta-section { padding: 100px 0 140px; width: 100%; background-color: var(--white); }
.cta-title { font-size: 46px; font-weight: 900; color: var(--text-main); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 20px; }
.cta-subtitle { font-size: 18px; color: var(--text-muted); font-weight: 500; max-width: 700px; margin: 0 auto 40px; line-height: 1.5; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.bg-white-btn { background-color: var(--white); border: 1px solid var(--border-color); color: var(--text-main); }
.bg-white-btn:hover { border-color: var(--primary-blue); color: var(--primary-blue); background-color: transparent;}


/* =========================================================
   PROPER RESPONSIVE CSS
   ========================================================= */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
    .nav-container { padding: 0 20px; }
    .logo { margin-right: 24px; font-size: 22px; }
    .nav-links { gap: 4px; }
    .nav-links > li > a { font-size: 14px; padding: 6px 8px; }
    .dropdown-menu-inner { padding-left: 20px; }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-left { max-width: 100%; }
    .hero-left h1 { font-size: 42px; }
    .hero-buttons { justify-content: center; }
    .hero-right { max-width: 100%; }

    .features-content { flex-direction: column; gap: 50px; }
    .feature-col { width: 100%; max-width: 400px; text-align: center; }
    .left-col, .right-col { padding: 0; }
    .feature-center { order: -1; }
    .floating-position-box, .tp-tag, .sl-tag, .fx-reserves-box { display: none; }

    .app-layout { flex-direction: column; text-align: center; gap: 50px; }
    .massive-title { font-size: 36px; }
    .qr-download-block, .platform-icons-row { justify-content: center; }

    .stats-grid { max-width: 100%; padding: 40px 10px 0; }
    .stat-block h3 { font-size: 36px; }

    .safety-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .safety-left { max-width: 100%; }
    .safety-left h2 { font-size: 36px; }

    .section-header h2, .features-header h2, .cta-title { font-size: 36px; }
}

/* ---------- Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {
    .top-warning-bar { font-size: 10px; padding: 8px 12px; line-height: 1.4; }
    .nav-container { padding: 12px 16px; }
    .logo { margin-right: 0; font-size: 20px; }
    .nav-actions { margin-left: auto; gap: 8px; }
    .btn { padding: 8px 14px; font-size: 13px; }
    .icon-btn { width: 34px; height: 34px; }

    .hero { padding: 40px 0 50px; }
    .hero-left h1 { font-size: 32px; letter-spacing: -0.5px; }
    .hero-description { font-size: 15px; }
    .btn-large { padding: 12px 20px; font-size: 14px; width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; width: 100%; }

    .features-section { padding: 50px 0 60px; }
    .features-header h2 { font-size: 28px; }
    .features-header p { font-size: 15px; }
    .feature-item h3 { font-size: 18px; justify-content: center; }

    .feature-center { width: 280px; height: auto; }
    .iphone-frame { width: 260px; height: 520px; border-width: 8px; border-radius: 36px; }

    /* --- MOBILE PRICING TABLE FIX --- */
    .pricing-section { padding: 40px 0 60px; }
    .pricing-header { display: none !important; }

    .pricing-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        margin-bottom: 12px;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }

    .col-instrument { flex: 0 0 60%; margin-bottom: 12px; }
    .col-category { flex: 0 0 40%; text-align: right; margin-bottom: 12px; justify-content: flex-end; }
    .col-leverage, .col-spread, .col-swap {
        flex: 1 1 30%;
        font-size: 13px;
        background: var(--bg-alt);
        padding: 8px 4px;
        border-radius: 8px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2px;
        border: 1px solid var(--border-color);
    }
    .col-leverage::before { content: "Leverage"; font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
    .col-spread::before { content: "Avg. Spread"; font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
    .col-swap::before { content: "Swap-Free"; font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

    .app-section { padding: 50px 0 70px; }
    .massive-title { font-size: 28px; margin-bottom: 30px; }
    .qr-download-block { flex-direction: column; gap: 16px; }
    .platform-icons-row { gap: 24px; flex-wrap: wrap; }
    .half-phone { height: 420px; width: 260px; }

    .stats-section { padding: 50px 0 80px; }
    .stats-grid { flex-wrap: wrap; gap: 24px 0; padding-top: 30px; }
    .stat-block { flex: 1 1 50%; padding: 10px; }
    .stat-block:not(:last-child)::after { display: none; }
    .stat-block h3 { font-size: 36px; }
    .stat-block p { font-size: 13px; }

    .safety-section { padding: 40px 0 60px; }
    .safety-layout { gap: 30px; }
    .safety-left h2 { font-size: 28px; }
    .safety-left p { font-size: 15px; }
    .em-shield { width: 180px; height: 220px; }
    .shield-inner { font-size: 48px; }

    .faq-section { padding: 40px 0 60px; }
    .faq-summary { padding: 18px 0; }
    .faq-question { font-size: 15px; }
    .faq-content { padding-left: 0; padding-bottom: 18px; }

    .cta-section { padding: 50px 0 70px; }
    .cta-title { font-size: 28px; }
    .cta-subtitle { font-size: 15px; margin-bottom: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .cta-buttons .btn { width: 100%; max-width: 280px; }
}

/* ---------- Small Mobile (max-width: 480px) ---------- */
@media (max-width: 480px) {
    .hero-left h1 { font-size: 28px; }
    .features-header h2, .section-header h2, .safety-left h2, .cta-title, .massive-title { font-size: 24px; }
    .stat-block { flex: 1 1 100%; }
    .stat-block h3 { font-size: 32px; }
    .em-shield { width: 160px; height: 195px; }
    .shield-inner { font-size: 42px; }
    .iphone-frame, .half-phone { width: 240px; }
}


/* =========================================================
   MOBILE HAMBURGER & DROPDOWN (100% BULLETPROOF)
   ========================================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 120;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0f172a;
    border-radius: 2px;
    transition: 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-actions { display: none; }

/* ==========================================
   HAMBURGER + MOBILE NAV — FINAL FIX
   ========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 120;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0f172a;
    border-radius: 2px;
    transition: 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-actions { display: none; }

@media (max-width: 900px) {
    .hamburger { display: flex !important; }
    .nav-actions { display: none !important; }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: #fff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 70px 20px 30px !important;
        gap: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        box-shadow: -8px 0 30px rgba(0,0,0,0.15) !important;
        transition: right 0.35s ease !important;
        z-index: 110 !important;
        overflow-y: auto !important;
    }
    .nav-links.open { right: 0 !important; }

    .nav-links > li {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        position: relative !important;
    }

    .nav-links > li > a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 14px 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        background: transparent !important;
    }

    /* arrow */
    .nav-links > li.dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: #94a3b8;
        transition: transform 0.25s ease;
    }
    .nav-links > li.dropdown.active > a::after {
        transform: rotate(180deg);
        color: #2563eb;
    }

    /* Kill ALL desktop mega-menu styles on mobile */
    .nav-links .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background: #f1f5f9 !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 10px 14px !important;
        margin: 6px 0 10px !important;
        overflow: visible !important;
        z-index: auto !important;
        pointer-events: auto !important;
        /* JS will toggle display — start hidden */
        display: none !important;
    }

    .nav-links .dropdown-menu-inner {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .nav-links .dropdown-menu .menu-label { display: none !important; }

    .nav-links .dropdown-menu ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .nav-links .dropdown-menu li {
        margin: 0 !important;
        width: 100% !important;
    }
    .nav-links .dropdown-menu li a {
        display: block !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        padding: 10px 8px !important;
        border: none !important;
        border-radius: 6px !important;
    }
    .nav-links .dropdown-menu li a:hover {
        color: #2563eb !important;
        background: #e2e8f0 !important;
    }

    .mobile-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 20px !important;
        padding-top: 16px !important;
        border-top: 1px solid #e2e8f0 !important;
    }
    .mobile-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 100;
    }
    body.dropdown-open::before { display: none !important; }
}