/* ===================== RESET & BASE ===================== */
:root {
  --navy:        #0a1330;
  --navy-2:      #0c1838;
  --navy-deep:   #070f26;
  --blue:        #2d6bff;
  --blue-dark:   #1f5af0;
  --blue-soft:   #eaf1ff;
  --cyan:        #4ea0ff;
  --text-dark:   #0e1b3d;
  --text-body:   #6b7280;
  --text-muted:  #9aa3b2;
  --light-bg:    #f1f2f4;
  --line:        #e6e8ec;
  --green:       #28c76f;
  --radius:      16px;
  --container:   1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(45,107,255,.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(78,160,255,.55);
}
.btn-outline:hover { background: rgba(78,160,255,.1); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-img { height: 34px; width: auto; }
.brand-divider { width: 1px; height: 30px; background: rgba(255,255,255,.22); }
.brand-powered {
  font-size: 8px;
  line-height: 1.3;
  color: rgba(255,255,255,.5);
  letter-spacing: .3px;
}
.brand-powered strong { color: rgba(255,255,255,.85); font-weight: 600; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: .85;
  transition: opacity .2s;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: .9;
}
.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: transform .2s;
}
.btn-login:hover { transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 20%, #112052 0%, var(--navy) 45%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 70px 0 90px;
}
.hero-bg-rings {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 58px, rgba(120,160,255,.06) 58px 59px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-copy h1 {
  font-size: 48px;
  line-height: 1.18;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
}
.grad-text {
  background: linear-gradient(90deg, #4ea0ff, #6db8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: rgba(255,255,255,.62);
  font-size: 15px;
  max-width: 430px;
  margin: 22px 0 34px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns.center { justify-content: center; }

.hero-visual { display: flex; justify-content: center; }
.phone-img {
  width: 300px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}

/* ===================== SECTIONS COMMON ===================== */
.section-light { background: var(--light-bg); padding: 72px 0; }
.section-dark {
  position: relative;
  background: radial-gradient(120% 100% at 50% 0%, #122153 0%, var(--navy) 55%, var(--navy-deep) 100%);
  padding: 72px 0;
  overflow: hidden;
}
.accounts-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.5px;
}
.section-title.light { color: #fff; }
.section-sub {
  text-align: center;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 14px auto 0;
  font-weight: 300;
  font-size: 15px;
}
.section-sub.dark-sub { color: var(--text-muted); }

.pill-center { display: flex; justify-content: center; margin-bottom: 26px; }
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 22px;
  border-radius: 30px;
}

/* ===================== OVERVIEW ===================== */
.overview .section-title { margin-bottom: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,40,90,.08); }
.stat-card--alt { background: #fbfcfd; }
.stat-icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  color: var(--blue);
}
.stat-icon svg { width: 100%; height: 100%; }
.stat-label { color: var(--blue); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.stat-value { font-size: 18px; font-weight: 700; color: var(--text-dark); }

/* ===================== WHY ===================== */
.why { padding-top: 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.why-card--hl { background: #eef5ff; border-color: #d8e6ff; }
.why-card--hl p { color: #7c8aa5; }
.why-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 13.5px; color: var(--text-body); font-weight: 300; }

/* ===================== ACCOUNTS ===================== */
.accounts .section-title { margin-bottom: 0; }
.accounts .section-sub { margin-bottom: 56px; }
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 70px;
}
.acc-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 46px 26px 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.acc-badge {
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.acc-badge svg { width: 34px; height: 34px; }
.acc-name { text-align: center; font-size: 20px; font-weight: 700; margin-top: 6px; }
.acc-cur { text-align: center; color: var(--text-muted); font-size: 12px; margin-bottom: 18px; }
.acc-list { border-top: 1px solid var(--line); }
.acc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 2px;
  font-size: 11.5px;
  border-bottom: 1px solid #f1f3f6;
}
.acc-list li span {
  color: var(--text-body);
  position: relative;
  padding-left: 16px;
  font-weight: 300;
}
.acc-list li span::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
}
.acc-list li b { color: var(--text-dark); font-weight: 600; text-align: right; }
.acc-btn { width: 100%; margin-top: 22px; }

.accounts-cta { text-align: center; }
.accounts-cta h3 { color: #fff; font-size: 28px; font-weight: 700; }
.accounts-cta p { color: rgba(255,255,255,.65); margin: 10px 0 28px; font-weight: 300; }

/* ===================== TRUSTED / TABS ===================== */
.trusted .section-title { margin-bottom: 34px; }
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.tab .tab-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tab .tab-ic svg { width: 22px; height: 22px; }
.tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(45,107,255,.32);
}
.tab.active .tab-ic { background: rgba(255,255,255,.2); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.trusted-img { display: flex; justify-content: center; }
.trusted-img img { max-width: 340px; }
.trusted-img.ph { min-height: 280px; border-radius: 16px; background: linear-gradient(135deg,#eef2ff,#dfe7ff); }
.trusted-copy h3 { font-size: 30px; font-weight: 700; line-height: 1.25; margin-bottom: 18px; }
.trusted-copy p { color: var(--text-body); font-weight: 300; margin-bottom: 26px; }

/* ===================== BENEFITS ===================== */
.benefits { background: var(--light-bg); padding: 72px 0; }
.benefits-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  max-width: 860px;
  margin-inline: auto;
}
.benefits-copy .pill { margin-bottom: 22px; }
.benefits-copy h2 { font-size: 30px; font-weight: 700; line-height: 1.25; margin-bottom: 28px; }
.benefits-list { display: flex; flex-direction: column; gap: 14px; }
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 30px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0 4px 14px rgba(20,40,90,.04);
}
.benefits-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(40,199,111,.15);
  position: relative;
}
.benefits-list .check::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.benefits-video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background: #1a1a2e url('../assets/trader-desk.jpg') center/cover no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.benefits-video.ph {
  background: linear-gradient(135deg,#141e3c,#243a6b);
}
.benefits-video img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .2s;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.08); }
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--light-bg); padding: 30px 0 80px; }
.testimonials .section-title { margin-bottom: 46px; line-height: 1.3; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(20,40,90,.05);
}
.testi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.testi-name { font-weight: 600; font-size: 15px; }
.testi-logo { font-weight: 800; font-size: 15px; color: var(--text-dark); letter-spacing: -1px; }
.testi-logo b { color: var(--blue); }
.testi-card p { color: var(--text-body); font-size: 13.5px; font-weight: 300; }

