/* سایت معرفی دودرسان — رنگ‌ها از حالت تاریک اپ (src/index.css): سرمه‌ای + کهربایی */
:root {
  --bg: #0b1120;
  --bg-2: #0f172a;
  --card: #111a2e;
  --card-2: #16223a;
  --line: rgba(148, 163, 184, 0.14);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #f59e0b;
  --accent-2: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --up: #10b981;
  --down: #f43f5e;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1;
      display: inline-block; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; }
.ms.inline { font-size: 18px; vertical-align: -4px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(11, 17, 32, 0.72); border-bottom: 1px solid var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: .2s; }
.nav-links a:hover { color: var(--text); background: rgba(148, 163, 184, .1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; transition: .2s; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #0b1120; }
.btn-primary:hover { background: #fbbf24; }
.btn-ghost { border: 1px solid var(--line); background: rgba(148, 163, 184, .06); }
.btn-ghost:hover { border-color: rgba(245, 158, 11, .5); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.glow { position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
        background: radial-gradient(600px 320px at 75% 30%, rgba(245, 158, 11, .16), transparent 70%),
                    radial-gradient(520px 300px at 15% 10%, rgba(16, 185, 129, .08), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px;
        background: rgba(148, 163, 184, .08); border: 1px solid var(--line); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.25; margin: 22px 0 18px; font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; margin: 8px 0 16px; font-weight: 800; }
h3 { margin: 0 0 6px; font-size: 18px; }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 0 28px; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.plat { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 14px; cursor: pointer;
        background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit; font-weight: 600; transition: .2s; }
.plat:hover { border-color: rgba(245, 158, 11, .55); background: var(--card-2); }
.plat .caret { font-size: 18px; color: var(--muted); }
.plat small { color: var(--muted); font-weight: 400; }
.plat-wide { margin-top: 10px; }
.platforms-desk { position: relative; }
.platforms-desk .dd .dd-menu, .platforms-desk .dd:last-child .dd-menu { right: 0; left: auto; min-width: 320px; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 250px; padding: 8px; border-radius: 16px; z-index: 20;
           background: #121c31; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
           opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.dd:hover .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 10px; border-radius: 12px; }
.dd-menu a:hover { background: rgba(148, 163, 184, .08); }
.dd-menu a .ms { grid-row: span 2; align-self: center; color: var(--accent); }
.dd-menu a small { color: var(--muted); font-size: 12px; }
.dd-menu .soon { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; column-gap: 8px; padding: 10px;
                 border-radius: 12px; color: var(--muted); cursor: not-allowed; }
.dd-menu .soon .ms { color: var(--muted); opacity: .7; }
.dd-menu .soon b { font-weight: 600; }
.dd-menu .soon small { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgba(148, 163, 184, .12); color: var(--muted); }
.platforms .dd:last-child .dd-menu { right: auto; left: 0; }
.dd-text { padding: 14px 16px; min-width: 290px; font-size: 14px; }
.dd-text p { margin: 0 0 6px; }
.dd-text ol { margin: 0; padding-inline-start: 18px; color: var(--muted); }
.dd-text a { color: var(--accent); display: inline; padding: 0; }

.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .ms { font-size: 18px; color: var(--up); }

/* ---------- cards / mocks ---------- */
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hero-art { display: grid; gap: 14px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.card-head > div { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.card-head small { color: var(--muted); font-size: 12px; }
.soft { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(16, 185, 129, .14); color: var(--up); }
.price-list { list-style: none; margin: 0; padding: 6px 10px 10px; }
.price-list li { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.price-list li:nth-child(odd) { background: rgba(148, 163, 184, .04); }
.pk { width: 16px; height: 22px; border-radius: 3px; }
.pk-red { background: linear-gradient(90deg, #2f5fa8 50%, #b8bec8 50%); }
.pk-blue { background: linear-gradient(135deg, #2f5fa8 50%, #b8bec8 50%); }
.pk-dark { background: #22262b; border: 1px solid #3b4252; }
.pk-gold { background: #c9a227; }
.nm { font-size: 14px; }
.pr { font-weight: 700; font-size: 14px; font-feature-settings: 'tnum'; }
.chg { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.chg.up { color: var(--up); background: rgba(16, 185, 129, .12); }
.chg.down { color: var(--down); background: rgba(244, 63, 94, .12); }
.chg.flat { color: var(--muted); background: rgba(148, 163, 184, .1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.mini small { color: var(--muted); font-size: 12px; }
.big { font-size: 28px; font-weight: 800; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); opacity: .85; }
.spark { width: 100%; height: 38px; }
.spark polyline { fill: none; stroke: var(--up); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.toast { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; }
.toast > div { display: flex; flex-direction: column; line-height: 1.6; }
.toast small { color: var(--muted); font-size: 12px; }
.toast p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent); color: #0b1120; display: grid; place-items: center; font-weight: 800; }

/* ---------- sections ---------- */
.sec { padding: 84px 0; border-top: 1px solid var(--line); }
.sec-head { text-align: center; margin-bottom: 40px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step .num { display: inline-block; font-size: 30px; font-weight: 900; color: var(--accent); margin-bottom: 10px; }
.step p, .feat p { color: var(--muted); margin: 0; font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: .2s; }
.feat:hover { border-color: rgba(245, 158, 11, .35); transform: translateY(-2px); }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.split.alt { background: linear-gradient(180deg, rgba(245, 158, 11, .04), transparent 60%); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; }
.checks .ms { color: var(--up); }
.checks div { display: flex; flex-direction: column; line-height: 1.6; }
.checks small { color: var(--muted); font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.history ol { list-style: none; margin: 0; padding: 8px 12px 12px; }
.history li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li:last-child { border: 0; }
.history b { font-feature-settings: 'tnum'; }
.dash { padding: 16px; }
.dash-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-tabs span { padding: 6px 14px; border-radius: 10px; font-size: 13px; color: var(--muted); background: rgba(148, 163, 184, .06); }
.dash-tabs .on { background: var(--accent); color: #0b1120; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpis div { padding: 14px; border-radius: 14px; background: rgba(148, 163, 184, .06); display: flex; flex-direction: column; }
.kpis small { color: var(--muted); font-size: 12px; }
.kpis b { font-size: 24px; }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.orders li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(148, 163, 184, .04); font-size: 14px; }
.st { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st-new { background: rgba(245, 158, 11, .14); color: var(--accent); }
.st-prep { background: rgba(59, 130, 246, .14); color: #60a5fa; }
.st-done { background: rgba(16, 185, 129, .14); color: var(--up); }

details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
details a { color: var(--accent); }

.foot { border-top: 1px solid var(--line); }
.health { margin: 0; padding: 10px 16px; text-align: center; font-size: 13px; background: rgba(220, 38, 38, .12); color: #fca5a5; }
.foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px 0 34px; }
.foot nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.foot nav a:hover, .foot small a { color: var(--accent); }
.foot small { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .grid3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { padding-top: 44px; }
  #sellers .dash { order: 2; }
}
@media (max-width: 600px) {
  .steps, .grid3, .row2 { grid-template-columns: 1fr; }
  .plat { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .platforms .dd { flex: 1 1 calc(50% - 10px); display: flex; }
  .platforms .dd .plat { flex: 1; }
  .plat-wide { width: 100%; justify-content: center; }
  .platforms { position: relative; }
  .platforms .dd { position: static; }
  .dd-menu, .platforms .dd:last-child .dd-menu { left: 0; right: 0; min-width: 0; }
  .platforms-desk .dd { flex: 1 1 100%; }
  .platforms-desk .dd .plat-wide { flex: 1; }
  .kpis b { font-size: 20px; }
  .sec { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
