/* =========================================================
   RAprime — Premium Site Styles
   ========================================================= */

:root{
  /* dark (header / footer / status) */
  --d-bg-0:        #05070d;
  --d-bg-1:        #0a0e1a;
  --d-bg-2:        #11172a;
  --d-line:        rgba(255,255,255,0.08);
  --d-line-2:      rgba(255,255,255,0.14);
  --d-text:        #e9edf6;
  --d-text-dim:    #a8b1c7;
  --d-text-soft:   #6e7691;

  /* light (body sections) */
  --bg:            #f4f6fb;
  --bg-alt:        #ffffff;
  --bg-soft:       #eef1f8;
  --bg-tint:       linear-gradient(180deg, #f6f7fb 0%, #eef1f8 100%);
  --text:          #030641;
  --text-2:        #2d3a55;
  --text-mute:     #5a6478;
  --text-soft:     #8a93a8;
  --line:          #e3e7ef;
  --line-2:        #d4dae6;
  --shadow-sm:     0 4px 14px rgba(10,20,40,.06);
  --shadow-md:     0 12px 28px rgba(10,20,40,.08);
  --shadow-lg:     0 24px 60px -16px rgba(10,20,40,.18);

  /* brand */
  --gold-1:        #f5d77a;
  --gold-2:        #d4af37;
  --gold-3:        #a07c1c;
  --gold-glow:     rgba(212,175,55,0.35);
  --gold-glow-2:   rgba(212,175,55,0.18);
  --navy:          #030641;
  --navy-2:        #122a52;
  --accent:        #4f8cff;
  --danger:        #ef4760;
  --success:       #1abc88;

  --maxw: 1320px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
html[dir="rtl"] body{ font-family: 'Tajawal', 'Inter', system-ui, sans-serif; }

a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img{ display:block; max-width:100%; }

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============== STATUS BAR ============== */
.statusbar{
  position: relative;
  background: linear-gradient(90deg, #060912 0%, #0a0f1f 50%, #060912 100%);
  border-bottom: 1px solid var(--d-line);
  font-size: 12.5px;
  color: var(--d-text-dim);
  z-index: 60;
  overflow: hidden;
}
.statusbar::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
  opacity:.18;
  pointer-events:none;
  animation: shimmer 6s linear infinite;
  background-size: 200% 100%;
}
@keyframes shimmer{
  0%{ background-position: -100% 0; }
  100%{ background-position: 200% 0; }
}
.statusbar-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; position: relative;
}
.status-left, .status-right{ display:flex; align-items:center; gap: 18px; flex-wrap: wrap; }
.status-item{ display:inline-flex; align-items:center; gap:8px; transition: color .25s var(--ease); }
.status-item i{ color: var(--gold-2); font-size: 12px; }
.status-item:hover{ color: var(--gold-1); }
.status-divider{ width:1px; height:14px; background: var(--d-line-2); }
.status-pulse{
  width:8px; height:8px; border-radius:50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(43,212,156,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(43,212,156,.6);}
  70%{ box-shadow: 0 0 0 10px rgba(43,212,156,0);}
  100%{ box-shadow: 0 0 0 0 rgba(43,212,156,0);}
}
.market-ticker{ display:flex; align-items:center; gap:14px; font-variant-numeric: tabular-nums; font-weight: 500; }
.tick{ display:inline-flex; align-items:center; gap:6px; }
.tick .sym{ color: var(--d-text); font-weight:600; }
.tick.up   .price{ color: var(--success); }
.tick.down .price{ color: var(--danger); }
.tick i{ font-size: 9px; }
.social-mini{ display:flex; align-items:center; gap: 10px; }
.social-mini a{
  width: 24px; height: 24px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 6px; color: var(--d-text-dim);
  transition: all .25s var(--ease);
}
.social-mini a:hover{ color: #0a0f1f; background: var(--gold-2); transform: translateY(-2px); }

/* ============== HEADER ============== */
.header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(3,6,65,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--d-line);
  transition: all .35s var(--ease);
  color: var(--d-text);
}
.header.scrolled{ background: rgba(3,6,65,0.98); box-shadow: 0 10px 30px rgba(3,6,65,.45); }
.nav{
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap: 18px;
}
.brand{ display:inline-flex; align-items:center; gap:12px; flex-shrink: 0; }
.brand img{
  height: 48px; width: auto;
  filter: drop-shadow(0 3px 14px rgba(212,175,55,.25));
  transition: transform .35s var(--ease);
}
.brand:hover img{ transform: scale(1.04); }

.nav-list{ display:flex; align-items:center; list-style:none; margin:0; padding:0; gap: 4px; }
.nav-item{ position: relative; }
.nav-link{
  display:inline-flex; align-items:center; gap:6px;
  padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--d-text-dim); border-radius: 10px; position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.open > .nav-link,
.nav-link.active{ color: var(--d-text); background: rgba(255,255,255,0.04); }
.nav-link .caret{ font-size: 10px; transition: transform .35s var(--ease); opacity:.7; }
.nav-item.open > .nav-link .caret{ transform: rotate(180deg); color: var(--gold-1); }
.nav-link::after{
  content:""; position:absolute;
  left:14px; right:14px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  border-radius: 2px; transform: scaleX(0);
  transform-origin: left center; transition: transform .35s var(--ease);
}
html[dir="rtl"] .nav-link::after{ transform-origin: right center; }
.nav-link:hover::after,
.nav-item.open > .nav-link::after{ transform: scaleX(1); }

/* ============== DROPDOWNS ============== */
.dropdown{
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 280px; padding: 10px;
  background: linear-gradient(180deg, rgba(8,12,80,.98), rgba(3,6,65,.98));
  border: 1px solid var(--d-line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(212,175,55,.08) inset;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top left;
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility .25s linear;
  z-index: 100;
}
html[dir="rtl"] .dropdown{ left:auto; right:0; transform-origin: top right; }
.dropdown.align-right{ left:auto; right:0; transform-origin: top right; }
html[dir="rtl"] .dropdown.align-right{ right:auto; left:0; transform-origin: top left; }
.dropdown::before{
  content:""; position:absolute;
  top:-6px; left: 22px; width:12px; height:12px;
  background: rgba(8,12,80,.98);
  border-left: 1px solid var(--d-line-2);
  border-top: 1px solid var(--d-line-2);
  transform: rotate(45deg);
}
html[dir="rtl"] .dropdown::before{ left:auto; right: 22px; }
.dropdown.align-right::before{ left:auto; right: 22px; }
html[dir="rtl"] .dropdown.align-right::before{ right:auto; left: 22px; }
.nav-item.open > .dropdown{ opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.dropdown-item{
  display:flex; align-items:center; gap: 12px;
  padding: 11px 12px; border-radius: 10px;
  color: var(--d-text-dim); font-size: 13.5px; font-weight: 500;
  position: relative; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
  opacity: 0; transform: translateX(-6px);
}
html[dir="rtl"] .dropdown-item{ transform: translateX(6px); }
.nav-item.open .dropdown-item{ animation: ddIn .35s var(--ease-out) forwards; }
.nav-item.open .dropdown-item:nth-child(1){ animation-delay: .04s; }
.nav-item.open .dropdown-item:nth-child(2){ animation-delay: .08s; }
.nav-item.open .dropdown-item:nth-child(3){ animation-delay: .12s; }
.nav-item.open .dropdown-item:nth-child(4){ animation-delay: .16s; }
.nav-item.open .dropdown-item:nth-child(5){ animation-delay: .20s; }
.nav-item.open .dropdown-item:nth-child(6){ animation-delay: .24s; }
.nav-item.open .dropdown-item:nth-child(7){ animation-delay: .28s; }
.nav-item.open .dropdown-item:nth-child(8){ animation-delay: .32s; }
@keyframes ddIn{ to{ opacity:1; transform: translateX(0); } }
.dropdown-item:hover{ background: linear-gradient(90deg, rgba(212,175,55,.10), transparent); color: var(--d-text); }
.dropdown-item .icon{
  width: 34px; height:34px;
  display:grid; place-items:center;
  border-radius: 9px;
  background: rgba(212,175,55,.10);
  color: var(--gold-1); font-size: 13px;
  flex-shrink:0; transition: all .25s var(--ease);
}
.dropdown-item:hover .icon{
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #0a0f1f; box-shadow: 0 4px 14px var(--gold-glow);
  transform: scale(1.05);
}
.dropdown-item .meta{ display:flex; flex-direction:column; flex: 1; min-width: 0; }
.dropdown-item .title-row{ display:flex; align-items:center; gap:8px; font-weight: 600; color: var(--d-text); }
.dropdown-item .desc{ font-size: 11.5px; color: var(--d-text-soft); margin-top: 2px; }
.dropdown-item .badge{
  font-size: 9.5px; padding: 2px 7px;
  border-radius: 999px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
}
.badge.new{ background: rgba(26,188,136,.18); color: #5af0b8; }
.badge.hot{ background: rgba(239,71,96,.18); color: #ff8a99; }
.dropdown-item .arrow{ margin-left: auto; font-size: 10px; color: var(--d-text-soft); transition: transform .25s var(--ease); }
html[dir="rtl"] .dropdown-item .arrow{ margin-left: 0; margin-right: auto; transform: rotate(180deg); }
.dropdown-item:hover .arrow{ transform: translateX(3px); color: var(--gold-1); }
html[dir="rtl"] .dropdown-item:hover .arrow{ transform: rotate(180deg) translateX(3px); }
.dropdown-divider{ height:1px; background: var(--d-line); margin: 6px 4px; }
.dropdown-heading{ font-size: 10.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--d-text-soft); padding: 10px 12px 6px; font-weight: 700; }
.dropdown.mega{ min-width: 360px; padding: 12px; }

.has-submenu{ position: relative; }
.submenu{
  position: absolute; top: -10px; left: calc(100% + 6px);
  min-width: 240px; padding: 10px;
  background: linear-gradient(180deg, rgba(12,18,90,.99), rgba(3,6,65,.99));
  border: 1px solid var(--d-line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden;
  transform: translateX(-10px) scale(.98);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility .25s linear;
}
html[dir="rtl"] .submenu{ left:auto; right: calc(100% + 6px); transform: translateX(10px) scale(.98); }
.has-submenu:hover > .submenu,
.has-submenu.open > .submenu{ opacity: 1; visibility: visible; transform: translateX(0) scale(1); }

.nav-actions{ display:flex; align-items:center; gap: 10px; }
.icon-btn{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 10px;
  color: var(--d-text-dim);
  border: 1px solid var(--d-line);
  transition: all .25s var(--ease);
}
.icon-btn:hover{ color: var(--d-text); border-color: var(--gold-2); background: rgba(212,175,55,.06); }
.lang-btn .flag{ font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--gold-1); }

.btn{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: .3px; cursor: pointer;
  transition: all .3s var(--ease); white-space: nowrap;
  border: 1px solid transparent;
}
.btn-ghost-dark{ color: var(--d-text); border-color: var(--d-line-2); }
.btn-ghost-dark:hover{ border-color: var(--gold-2); background: rgba(212,175,55,.06); }
.btn-gold{
  color: #0a0f1f;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 60%, var(--gold-3) 100%);
  box-shadow: 0 8px 20px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.45);
  position: relative; overflow: hidden;
}
.btn-gold::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease-out);
}
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px var(--gold-glow); }
.btn-gold:hover::after{ transform: translateX(100%); }
.btn-outline{
  color: var(--navy); border-color: var(--line-2); background: var(--bg-alt);
}
.btn-outline:hover{ border-color: var(--gold-2); color: var(--gold-3); background: rgba(212,175,55,.06); }
.btn-navy{
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff; box-shadow: 0 8px 20px rgba(11,29,58,.25);
}
.btn-navy:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,29,58,.32); }
.btn-lg{ padding: 14px 26px; font-size: 14.5px; }

