
:root{
  --primary:#0f7ae5;
  --primary-dark:#0a5cb0;
  --accent:#e5860f;
  --green:#16a34a;
  --red:#dc2626;
  --bg:#ffffff;
  --bg2:#f8fafc;
  --bg3:#f1f5f9;
  --text:#0f172a;
  --text2:#475569;
  --text3:#94a3b8;
  --border:#e2e8f0;
  --border2:#cbd5e1;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 1px 3px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.08);
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
}
body{
  font-size:16px;
  line-height:1.8;
  color:var(--text);
  background:var(--bg);
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

/* LAYOUT */
.wrap{max-width:900px;margin:0 auto;padding:0 20px}

/* AUTHOR BAR */
.author-bar{
  display:flex;align-items:center;gap:12px;
  padding:14px 20px;background:var(--bg2);
  border:1px solid var(--border);border-radius:var(--radius-sm);
  margin-bottom:32px;font-size:14px;color:var(--text2);
}
.author-bar strong{color:var(--text);font-weight:600}
.author-avatar{
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(135deg,#0f7ae5,#e5860f);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:15px;flex-shrink:0;
}
.badge-update{
  margin-right:auto;background:#dbeafe;color:#1e40af;
  font-size:12px;font-weight:600;padding:3px 10px;
  border-radius:20px;white-space:nowrap;
}

/* HERO */
.hero{
  background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%);
  color:#fff;padding:48px 24px 40px;border-radius:20px;
  margin-bottom:40px;position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;top:-80px;left:-80px;
  width:320px;height:320px;border-radius:50%;
  background:rgba(14,122,229,.15);
}
.hero-label{
  display:inline-block;background:rgba(229,134,15,.2);
  color:#fbbf24;font-size:12px;font-weight:700;
  padding:4px 12px;border-radius:20px;margin-bottom:16px;
  border:1px solid rgba(251,191,36,.3);
}
.hero h1{font-size:clamp(22px,4vw,32px);font-weight:800;line-height:1.3;margin-bottom:16px}
.hero p{font-size:15px;color:rgba(255,255,255,.8);max-width:600px;line-height:1.7;margin-bottom:24px}
.hero-stats{display:flex;gap:24px;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat .num{font-size:24px;font-weight:800;color:#fbbf24}
.hero-stat .lbl{font-size:12px;color:rgba(255,255,255,.6);margin-top:2px}

/* QUICK NAV */
.quick-nav{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:20px 24px;margin-bottom:40px;
}
.quick-nav h3{font-size:14px;font-weight:700;color:var(--text2);margin-bottom:12px;text-transform:uppercase;letter-spacing:.04em}
.quick-nav ol{padding-right:20px;display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
.quick-nav li{font-size:14px}

/* SECTION TITLES */
.section-title{
  font-size:22px;font-weight:800;color:var(--text);
  margin-bottom:8px;
  padding-bottom:12px;border-bottom:2px solid var(--primary);
  display:inline-block;
}
.section-sub{font-size:15px;color:var(--text2);margin-bottom:28px;line-height:1.7}

/* ---------------------------------------
   COMPARISON TABLE
--------------------------------------- */
.compare-section{margin-bottom:56px}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius);box-shadow:var(--shadow)}

table.compare{
  width:100%;border-collapse:collapse;font-size:14px;
  background:var(--bg);min-width:780px;
}
table.compare thead tr{background:#0f172a;color:#fff}
table.compare thead th{
  padding:14px 12px;text-align:center;font-weight:700;
  font-size:13px;white-space:nowrap;
}
table.compare thead th:first-child{text-align:right;padding-right:16px}
table.compare tbody tr{border-bottom:1px solid var(--border);transition:background .15s}
table.compare tbody tr:hover{background:var(--bg2)}
table.compare tbody tr.top-pick{background:#eff6ff}
table.compare tbody tr.top-pick td:first-child::before{
  content:'?? ';
}
table.compare td{padding:13px 12px;text-align:center;vertical-align:middle}
table.compare td:first-child{text-align:right;padding-right:16px;font-weight:700;font-size:14px}

.score-cell{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;
  font-weight:800;font-size:15px;
}
.score-9{background:#dcfce7;color:#15803d}
.score-8{background:#dbeafe;color:#1d4ed8}
.score-7{background:#fef3c7;color:#92400e}

.tag{
  display:inline-block;font-size:11px;font-weight:600;
  padding:2px 8px;border-radius:20px;white-space:nowrap;
}
.tag-green{background:#dcfce7;color:#166534}
.tag-blue{background:#dbeafe;color:#1e40af}
.tag-orange{background:#ffedd5;color:#9a3412}
.tag-gray{background:#f1f5f9;color:#475569}

.check{color:var(--green);font-size:18px;font-weight:700}
.cross{color:var(--red);font-size:18px}

/* ---------------------------------------
   BROKER CARDS
--------------------------------------- */
.broker-list{display:flex;flex-direction:column;gap:28px;margin-bottom:56px}

.broker-card{
  border:1px solid var(--border);border-radius:20px;
  overflow:hidden;background:var(--bg);
  box-shadow:var(--shadow-sm);position:relative;
}
.broker-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
}
.broker-card.editor-pick::before{
  background:linear-gradient(90deg,#f59e0b,#10b981,#f59e0b);
}

.bc-header{
  display:flex;align-items:center;gap:16px;
  padding:20px 22px 0;
}
.bc-rank{
  width:36px;height:36px;border-radius:50%;
  background:#0f172a;color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:14px;flex-shrink:0;
}
.bc-name{font-size:19px;font-weight:800;color:var(--text)}
.bc-est{font-size:13px;color:var(--text3);font-weight:400;margin-right:8px}
.bc-badges{display:flex;gap:6px;flex-wrap:wrap;margin-right:auto}
.bc-score-wrap{text-align:center;flex-shrink:0}
.bc-score{font-size:28px;font-weight:800;color:var(--primary)}
.bc-score-lbl{font-size:11px;color:var(--text3)}

.editor-badge{
  background:linear-gradient(135deg,#f59e0b,#d97706);
  color:#fff;font-size:11px;font-weight:700;
  padding:3px 10px;border-radius:20px;
}

.bc-body{padding:16px 22px 0}
.bc-desc{font-size:14px;color:var(--text2);line-height:1.75;margin-bottom:16px}

.bc-specs{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;margin-bottom:16px;
}
.spec-item{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius-sm);padding:10px 12px;
}
.spec-label{font-size:11px;color:var(--text3);font-weight:600;margin-bottom:3px;text-transform:uppercase;letter-spacing:.03em}
.spec-value{font-size:14px;font-weight:700;color:var(--text)}

.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.pros,.cons{border-radius:var(--radius-sm);padding:12px 14px}
.pros{background:rgba(22,163,74,.06);border:1px solid rgba(22,163,74,.15)}
.cons{background:rgba(220,38,38,.06);border:1px solid rgba(220,38,38,.15)}
.pros h4,.cons h4{font-size:12px;font-weight:700;margin-bottom:8px;padding-bottom:6px;border-bottom:1px dashed}
.pros h4{color:var(--green);border-color:rgba(22,163,74,.2)}
.cons h4{color:var(--red);border-color:rgba(220,38,38,.2)}
.pros ul,.cons ul{list-style:none;display:flex;flex-direction:column;gap:4px}
.pros li,.cons li{font-size:13px;color:var(--text2);padding-right:18px;position:relative;line-height:1.55}
.pros li::before{content:'?';position:absolute;right:0;color:var(--green);font-weight:700;font-size:11px}
.cons li::before{content:'?';position:absolute;right:0;color:var(--red);font-weight:700;font-size:11px}

.bc-footer{
  display:flex;gap:10px;padding:14px 22px 20px;
  border-top:1px solid var(--border);margin-top:8px;
  flex-wrap:wrap;
}
.btn-primary{
  background:var(--primary);color:#fff;
  border:none;border-radius:10px;padding:10px 22px;
  font-family:'Vazirmatn',Tahoma,sans-serif;
  font-size:14px;font-weight:700;cursor:pointer;
  transition:background .2s,transform .15s;
  display:inline-flex;align-items:center;gap:6px;
}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-secondary{
  background:transparent;color:var(--primary);
  border:1px solid var(--primary);border-radius:10px;
  padding:10px 18px;font-family:'Vazirmatn',Tahoma,sans-serif;
  font-size:13px;font-weight:600;cursor:pointer;
  transition:background .2s;display:inline-flex;align-items:center;gap:6px;
}
.btn-secondary:hover{background:#eff6ff}

/* ---------------------------------------
   CRITERIA BOXES
--------------------------------------- */
.criteria-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;margin-bottom:56px;
}
.criterion{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--radius);padding:20px;
}
.criterion-icon{
  width:44px;height:44px;border-radius:10px;
  background:var(--primary);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;margin-bottom:12px;
}
.criterion h3{font-size:15px;font-weight:700;margin-bottom:6px}
.criterion p{font-size:13px;color:var(--text2);line-height:1.65}

/* STYLE SECTION */
.style-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;margin-bottom:48px;
}
.style-card{
  border:1px solid var(--border);border-radius:var(--radius);
  padding:18px;background:var(--bg);
}
.style-card h3{font-size:14px;font-weight:700;margin-bottom:8px;color:var(--primary)}
.style-card p{font-size:13px;color:var(--text2);line-height:1.6;margin-bottom:10px}
.style-card .recommend{font-size:12px;font-weight:600;color:var(--green)}

/* WARNING BOX */
.warning-box{
  background:#fffbeb;border:1px solid #fcd34d;
  border-radius:var(--radius);padding:18px 20px;
  margin-bottom:32px;display:flex;gap:12px;align-items:flex-start;
}
.warning-box .icon{font-size:22px;flex-shrink:0;margin-top:1px}
.warning-box p{font-size:14px;color:#78350f;line-height:1.6}
.warning-box strong{color:#92400e}

/* INFO BOX */
.info-box{
  background:#eff6ff;border:1px solid #bfdbfe;
  border-radius:var(--radius);padding:18px 20px;margin-bottom:32px;
}
.info-box p{font-size:14px;color:#1e3a8a;line-height:1.65}

/* FAQ */
.faq-list{margin-bottom:48px}
.faq-item{border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:10px;overflow:hidden}
.faq-q{
  padding:16px 18px;font-size:15px;font-weight:600;
  cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  background:var(--bg);transition:background .15s;
}
.faq-q:hover{background:var(--bg2)}
.faq-a{
  padding:0 18px 16px;font-size:14px;color:var(--text2);
  line-height:1.7;border-top:1px solid var(--border);
  padding-top:14px;
}
.faq-a.hidden{display:none}
.faq-arrow{transition:transform .2s;font-size:12px;color:var(--text3)}
.faq-item.open .faq-arrow{transform:rotate(180deg)}

/* CONCLUSION */
.conclusion{
  background:linear-gradient(135deg,#0f172a,#1e3a5f);
  color:#fff;border-radius:20px;padding:36px 32px;
  margin-bottom:48px;
}
.conclusion h2{font-size:22px;font-weight:800;margin-bottom:12px;color:#fbbf24}
.conclusion p{font-size:15px;color:rgba(255,255,255,.8);line-height:1.75;margin-bottom:12px}
.conclusion p:last-child{margin:0}

/* RESPONSIVE */
@media(max-width:640px){
  .pros-cons{grid-template-columns:1fr}
  .hero-stats{gap:16px}
  .quick-nav ol{grid-template-columns:1fr}
  .bc-header{flex-wrap:wrap}
  .bc-badges{margin-right:0;order:3;width:100%}
}

/* UTILITY */
.mb-8{margin-bottom:8px}
.mb-16{margin-bottom:16px}
.mb-32{margin-bottom:32px}
.mb-48{margin-bottom:48px}
.mb-56{margin-bottom:56px}
.mt-8{margin-top:8px}
.section{margin-bottom:56px}
h2.sh{font-size:22px;font-weight:800;margin-bottom:8px;padding-bottom:10px;border-bottom:2px solid var(--primary);display:inline-block}
.sub{font-size:15px;color:var(--text2);margin-bottom:28px;line-height:1.7;display:block}