/* Forex Page V2 — page-specific layers on Homepage V2 */

.fx-page{min-width:0;}

/* ── Sections (replaces former inline styles) ── */
.fx-band{
  background:rgba(13,20,36,0.5);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.fx-hero{
  position:relative;overflow:hidden;
  padding:90px 0;
}
.fx-movers{position:relative;overflow:hidden;}
.fx-sessions{position:relative;overflow:hidden;}
.fx-ai{padding-top:0;}
.fx-about{padding:48px 0;}
.fx-advantage-sec{padding-top:8px;padding-bottom:8px;}
.fx-sec-narrow{max-width:640px;}
.fx-faq-wrap{max-width:820px;}
.fx-tab-count{opacity:.6;}
.fx-guide-ctas{
  justify-content:center;
  margin-top:36px;
  margin-bottom:0;
}
.fx-ai-teaser > .sec-eyebrow{margin-bottom:0;}
.fx-ai-teaser > .sec-desc{margin-bottom:4px;}

/* ── Ticker (shared live partial) ── */
.fx-page > .ticker{border-bottom:1px solid var(--border);}

/* ── Hero ── */
.fx-hero-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url('../assets/img/forex-v2/hero.jpg');
  background-repeat:no-repeat;background-size:cover;
  background-position:50% 15%;
}
[dir="rtl"] .fx-hero-bg{background-image:url('../assets/img/forex-v2/hero-ar.webp');}
.fx-hero-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(10,15,28,0.94) 0%,rgba(10,15,28,0.86) 32%,rgba(10,15,28,0.5) 60%,rgba(10,15,28,0.16) 100%);
}
.fx-hero-grid{position:relative;z-index:2;display:flex;flex-direction:column;padding-bottom:8px;}
.fx-hero-head,.fx-hero-body{max-width:710px;}
.fx-hero-h{
  font-size:clamp(28px,3.6vw,42px);line-height:1.08;font-weight:600;
  letter-spacing:-0.01em;margin-bottom:18px;
}
.fx-hero-sub{font-size:17px;color:var(--text-mute);max-width:540px;margin-bottom:30px;}
.fx-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.fx-chip{
  background:var(--surface);border:1px solid var(--border);border-radius:100px;
  padding:9px 16px;font-size:13px;color:var(--text-mute);
  display:flex;align-items:center;gap:8px;
}
.fx-chip strong{color:var(--text);font-family:'IBM Plex Mono',monospace;font-weight:600;}
.fx-chip-consolidated{display:none;}

.fx-numbers-note{margin-top:22px;font-size:13.5px;color:var(--text-mute);text-align:center;}

/* LONG / SHORT explainer */
.mechanic-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;}
.mechanic-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:26px;}
.mechanic-card .arrow{font-size:22px;font-family:'IBM Plex Mono',monospace;margin-bottom:10px;}
.mechanic-card.long .arrow{color:var(--teal);}
.mechanic-card.short .arrow{color:var(--coral);}
.mechanic-card h4{font-size:17px;margin-bottom:8px;}
.mechanic-card p{color:var(--text-mute);font-size:14.5px;}
.fx-numbers-note strong{color:var(--gold);}

.fx-movers-blob{
  width:440px;height:440px;
  background:radial-gradient(circle,rgba(227,181,73,0.13),transparent 70%);
  top:-120px;right:-120px;animation:floatC 24s ease-in-out infinite;
}
.fx-sessions-blob{
  width:480px;height:480px;
  background:radial-gradient(circle,rgba(69,224,168,0.12),transparent 70%);
  top:-140px;left:-120px;animation:floatA 26s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .fx-movers-blob,.fx-sessions-blob{animation:none;}
}