.burger{
  display:none; width: 44px; height: 44px;
  border-radius: 10px; border:1px solid var(--d-line-2);
  flex-direction: column; gap:5px; align-items:center; justify-content:center;
  cursor: pointer;
}
.burger:hover{ border-color: var(--gold-2); }
.burger span{ display:block; width: 22px; height: 2px; background: var(--d-text); border-radius: 2px; transition: all .35s var(--ease); }
.burger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); background: var(--gold-1); }
.burger.active span:nth-child(2){ opacity: 0; }
.burger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); background: var(--gold-1); }

/* Drawer */
.drawer-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s linear;
  z-index: 80;
}
.drawer-backdrop.show{ opacity:1; visibility:visible; }
.drawer{
  position: fixed; top: 0; right: 0;
  width: min(380px, 86vw); height: 100vh;
  background: linear-gradient(180deg, #060a52 0%, #030641 100%);
  border-left: 1px solid var(--d-line-2);
  z-index: 90; transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  display:flex; flex-direction: column; overflow: hidden;
  color: var(--d-text);
}
html[dir="rtl"] .drawer{ right:auto; left: 0; border-left: none; border-right: 1px solid var(--d-line-2); transform: translateX(-100%); }
.drawer.show{ transform: translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--d-line); }
.drawer-head .brand img{ height: 38px; }
.drawer-close{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 10px;
  border: 1px solid var(--d-line-2);
  color: var(--d-text-dim);
  transition: all .25s var(--ease);
}
.drawer-close:hover{ color: var(--gold-1); border-color: var(--gold-2); }
.drawer-body{ flex: 1; overflow-y: auto; padding: 14px 14px 20px; }
.drawer-body::-webkit-scrollbar{ width: 6px; }
.drawer-body::-webkit-scrollbar-thumb{ background: rgba(212,175,55,.3); border-radius:6px; }
.m-item{ display:block; width:100%; text-align:left; }
html[dir="rtl"] .m-item{ text-align: right; }
.m-link{
  display:flex; align-items:center; justify-content: space-between;
  width: 100%; padding: 14px 14px;
  font-size: 15px; font-weight: 600; color: var(--d-text);
  border-radius: 10px; transition: all .25s var(--ease);
}
.m-link:hover, .m-item.open > .m-link{ background: rgba(212,175,55,.08); color: var(--gold-1); }
.m-link .chev{ transition: transform .35s var(--ease); font-size: 11px; opacity:.7; }
.m-item.open > .m-link .chev{ transform: rotate(180deg); color: var(--gold-1); }
.m-sub{ max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); padding-left: 14px; }
html[dir="rtl"] .m-sub{ padding-left: 0; padding-right: 14px; }
.m-item.open > .m-sub{ max-height: 1200px; }
.m-sub .m-link{ font-size: 13.5px; color: var(--d-text-dim); font-weight: 500; padding: 11px 14px; }
.m-sub .m-sub .m-link{ font-size: 12.5px; opacity: .85; }
.drawer-foot{ padding: 16px; border-top: 1px solid var(--d-line); display:flex; flex-direction: column; gap: 10px; }

