
:root{
  --bg:#fbfcff;
  --bg-soft:#f4f7ff;
  --surface:#ffffff;
  --surface-2:#f8fbff;
  --text:#0f172a;
  --muted:#5b6475;
  --border:#e4eaf3;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --green:#10b981;
  --green-soft:#ecfdf5;
  --purple:#8b5cf6;
  --purple-soft:#f5f3ff;
  --orange:#f59e0b;
  --orange-soft:#fffbeb;
  --blue-soft:#eff6ff;
  --shadow:0 18px 45px rgba(15,23,42,.08);
  --radius:28px;
  --radius-sm:18px;
  --container:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cairo",sans-serif;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.05), transparent 22%),
    linear-gradient(180deg,#fbfcff 0%,#fdfefe 100%);
  color:var(--text);
  direction:rtl;
}
a{text-decoration:none;color:inherit}
.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(228,234,243,.95);
}
.header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:84px;
}
.brand{
  font-size:1.65rem;
  font-weight:900;
  color:var(--text);
  letter-spacing:-.6px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:30px;
}
.main-nav a{
  color:var(--muted);
  font-weight:800;
  font-size:1rem;
  transition:.2s ease;
}
.main-nav a:hover{color:var(--primary)}
.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.lang-switch{
  color:var(--muted);
  font-weight:800;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 24px;
  border-radius:16px;
  font-weight:800;
  transition:.2s ease;
}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),#4f8cff);
  color:#fff;
  box-shadow:0 14px 28px rgba(37,99,235,.18);
}
.btn-primary:hover{transform:translateY(-1px)}
.btn-secondary{
  border:1px solid var(--border);
  color:var(--text);
  background:#fff;
}
.btn-secondary:hover{
  border-color:var(--primary);
  color:var(--primary);
}
.menu-toggle{
  display:none;
  width:48px;
  height:48px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  padding:0;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:5px auto;
  border-radius:2px;
}
.hero{
  padding:78px 0 44px;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,.07), transparent 24%),
    radial-gradient(circle at center right, rgba(16,185,129,.05), transparent 20%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.16fr .9fr;
  gap:34px;
  align-items:center;
}
.eyebrow,
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--primary);
  font-size:.95rem;
  font-weight:900;
}
.hero-copy h1{
  margin:18px 0 18px;
  font-size:clamp(2.15rem,4.2vw,4.1rem);
  line-height:1.18;
  letter-spacing:-1.1px;
  font-weight:900;
}
.hero-copy p,
.section-heading p,
.value-card p,
.tool-card p,
.news-card p,
.learn-card p,
.step-card p,
.broker-card li,
.site-footer p{
  color:var(--muted);
  line-height:1.95;
  font-size:1rem;
}
.hero-search{
  display:flex;
  align-items:center;
  gap:12px;
  margin:28px 0 16px;
  padding:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
}
.hero-search input{
  flex:1;
  min-width:0;
  border:none;
  outline:none;
  background:transparent;
  font-family:"Cairo",sans-serif;
  font-size:.98rem;
  color:var(--text);
  font-weight:700;
}
.popular-brokers{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:18px;
}
.popular-brokers span{
  font-weight:800;
  color:var(--muted);
}
.popular-brokers a{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:800;
}
.popular-brokers a:hover{
  border-color:var(--primary);
  color:var(--primary);
}
.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero-trust{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:22px;
  color:var(--muted);
  font-weight:800;
}
.hero-preview{
  display:flex;
  justify-content:center;
}
.preview-card{
  width:min(100%,490px);
  background:linear-gradient(180deg,#ffffff 0%,#fdfefe 100%);
  border:1px solid rgba(228,234,243,.95);
  border-radius:34px;
  box-shadow:var(--shadow);
  padding:24px;
}
.preview-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:20px;
}
.preview-label{
  color:var(--muted);
  font-size:.95rem;
  font-weight:700;
}
.preview-head h3{
  margin:6px 0 0;
  font-size:1.34rem;
  font-weight:900;
}
.score-badge,
.small-score{
  background:#0f172a;
  color:#fff;
  border-radius:999px;
  padding:10px 15px;
  font-weight:900;
  white-space:nowrap;
}
.preview-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-bottom:18px;
}
.mini-stat{
  border-radius:18px;
  padding:15px;
  border:1px solid var(--border);
}
.stat-blue{background:var(--blue-soft)}
.stat-green{background:var(--green-soft)}
.stat-purple{background:var(--purple-soft)}
.stat-orange{background:var(--orange-soft)}
.mini-stat span{
  display:block;
  color:var(--muted);
  font-size:.95rem;
  margin-bottom:6px;
  font-weight:700;
}
.mini-stat strong{
  font-size:.98rem;
  font-weight:900;
}
.signal-list{
  display:grid;
  gap:12px;
}
.signal-row span{
  display:block;
  margin-bottom:8px;
  font-weight:900;
}
.progress{
  width:100%;
  height:10px;
  border-radius:999px;
  background:#e6edf6;
  overflow:hidden;
}
.progress i{
  display:block;
  height:100%;
  border-radius:999px;
}
.bar-blue{background:linear-gradient(90deg,var(--primary),#60a5fa)}
.bar-purple{background:linear-gradient(90deg,var(--purple),#b794f4)}
.bar-green{background:linear-gradient(90deg,var(--green),#34d399)}
.preview-footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.pill,.tool-tag,.news-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  font-weight:900;
  font-size:.9rem;
}
.pill-blue,.tool-tag,.news-tag{background:var(--blue-soft); color:var(--primary)}
.pill-green,.tool-tag-green{background:var(--green-soft); color:var(--green)}
.pill-purple,.tool-tag-purple{background:var(--purple-soft); color:var(--purple)}
.pill-orange,.tool-tag-orange,.news-tag-orange{background:var(--orange-soft); color:var(--orange)}
section{padding:42px 0}
.section-heading{
  max-width:760px;
  margin-bottom:28px;
}
.section-heading h2{
  margin:14px 0 10px;
  font-size:clamp(1.55rem,2.8vw,2.45rem);
  line-height:1.28;
  font-weight:900;
}
.centered{
  text-align:center;
  margin-inline:auto;
}
.value-grid,.tools-grid,.brokers-grid,.steps-grid,.learn-grid,.footer-grid{
  display:grid;
  gap:20px;
}
.value-grid{grid-template-columns:repeat(4,1fr)}
.value-card,
.tool-card,
.news-card,
.chart-card,
.broker-card,
.step-card,
.learn-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:24px;
  box-shadow:0 12px 28px rgba(15,23,42,.04);
}
.value-card h3,
.tool-card h3,
.news-card h3,
.broker-card h3,
.step-card h3,
.learn-card h3,
.chart-head h3{
  margin:16px 0 8px;
  font-size:1.16rem;
  font-weight:900;
}
.value-card-blue{border-top:4px solid var(--primary)}
.value-card-green{border-top:4px solid var(--green)}
.value-card-purple{border-top:4px solid var(--purple)}
.value-card-orange{border-top:4px solid var(--orange)}
.icon-box,.step-no{
  display:inline-grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:16px;
  background:var(--blue-soft);
  color:var(--primary);
  font-weight:900;
  font-size:1rem;
}
.tools-grid{grid-template-columns:1.1fr 1fr 1fr 1fr}
.tool-card.featured{
  background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);
  border-color:#bfd7ff;
}
.text-link{
  display:inline-block;
  margin-top:12px;
  color:var(--primary);
  font-weight:900;
}
.brokers-grid{grid-template-columns:repeat(3,1fr)}
.broker-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.broker-card ul{
  list-style:none;
  padding:0;
  margin:18px 0 0;
}
.market-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.market-news{display:grid;gap:20px}
.news-forex{border-top:4px solid var(--primary)}
.news-gold{border-top:4px solid var(--orange)}
.chart-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.chart-head span{
  color:var(--muted);
  font-size:.95rem;
  font-weight:700;
}
.fake-chart{
  margin:18px 0;
  height:240px;
  border-radius:22px;
  background:
    linear-gradient(transparent 95%, rgba(148,163,184,.18) 95%),
    linear-gradient(90deg, transparent 95%, rgba(148,163,184,.18) 95%),
    linear-gradient(180deg,#f8fbff,#eef5ff);
  background-size:100% 48px, 48px 100%, 100% 100%;
  position:relative;
  overflow:hidden;
}
.chart-line{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.08), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(16,185,129,.08), transparent 20%);
}
.chart-line::after{
  content:"";
  position:absolute;
  right:4%;
  left:4%;
  bottom:20%;
  height:120px;
  border-radius:999px;
  border:4px solid transparent;
  border-top-color:var(--primary);
  border-left-color:var(--green);
  transform:skewX(-18deg);
}
.chart-list{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.chart-list span{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 12px;
  font-weight:800;
}
.steps-grid,.learn-grid{grid-template-columns:repeat(3,1fr)}
.cta-box{
  background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 55%,#f5f3ff 100%);
  border:1px solid #dbe6fb;
  border-radius:34px;
  padding:30px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}
.cta-box h2{
  margin:14px 0 8px;
  font-size:clamp(1.5rem,2.6vw,2.2rem);
  font-weight:900;
}
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.site-footer{
  padding:22px 0 12px;
  border-top:1px solid var(--border);
  background:#fff;
}
.footer-grid{
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  padding:24px 0;
}
.footer-grid h4{
  margin:0 0 14px;
  font-weight:900;
}
.footer-grid a{
  display:block;
  color:var(--muted);
  margin:8px 0;
  font-weight:700;
}
.footer-grid a:hover{color:var(--text)}
.footer-bottom{
  padding-top:14px;
  border-top:1px solid var(--border);
}
@media (max-width:1080px){
  .hero-grid,.market-grid,.cta-box,.tools-grid{grid-template-columns:1fr}
  .value-grid{grid-template-columns:repeat(2,1fr)}
  .brokers-grid,.steps-grid,.learn-grid,.footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:840px){
  .menu-toggle{display:block}
  .main-nav,.header-actions{display:none}
  .header-wrap{
    flex-wrap:wrap;
    min-height:auto;
    padding:14px 0;
  }
  .main-nav.open,
  .header-actions.open{
    display:flex;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:12px 0 4px;
  }
  .hero{padding-top:40px}
}
@media (max-width:640px){
  .container{width:min(var(--container), calc(100% - 20px))}
  section{padding:30px 0}
  .hero-search{flex-direction:column;align-items:stretch}
  .hero-buttons,.cta-actions{flex-direction:column}
  .value-grid,.brokers-grid,.steps-grid,.learn-grid,.footer-grid{grid-template-columns:1fr}
  .preview-stats{grid-template-columns:1fr}
  .hero-copy h1{font-size:clamp(1.9rem,8vw,2.6rem)}
}