/* ── Session timeline ── */
.fx-session-panel{
  margin-top:28px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:28px 28px 24px;
}
.fx-session-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-bottom:22px;
}
.fx-session-top h3{font-size:16px;font-weight:600;}
#utc-clock{font-size:13px;color:var(--gold-2);letter-spacing:.02em;}
.fx-timeline{display:grid;grid-template-columns:88px 1fr;gap:14px;align-items:stretch;}
.fx-lane-labels{
  display:grid;grid-template-rows:repeat(4,1fr);gap:10px;
  font-size:12.5px;color:var(--text-mute);padding:2px 0;
}
.fx-lane-labels span{display:flex;align-items:center;}
.fx-lane-tracks{position:relative;display:grid;grid-template-rows:repeat(4,1fr);gap:10px;min-height:168px;}
.fx-lane-track{
  position:relative;height:32px;border-radius:8px;
  background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.05);
}
.fx-lane-bar{
  position:absolute;top:4px;bottom:4px;border-radius:6px;opacity:.9;
}
.fx-lane-bar.fx-sydney{background:linear-gradient(90deg,rgba(69,224,168,0.55),rgba(69,224,168,0.28));}
.fx-lane-bar.fx-tokyo{background:linear-gradient(90deg,rgba(120,170,255,0.55),rgba(120,170,255,0.28));}
.fx-lane-bar.fx-london{background:linear-gradient(90deg,rgba(227,181,73,0.65),rgba(227,181,73,0.28));}
.fx-lane-bar.fx-ny{background:linear-gradient(90deg,rgba(255,139,114,0.55),rgba(255,139,114,0.28));}
.fx-now-marker{
  position:absolute;top:0;bottom:0;width:2px;z-index:2;
  background:var(--gold-2);box-shadow:0 0 10px rgba(244,208,111,0.55);
  left:0;transform:translateX(-50%);
}
.fx-now-marker::before{
  content:'';position:absolute;top:-5px;left:50%;transform:translateX(-50%);
  width:10px;height:10px;border-radius:50%;background:var(--gold-2);
  box-shadow:0 0 0 3px rgba(244,208,111,0.25);
}
.fx-timeline-footer{display:grid;grid-template-columns:88px 1fr;gap:14px;margin-top:10px;}
.fx-hour-ticks{
  display:flex;justify-content:space-between;
  font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--text-faint);
}
.fx-session-legend{
  display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:18px;
  font-size:12.5px;color:var(--text-mute);
}
.fx-session-legend > span{display:inline-flex;align-items:center;gap:8px;}
.fx-dot{width:9px;height:9px;border-radius:50%;display:inline-block;}
.fx-dot.fx-sydney{background:#45E0A8;}
.fx-dot.fx-tokyo{background:#78AAFF;}
.fx-dot.fx-london{background:#E3B549;}
.fx-dot.fx-ny{background:#FF8B72;}
.fx-overlap-note{
  margin-top:16px;padding:12px 14px;border-radius:10px;
  background:rgba(227,181,73,0.07);border:1px solid rgba(227,181,73,0.2);
  font-size:13px;color:var(--text-mute);line-height:1.55;
}

/* ── Instrument browser ── */
.fx-instr-panel{display:none;}
.fx-instr-panel.active{display:block;}
.fx-instr-list{display:flex;flex-direction:column;gap:10px;}
.fx-instr-row{
  border:1px solid var(--border);border-radius:var(--radius-sm);
  background:var(--surface);overflow:hidden;
}
.fx-instr-toggle{
  width:100%;display:flex;align-items:center;gap:16px;padding:14px 18px;
  background:transparent;border:none;color:var(--text);cursor:pointer;
  text-align:left;font-family:inherit;
}
.fx-instr-toggle:hover{background:rgba(255,255,255,0.02);}
.fx-instr-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;}
.fx-instr-flags{display:flex;align-items:center;gap:2px;flex-shrink:0;direction:ltr;}
.fx-flag{width:16px;height:11px;display:block;border-radius:2px;flex-shrink:0;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,0.12);}
.fx-instr-chart{flex-shrink:0;width:64px;height:28px;display:flex;align-items:center;}
.fx-instr-sym{
  font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:13px;
  color:var(--gold);min-width:100px;flex-shrink:0;
}
.fx-instr-name{flex:1;font-size:13.5px;color:var(--text-mute);text-align:left;min-width:0;}
.fx-instr-chevron{
  width:12px;height:7px;color:var(--text-faint);flex-shrink:0;
  transition:transform .25s ease;
}
.fx-instr-toggle[aria-expanded="true"] .fx-instr-chevron{transform:rotate(180deg);}
.fx-instr-detail{max-height:0;overflow:hidden;opacity:0;transition:max-height .3s ease,opacity .3s ease;}
.fx-instr-row.open .fx-instr-detail{max-height:420px;opacity:1;}
@media (prefers-reduced-motion: reduce){.fx-instr-detail{transition:none;}}
.fx-detail-inner{padding:16px 18px 20px;border-top:1px solid var(--border);}
.fx-detail-table{width:100%;border-collapse:separate;border-spacing:3px 0;margin-bottom:14px;}
.fx-detail-table th{
  font-size:10px;text-transform:uppercase;letter-spacing:.04em;
  color:var(--text-faint);padding-bottom:8px;text-align:center;font-weight:600;
}
.fx-detail-table td{
  font-family:'IBM Plex Mono',monospace;font-size:13px;text-align:center;
  padding:7px 4px;color:var(--text);background:rgba(255,255,255,0.03);border-radius:6px;
}
.fx-detail-meta{font-size:13px;color:var(--text-mute);margin-bottom:14px;}
.fx-detail-meta strong{color:var(--gold);}
.fx-detail-ctas{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.fx-textlink{color:var(--gold);font-size:13.5px;font-weight:600;}
.fx-textlink:hover{text-decoration:underline;}

/* ── Factors / AI / Conditions ── */
.fx-factor-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}

.fx-ai-teaser{display:flex;flex-direction:column;align-items:flex-start;gap:14px;max-width:640px;}
.fx-ai-teaser-title{font-size:24px;font-weight:600;line-height:1.25;}
.fx-ai-illustrative{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(227,181,73,0.14);color:var(--gold-2);border-radius:100px;
  padding:3px 11px;font-size:10.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
}
.fx-ai-disclaimer{font-size:12px;color:var(--text-faint);margin-top:2px;}

.fx-cond-grid{grid-template-columns:repeat(3,1fr);}
.fx-islamic-callout{
  display:flex;gap:24px;align-items:center;flex-wrap:wrap;position:relative;overflow:hidden;
  background:linear-gradient(120deg,rgba(10,15,28,0.86),rgba(10,15,28,0.62)),
    url('../assets/img/indices-v2/css-c9f1193677.jpg');
  background-size:cover;background-position:center;
  border:1px solid var(--border-strong);border-radius:var(--radius);
  padding:34px 36px;margin-top:32px;
}
.fx-islamic-icon{
  width:60px;height:60px;border-radius:16px;flex-shrink:0;
  background:rgba(227,181,73,0.18);display:flex;align-items:center;justify-content:center;
  position:relative;z-index:1;
}
.fx-islamic-icon svg{width:30px;height:30px;color:var(--gold);}
.fx-islamic-text{flex:1;min-width:260px;position:relative;z-index:1;}
.fx-islamic-text h3{font-size:20px;font-weight:600;margin-bottom:8px;}
.fx-islamic-text p{font-size:14.5px;color:var(--text-mute);margin-bottom:18px;max-width:640px;}
.fx-cond-links{display:flex;gap:28px;flex-wrap:wrap;margin-top:28px;font-size:14px;}

/* ── Advantage band ── */
.fx-advantage-wrap{position:relative;overflow:hidden;border-radius:22px;padding:52px 40px 40px;}
.fx-advantage-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url('../assets/img/forex-v2/advantage-bg.jpg');
  background-repeat:no-repeat;background-size:cover;background-position:50% 45%;
}
.fx-advantage-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,15,28,0.93) 0%,rgba(10,15,28,0.62) 32%,rgba(10,15,28,0.42) 50%,rgba(10,15,28,0.68) 68%,rgba(10,15,28,0.95) 100%);
}
.fx-advantage-content{position:relative;z-index:2;max-width:900px;margin:0 auto;text-align:center;}
.fx-advantage-eyebrow{
  font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.fx-advantage-h{
  font-size:clamp(24px,3.2vw,36px);line-height:1.18;font-weight:600;margin-bottom:12px;
  text-shadow:0 2px 16px rgba(10,15,28,0.5);
}
.fx-advantage-h .gold{color:var(--gold);}
.fx-advantage-sub{
  font-size:13.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--text-mute);margin-bottom:36px;
}
.fx-advantage-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;}
.fx-adv-card{
  flex:1 1 200px;max-width:230px;
  background:rgba(10,15,28,0.58);border:1px solid rgba(245,247,250,0.14);
  border-radius:16px;padding:24px 18px;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.fx-adv-icon{
  width:90px;height:90px;border-radius:50%;margin:0 auto 18px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(227,181,73,0.1);background-size:cover;background-position:center;
  border:2px solid rgba(227,181,73,0.55);box-shadow:0 0 0 4px rgba(10,15,28,0.45);
}
.fx-adv-icon--bg-acd7e06a4c{background-image:url('../assets/img/forex-v2/bg-acd7e06a4c.jpg');}
.fx-adv-icon--bg-7dfad6b5b0{background-image:url('../assets/img/forex-v2/bg-7dfad6b5b0.jpg');}
.fx-adv-icon--bg-004a2532b1{background-image:url('../assets/img/forex-v2/bg-004a2532b1.jpg');}
.fx-adv-icon--bg-97a85e794d{background-image:url('../assets/img/forex-v2/bg-97a85e794d.jpg');}
.fx-adv-label{
  font-size:12.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  color:var(--text);margin-bottom:8px;
}
.fx-adv-desc{font-size:12.5px;color:var(--text-mute);line-height:1.45;}
.fx-adv-card.is-islamic{
  background:linear-gradient(rgba(10,15,28,0.72),rgba(10,15,28,0.72)),
    url('../assets/img/indices-v2/css-c9f1193677.jpg');
  background-size:cover;background-position:right center;
  border-color:rgba(227,181,73,0.28);
}
.fx-adv-card.is-regulated{border-color:rgba(227,181,73,0.28);}

.cta-band p.cta-callback{
  font-size:14px;font-weight:500;color:var(--gold-2);
  margin-top:-18px;margin-bottom:30px;
}

/* Stats count-up */
.stat-count{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;}
@keyframes statCountGlow{
  0%{text-shadow:0 0 0 rgba(227,181,73,0);}
  35%{text-shadow:0 0 14px rgba(227,181,73,0.7),0 0 3px rgba(244,208,111,0.55);}
  100%{text-shadow:0 0 0 rgba(227,181,73,0);}
}
.stat-count.is-glowing{animation:statCountGlow 300ms ease-out;}
@media (prefers-reduced-motion: reduce){.stat-count.is-glowing{animation:none;}}

/* Shared helpers not in page-home-v2 */
.about-market-box{
  background:linear-gradient(160deg,rgba(227,181,73,0.06),var(--surface));
  border:1px solid var(--border);border-radius:var(--radius);padding:22px 26px;
  font-size:14.5px;color:var(--text-mute);line-height:1.7;
}
.about-market-box b{color:var(--text);}

.callout-warn{
  background:rgba(255,139,114,0.06);border:1px solid rgba(255,139,114,0.25);
  border-radius:var(--radius-sm);padding:14px 18px;font-size:13px;color:var(--text-mute);
  margin-top:20px;display:flex;gap:10px;align-items:flex-start;
}
.callout-warn svg{width:16px;height:16px;color:var(--coral);flex-shrink:0;margin-top:1px;}

.calc-widget{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:26px;margin-top:32px;
}
.calc-widget h4{font-size:16px;font-weight:600;margin-bottom:6px;}
.calc-widget .sub{font-size:12.5px;color:var(--text-faint);margin-bottom:20px;}
.calc-row{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;}
.calc-field label{display:block;font-size:12px;color:var(--text-faint);margin-bottom:6px;}
.calc-field input,.calc-field select{
  width:100%;background:var(--surface-solid);border:1px solid var(--border);border-radius:8px;
  padding:10px 12px;color:var(--text);font-family:'IBM Plex Mono',monospace;font-size:14px;
}
.calc-result{
  background:rgba(227,181,73,0.08);border:1px solid var(--border-strong);
  border-radius:8px;padding:12px 16px;text-align:center;
}
.calc-result b{display:block;font-family:'IBM Plex Mono',monospace;font-size:20px;color:var(--gold);}
.calc-result span{font-size:11px;color:var(--text-faint);text-transform:uppercase;letter-spacing:.05em;}

.faq-item{border-bottom:1px solid var(--border);}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 4px;cursor:pointer;font-size:15.5px;font-weight:600;color:var(--text);
}
.faq-q svg{width:18px;height:18px;color:var(--gold);flex-shrink:0;transition:transform .25s ease;}
.faq-item.open .faq-q svg{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.faq-item.open .faq-a{max-height:320px;}
.faq-a p{font-size:14.5px;color:var(--text-mute);padding:0 4px 20px;line-height:1.7;}

.mkt-select{position:relative;display:inline-block;margin-bottom:18px;}
.mkt-select-trigger{cursor:pointer;font-family:inherit;line-height:1;}
.mkt-select-trigger:hover{border-color:var(--gold);background:rgba(227,181,73,0.10);}
.mkt-select-trigger:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
.mkt-select-trigger[aria-expanded="true"]{border-color:var(--gold);background:rgba(227,181,73,0.10);}
.mkt-select-chevron{width:9px;height:9px;color:var(--gold);flex-shrink:0;transition:transform .2s ease;}
.mkt-select-trigger[aria-expanded="true"] .mkt-select-chevron{transform:rotate(180deg);}
.mkt-select-menu{
  position:fixed;z-index:500;min-width:224px;max-width:calc(100vw - 24px);
  background:linear-gradient(180deg,rgba(15,21,36,0.98),rgba(9,13,24,0.99));
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  border:1px solid rgba(227,181,73,0.22);
  box-shadow:0 24px 48px rgba(0,0,0,0.55),0 2px 10px rgba(0,0,0,0.35),inset 0 0 0 1px rgba(120,170,255,0.06);
  border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:2px;
}
.mkt-select-menu[hidden]{display:none;}
.mkt-select-item{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 14px;border-radius:9px;font-size:14px;color:var(--text-mute);
  transition:background .15s ease,color .15s ease;
}
.mkt-select-item:hover,.mkt-select-item:focus-visible{
  background:rgba(227,181,73,0.10);color:var(--text);outline:none;
}
.mkt-select-item.is-active{color:var(--gold-2);font-weight:600;background:rgba(227,181,73,0.07);}
.mkt-select-check{width:15px;height:15px;color:var(--gold-2);flex-shrink:0;}

/* ── RTL ── */
[dir="rtl"] .fx-hero-overlay{
  background:linear-gradient(270deg,rgba(10,15,28,0.94) 0%,rgba(10,15,28,0.86) 32%,rgba(10,15,28,0.5) 60%,rgba(10,15,28,0.16) 100%);
}
[dir="rtl"] .fx-instr-toggle{text-align:right;}
[dir="rtl"] .fx-instr-name{text-align:right;}
[dir="rtl"] .fx-instr-sym{direction:ltr;text-align:center;}
[dir="rtl"] .fx-detail-table th{letter-spacing:0;}
[dir="rtl"] .fx-detail-table td{direction:ltr;}
[dir="rtl"] .fx-movers-blob{right:auto;left:-120px;}

/* ========== TABLET ========== */
@media(max-width:1100px){
  .fx-factor-grid{grid-template-columns:repeat(3,1fr);}
  .fx-hero-h{font-size:clamp(26px,3.4vw,36px);}
}

@media(max-width:900px){
  .fx-hero{padding:60px 0;}
  .fx-hero-bg{background-position:58% 12%;}
  [dir="rtl"] .fx-hero-bg{background-position:42% 12%;}
  .fx-hero-overlay{
    background:linear-gradient(160deg,rgba(10,15,28,0.95) 0%,rgba(10,15,28,0.88) 38%,rgba(10,15,28,0.74) 62%,rgba(10,15,28,0.5) 100%);
  }
  .fx-hero-head,.fx-hero-body{max-width:100%;}
  .fx-hero-h{text-shadow:0 2px 10px rgba(10,15,28,0.6);}
  .fx-hero-sub{font-size:15.5px;max-width:100%;margin-bottom:24px;text-shadow:0 2px 8px rgba(10,15,28,0.7);}
  .fx-hero-body .btn-ghost{text-shadow:0 2px 8px rgba(10,15,28,0.7);}
  .fx-chips{gap:8px;margin-top:20px;}
  .fx-chip{padding:8px 12px;font-size:12px;}
  .fx-chip-tier{display:none;}
  .fx-chip-consolidated{display:flex;}

  .fx-instr-tabs.tabs{
    flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
    margin-left:-4px;margin-right:-4px;padding:0 4px 8px;-webkit-overflow-scrolling:touch;
  }
  .fx-instr-tabs.tabs::-webkit-scrollbar{display:none;}
  .fx-instr-tabs .tab{flex:0 0 auto;}

  .fx-cond-grid{grid-template-columns:1fr 1fr;}
  .fx-session-panel{padding:22px 18px 18px;}
  .fx-timeline,.fx-timeline-footer{grid-template-columns:72px 1fr;gap:10px;}
  .fx-advantage-cards{gap:14px;}
  .fx-adv-card{flex:1 1 44%;max-width:none;padding:20px 14px;}
  .fx-adv-icon{width:74px;height:74px;margin:0 auto 14px;}
  .fx-advantage-wrap{padding:44px 28px 32px;}
  .fx-islamic-callout{padding:28px 24px;gap:18px;}
  .fx-islamic-text{min-width:0;}
  .fx-guide-ctas{margin-top:28px;}
  .calc-row{grid-template-columns:1fr 1fr;}
  .calc-result{grid-column:1 / -1;}

  .fx-ai-teaser-title{font-size:22px;}
  .fx-about .about-market-box{padding:18px 20px;font-size:14px;}

  [dir="rtl"] .fx-hero-overlay{
    background:linear-gradient(200deg,rgba(10,15,28,0.95) 0%,rgba(10,15,28,0.88) 38%,rgba(10,15,28,0.74) 62%,rgba(10,15,28,0.5) 100%);
  }
}

/* ========== MOBILE ========== */
@media(max-width:700px){
  .calc-row{grid-template-columns:1fr;}
  .calc-result{grid-column:auto;}
}

@media(max-width:640px){
  .fx-hero{padding:40px 0;}
  .fx-hero-h{font-size:26px;line-height:1.15;margin-bottom:14px;}
  .fx-hero-sub{font-size:14.5px;margin-bottom:20px;}
  .fx-chips{gap:8px;}
  .fx-chip{width:100%;justify-content:space-between;border-radius:12px;}

  .fx-hero .hero-ctas,
  .fx-guide-ctas{
    flex-direction:column;align-items:stretch;gap:10px;
  }
  .fx-hero .hero-ctas .btn,
  .fx-hero .hero-ctas ngp-auth-signup,
  .fx-guide-ctas .btn{
    width:100%;justify-content:center;
  }

  .fx-factor-grid{grid-template-columns:1fr;gap:12px;}
  .fx-cond-grid{grid-template-columns:1fr;}
  .fx-cond-links{flex-direction:column;gap:12px;margin-top:22px;}

  .fx-timeline{grid-template-columns:1fr;gap:8px;}
  .fx-lane-labels{
    grid-template-rows:none;grid-template-columns:repeat(4,1fr);gap:6px;
    font-size:11px;margin-bottom:4px;
  }
  .fx-lane-labels span{justify-content:center;text-align:center;}
  .fx-lane-tracks{min-height:148px;}
  .fx-timeline-footer{grid-template-columns:1fr;}
  .fx-lane-labels-spacer{display:none;}
  .fx-hour-ticks{font-size:10px;}
  .fx-session-legend{gap:10px 14px;}
  .fx-sessions-blob{width:260px;height:260px;top:-60px;left:-80px;}

  .fx-instr-toggle{flex-wrap:wrap;gap:8px 12px;padding:12px 14px;}
  .fx-instr-name{flex-basis:100%;order:3;font-size:12.5px;}
  .fx-instr-sym{min-width:0;}
  .fx-instr-chart{width:52px;}
  .fx-instr-chevron{margin-inline-start:auto;}
  .fx-detail-inner{padding:14px;overflow-x:auto;}
  .fx-detail-table{min-width:480px;font-size:10.5px;}
  .fx-detail-table th{font-size:9px;padding:0 2px 6px;}
  .fx-detail-table td{padding:6px 2px;font-size:11px;}
  .fx-detail-ctas{flex-direction:column;align-items:stretch;gap:12px;}
  .fx-detail-ctas .btn,
  .fx-detail-ctas ngp-auth-signup{width:100%;justify-content:center;}

  .fx-islamic-callout{
    flex-direction:column;align-items:flex-start;padding:22px 18px;
    background:linear-gradient(180deg,rgba(10,15,28,0.88),rgba(10,15,28,0.78)),
      url('../assets/img/indices-v2/css-c9f1193677.jpg');
    background-size:cover;background-position:right center;
  }
  .fx-islamic-text h3{font-size:18px;}
  .fx-islamic-text .btn{width:100%;justify-content:center;}

  .fx-advantage-sec{padding-top:0;padding-bottom:0;}
  .fx-advantage-wrap{padding:36px 18px 26px;border-radius:18px;}
  .fx-advantage-bg{background-position:55% 42%;}
  .fx-advantage-overlay{
    background:linear-gradient(180deg,rgba(10,15,28,0.95) 0%,rgba(10,15,28,0.72) 30%,rgba(10,15,28,0.55) 50%,rgba(10,15,28,0.78) 70%,rgba(10,15,28,0.97) 100%);
  }
  .fx-advantage-sub{margin-bottom:22px;font-size:12px;}
  .fx-advantage-cards{gap:12px;}
  .fx-adv-card{flex:1 1 100%;}
  .fx-adv-icon{width:84px;height:84px;}

  .fx-ai-teaser-title{font-size:20px;}
  .fx-numbers-note{font-size:12.5px;text-align:left;}
  [dir="rtl"] .fx-numbers-note{text-align:right;}

  .mechanic-grid{grid-template-columns:1fr;}
  .about-market-box{padding:16px 16px;font-size:13.5px;}
  .calc-widget{padding:20px 16px;}
  .faq-q{font-size:14.5px;padding:16px 0;gap:12px;}
  .faq-a p{font-size:13.5px;padding-bottom:16px;}
  .cta-band p.cta-callback{margin-top:-10px;margin-bottom:22px;font-size:13px;}
  .fx-movers-blob{width:280px;height:280px;top:-80px;right:-100px;}
  [dir="rtl"] .fx-movers-blob{left:-100px;right:auto;}
}

@media(max-width:400px){
  .fx-hero-h{font-size:24px;}
  .fx-chip{font-size:11.5px;padding:7px 10px;}
  .fx-adv-label{font-size:11.5px;}
}