/* ============== HERO (two-column with animated chart) ============== */
.hero{
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(79,140,255,.08), transparent 60%),
    var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1{
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-content h1 .gold{
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-content p{ font-size: 17px; color: var(--text-mute); max-width: 560px; margin: 0 0 32px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-trust{
  margin-top: 36px;
  display:flex; align-items:center;
  gap: 14px; flex-wrap: wrap;
  color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 600;
}
.hero-trust .pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-trust .pill i{ color: var(--gold-2); font-size: 13px; }

/* Hero visual + animated chart */
.hero-visual{
  position: relative;
  aspect-ratio: 1.15 / 1;
  width: 100%;
}
.hero-visual::before{
  content:"";
  position:absolute; inset: -10% -8% -10% -8%;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(212,175,55,.16), transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(26,188,136,.10), transparent 70%);
  filter: blur(20px);
  pointer-events:none;
}
.hero-chart{
  position: relative;
  width: 100%; height: 100%;
}
.hero-chart-svg{ width: 100%; height: 100%; display: block; }
.chart-grid line{ stroke: rgba(11,29,58,.07); stroke-dasharray: 3 6; }
.chart-axis text{ fill: var(--text-soft); font-size: 11px; font-family: 'Inter', sans-serif; font-weight: 600; }
.chart-candle{ animation: candleRise .9s var(--ease-out) backwards; }
@keyframes candleRise{
  from{ transform: translateY(20px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}
.chart-area-path{
  fill: url(#heroAreaGrad);
  animation: areaFade 1.4s var(--ease-out) both;
}
@keyframes areaFade{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
.chart-line-path{
  fill: none;
  stroke: url(#heroLineGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawLine 2.4s var(--ease-out) .2s forwards;
  filter: drop-shadow(0 4px 10px rgba(212,175,55,.35));
}
@keyframes drawLine{ to{ stroke-dashoffset: 0; } }
.chart-dot{
  fill: var(--gold-1);
  stroke: #fff; stroke-width: 2;
  transform-origin: center; transform-box: fill-box;
  filter: drop-shadow(0 0 10px var(--gold-glow));
  opacity: 0;
  animation: dotShow .4s var(--ease-out) 2.5s forwards;
}
@keyframes dotShow{ to{ opacity: 1; } }
.chart-dot-ring{
  fill: none;
  stroke: var(--gold-2); stroke-width: 2;
  transform-origin: center; transform-box: fill-box;
  animation: dotPulse 2s var(--ease-out) 2.7s infinite;
  opacity: 0;
}
@keyframes dotPulse{
  0%{ r: 6; opacity: .9; }
  100%{ r: 22; opacity: 0; }
}

/* Floating overlay cards on hero chart */
.hero-float{
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 16px 36px -10px rgba(11,29,58,.20);
  min-width: 140px;
  display:flex; flex-direction: column; gap: 4px;
  animation: floatBob 6s ease-in-out infinite;
}
.hero-float.f1{ top: 8%; left: -4%; animation-delay: 0s; }
.hero-float.f2{ bottom: 14%; right: -4%; animation-delay: -3s; }
html[dir="rtl"] .hero-float.f1{ left: auto; right: -4%; }
html[dir="rtl"] .hero-float.f2{ right: auto; left: -4%; }
@keyframes floatBob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.hero-float .hf-top{ display:flex; align-items:center; gap:8px; }
.hero-float .hf-icon{
  width: 26px; height: 26px;
  display:grid; place-items:center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--navy); font-size: 11px;
}
.hero-float .hf-sym{ font-weight: 800; font-size: 12.5px; color: var(--text); letter-spacing: .3px; }
.hero-float .hf-price{ font-weight: 800; font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.hero-float .hf-change{ display:inline-flex; align-items:center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; align-self: flex-start; }
.hero-float .hf-change.up{ background: rgba(26,188,136,.14); color: #0a8a5c; }
.hero-float .hf-change.down{ background: rgba(239,71,96,.14); color: #b9344b; }

/* ============== SECTIONS GENERIC ============== */
.section{ padding: 90px 0; position: relative; }
.section.tinted{ background: var(--bg-alt); }
.section.soft{ background: var(--bg-soft); }
.section-head{ text-align: center; margin-bottom: 56px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 14px;
  background: rgba(212,175,55,.10);
  color: var(--gold-3);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.eyebrow i{ font-size: 11px; }
.section-title{
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800; letter-spacing: -1px;
  margin: 0 0 14px; color: var(--text);
}
.section-title .gold{
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub{ color: var(--text-mute); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* ============== PACKAGES ============== */
.packages{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card{
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.pkg-card::before{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,.04));
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.pkg-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(212,175,55,.3); }
.pkg-card:hover::before{ opacity: 1; }
.pkg-card.featured{
  /*background: linear-gradient(180deg, #0d1730 0%, #050911 100%);*/
  background: #030641;
  color: #e9edf6;
  border: 1px solid transparent;
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -20px rgba(11,29,58,.4), 0 0 0 1px rgba(212,175,55,.25);
}
.pkg-card.featured::after{
  content:""; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--gold-1), transparent 40%, var(--gold-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.pkg-card.featured:hover{ transform: translateY(-18px); }
.pkg-ribbon{
  position: absolute; top: 18px; right: -36px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #0a0f1f;
  padding: 6px 44px;
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  transform: rotate(38deg);
  box-shadow: 0 6px 14px var(--gold-glow);
}
html[dir="rtl"] .pkg-ribbon{ right:auto; left: -36px; transform: rotate(-38deg); }
.pkg-name{ font-size: 14px; text-transform: uppercase; letter-spacing: 4px; font-weight: 800; color: var(--gold-3); margin: 0 0 10px; }
.pkg-card.featured .pkg-name{ color: var(--gold-1); }
.pkg-tag{ font-size: 13px; color: var(--text-mute); margin-bottom: 22px; }
.pkg-card.featured .pkg-tag{ color: #a8b1c7; }
.pkg-price{ display:flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pkg-price .lbl{ font-size: 12px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.pkg-spread{
  font-size: 44px; font-weight: 900; letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--text), var(--text-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pkg-card.featured .pkg-spread{ background: linear-gradient(135deg, var(--gold-1), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-pip{ color: var(--text-soft); font-weight: 600; font-size: 13px; }
.pkg-card.featured .pkg-pip{ color: #a8b1c7; }
.pkg-divider{ height: 1px; background: var(--line); margin: 22px 0; }
.pkg-card.featured .pkg-divider{ background: rgba(255,255,255,.08); }
.pkg-features{ list-style: none; margin: 0 0 26px; padding: 0; display:flex; flex-direction: column; gap: 12px; }
.pkg-features li{ display:flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.pkg-card.featured .pkg-features li{ color: #d6dceb; }
.pkg-features li i{
  flex-shrink: 0; width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(212,175,55,.14);
  color: var(--gold-3); font-size: 10px; margin-top: 1px;
}
.pkg-card.featured .pkg-features li i{ background: rgba(212,175,55,.18); color: var(--gold-1); }
.pkg-features li b{ color: var(--text); font-weight: 700; }
.pkg-card.featured .pkg-features li b{ color: #fff; }
.pkg-cta{ width: 100%; justify-content: center; }

/* ============== PRODUCTS ============== */
.prod-head{ display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.prod-tabs{ display:flex; gap: 6px; flex-wrap: wrap; background: var(--bg-alt); padding: 6px; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.prod-tab{ padding: 9px 18px; font-size: 13px; font-weight: 600; color: var(--text-mute); border-radius: 999px; transition: all .25s var(--ease); white-space: nowrap; }
.prod-tab:hover{ color: var(--gold-3); }
.prod-tab.active{ color: #0a0f1f; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); box-shadow: 0 4px 12px var(--gold-glow); }
.prod-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card{
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden; cursor: pointer;
}
.prod-card:hover{ transform: translateY(-6px); border-color: rgba(212,175,55,.4); box-shadow: var(--shadow-lg); }
.prod-top{ display:flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-sym{ display:flex; align-items:center; gap: 10px; }
.prod-sym .icon{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(212,175,55,.05));
  color: var(--gold-3); font-size: 16px;
  border: 1px solid rgba(212,175,55,.18);
}
.prod-sym .pair{ font-weight: 800; font-size: 15px; color: var(--text); letter-spacing: .5px; }
.prod-sym .name{ font-size: 11px; color: var(--text-soft); font-weight: 500; }
.prod-change{ display:inline-flex; align-items:center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.prod-change.up{ background: rgba(26,188,136,.12); color: #098e5d; }
.prod-change.down{ background: rgba(239,71,96,.12); color: #c0334a; }
.prod-spark{ height: 56px; position: relative; }
.prod-spark svg{ width: 100%; height: 100%; display:block; }
.prod-price{ display:flex; align-items: end; justify-content: space-between; gap: 10px; }
.prod-bid, .prod-ask{ display:flex; flex-direction: column; }
.prod-bid .lbl, .prod-ask .lbl{ font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-soft); font-weight: 700; }
.prod-bid .val{ color: var(--danger); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.prod-ask .val{ color: var(--success); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; }
.prod-foot{ display:flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--text-mute); }
.prod-foot .spread{ font-weight: 600; }
.prod-foot .trade{ color: var(--gold-3); font-weight: 700; display:inline-flex; align-items: center; gap: 4px; transition: gap .25s var(--ease); }
.prod-foot .trade:hover{ gap: 8px; color: var(--gold-2); }

/* ============== WHY RAprime ============== */
.why{
  position: relative; padding: 80px 0;
  background: linear-gradient(135deg, #0b1d3a 0%, #0a1426 50%, #07101e 100%);
  color: #fff; overflow: hidden;
}
.why::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 350px at 0% 0%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(700px 350px at 100% 100%, rgba(79,140,255,.10), transparent 60%);
}
.why::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background: #030641;
  background-size: 22px 22px; opacity: .35;
}
.why .container{ position: relative; z-index: 1; }
.why-head{ text-align: center; margin-bottom: 48px; }
.why-head .eyebrow{ background: rgba(212,175,55,.18); color: var(--gold-1); border-color: rgba(212,175,55,.35); }
.why-head h2{ color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; font-weight: 800; letter-spacing: -1px; }
.why-head h2 .gold{ background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-head p{ color: #c0c8db; max-width: 620px; margin: 0 auto; }
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center; position: relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  backdrop-filter: blur(8px);
}
.stat-card:hover{ transform: translateY(-6px); border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.05); }
.stat-icon{
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #0a0f1f; font-size: 22px;
  box-shadow: 0 10px 24px var(--gold-glow);
}
.stat-num{
  font-size: 44px; font-weight: 900; letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff, var(--gold-1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.stat-plus{ color: var(--gold-1); font-weight: 700; margin-left: 4px; }
.stat-label{ margin-top: 10px; color: #c0c8db; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; }

/* ============== OFFICES (World Map) ============== */
.offices-grid{
  display:grid; grid-template-columns: 1.2fr 1fr;
  gap: 50px; align-items: center;
}
.world-wrap{
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #0b1d3a 0%, #060d20 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.world-wrap::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(500px 250px at 20% 20%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(500px 250px at 80% 80%, rgba(79,140,255,.08), transparent 60%);
  pointer-events:none;
}
.world-wrap::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .8; pointer-events: none;
}
.world-svg{
  width: 100%; height: auto;
  display: block;
  position: relative; z-index: 1;
}
.world-continent{
  fill: rgba(212,175,55,.16);
  stroke: rgba(212,175,55,.32);
  stroke-width: 0.6;
  transition: fill .4s var(--ease);
}
.world-svg:hover .world-continent{ fill: rgba(212,175,55,.20); }
.world-grid line{ stroke: rgba(255,255,255,.05); }
.world-arc{
  fill: none;
  stroke: var(--gold-1);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--gold-glow));
  animation: arcFlow 16s linear infinite;
}
@keyframes arcFlow{ to{ stroke-dashoffset: -200; } }
.map-marker{ cursor: pointer; }
.map-marker .pin{
  fill: var(--gold-2);
  stroke: #fff; stroke-width: 2;
  filter: drop-shadow(0 0 6px var(--gold-glow));
  transition: fill .3s var(--ease), r .3s var(--ease);
}
.map-marker .ring{
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2;
  opacity: .85;
  transform-origin: center; transform-box: fill-box;
}
.map-marker .ring.r1{ animation: ringExpand 2.4s ease-out infinite; }
.map-marker .ring.r2{ animation: ringExpand 2.4s ease-out infinite .8s; }
.map-marker .ring.r3{ animation: ringExpand 2.4s ease-out infinite 1.6s; }
@keyframes ringExpand{
  0%{ r: 6; opacity: .9; }
  100%{ r: 36; opacity: 0; }
}
.map-marker .label{
  fill: #f5d77a;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.6));
}
.map-marker.active .pin{
  fill: #fff;
  r: 8;
}
.map-marker.active .ring{ stroke: #fff; }
.map-marker.active .label{ fill: #fff; }

.world-legend{
  display:flex; justify-content: center; gap: 28px;
  margin-top: 20px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.world-legend span{
  display:inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #c0c8db; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.world-legend .dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 8px var(--gold-glow);
}

.offices-list{ display:flex; flex-direction: column; gap: 18px; }
.office-card{
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display:flex; gap: 18px; cursor: pointer;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.office-card::before{
  content:""; position:absolute; left:0; top:0; bottom:0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
  transform: scaleY(0); transform-origin: top center;
  transition: transform .4s var(--ease);
}
html[dir="rtl"] .office-card::before{ left:auto; right:0; }
.office-card:hover, .office-card.active{
  transform: translateX(6px);
  border-color: rgba(212,175,55,.35);
  box-shadow: var(--shadow-md);
}
html[dir="rtl"] .office-card:hover,
html[dir="rtl"] .office-card.active{ transform: translateX(-6px); }
.office-card:hover::before, .office-card.active::before{ transform: scaleY(1); }
.office-flag{
  flex-shrink: 0; width: 60px; height: 60px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(212,175,55,.03));
  border: 1px solid rgba(212,175,55,.2);
  font-size: 30px;
}
.office-info h4{ margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--text); }
.office-role{
  display:inline-block;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold-3);
  background: rgba(212,175,55,.10);
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 8px;
}
.office-info p{ margin: 0; color: var(--text-mute); font-size: 13px; line-height: 1.6; }
.office-info .meta{ display:flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-soft); }
.office-info .meta span{ display:inline-flex; align-items: center; gap: 5px; }
.office-info .meta i{ color: var(--gold-2); }

/* ============== LICENSES ============== */
.licenses{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lic-card{
  position: relative;
  padding: 36px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
}
.lic-card::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(400px 220px at 50% 0%, rgba(212,175,55,.10), transparent 60%);
  z-index: -1;
}
.lic-card::after{
  content:""; position:absolute; left: 50%; top: 0;
  width: 60%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: translateX(-50%);
}
.lic-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lic-seal{
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
  color: #0b1d3a; font-size: 38px;
  box-shadow: 0 12px 26px var(--gold-glow), inset 0 2px 0 rgba(255,255,255,.5);
  position: relative;
}
.lic-seal::before{
  content:""; position:absolute; inset:-6px;
  border-radius: 50%;
  border: 2px dashed rgba(212,175,55,.35);
  animation: spinSlow 30s linear infinite;
}
@keyframes spinSlow{ to{ transform: rotate(360deg); } }
.lic-name{ font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.lic-region{ display:inline-flex; align-items:center; gap: 6px; font-size: 12px; color: var(--text-mute); font-weight: 600; margin-bottom: 22px; }
.lic-meta{ display:flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; gap: 10px; }
.lic-row{ display:flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.lic-row .k{ color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; font-size: 10.5px; }
.lic-row .v{ color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.lic-verify{
  display:inline-flex; align-items: center; gap: 6px;
  margin-top: 22px;
  font-size: 12.5px; font-weight: 700;
  color: var(--gold-3);
  border: 1px solid rgba(212,175,55,.3);
  padding: 8px 14px; border-radius: 999px;
  transition: all .25s var(--ease);
}
.lic-verify:hover{ background: var(--gold-2); color: #0b1d3a; border-color: var(--gold-2); }

/* ============== COURSES ============== */
.courses-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card{
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.course-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1d3a, #1a2a4a);
}
.course-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.course-card:hover .course-thumb img{ transform: scale(1.08); }
.course-thumb::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,16,30,.85));
}
.course-badge{
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #0b1d3a;
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--gold-glow);
}
html[dir="rtl"] .course-badge{ left:auto; right: 14px; }
.course-meta-row{
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  display:flex; justify-content: space-between; align-items: center;
  color: #e9edf6; font-size: 12px;
}
.course-meta-row span{ display:inline-flex; align-items: center; gap: 5px; }
.course-meta-row i{ color: var(--gold-1); }
.course-body{ padding: 22px 22px 24px; display:flex; flex-direction: column; flex: 1; }
.course-cat{ font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-3); font-weight: 700; margin-bottom: 8px; }
.course-title{ font-size: 18px; font-weight: 800; color: var(--text); margin: 0 0 10px; line-height: 1.3; }
.course-desc{ color: var(--text-mute); font-size: 13.5px; line-height: 1.6; flex: 1; margin: 0 0 18px; }
.course-actions{ display:flex; gap: 10px; }
.course-actions .btn{ flex: 1; justify-content: center; padding: 10px 14px; font-size: 12.5px; }
.courses-cta{ display:flex; justify-content: center; margin-top: 48px; }

/* ============== FOOTER ============== */
.footer{
  position: relative;
  background: linear-gradient(180deg, #060912 0%, #04060d 100%);
  border-top: 1px solid var(--d-line);
  overflow: hidden;
  color: var(--d-text);
}
.footer::before{
  content:""; position:absolute; left:0; right:0; top:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity:.5;
}
.footer::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(500px 250px at 10% 0%, rgba(212,175,55,.06), transparent 60%),
    radial-gradient(500px 250px at 90% 100%, rgba(79,140,255,.06), transparent 60%);
  pointer-events:none;
}
.newsletter{
  max-width: var(--maxw); margin: 0 auto;
  padding: 50px 24px 30px;
  display:grid; grid-template-columns: 1.2fr 1fr;
  gap: 40px; align-items: center;
  position: relative;
}
.newsletter h3{ font-size: 26px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.5px; color: #fff; }
.newsletter h3 .gold{ background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.newsletter p{ margin: 0; color: var(--d-text-dim); font-size: 14px; }
.newsletter-form{
  display:flex; gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--d-line-2);
  border-radius: 14px; padding: 6px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.newsletter-form:focus-within{ border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(212,175,55,.08); }
.newsletter-form input{ flex: 1; background: transparent; border: 0; outline: 0; padding: 12px 14px; color: var(--d-text); font-size: 14px; font-family: inherit; }
.newsletter-form input::placeholder{ color: var(--d-text-soft); }
.footer-main{
  max-width: var(--maxw); margin: 0 auto;
  padding: 40px 24px 30px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
  gap: 40px; position: relative;
  border-top: 1px solid var(--d-line);
}
.f-col h4{ font-size: 12px; text-transform: uppercase; letter-spacing: 2.4px; color: var(--gold-1); margin: 0 0 18px; font-weight: 700; }
.f-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction: column; gap: 10px; }
.f-links a{ color: var(--d-text-dim); font-size: 13.5px; display:inline-flex; align-items:center; gap:8px; transition: all .25s var(--ease); }
.f-links a::before{ content:""; width:0; height:1px; background: var(--gold-2); transition: width .3s var(--ease); }
.f-links a:hover{ color: var(--gold-1); transform: translateX(3px); }
html[dir="rtl"] .f-links a:hover{ transform: translateX(-3px); }
.f-links a:hover::before{ width: 14px; }
.f-brand-block .brand{ margin-bottom: 16px; }
.f-brand-block .brand img{ height: 50px; }
.f-brand-block p{ color: var(--d-text-dim); font-size: 13.5px; line-height: 1.7; margin: 0 0 18px; }
.f-contact{ display:flex; flex-direction:column; gap: 10px; }
.f-contact a, .f-contact span{ display:inline-flex; align-items:flex-start; gap:10px; color: var(--d-text-dim); font-size: 13.5px; line-height: 1.55; transition: color .25s var(--ease); }
.f-contact a:hover{ color: var(--gold-1); }
.f-contact i{ color: var(--gold-2); width: 16px; margin-top: 4px; flex-shrink:0; }
.f-social{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.f-social a{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 10px;
  border: 1px solid var(--d-line-2);
  color: var(--d-text-dim);
  transition: all .3s var(--ease);
}
.f-social a:hover{ color: #0a0f1f; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); border-color: transparent; transform: translateY(-3px); box-shadow: 0 8px 20px var(--gold-glow); }
.payment-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.pay-chip{
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--d-line-2);
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  color: var(--d-text-dim);
  transition: all .25s var(--ease);
}
.pay-chip:hover{ color: var(--gold-1); border-color: var(--gold-2); }
.compliance{ max-width: var(--maxw); margin: 0 auto; padding: 30px 24px; border-top: 1px solid var(--d-line); position: relative; }
.warning-block{
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--d-line);
  border-left: 3px solid var(--gold-2);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--d-text-soft);
  line-height: 1.7;
}
html[dir="rtl"] .warning-block{ border-left: 1px solid var(--d-line); border-right: 3px solid var(--gold-2); }
.warning-block .w-title{ display:flex; align-items:center; gap:10px; color: var(--gold-1); font-size: 13px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; }
.warning-block .w-title i{ font-size: 14px; }
.fc-badge{
  display:flex; align-items:center; gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(212,175,55,.08), rgba(212,175,55,.02));
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 12px;
  margin: 18px 0;
}
.fc-badge .fc-icon{ width: 46px; height: 46px; display:grid; place-items:center; border-radius: 11px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #0a0f1f; flex-shrink: 0; font-size: 18px; }
.fc-badge p{ margin: 0; font-size: 13px; color: var(--d-text-dim); line-height: 1.55; }
.fc-badge a{ color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.sub-footer{ max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--d-line); font-size: 12.5px; color: var(--d-text-soft); }
.sub-footer .sub-links{ display:flex; gap: 18px; flex-wrap: wrap; }
.sub-footer a{ color: var(--d-text-soft); transition: color .25s var(--ease); }
.sub-footer a:hover{ color: var(--gold-1); }

/* Floating */
.float-actions{
  position: fixed; bottom: 22px; right: 22px;
  z-index: 70; display:flex; flex-direction: column; gap: 10px;
}
html[dir="rtl"] .float-actions{ right: auto; left: 22px; }
.float-btn{
  width: 56px; height: 56px;
  display:grid; place-items:center;
  border-radius: 50%; font-size: 22px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
  position: relative;
}
.float-btn::before{
  content:""; position:absolute; inset:-3px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: .3;
  animation: ringPulse 2.4s var(--ease) infinite;
}
@keyframes ringPulse{ 0%{ transform: scale(1); opacity:.4; } 100%{ transform: scale(1.4); opacity: 0; } }
.float-btn:hover{ transform: translateY(-4px); }
.float-btn.wa{ background: linear-gradient(135deg,#25D366,#128C7E); }
.float-btn.tg{ background: linear-gradient(135deg,#41B7E5,#0088CC); }

/* Reveal on scroll */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1180px){
  .nav-list{ display:none; }
  .burger{ display:flex; }
  .nav-actions .btn-ghost-dark,
  .nav-actions > .nav-item.has-dd{ display:none; }
  .hero-grid{ grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-content p{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .hero-trust{ justify-content: center; }
  .hero-visual{ max-width: 540px; margin: 0 auto; }
  .packages{ grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pkg-card.featured{ transform: none; }
  .pkg-card.featured:hover{ transform: translateY(-8px); }
  .prod-grid{ grid-template-columns: repeat(3, 1fr); }
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .offices-grid{ grid-template-columns: 1fr; gap: 30px; }
  .licenses{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .courses-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-main{ grid-template-columns: 1.4fr 1fr 1fr; }
  .f-brand-block{ grid-column: 1 / -1; }
  .newsletter{ grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px){
  .statusbar-inner{ padding: 8px 16px; gap: 10px; font-size: 11.5px; }
  .market-ticker{ display:none; }
  .status-left{ gap: 12px; }
  .nav{ padding: 12px 16px; }
  .brand img{ height: 42px; }
  .nav-actions .btn-gold{ padding: 10px 14px; font-size: 12.5px; }
  .hero{ padding: 50px 0 70px; }
  .hero-grid{ gap: 40px; }
  .hero-float{ display:none; }
  .section{ padding: 64px 0; }
  .section-head{ margin-bottom: 36px; }
  .prod-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-card{ padding: 14px; }
  .footer-main{ grid-template-columns: 1fr 1fr; padding: 30px 18px; gap: 28px; }
  .f-brand-block{ grid-column: 1 / -1; }
  .newsletter{ padding: 36px 18px 20px; }
  .newsletter h3{ font-size: 22px; }
  .compliance{ padding: 24px 18px; }
  .sub-footer{ padding: 20px 18px; flex-direction: column; align-items: flex-start; }
  .float-btn{ width: 50px; height: 50px; font-size: 19px; }
  .stats{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card{ padding: 22px 14px; }
  .stat-num{ font-size: 32px; }
}
@media (max-width: 480px){
  .prod-grid{ grid-template-columns: 1fr; }
  .footer-main{ grid-template-columns: 1fr; }
  .status-right .status-item:not(.status-pulse-wrap){ display:none; }
  .social-mini{ display:none; }
  .prod-tabs{ width: 100%; overflow-x: auto; flex-wrap: nowrap; }
}