/* ===================== EVENTS ===================== */
.events .section-sub { margin-bottom: 46px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.event-tile {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,107,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.08);
}

/* ===================== FAQ ===================== */
.faq-inner { max-width: 920px; }
.faq .section-title { margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  padding: 22px 26px;
  cursor: pointer;
}
.faq-arrow {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform .3s;
  margin-top: -4px;
}
.faq-item.open .faq-arrow { transform: rotate(-135deg); margin-top: 4px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p {
  padding: 0 26px 22px;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 300;
}

/* ===================== CERTS ===================== */
.certs .section-sub { margin-bottom: 50px; }
.certs-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}
.cert-docs { display: flex; gap: 20px; }
.cert-doc {
  width: 150px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(20,40,90,.12);
  background: #fff;
}
.cert-doc.ph { height: 200px; background: linear-gradient(135deg,#fff,#eef1f6); }
.cert-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  align-items: center;
}
.cert-logo { display: flex; align-items: center; justify-content: center; }
.cert-logo img { max-height: 44px; width: auto; object-fit: contain; }

/* ===================== RISK ===================== */
.risk { padding: 64px 0; }
.risk-title { text-align: center; color: #fff; font-size: 22px; font-weight: 700; margin: 18px 0 26px; }
.legal-operated { margin-bottom: 4px; color: rgba(255,255,255,.78) !important; }
.risk p { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 300; max-width: 920px; margin: 0 auto 16px; text-align: center; }
.risk p strong { color: rgba(255,255,255,.85); font-weight: 600; }
.risk-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.risk-links a { color: var(--cyan); font-size: 13px; opacity: .8; }
.risk-links a:hover { opacity: 1; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-deep); padding: 56px 0 40px; border-top: 1px solid rgba(255,255,255,.05); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 1fr;
  gap: 40px;
}
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-col p, .footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-col a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  display: grid; place-items: center;
  margin: 0;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.newsletter {
  display: flex;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 6px;
}
.newsletter input {
  flex: 1;
  background: none;
  border: none;
  padding: 13px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button {
  background: var(--blue);
  border: none;
  color: #fff;
  width: 48px;
  font-size: 18px;
  cursor: pointer;
}

/* ===================== CHAT WIDGET ===================== */
.chat-widget {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-bubble {
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  text-align: right;
  direction: rtl;
}
.chat-bubble p { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.chat-bubble span { font-size: 11px; color: var(--text-muted); }
.chat-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(45,107,255,.4);
  flex-shrink: 0;
}
.chat-btn svg { width: 24px; height: 24px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 38px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-logos { gap: 24px 30px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .lang-switch { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 12px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { margin-top: 40px; }

  .why-grid, .tabs, .testi-grid, .events-grid { grid-template-columns: 1fr; }
  .benefits-inner, .tab-panel.active, .certs-inner { grid-template-columns: 1fr; gap: 36px; }
  .cert-docs { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .chat-bubble { display: none; }

  /* Account cards become a horizontal swipe carousel on mobile */
  .accounts-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 32px 4px 8px;           /* top room for the floating check badge */
    max-width: 100%;
  }
  .accounts-grid::-webkit-scrollbar { display: none; }
  .acc-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    padding: 40px 20px 26px;
  }
  .acc-list li { font-size: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-copy h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-powered { display: none; }
}

/* ============================================================
   PERSIAN / RTL + LANG SWITCH
   ============================================================ */
html[dir="rtl"] body { font-family: 'Vazirmatn', 'Poppins', sans-serif; }
.lang-switch { text-decoration: none; }
a.lang-switch:hover { opacity: 1; }
html[dir="rtl"] .hero-copy p,
html[dir="rtl"] .section-sub,
html[dir="rtl"] .why-card p,
html[dir="rtl"] .benefits-list li { font-weight: 400; }
html[dir="rtl"] .acc-list li span { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .acc-list li span::before { left: auto; right: 0; }
html[dir="rtl"] .acc-list li b { text-align: left; }
html[dir="rtl"] .hero-bg-rings { right: auto; left: -180px; }
html[dir="rtl"] .brand-divider { } /* keep */
html[dir="rtl"] .footer-col p,
html[dir="rtl"] .footer-col a,
html[dir="rtl"] .footer-col h4 { text-align: right; }
html[dir="rtl"] .why-icon,
html[dir="rtl"] .tab-ic,
html[dir="rtl"] .reason-ic { margin-left: 0; }
html[dir="rtl"] .risk p,
html[dir="rtl"] .risk-title,
html[dir="rtl"] .section-title { direction: rtl; }
html[dir="rtl"] .chat-bubble { text-align: right; }
html[dir="rtl"] .testi-card p,
html[dir="rtl"] .reason p { line-height: 1.9; }

/* ============================================================
   PAGE HERO (light)
   ============================================================ */
.page-hero {
  background: var(--light-bg);
  padding: 46px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: 34px; font-weight: 700; color: var(--text-dark); }
.breadcrumb { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-body); }
.breadcrumb span { margin: 0 8px; color: var(--text-muted); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding: 60px 0 70px; text-align: center; }
.about-intro .section-title { margin-bottom: 22px; }
.about-lead {
  max-width: 760px; margin: 0 auto;
  color: rgba(255,255,255,.6); font-weight: 300; font-size: 15px; line-height: 1.9;
}
.why-choose { padding-top: 10px; }
.overline { text-align: center; color: var(--cyan); font-size: 13px; letter-spacing: 2px; font-weight: 500; margin-bottom: 12px; }
.overline.center { text-align: center; }
.why-choose .section-title { margin-bottom: 46px; }
.reasons { display: flex; flex-direction: column; gap: 30px; max-width: 920px; margin: 0 auto; }
.reason { display: flex; gap: 22px; align-items: flex-start; }
.reason-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: var(--cyan); display: grid; place-items: center;
}
.reason-ic svg { width: 24px; height: 24px; }
.reason h3 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.reason p { color: rgba(255,255,255,.55); font-weight: 300; font-size: 14px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.chat-band { padding: 44px 0; }
.chat-card {
  background: var(--light-bg); border-radius: 16px; padding: 30px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.chat-card-left { display: flex; align-items: center; gap: 20px; }
.chat-card-ic {
  width: 54px; height: 54px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.chat-card-ic svg { width: 28px; height: 28px; }
.chat-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.chat-card p { color: var(--text-body); font-size: 14px; font-weight: 300; }

.convinced { padding: 64px 0; background: #fff; }
.convinced-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.convinced-visual { position: relative; display: flex; align-items: center; gap: 20px; }
.mini-phone {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  box-shadow: 0 18px 44px rgba(20,40,90,.12); width: 60%; font-size: 11px;
}
.mp-title { font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; }
.mp-dia { color: var(--blue); }
.mp-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.mp-tabs span { flex: 1; text-align: center; padding: 6px; border-radius: 6px; background: #f1f3f6; color: var(--text-muted); font-size: 9px; }
.mp-tabs span.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.mp-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f1f3f6; }
.mp-amt { display: block; font-weight: 700; }
.mp-amt.down { color: #e23b3b; }
.mp-amt.up { color: var(--green); }
.mp-sub { color: var(--text-muted); font-size: 9px; }
.mp-right { text-align: right; }
.mp-date { display: block; color: var(--text-muted); font-size: 9px; }
.mp-tag { font-size: 9px; padding: 2px 8px; border-radius: 10px; }
.mp-tag.prog { background: #fff4e0; color: #e0a020; }
.mp-tag.ok { background: #e3f9ee; color: var(--green); }
.mp-meta { margin-top: 10px; }
.mp-meta li { display: flex; justify-content: space-between; padding: 5px 0; color: var(--text-muted); font-size: 9px; }
.mp-meta li b { color: var(--text-dark); }

.convinced-cards { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.users-card {
  background: var(--blue-soft); border-radius: 14px; padding: 26px; text-align: center;
}
.users-card strong { display: block; font-size: 32px; font-weight: 700; color: var(--text-dark); }
.users-card span { color: var(--text-body); font-size: 13px; }
.wallet-card {
  background: linear-gradient(135deg, #4ea0ff, #2d6bff); border-radius: 14px; padding: 26px; color: #fff;
}
.wc-top { font-size: 12px; opacity: .9; }
.wallet-card strong { display: block; font-size: 28px; font-weight: 700; margin-top: 8px; }

.convinced-copy h2 { font-size: 30px; font-weight: 700; line-height: 1.3; margin-bottom: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.ci-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; }
.ci-ic svg { width: 22px; height: 22px; }
.contact-info b { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-info p { color: var(--text-body); font-size: 13.5px; font-weight: 300; }

.dropline { background: #fff; padding: 20px 0 80px; }
.dropline .section-title { margin-bottom: 10px; }
.contact-form { max-width: 720px; margin: 36px auto 0; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 15px 18px;
  font-family: inherit; font-size: 14px; outline: none; color: var(--text-dark); background: #fff;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.cf-submit { display: block; margin: 24px auto 0; }
.cf-note { text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 16px; }

/* ============================================================
   PARTNERSHIP (IB) PAGE — dark + green theme
   ============================================================ */
.ib-page { background: #060809; color: #fff; }
.btn-green {
  background: linear-gradient(135deg, #45e0a8, #27c98a);
  color: #06281d; font-weight: 600;
  box-shadow: 0 8px 24px rgba(45,224,168,.28);
}
.btn-green:hover { transform: translateY(-1px); filter: brightness(1.05); }

.ib-hero { position: relative; padding: 80px 0 70px; overflow: hidden; background: #07100d; }
.ib-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 75% 30%, rgba(40,150,110,.35), transparent 60%), #06100c;
  opacity: .9;
}
.ib-hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.ib-hero-copy h1 { font-size: 40px; font-weight: 700; line-height: 1.22; color: #fff; }
.ib-hero-copy p { color: rgba(255,255,255,.6); margin: 22px 0 30px; font-weight: 300; max-width: 460px; }
.ib-hero-card {
  background: rgba(15,25,22,.7); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 34px; backdrop-filter: blur(8px);
}
.ib-card-check { width: 36px; height: 36px; margin-bottom: 16px; }
.ib-hero-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.ib-hero-card p { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 300; margin-bottom: 22px; }
.ib-input, .ib-comm-form input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 14px 18px; color: #fff; font-family: inherit; font-size: 14px; outline: none;
}
.ib-input::placeholder { color: rgba(255,255,255,.4); }
.ib-card-btn { width: 100%; margin-top: 16px; }

.ib-who { padding: 70px 0; background: #060809; }
.ib-who-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.ib-coin {
  aspect-ratio: 1; max-width: 320px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a3f45, #0c0d0f 70%);
  border: 6px solid #1c1f23;
  box-shadow: inset 0 0 40px rgba(0,0,0,.6), 0 20px 50px rgba(0,0,0,.5);
  position: relative;
}
.ib-coin::after { content: "$"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; font-weight: 700; color: #d9dde2; }
.ib-who-copy h2 { font-size: 30px; font-weight: 700; margin-bottom: 18px; }
.ib-who-copy p { color: rgba(255,255,255,.55); font-weight: 300; line-height: 1.9; font-size: 14.5px; }

.ib-stats-band { padding: 30px 0 50px; background: #060809; }
.ib-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.ib-stat {
  background: linear-gradient(135deg, #34c98e, #1f8f68);
  border-radius: 18px; padding: 34px 30px; color: #04130d;
  position: relative; overflow: hidden;
}
.ib-stat::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .4;
}
.ib-up { font-size: 15px; opacity: .85; }
.ib-stat strong { display: block; font-size: 48px; font-weight: 700; line-height: 1.1; margin: 6px 0; }
.ib-unit { font-size: 15px; }

.ib-how { padding: 60px 0; background: #060809; }
.ib-over { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 8px; }
.ib-over.center { text-align: center; }
.ib-how-h { font-size: 32px; font-weight: 700; margin-bottom: 40px; }
.ib-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.ib-step { border-top: 2px solid rgba(255,255,255,.15); padding-top: 18px; }
.ib-step h4 { color: #2fe3a0; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.ib-step span { color: rgba(255,255,255,.5); font-size: 15px; }
.ib-step-card {
  position: relative; background: #0d1311; border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 40px; min-height: 200px;
}
.ib-cursor { width: 40px; height: 40px; margin-bottom: 20px; }
.ib-step-card p { color: rgba(255,255,255,.6); font-weight: 300; line-height: 1.9; max-width: 60%; font-size: 14.5px; }
.ib-figure {
  position: absolute; right: 60px; bottom: 0; width: 160px; height: 170px;
  background: radial-gradient(circle at 50% 30%, #2a2e33, #0e0f11);
  border-radius: 50% 50% 12px 12px;
}
.ib-calc { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 40px; align-items: center; }
.ib-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ib-slider {
  background: #0d1311; border: 1px solid rgba(45,224,168,.2); border-radius: 14px; padding: 22px;
}
.ib-slider label { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.ib-slider input[type=range] { width: 100%; accent-color: #2fe3a0; }
.ib-slider-val { display: block; margin-top: 12px; color: rgba(255,255,255,.5); font-size: 13px; }
.ib-earn { text-align: center; }
.ib-earn-label { display: block; color: rgba(255,255,255,.6); font-size: 14px; }
.ib-earn-up { display: block; color: #2fe3a0; font-size: 14px; margin-top: 8px; }
.ib-earn-val { display: block; font-size: 60px; font-weight: 700; color: #2fe3a0; line-height: 1; }
.ib-earn-cur { color: rgba(255,255,255,.7); font-size: 18px; }

.ib-why { padding: 50px 0 60px; background: #060809; text-align: center; }
.ib-why-h { font-size: 26px; font-weight: 700; max-width: 760px; margin: 0 auto 46px; line-height: 1.4; }
.ib-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.ib-feature { text-align: center; }
.ib-feat-ic {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 14px;
  background: rgba(45,224,168,.12); display: grid; place-items: center;
}
.ib-feat-ic svg { width: 28px; height: 28px; }
.ib-feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.ib-feature p { color: rgba(255,255,255,.5); font-size: 13px; font-weight: 300; }

.ib-comm { padding: 60px 0; background: #060809; text-align: center; }
.ib-comm h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.ib-comm p { color: rgba(255,255,255,.55); font-weight: 300; max-width: 720px; margin: 0 auto 30px; line-height: 1.8; }
.ib-comm-form { display: flex; gap: 16px; max-width: 720px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.ib-comm-form input { flex: 1; min-width: 260px; }

.ib-faq { padding: 50px 0 70px; background: #060809; }
.ib-faq-h { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.ib-faq-sub { color: rgba(255,255,255,.5); font-weight: 300; margin-bottom: 36px; }
.ib-faq-list .faq-item { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
.ib-faq-list .faq-q { color: #fff; padding: 22px 4px; }
.ib-faq-list .faq-a p { color: rgba(255,255,255,.5); padding: 0 4px 22px; }
.faq-plus { flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: rgba(255,255,255,.6); }
.faq-plus::before { left: 50%; top: 5px; bottom: 5px; width: 1.5px; transform: translateX(-50%); transition: opacity .3s; }
.faq-plus::after { top: 50%; left: 5px; right: 5px; height: 1.5px; transform: translateY(-50%); }
.faq-item.open .faq-plus::before { opacity: 0; }

/* ============================================================
   SPREADS & COMMISSIONS PAGE
   ============================================================ */
.sp-hero {
  position: relative; padding: 70px 0 80px; overflow: hidden;
  background: radial-gradient(90% 120% at 75% 50%, #1a2550, #0a1330 60%, var(--navy-deep));
}
.sp-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
.sp-hero-copy h1 { font-size: 38px; font-weight: 700; color: #fff; line-height: 1.2; }
.sp-hero-copy p { color: rgba(255,255,255,.6); font-weight: 300; margin: 20px 0 28px; max-width: 420px; }
.sp-percent {
  font-size: 260px; font-weight: 800; line-height: 1; text-align: center;
  background: linear-gradient(135deg, #ff6ec7, #6db8ff, #4ea0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(110,150,255,.5));
}
.sp-table-sec { padding-top: 56px; text-align: center; }
.sp-ic { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 14px; background: #14346b; display: grid; place-items: center; }
.sp-ic svg { width: 28px; height: 28px; }
.sp-table-sec .section-title { margin-bottom: 12px; }
.sp-toggle {
  display: inline-flex; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 5px; margin: 30px auto 36px; gap: 4px;
}
.sp-tg {
  border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 10px 30px; border-radius: 8px; cursor: pointer; color: var(--text-body);
}
.sp-tg.active { background: var(--navy); color: #fff; }
.sp-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sp-table th {
  background: #fff; color: var(--text-dark); font-weight: 600; padding: 16px 10px;
  border-bottom: 1px solid var(--line); text-align: center;
}
.sp-table th.sp-th-sym { text-align: left; padding-left: 30px; }
.sp-table td { padding: 9px 10px; text-align: center; color: var(--text-body); }
.sp-table tbody tr:nth-child(even) { background: #fafbfc; }
.sp-table .sp-sym { text-align: left; padding-left: 30px; color: var(--text-dark); }
.sp-group td {
  background: #fbf8ee !important; font-weight: 700; color: var(--text-dark);
  text-align: left; padding-left: 30px;
}
html[dir="rtl"] .sp-table th.sp-th-sym,
html[dir="rtl"] .sp-table .sp-sym,
html[dir="rtl"] .sp-group td { text-align: left; }

/* RTL tweaks for IB + spreads heros */
html[dir="rtl"] .ib-hero-bg { background: radial-gradient(80% 120% at 25% 30%, rgba(40,150,110,.35), transparent 60%), #06100c; }
html[dir="rtl"] .ib-step-card p { max-width: 60%; }
html[dir="rtl"] .ib-figure { right: auto; left: 60px; }

@media (max-width: 860px) {
  .convinced-inner, .ib-hero-inner, .ib-who-inner, .ib-calc, .sp-hero-inner { grid-template-columns: 1fr; }
  .ib-stats-grid, .ib-steps, .ib-features, .ib-sliders, .cf-row { grid-template-columns: 1fr; }
  .sp-percent { font-size: 150px; }
  .ib-step-card p { max-width: 100%; }
  .ib-figure { display: none; }
  .sp-table { font-size: 11px; }
  .sp-table .sp-sym, .sp-group td, .sp-table th.sp-th-sym { padding-left: 14px; }
}
