/* ==========================================================================
   همدید — سیستم طراحی نسخه‌ی جدید
   رنگ برند از لوگو (بنفش عمیق) + دو رنگ معنادار:
   زعفرانی = سیستم مدیریت آموزش ، فیروزه‌ای = کلاس مجازی
   ========================================================================== */

@font-face{
  font-family:'Vazirmatn';
  src:url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
}

:root{
  --background: 260 75% 98%;
  --foreground: 259 52% 13%;
  --ink: 259 52% 13%;

  --card: 0 0% 100%;
  --card-foreground: 259 52% 13%;

  --primary: 264 82% 36%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 260 66% 52%;
  --primary-dark: 264 82% 28%;

  --secondary: 28 95% 53%;
  --secondary-foreground: 259 52% 13%;

  --muted: 261 70% 96%;
  --muted-foreground: 255 15% 40%;

  --accent: 212 88% 41%;
  --accent-foreground: 0 0% 100%;

  --highlight: 260 66% 52%;
  --highlight-foreground: 0 0% 100%;

  --success: 142 70% 30%;
  --success-foreground: 0 0% 100%;

  --destructive: 6 63% 46%;
  --destructive-foreground: 0 0% 100%;

  --border: 261 40% 90%;
  --input: 261 40% 90%;
  --ring: 260 66% 52%;

  /* سیستم مدیریت آموزش: زعفرانی */
  --lms-accent: 28 95% 53%;
  --lms-accent-light: 30 100% 95%;
  --lms-accent-dark: 24 95% 36%;
  --lms-ink: 24 95% 31%;
  --lms-tint: 30 100% 95%;

  /* کلاس مجازی: فیروزه‌ای */
  --live-accent: 212 88% 41%;
  --live-accent-light: 212 95% 96%;
  --live-accent-dark: 214 90% 28%;
  --live-ink: 212 90% 38%;
  --live-tint: 212 95% 96%;

  --web-accent: 332 80% 45%;
  --web-tint: 332 90% 96%;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px hsl(259 52% 13% / .06), 0 1px 1px hsl(259 52% 13% / .04);
  --shadow-md: 0 10px 30px -12px hsl(259 52% 13% / .18);
  --shadow-lg: 0 30px 60px -28px hsl(259 52% 13% / .32);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
[id]{ scroll-margin-top:88px; }
body{
  margin:0;
  font-family:'Vazirmatn','IRANSans',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  font-size:16px; line-height:1.9;
  background:hsl(var(--background)); color:hsl(var(--foreground));
  direction:rtl; text-rendering:optimizeLegibility;
}
[hidden]{ display:none !important; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
::selection{ background:hsl(var(--primary)/.18); }
:focus-visible{ outline:3px solid hsl(var(--ring)/.6); outline-offset:3px; border-radius:8px; }
.skip-link{ position:absolute; inset-inline-start:12px; top:-60px; background:hsl(var(--ink)); color:#fff; padding:10px 16px; border-radius:10px; z-index:400; transition:top .2s; }
.skip-link:focus{ top:12px; }

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:1200px; margin-inline:auto; padding-inline:20px; }
.wrap-narrow{ width:100%; max-width:860px; margin-inline:auto; padding-inline:20px; }
.section{ padding-block:clamp(56px,8vw,104px); }
.section-tight{ padding-block:clamp(40px,5vw,64px); }
.bg-surface{ background:hsl(var(--card)); }
.bg-tint{ background:hsl(var(--muted)); }
.bg-ink{ background:hsl(var(--ink)); color:#fff; }
.bg-lms{ background:hsl(var(--lms-tint)); }
.bg-live{ background:hsl(var(--live-tint)); }
.rule-top{ border-top:1px solid hsl(var(--border)); }
.rule-bottom{ border-bottom:1px solid hsl(var(--border)); }

/* ---------- typography ---------- */
.display{ font-size:clamp(2.1rem,4.8vw,3.7rem); line-height:1.3; font-weight:900; letter-spacing:-.015em; }
.h1{ font-size:clamp(1.9rem,4vw,3rem); line-height:1.35; font-weight:900; letter-spacing:-.01em; }
.h2{ font-size:clamp(1.55rem,3vw,2.35rem); line-height:1.4; font-weight:800; letter-spacing:-.01em; }
.h3{ font-size:1.2rem; line-height:1.6; font-weight:800; }
.lead{ font-size:clamp(1.02rem,1.5vw,1.18rem); line-height:2; color:hsl(var(--muted-foreground)); max-width:62ch; }
.muted{ color:hsl(var(--muted-foreground)); }
.small{ font-size:.875rem; line-height:1.8; }
.tiny{ font-size:.78rem; line-height:1.7; }
.num{ font-variant-numeric:tabular-nums; }
.section-head{ max-width:720px; margin-bottom:clamp(28px,4vw,48px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head .lead{ margin-top:12px; }
.section-head.center .lead{ margin-inline:auto; }
.on-ink .lead, .bg-ink .lead{ color:hsl(0 0% 100% / .72); }
.text-lms{ color:hsl(var(--lms-ink)); }
.text-live{ color:hsl(var(--live-ink)); }
.text-brand{ color:hsl(var(--primary)); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:48px; padding:0 26px; border-radius:999px; border:1.5px solid transparent;
  font-weight:700; font-size:15px; line-height:1; cursor:pointer; white-space:nowrap;
  transition:background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn svg,.btn i{ width:18px; height:18px; flex:none; }
.btn-lg{ min-height:54px; padding:0 32px; font-size:16px; }
.btn-sm{ min-height:40px; padding:0 18px; font-size:14px; }
.btn-primary,.btn-gradient{ background:hsl(var(--primary)); color:#fff; }
.btn-primary:hover,.btn-gradient:hover{ background:hsl(var(--primary-dark)); box-shadow:0 12px 24px -12px hsl(var(--primary)/.7); }
.btn-ink{ background:hsl(var(--ink)); color:#fff; }
.btn-ink:hover{ background:hsl(259 45% 22%); }
.btn-saffron{ background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.btn-saffron:hover{ background:hsl(28 92% 52%); box-shadow:0 12px 24px -12px hsl(var(--lms-accent)/.8); }
.btn-teal{ background:hsl(var(--live-accent)); color:#fff; }
.btn-teal:hover{ background:hsl(var(--live-accent-dark)); box-shadow:0 12px 24px -12px hsl(var(--live-accent)/.7); }
.btn-ghost,.btn-outline{ background:transparent; border-color:hsl(var(--ink)/.22); color:hsl(var(--ink)); }
.btn-ghost:hover,.btn-outline:hover{ border-color:hsl(var(--ink)); background:hsl(var(--ink)/.04); }
.btn-light,.btn-white{ background:#fff; color:hsl(var(--ink)); }
.btn-light:hover,.btn-white:hover{ background:hsl(var(--muted)); }
.btn-ghost-light,.btn-outline-white{ background:transparent; border-color:hsl(0 0% 100% / .38); color:#fff; }
.btn-ghost-light:hover,.btn-outline-white:hover{ border-color:#fff; background:hsl(0 0% 100% / .08); }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }
.link-arrow{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:.9rem; }
.link-arrow svg{ width:16px; height:16px; transition:transform .18s; }
.link-arrow:hover svg{ transform:translateX(-4px); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:hsl(0 0% 100% / .92); backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid hsl(var(--border)); transition:box-shadow .2s;
}
.site-header.is-scrolled{ box-shadow:0 8px 24px -16px hsl(259 52% 13% / .35); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; height:72px; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:34px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.25; }
.brand-name{ font-size:1.2rem; font-weight:900; color:hsl(var(--primary)); }
.brand-sub{ font-size:11px; font-weight:500; color:hsl(var(--muted-foreground)); }
.nav{ display:flex; align-items:center; gap:2px; }
.nav-link{
  position:relative; padding:8px 12px; border-radius:10px; font-size:14.5px; font-weight:600;
  color:hsl(var(--ink)/.82); transition:color .15s, background-color .15s;
}
.nav-link:hover{ color:hsl(var(--primary)); background:hsl(var(--muted)); }
.nav-link.is-active{ color:hsl(var(--primary)); }
.nav-link.is-active::after{ content:""; position:absolute; inset-inline:12px; bottom:-14px; height:3px; border-radius:3px 3px 0 0; background:hsl(var(--primary)); }
.header-actions{ display:flex; align-items:center; gap:12px; }
.header-phone{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color:hsl(var(--ink)); direction:ltr; }
.header-phone svg{ width:18px; height:18px; color:hsl(var(--primary)); }
.menu-btn{ display:none; width:44px; height:44px; border-radius:12px; border:1px solid hsl(var(--border)); background:#fff; align-items:center; justify-content:center; cursor:pointer; }
.menu-btn svg{ width:22px; height:22px; }
.mobile-menu{ display:none; }
.mobile-menu.open{ display:block; }
.mobile-menu nav{ display:flex; flex-direction:column; padding:12px 20px 20px; gap:2px; }
.mobile-menu .nav-link{ padding:14px 12px; font-size:16px; border-bottom:1px solid hsl(var(--border)); border-radius:0; }
.mobile-menu .nav-link.is-active::after{ display:none; }
.mobile-menu .btn{ margin-top:14px; }
@media (max-width:1080px){
  .nav,.header-phone,.header-cta{ display:none; }
  .menu-btn{ display:flex; }
  .header-inner{ height:64px; }
}
@media (min-width:1081px){ .mobile-menu{ display:none !important; } }
.hide-mobile{ }
@media (max-width:900px){ .hide-mobile{ display:none !important; } }
@media (min-width:901px){ .hide-desktop{ display:none !important; } }

/* ---------- logo-shaped watermark ---------- */
.loop-mark{
  position:absolute; pointer-events:none; background:currentColor;
  -webkit-mask:url('../img/logo-mark.png') center/contain no-repeat;
  mask:url('../img/logo-mark.png') center/contain no-repeat;
  aspect-ratio:1088/756;
}

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; background:hsl(var(--background)); border-bottom:1px solid hsl(var(--border)); }
.hero .loop-mark{ width:min(820px,80vw); inset-inline-end:-220px; bottom:-260px; color:hsl(var(--primary)/.05); }
.hero-grid{ position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:clamp(28px,5vw,64px); align-items:center; padding-block:clamp(40px,6vw,84px); }
.hero-copy .lead{ margin-top:20px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.hero-proof{ display:flex; flex-wrap:wrap; gap:10px 24px; margin-top:28px; }
.hero-proof li{ display:flex; align-items:center; gap:8px; font-size:.9rem; font-weight:600; color:hsl(var(--ink)/.8); }
.hero-proof svg{ width:18px; height:18px; color:hsl(var(--success)); flex:none; }
.page-hero{ position:relative; overflow:hidden; border-bottom:1px solid hsl(var(--border)); padding-block:clamp(44px,6vw,80px); background:hsl(var(--background)); }
.page-hero .loop-mark{ width:520px; inset-inline-end:-120px; top:-60px; color:hsl(var(--primary)/.05); }
.page-hero.is-lms{ background:hsl(var(--lms-tint)); }
.page-hero.is-lms .loop-mark{ color:hsl(var(--lms-accent)/.16); }
.page-hero.is-live{ background:hsl(var(--live-tint)); }
.page-hero.is-live .loop-mark{ color:hsl(var(--live-accent)/.12); }
.page-hero-inner{ position:relative; max-width:760px; }
.page-hero .lead{ margin-top:16px; }
.crumb{ display:inline-flex; align-items:center; gap:8px; font-size:.85rem; font-weight:600; color:hsl(var(--muted-foreground)); margin-bottom:16px; }
.crumb svg{ width:14px; height:14px; }
.crumb a:hover{ color:hsl(var(--primary)); }
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* ---------- product stage (نمونه‌ی رابط) ---------- */
.stage{ position:relative; }
.stage-tabs{ display:inline-flex; gap:4px; padding:4px; background:hsl(var(--card)); border:1px solid hsl(var(--border)); border-radius:999px; margin-bottom:14px; box-shadow:var(--shadow-sm); }
.stage-tab{ display:flex; align-items:center; gap:8px; border:0; background:transparent; padding:9px 18px; border-radius:999px; font-weight:700; font-size:14px; color:hsl(var(--muted-foreground)); cursor:pointer; transition:background-color .2s,color .2s; }
.stage-tab svg{ width:17px; height:17px; }
.stage-tab[aria-selected="true"].t-lms{ background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.stage-tab[aria-selected="true"].t-live{ background:hsl(var(--live-accent)); color:#fff; }
.win{ background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); overflow:hidden; }
.win-bar{ display:flex; align-items:center; gap:7px; padding:11px 16px; background:hsl(var(--muted)); border-bottom:1px solid hsl(var(--border)); }
.win-dot{ width:10px; height:10px; border-radius:50%; background:hsl(var(--ink)/.16); }
.win-title{ margin-inline:auto; font-size:12px; font-weight:600; color:hsl(var(--muted-foreground)); }
.scene{ display:none; padding:18px; min-height:372px; }
.scene.on{ display:block; animation:sceneIn .45s ease both; }
@keyframes sceneIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.stage-note{ margin-top:12px; font-size:.78rem; color:hsl(var(--muted-foreground)); display:flex; align-items:center; gap:6px; }
.stage-note svg{ width:14px; height:14px; }

.lms-scene{ display:grid; grid-template-columns:1.05fr .95fr; gap:16px; }
.mock-h{ font-size:.78rem; font-weight:700; color:hsl(var(--muted-foreground)); margin-bottom:10px; }
.course{ padding:12px 14px; border:1px solid hsl(var(--border)); border-radius:12px; margin-bottom:10px; background:#fff; }
.course-top{ display:flex; justify-content:space-between; align-items:center; gap:8px; font-weight:700; font-size:.9rem; }
.course-top span:last-child{ font-size:.8rem; color:hsl(var(--lms-ink)); }
.course-sub{ font-size:.75rem; color:hsl(var(--muted-foreground)); margin-top:2px; }
.bar{ height:7px; border-radius:7px; background:hsl(var(--lms-tint)); margin-top:10px; overflow:hidden; }
.bar i{ display:block; height:100%; width:var(--w); border-radius:7px; background:hsl(var(--lms-accent)); }
.scene.on .bar i{ animation:grow 1.3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow{ from{ width:0; } to{ width:var(--w); } }
.quiz{ border:1px solid hsl(var(--border)); border-radius:14px; padding:14px; background:hsl(var(--background)); }
.quiz-meta{ display:flex; justify-content:space-between; font-size:.75rem; font-weight:700; color:hsl(var(--muted-foreground)); }
.quiz-q{ font-weight:800; margin:10px 0 12px; font-size:.98rem; }
.qopt{ display:flex; align-items:center; justify-content:space-between; width:100%; text-align:start; border:1.5px solid hsl(var(--border)); background:#fff; border-radius:10px; padding:9px 12px; margin-bottom:8px; font-size:.9rem; font-weight:600; cursor:pointer; transition:border-color .15s,background-color .15s; }
.qopt:hover{ border-color:hsl(var(--lms-accent)); }
.qopt svg{ width:17px; height:17px; display:none; }
.qopt.right{ border-color:hsl(var(--success)); background:hsl(var(--success)/.08); }
.qopt.right .ic-ok{ display:block; color:hsl(var(--success)); }
.qopt.wrong{ border-color:hsl(var(--destructive)); background:hsl(var(--destructive)/.07); }
.qopt.wrong .ic-x{ display:block; color:hsl(var(--destructive)); }
.quiz-fb{ min-height:24px; font-size:.82rem; font-weight:700; margin-top:2px; }
.quiz-fb.ok{ color:hsl(var(--success)); } .quiz-fb.no{ color:hsl(var(--destructive)); }

.live-scene{ display:grid; grid-template-columns:1.7fr .8fr; gap:14px; }
.board{ position:relative; border:1px solid hsl(var(--border)); border-radius:14px; background:#fff; min-height:250px; padding:14px; overflow:hidden; }
.board-label{ position:absolute; top:10px; inset-inline-start:12px; font-size:.7rem; font-weight:700; padding:3px 10px; border-radius:999px; background:hsl(var(--live-tint)); color:hsl(var(--live-ink)); }
.board svg.draw{ width:100%; height:100%; position:absolute; inset:0; }
.board .eq{ position:absolute; inset-inline-end:18px; bottom:14px; font-size:1.05rem; font-weight:800; direction:ltr; color:hsl(var(--ink)); }
.scene.on .board .eq{ animation:eqIn .6s 1.1s both; }
@keyframes eqIn{ from{ opacity:0; } to{ opacity:1; } }
.draw .curve{ stroke-dasharray:420; stroke-dashoffset:420; }
.scene.on .draw .curve{ animation:drawLine 1.6s .2s ease forwards; }
@keyframes drawLine{ to{ stroke-dashoffset:0; } }
.people{ display:flex; flex-direction:column; gap:10px; }
.tile-p{ position:relative; display:flex; align-items:center; gap:10px; padding:10px; border:1px solid hsl(var(--border)); border-radius:12px; background:#fff; }
.avatar{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.9rem; flex:none; }
.av-1{ background:hsl(var(--primary)/.12); color:hsl(var(--primary)); }
.av-2{ background:hsl(var(--lms-accent)/.2); color:hsl(var(--lms-ink)); }
.av-3{ background:hsl(var(--live-accent)/.14); color:hsl(var(--live-ink)); }
.tile-p b{ display:block; font-size:.82rem; line-height:1.4; }
.tile-p small{ font-size:.7rem; color:hsl(var(--muted-foreground)); }
.hand{ position:absolute; top:-9px; inset-inline-end:10px; display:none; align-items:center; gap:4px; font-size:.68rem; font-weight:800; padding:2px 9px; border-radius:999px; background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.hand.on{ display:inline-flex; animation:pop .3s ease; }
@keyframes pop{ from{ transform:scale(.6); opacity:0; } to{ transform:none; opacity:1; } }
.toolbar{ grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:10px; padding-top:4px; flex-wrap:wrap; }
.tb{ position:relative; width:46px; height:46px; border-radius:50%; border:1px solid hsl(var(--border)); background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; color:hsl(var(--ink)); transition:background-color .15s,color .15s,border-color .15s; }
.tb svg{ width:20px; height:20px; }
.tb .ic-off{ display:none; }
.tb.off{ background:hsl(var(--destructive)); border-color:hsl(var(--destructive)); color:#fff; }
.tb.off .ic-on{ display:none; } .tb.off .ic-off{ display:block; }
.tb.on{ background:hsl(var(--live-accent)); border-color:hsl(var(--live-accent)); color:#fff; }
.rec-pill{ display:none; align-items:center; gap:7px; font-size:.78rem; font-weight:800; padding:6px 12px; border-radius:999px; background:hsl(var(--destructive)/.1); color:hsl(var(--destructive)); direction:ltr; }
.rec-pill.on{ display:inline-flex; }
.rec-pill i{ width:8px; height:8px; border-radius:50%; background:hsl(var(--destructive)); animation:blink 1.2s infinite; }
@keyframes blink{ 50%{ opacity:.2; } }
@media (max-width:560px){
  .lms-scene,.live-scene{ grid-template-columns:1fr; }
  .scene{ padding:14px; }
}

/* ---------- trust bar ---------- */
.trustbar{ display:grid; grid-template-columns:repeat(4,1fr); }
.trust-cell{ padding:26px 24px; border-inline-start:1px solid hsl(var(--border)); }
.trust-cell:first-child{ border-inline-start:0; }
.trust-num{ font-size:clamp(1.6rem,3vw,2.2rem); font-weight:900; line-height:1.2; color:hsl(var(--primary)); }
.trust-label{ font-size:.9rem; color:hsl(var(--muted-foreground)); margin-top:2px; }
@media (max-width:760px){
  .trustbar{ grid-template-columns:repeat(2,1fr); }
  .trust-cell:nth-child(3){ border-inline-start:0; }
  .trust-cell:nth-child(n+3){ border-top:1px solid hsl(var(--border)); }
}

/* ---------- two products ---------- */
.duo{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.prod{ position:relative; border-radius:var(--radius-lg); padding:clamp(24px,3vw,40px); overflow:hidden; display:flex; flex-direction:column; }
.prod .loop-mark{ width:300px; inset-inline-end:-70px; bottom:-60px; }
.prod.is-lms{ background:hsl(var(--lms-tint)); border:1px solid hsl(var(--lms-accent)/.35); }
.prod.is-lms .loop-mark{ color:hsl(var(--lms-accent)/.2); }
.prod.is-live{ background:hsl(var(--live-tint)); border:1px solid hsl(var(--live-accent)/.3); }
.prod.is-live .loop-mark{ color:hsl(var(--live-accent)/.14); }
.prod-ico{ width:54px; height:54px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.prod-ico svg{ width:26px; height:26px; }
.is-lms .prod-ico{ background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.is-live .prod-ico{ background:hsl(var(--live-accent)); color:#fff; }
.prod p{ margin-top:10px; color:hsl(var(--ink)/.78); max-width:46ch; }
.prod ul{ margin:22px 0 28px; display:grid; gap:10px; position:relative; }
.prod li{ display:flex; align-items:flex-start; gap:10px; font-weight:600; font-size:.95rem; }
.prod li svg{ width:19px; height:19px; flex:none; margin-top:5px; }
.is-lms li svg{ color:hsl(var(--lms-ink)); } .is-live li svg{ color:hsl(var(--live-ink)); }
.prod-actions{ margin-top:auto; display:flex; gap:12px; flex-wrap:wrap; position:relative; }
@media (max-width:860px){ .duo{ grid-template-columns:1fr; } }

/* ---------- plan finder ---------- */
.finder{ position:relative; border-radius:var(--radius-lg); background:hsl(var(--ink)); color:#fff; overflow:hidden; padding:clamp(24px,4vw,52px); }
.finder .loop-mark{ width:420px; inset-inline-start:-120px; bottom:-120px; color:hsl(0 0% 100% / .05); }
.finder-grid{ position:relative; display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(24px,4vw,56px); align-items:start; }
.finder h2{ color:#fff; }
.finder .lead{ color:hsl(0 0% 100% / .72); }
.f-step{ margin-top:26px; }
.f-q{ font-weight:800; margin-bottom:12px; font-size:1rem; display:flex; align-items:center; gap:10px; }
.f-q span{ width:26px; height:26px; border-radius:50%; background:hsl(0 0% 100% / .14); font-size:.8rem; display:inline-flex; align-items:center; justify-content:center; }
.f-opts{ display:flex; flex-wrap:wrap; gap:10px; }
.f-opt{ border:1.5px solid hsl(0 0% 100% / .22); background:transparent; color:#fff; border-radius:12px; padding:10px 18px; font-weight:700; font-size:.92rem; cursor:pointer; transition:background-color .15s,border-color .15s,color .15s; }
.f-opt:hover{ border-color:#fff; }
.f-opt[aria-pressed="true"]{ background:#fff; color:hsl(var(--ink)); border-color:#fff; }
.f-result{ background:#fff; color:hsl(var(--ink)); border-radius:18px; padding:clamp(20px,3vw,32px); min-height:280px; display:flex; flex-direction:column; }
.f-empty{ margin:auto; text-align:center; color:hsl(var(--muted-foreground)); max-width:30ch; }
.f-empty svg{ width:34px; height:34px; margin:0 auto 12px; color:hsl(var(--primary)/.5); }
.f-plan-name{ font-size:1.5rem; font-weight:900; line-height:1.4; }
.f-price{ margin:6px 0 4px; font-size:1.9rem; font-weight:900; color:hsl(var(--primary)); }
.f-price small{ font-size:.85rem; font-weight:600; color:hsl(var(--muted-foreground)); }
.f-why{ font-size:.9rem; color:hsl(var(--muted-foreground)); margin:10px 0 14px; }
.f-feats{ display:grid; gap:7px; margin-bottom:20px; }
.f-feats li{ display:flex; gap:9px; font-size:.88rem; font-weight:600; align-items:flex-start; }
.f-feats svg{ width:17px; height:17px; color:hsl(var(--success)); flex:none; margin-top:5px; }
.f-actions{ margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:900px){ .finder-grid{ grid-template-columns:1fr; } }

/* ---------- steps (مسیر راه‌اندازی) ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.step-btn{ position:relative; border:0; background:transparent; text-align:start; padding:0 8px 0 0; cursor:pointer; color:inherit; font:inherit; }
.step-dot{ width:44px; height:44px; border-radius:50%; background:#fff; border:2px solid hsl(var(--border)); display:flex; align-items:center; justify-content:center; font-weight:900; color:hsl(var(--muted-foreground)); position:relative; z-index:1; transition:background-color .2s,border-color .2s,color .2s; }
.step-btn::before{ content:""; position:absolute; top:21px; inset-inline-start:44px; inset-inline-end:-8px; height:2px; background:hsl(var(--border)); }
.step-btn:last-child::before{ display:none; }
.step-btn.done::before{ background:hsl(var(--primary)); }
.step-btn.done .step-dot,.step-btn[aria-selected="true"] .step-dot{ border-color:hsl(var(--primary)); background:hsl(var(--primary)); color:#fff; }
.step-name{ display:block; margin-top:12px; font-weight:800; font-size:.95rem; line-height:1.6; padding-inline-end:8px; }
.step-detail{ margin-top:32px; border:1px solid hsl(var(--border)); background:#fff; border-radius:var(--radius-lg); padding:clamp(20px,3vw,32px); display:grid; grid-template-columns:1.1fr .9fr; gap:24px; }
.step-detail ul{ display:grid; gap:10px; }
.step-detail li{ display:flex; gap:10px; font-weight:600; font-size:.92rem; }
.step-detail li svg{ width:18px; height:18px; color:hsl(var(--success)); flex:none; margin-top:6px; }
.step-detail[hidden]{ display:none; }
@media (max-width:860px){
  .steps{ grid-template-columns:1fr; gap:6px; }
  .step-btn{ display:flex; align-items:center; gap:14px; padding:10px 0; }
  .step-btn::before{ display:none; }
  .step-name{ margin-top:0; }
  .step-detail{ grid-template-columns:1fr; }
}

/* ---------- explorer (master-detail) ---------- */
.explorer{ display:grid; grid-template-columns:300px minmax(0,1fr); gap:24px; align-items:start; }
.ex-list{ display:flex; flex-direction:column; gap:6px; position:sticky; top:92px; }
.ex-btn{ display:flex; align-items:center; gap:12px; width:100%; text-align:start; border:1px solid transparent; background:transparent; padding:12px 14px; border-radius:14px; font-weight:700; font-size:.95rem; cursor:pointer; color:hsl(var(--ink)/.8); transition:background-color .15s,border-color .15s,color .15s; }
.ex-btn:hover{ background:hsl(var(--card)); border-color:hsl(var(--border)); }
.ex-btn[aria-selected="true"]{ background:#fff; border-color:hsl(var(--border)); box-shadow:var(--shadow-sm); color:hsl(var(--ink)); }
.ex-emoji{ width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; background:hsl(var(--muted)); flex:none; }
.ex-btn[aria-selected="true"] .ex-emoji{ background:var(--ex-tint, hsl(var(--muted))); }
.ex-panel{ background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:clamp(22px,3.5vw,40px); min-height:420px; }
.ex-panel[hidden]{ display:none; }
.ex-panel header{ display:flex; gap:16px; align-items:flex-start; margin-bottom:22px; }
.ex-panel header .ex-emoji{ width:58px; height:58px; font-size:1.9rem; border-radius:16px; }
.ex-cols{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-bottom:22px; }
.ex-cols.one{ grid-template-columns:1fr; }
.ex-block h4{ font-weight:800; font-size:.92rem; margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.ex-block h4 svg{ width:18px; height:18px; }
.ex-block ul{ display:grid; gap:8px; }
.ex-block li{ font-size:.9rem; padding:9px 12px; border-radius:10px; background:hsl(var(--muted)/.7); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ font-size:.8rem; font-weight:700; padding:6px 14px; border-radius:999px; background:hsl(var(--muted)); color:hsl(var(--primary)); }
.chip.is-lms{ background:hsl(var(--lms-tint)); color:hsl(var(--lms-ink)); }
.chip.is-live{ background:hsl(var(--live-tint)); color:hsl(var(--live-ink)); }
.scenario{ border-inline-start:4px solid hsl(var(--primary)); background:hsl(var(--muted)); padding:16px 20px; border-radius:0 12px 12px 0; font-size:.92rem; line-height:2; }
html[dir="rtl"] .scenario{ border-radius:12px 0 0 12px; }
.scenario b{ display:block; font-size:.78rem; color:hsl(var(--muted-foreground)); margin-bottom:4px; }
.is-lms-ex .scenario{ border-color:hsl(var(--lms-accent)); background:hsl(var(--lms-tint)); }
.is-live-ex .scenario{ border-color:hsl(var(--live-accent)); background:hsl(var(--live-tint)); }
@media (max-width:900px){
  .explorer{ grid-template-columns:1fr; }
  .ex-list{ position:static; flex-direction:row; overflow-x:auto; padding-bottom:6px; gap:8px; scrollbar-width:thin; }
  .ex-btn{ width:auto; flex:none; white-space:nowrap; background:#fff; border-color:hsl(var(--border)); padding:8px 14px; }
  .ex-btn .ex-emoji{ width:30px; height:30px; font-size:1.05rem; }
  .ex-cols{ grid-template-columns:1fr; }
}

/* ---------- filter bar & item grid ---------- */
.filterbar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:24px; }
.search{ position:relative; flex:1 1 280px; max-width:420px; }
.search input{ width:100%; height:48px; border-radius:999px; border:1.5px solid hsl(var(--border)); background:#fff; padding-inline:46px 18px; font:inherit; font-size:.95rem; }
.search input:focus{ outline:none; border-color:hsl(var(--primary)); box-shadow:0 0 0 4px hsl(var(--primary)/.12); }
.search svg{ position:absolute; inset-inline-start:16px; top:50%; transform:translateY(-50%); width:19px; height:19px; color:hsl(var(--muted-foreground)); }
.seg{ display:inline-flex; flex-wrap:wrap; gap:6px; }
.seg-btn,.tab-btn{ border:1.5px solid hsl(var(--border)); background:#fff; padding:8px 16px; border-radius:999px; font-weight:700; font-size:.88rem; color:hsl(var(--ink)/.8); cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:background-color .15s,color .15s,border-color .15s; }
.seg-btn svg,.tab-btn svg{ width:16px; height:16px; }
.seg-btn:hover,.tab-btn:hover{ border-color:hsl(var(--primary)/.5); }
.seg-btn[aria-pressed="true"],.seg-btn[aria-selected="true"],.tab-btn.active{ background:hsl(var(--ink)); color:#fff; border-color:hsl(var(--ink)); }
.tab-panel{ display:none; } .tab-panel.active{ display:block; }
.result-count{ font-size:.85rem; color:hsl(var(--muted-foreground)); }
.empty-state{ text-align:center; padding:48px 20px; color:hsl(var(--muted-foreground)); border:1.5px dashed hsl(var(--border)); border-radius:var(--radius-lg); }
.empty-state[hidden]{ display:none; }

.grid-auto{ display:grid; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-auto.cols-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-auto.cols-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:1000px){ .grid-auto,.grid-auto.cols-4{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .grid-auto,.grid-auto.cols-2,.grid-auto.cols-4{ grid-template-columns:1fr; } }

.tile{
  display:flex; flex-direction:column; text-align:start; width:100%;
  background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius);
  padding:22px; cursor:pointer; font:inherit; color:inherit;
  transition:border-color .18s, box-shadow .18s;
}
.tile:hover{ border-color:hsl(var(--primary)/.45); box-shadow:var(--shadow-md); }
.tile.is-lms:hover{ border-color:hsl(var(--lms-accent)); }
.tile.is-live:hover{ border-color:hsl(var(--live-accent)); }
.tile.static{ cursor:default; } .tile.static:hover{ border-color:hsl(var(--border)); box-shadow:none; }
.tile-icon{ width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex:none; margin-bottom:16px; font-size:1.4rem; }
.tile-icon svg{ width:24px; height:24px; }
.ti-brand{ background:hsl(var(--muted)); color:hsl(var(--primary)); }
.ti-lms{ background:hsl(var(--lms-tint)); color:hsl(var(--lms-ink)); }
.ti-live{ background:hsl(var(--live-tint)); color:hsl(var(--live-ink)); }
.tile h3{ font-size:1.02rem; font-weight:800; line-height:1.7; }
.tile p{ font-size:.88rem; color:hsl(var(--muted-foreground)); margin-top:6px; }
.tile .tag{ display:inline-block; align-self:flex-start; font-size:.72rem; font-weight:700; padding:2px 10px; border-radius:999px; background:hsl(var(--muted)); color:hsl(var(--muted-foreground)); margin-bottom:10px; }
.tile .more{ margin-top:auto; padding-top:14px; font-size:.82rem; font-weight:700; display:flex; align-items:center; gap:6px; color:hsl(var(--primary)); }
.tile.is-lms .more{ color:hsl(var(--lms-ink)); } .tile.is-live .more{ color:hsl(var(--live-ink)); }
.tile .more svg{ width:15px; height:15px; transition:transform .18s; }
.tile:hover .more svg{ transform:translateX(-4px); }
.tile ul.mini{ margin-top:10px; display:grid; gap:4px; }
.tile ul.mini li{ font-size:.82rem; color:hsl(var(--muted-foreground)); display:flex; gap:8px; }
.tile ul.mini li::before{ content:""; width:5px; height:5px; border-radius:50%; background:currentColor; margin-top:11px; flex:none; opacity:.6; }

/* ---------- checklist (benefits) ---------- */
.checks{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px 28px; }
.checks li{ display:flex; gap:12px; align-items:flex-start; padding:14px 0; border-bottom:1px solid hsl(var(--border)); font-weight:600; font-size:.95rem; }
.checks li svg{ width:20px; height:20px; flex:none; margin-top:5px; color:hsl(var(--success)); }
@media (max-width:900px){ .checks{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .checks{ grid-template-columns:1fr; } }

/* ---------- comparison ---------- */
.cmp-wrap{ border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); background:#fff; overflow:hidden; }
.cmp{ width:100%; border-collapse:collapse; }
.cmp th,.cmp td{ padding:16px 20px; text-align:start; vertical-align:top; font-size:.92rem; border-bottom:1px solid hsl(var(--border)); }
.cmp thead th{ background:hsl(var(--muted)); font-weight:800; font-size:.85rem; }
.cmp thead th.us{ background:hsl(var(--live-tint)); color:hsl(var(--live-ink)); }
.cmp tbody th{ font-weight:800; width:20%; }
.cmp tr:last-child th,.cmp tr:last-child td{ border-bottom:0; }
.cmp .cell{ display:flex; gap:10px; align-items:flex-start; }
.cmp .cell svg{ width:19px; height:19px; flex:none; margin-top:5px; }
.cmp .s-yes svg{ color:hsl(var(--success)); } .cmp .s-no svg{ color:hsl(var(--destructive)); } .cmp .s-mid svg{ color:hsl(var(--lms-ink)); }
@media (max-width:720px){
  .cmp thead{ display:none; }
  .cmp tr{ display:block; padding:14px 16px; border-bottom:1px solid hsl(var(--border)); }
  .cmp th,.cmp td{ display:block; width:auto !important; border:0; padding:4px 0; }
  .cmp td[data-l]::before{ content:attr(data-l); display:block; font-size:.72rem; font-weight:700; color:hsl(var(--muted-foreground)); }
}

/* ---------- pricing ---------- */
.plans{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:stretch; }
.plan{ position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:28px 24px; }
.plan.is-featured{ background:hsl(var(--ink)); color:#fff; border-color:hsl(var(--ink)); box-shadow:var(--shadow-lg); }
.plan-badge{ position:absolute; top:-13px; inset-inline-start:22px; font-size:.75rem; font-weight:800; padding:4px 14px; border-radius:999px; background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.plan-head{ display:flex; align-items:center; gap:10px; }
.plan-head svg{ width:22px; height:22px; color:hsl(var(--primary)); }
.plan.is-featured .plan-head svg{ color:hsl(var(--lms-accent)); }
.plan-name{ font-weight:900; font-size:1.1rem; }
.plan-desc{ font-size:.84rem; color:hsl(var(--muted-foreground)); margin-top:10px; min-height:52px; }
.plan.is-featured .plan-desc{ color:hsl(0 0% 100% / .7); }
.plan-includes{ font-size:.78rem; font-weight:700; padding:6px 12px; border-radius:10px; background:hsl(var(--muted)); margin-top:6px; align-self:flex-start; }
.plan.is-featured .plan-includes{ background:hsl(0 0% 100% / .1); }
.plan-price{ margin-top:18px; display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.plan-price b{ font-size:1.9rem; font-weight:900; line-height:1.3; }
.plan-price span{ font-size:.82rem; color:hsl(var(--muted-foreground)); }
.plan.is-featured .plan-price span{ color:hsl(0 0% 100% / .65); }
.plan-discount{ font-size:.8rem; font-weight:800; color:hsl(var(--success)); min-height:22px; }
.plan.is-featured .plan-discount{ color:hsl(142 70% 62%); }
.plan ul{ margin:16px 0 24px; display:grid; gap:9px; flex:1; }
.plan li{ display:flex; gap:9px; font-size:.86rem; align-items:flex-start; }
.plan li svg{ width:17px; height:17px; color:hsl(var(--success)); flex:none; margin-top:5px; }
.plan.is-featured li svg{ color:hsl(142 70% 62%); }
.plan .btn{ width:100%; }
@media (max-width:1100px){ .plans{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px){ .plans{ grid-template-columns:1fr; } }
.addon{ display:flex; align-items:center; gap:14px; padding:16px 18px; background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius); }
.addon-ico{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; background:hsl(var(--muted)); flex:none; }
.addon b{ display:block; font-size:.92rem; line-height:1.6; } .addon small{ color:hsl(var(--muted-foreground)); font-size:.8rem; line-height:1.6; display:block; }
.addon-price{ font-size:.8rem; font-weight:800; white-space:nowrap; margin-inline-start:auto; text-align:end; }
.addons{ display:grid; gap:10px; }

/* ---------- accordion ---------- */
.acc-item{ border:1px solid hsl(var(--border)); border-radius:var(--radius); background:#fff; margin-bottom:10px; overflow:hidden; transition:border-color .15s; }
.acc-item.open{ border-color:hsl(var(--primary)/.45); }
.acc-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; text-align:start; border:0; background:transparent; padding:18px 22px; font-weight:700; font-size:1rem; line-height:1.8; cursor:pointer; color:inherit; }
.acc-chev{ width:30px; height:30px; border-radius:50%; background:hsl(var(--muted)); display:flex; align-items:center; justify-content:center; flex:none; transition:transform .25s,background-color .2s,color .2s; }
.acc-chev svg{ width:16px; height:16px; }
.acc-item.open .acc-chev{ transform:rotate(180deg); background:hsl(var(--primary)); color:#fff; }
.acc-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.acc-a p{ padding:0 22px 22px; color:hsl(var(--muted-foreground)); font-size:.95rem; line-height:2; max-width:75ch; }

/* ---------- modal ---------- */
.modal-overlay{ position:fixed; inset:0; z-index:300; display:none; align-items:center; justify-content:center; padding:20px; background:hsl(259 52% 8% / .62); backdrop-filter:blur(4px); }
.modal-overlay.show{ display:flex; animation:fade .2s ease; }
@keyframes fade{ from{ opacity:0; } to{ opacity:1; } }
.modal-box{ position:relative; width:100%; max-width:760px; max-height:min(88vh,860px); overflow-y:auto; background:#fff; border-radius:var(--radius-lg); padding:clamp(22px,4vw,40px); box-shadow:var(--shadow-lg); animation:rise .3s cubic-bezier(.2,.8,.2,1); }
@keyframes rise{ from{ transform:translateY(18px) scale(.98); opacity:0; } to{ transform:none; opacity:1; } }
.modal-close{ position:absolute; top:14px; inset-inline-start:14px; width:40px; height:40px; border-radius:50%; border:0; background:hsl(var(--muted)); cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; }
.modal-close:hover{ background:hsl(var(--border)); }
.modal-close svg{ width:19px; height:19px; }
.modal-head{ display:flex; gap:16px; align-items:flex-start; margin-bottom:22px; padding-top:6px; padding-inline-start:40px; }
.modal-head .tile-icon{ margin-bottom:0; width:56px; height:56px; font-size:1.7rem; }
.modal-block{ margin-bottom:22px; }
.modal-block h4{ font-weight:800; font-size:.92rem; margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.modal-block h4 svg{ width:18px; height:18px; }
.modal-list{ display:grid; gap:8px; } .modal-list.two{ grid-template-columns:1fr 1fr; }
.modal-list li{ font-size:.9rem; padding:9px 12px; background:hsl(var(--muted)/.7); border-radius:10px; }
.uc{ border:1px solid hsl(var(--border)); border-radius:14px; padding:16px 18px; }
.uc + .uc{ margin-top:10px; }
.uc b.t{ display:block; font-size:.95rem; margin-bottom:6px; }
.uc p{ font-size:.86rem; color:hsl(var(--muted-foreground)); }
.uc .ex{ margin-top:10px; font-size:.84rem; background:hsl(var(--muted)); border-radius:10px; padding:10px 14px; }
.modal-nav{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:26px; padding-top:18px; border-top:1px solid hsl(var(--border)); }
.modal-nav button{ border:1.5px solid hsl(var(--border)); background:#fff; border-radius:999px; padding:8px 16px; font-weight:700; font-size:.85rem; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.modal-nav button:hover{ border-color:hsl(var(--primary)); color:hsl(var(--primary)); }
.modal-nav svg{ width:16px; height:16px; }
.modal-nav .count{ font-size:.8rem; color:hsl(var(--muted-foreground)); }
@media (max-width:640px){
  .modal-overlay{ align-items:flex-end; padding:0; }
  .modal-box{ max-height:92vh; border-radius:22px 22px 0 0; }
  .modal-list.two{ grid-template-columns:1fr; }
}

/* ---------- blog ---------- */
.feature-post{ display:grid; grid-template-columns:1.1fr 1fr; background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); overflow:hidden; cursor:pointer; text-align:start; width:100%; font:inherit; color:inherit; padding:0; transition:box-shadow .2s,border-color .2s; }
.feature-post:hover{ box-shadow:var(--shadow-md); border-color:hsl(var(--primary)/.4); }
.feature-body{ padding:clamp(22px,4vw,44px); display:flex; flex-direction:column; justify-content:center; gap:14px; }
.cover{ position:relative; overflow:hidden; background:hsl(var(--ink)); color:#fff; min-height:190px; display:flex; align-items:flex-end; padding:20px; }
.cover .loop-mark{ width:280px; inset-inline-end:-50px; top:-30px; color:hsl(0 0% 100% / .1); }
.cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.0; transition:opacity .4s; }
.cover img.ok{ opacity:.55; mix-blend-mode:luminosity; }
.cover-cat{ position:relative; display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:.85rem; background:hsl(0 0% 100% / .14); padding:6px 14px; border-radius:999px; backdrop-filter:blur(4px); }
.cover-cat svg{ width:16px; height:16px; }
.cv-moodle{ background:hsl(var(--lms-ink)); } .cv-bbb{ background:hsl(var(--live-accent)); } .cv-teaching{ background:hsl(var(--primary)); } .cv-business{ background:hsl(259 45% 22%); } .cv-tips{ background:hsl(260 66% 40%); }
.post{ display:flex; flex-direction:column; background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius); overflow:hidden; cursor:pointer; text-align:start; font:inherit; color:inherit; padding:0; width:100%; transition:box-shadow .2s,border-color .2s; }
.post:hover{ box-shadow:var(--shadow-md); border-color:hsl(var(--primary)/.4); }
.post .cover{ min-height:150px; }
.post-body{ padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.post-body h3{ font-size:1rem; font-weight:800; line-height:1.8; }
.post-body p{ font-size:.85rem; color:hsl(var(--muted-foreground)); margin-top:6px; }
.post-meta{ display:flex; gap:12px; align-items:center; margin-top:auto; padding-top:14px; font-size:.78rem; color:hsl(var(--muted-foreground)); }
.post-meta svg{ width:14px; height:14px; }
.post-meta span{ display:inline-flex; align-items:center; gap:5px; }
@media (max-width:860px){ .feature-post{ grid-template-columns:1fr; } .feature-post .cover{ min-height:170px; } }
.prose-article h2{ font-size:1.3rem; font-weight:800; margin:30px 0 12px; line-height:1.7; }
.prose-article h3{ font-size:1.08rem; font-weight:800; margin:22px 0 10px; }
.prose-article p{ color:hsl(var(--ink)/.82); margin-bottom:14px; line-height:2.05; font-size:.97rem; }
.prose-article ul,.prose-article ol{ padding-inline-start:22px; margin-bottom:16px; }
.prose-article ul{ list-style:disc; } .prose-article ol{ list-style:decimal; }
.prose-article li{ color:hsl(var(--ink)/.82); margin-bottom:8px; line-height:1.95; font-size:.95rem; }
.prose-article strong{ color:hsl(var(--ink)); }
.prose-article hr{ border:0; border-top:1px solid hsl(var(--border)); margin:26px 0; }
.prose-article .callout{ background:hsl(var(--muted)); border-inline-start:4px solid hsl(var(--primary)); border-radius:0 12px 12px 0; padding:14px 18px; margin:18px 0; font-size:.92rem; }
html[dir="rtl"] .prose-article .callout{ border-radius:12px 0 0 12px; }

/* ---------- forms ---------- */
.form-card{ background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:clamp(22px,4vw,44px); box-shadow:var(--shadow-sm); }
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-weight:700; font-size:.88rem; }
.field label i{ color:hsl(var(--destructive)); font-style:normal; margin-inline-start:3px; }
.input,.select,.textarea{ width:100%; border:1.5px solid hsl(var(--border)); background:#fff; border-radius:12px; padding:12px 16px; font:inherit; font-size:.95rem; color:inherit; transition:border-color .15s,box-shadow .15s; }
.textarea{ resize:vertical; min-height:130px; line-height:1.9; }
.input:focus,.select:focus,.textarea:focus{ outline:none; border-color:hsl(var(--primary)); box-shadow:0 0 0 4px hsl(var(--primary)/.12); }
.input.invalid{ border-color:hsl(var(--destructive)); }
.hint{ font-size:.78rem; color:hsl(var(--muted-foreground)); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1/-1; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.hp-field{ position:absolute !important; inset-inline-start:-9999px; width:1px; height:1px; overflow:hidden; }
.alert{ border-radius:12px; padding:14px 18px; font-size:.9rem; font-weight:600; margin-bottom:18px; display:flex; gap:12px; align-items:flex-start; }
.alert svg{ width:20px; height:20px; flex:none; margin-top:4px; }
.alert-error{ background:hsl(var(--destructive)/.08); color:hsl(var(--destructive)); border:1px solid hsl(var(--destructive)/.25); }
.alert-ok{ background:hsl(var(--success)/.08); color:hsl(var(--success)); border:1px solid hsl(var(--success)/.25); }
.success-state{ text-align:center; padding:28px 8px; }
.success-state .ok-ico{ width:68px; height:68px; border-radius:50%; background:hsl(var(--success)/.12); color:hsl(var(--success)); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.success-state .ok-ico svg{ width:32px; height:32px; }
.code-box{ display:inline-block; direction:ltr; font-weight:800; letter-spacing:.08em; font-size:1.25rem; padding:8px 22px; border-radius:12px; background:hsl(var(--muted)); border:1.5px dashed hsl(var(--primary)/.5); margin:10px 0; }
.contact-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:40px; }
@media (max-width:760px){ .contact-cards{ grid-template-columns:1fr; } }
.thread{ display:grid; gap:12px; }
.msg{ border-radius:14px; padding:14px 18px; font-size:.92rem; line-height:1.95; }
.msg b{ display:block; font-size:.75rem; margin-bottom:4px; }
.msg.me{ background:hsl(var(--muted)); } .msg.them{ background:hsl(var(--primary)/.08); }
.status-pill{ font-size:.78rem; font-weight:800; padding:5px 14px; border-radius:999px; background:hsl(var(--muted)); color:hsl(var(--primary)); }

/* ---------- CTA band ---------- */
.cta-band{ position:relative; overflow:hidden; background:hsl(var(--primary)); color:#fff; }
.cta-band .loop-mark{ width:520px; inset-inline-end:-100px; top:50%; transform:translateY(-50%); color:hsl(0 0% 100% / .08); }
.cta-band.is-lms{ background:hsl(var(--lms-accent)); color:hsl(var(--ink)); }
.cta-band.is-lms .loop-mark{ color:hsl(var(--ink)/.07); }
.cta-band.is-live{ background:hsl(var(--live-accent)); }
.cta-inner{ position:relative; max-width:720px; }
.cta-inner .lead{ color:inherit; opacity:.85; margin-top:12px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.cta-band.is-lms .btn-ghost-light{ border-color:hsl(var(--ink)/.4); color:hsl(var(--ink)); }
.cta-band.is-lms .btn-ghost-light:hover{ background:hsl(var(--ink)/.08); border-color:hsl(var(--ink)); }
.cta-band.is-lms .btn-light{ background:hsl(var(--ink)); color:#fff; }

/* ---------- about ---------- */
.about-split{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(24px,5vw,72px); align-items:start; }
.about-split p + p{ margin-top:16px; }
@media (max-width:860px){ .about-split{ grid-template-columns:1fr; } }
.value{ padding:24px; border-radius:var(--radius); background:#fff; border:1px solid hsl(var(--border)); }
.value .tile-icon{ margin-bottom:14px; }
.value h3{ font-size:1.02rem; font-weight:800; } .value p{ font-size:.88rem; color:hsl(var(--muted-foreground)); margin-top:4px; }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:760px){ .stat-row{ grid-template-columns:repeat(2,1fr); } }
.stat .n{ font-size:clamp(2rem,4vw,3rem); font-weight:900; color:hsl(var(--primary)); line-height:1.3; }
.stat .l{ font-size:.9rem; color:hsl(var(--muted-foreground)); }
.proof-note{ display:flex; gap:12px; align-items:flex-start; font-size:.82rem; color:hsl(var(--muted-foreground)); max-width:70ch; margin-top:22px; }
.proof-note svg{ width:18px; height:18px; flex:none; margin-top:5px; }

/* ---------- footer ---------- */
.site-footer{ position:relative; overflow:hidden; background:hsl(var(--ink)); color:#fff; margin-top:0; }
.site-footer .loop-mark{ width:600px; inset-inline-start:-160px; bottom:-200px; color:hsl(0 0% 100% / .045); }
.footer-grid{ position:relative; display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:40px; padding-block:64px 40px; }
.footer-grid h4{ font-weight:800; font-size:.95rem; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a,.footer-grid li{ font-size:.9rem; color:hsl(0 0% 100% / .68); }
.footer-grid a:hover{ color:#fff; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:34px; width:auto; }
.footer-brand b{ font-size:1.2rem; font-weight:900; }
.footer-about{ font-size:.9rem; color:hsl(0 0% 100% / .68); line-height:2; max-width:38ch; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg{ width:17px; height:17px; flex:none; margin-top:6px; color:hsl(var(--lms-accent)); }
.footer-bottom{ position:relative; display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; padding-block:22px; border-top:1px solid hsl(0 0% 100% / .12); font-size:.8rem; color:hsl(0 0% 100% / .5); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; padding-block:48px 28px; } }

/* ---------- mobile CTA bar ---------- */
.mbar{ display:none; }
@media (max-width:760px){
  .mbar{ position:fixed; z-index:90; inset-inline:0; bottom:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:hsl(0 0% 100% / .96); backdrop-filter:blur(12px); border-top:1px solid hsl(var(--border)); }
  .mbar .btn{ min-height:46px; padding:0 12px; font-size:14px; }
  body{ padding-bottom:70px; }
}

/* ---------- compat: کلاس‌های قدیمی که داده‌ها/ادمین ممکن است استفاده کنند ---------- */
.bg-gradient-primary{ background:hsl(var(--primary)); }
.bg-gradient-secondary{ background:hsl(var(--secondary)); }
.bg-gradient-accent{ background:hsl(var(--accent)); }
.bg-gradient-lms{ background:hsl(var(--lms-accent)); }
.bg-gradient-live{ background:hsl(var(--live-accent)); }
.bg-gradient-combined{ background:hsl(var(--primary)); }
.text-gradient-primary,.text-gradient-combined{ color:hsl(var(--primary)); }
.text-success{ color:hsl(var(--success)); }

/* ---------- حرکت: احترام به تنظیم کاربر ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .draw .curve{ stroke-dashoffset:0; }
}

/* ==========================================================================
   لایه‌ی «رنگ و لعاب» — گرادیان‌های برند، الگوی هندسی، درخشش و حرکت ملایم
   ========================================================================== */
:root{
  --grad-brand: linear-gradient(135deg, hsl(264 82% 34%), hsl(276 78% 52%));
  --grad-lms: linear-gradient(135deg, hsl(28 96% 48%), hsl(28 98% 58%));
  --grad-live: linear-gradient(135deg, hsl(214 90% 30%), hsl(209 92% 50%));
  --grad-web: linear-gradient(135deg, hsl(326 80% 38%), hsl(350 88% 58%));
  --grad-ink: linear-gradient(160deg, hsl(259 58% 9%), hsl(262 62% 21%));
  --pat-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%234c10a6' stroke-opacity='.11' stroke-width='1.2'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --pat-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* نوار رنگی بالای هدر */
.site-header::before{ content:""; position:absolute; inset-inline:0; top:0; height:3px; background:linear-gradient(90deg, hsl(264 82% 40%), hsl(292 70% 55%), hsl(28 92% 52%), hsl(212 80% 38%)); }

/* دکمه‌ها */
.btn-primary,.btn-gradient{ background:var(--grad-brand); box-shadow:0 12px 24px -12px hsl(264 82% 36% / .75); }
.btn-primary:hover,.btn-gradient:hover{ background:linear-gradient(135deg, hsl(264 82% 28%), hsl(276 78% 46%)); box-shadow:0 16px 30px -12px hsl(264 82% 36% / .85); }
.btn-saffron{ background:var(--grad-lms); box-shadow:0 12px 24px -12px hsl(28 95% 45% / .8); }
.btn-saffron:hover{ background:linear-gradient(135deg, hsl(28 95% 44%), hsl(28 97% 54%)); }
.btn-teal{ background:var(--grad-live); box-shadow:0 12px 24px -12px hsl(212 85% 41% / .8); }
.btn-teal:hover{ background:linear-gradient(135deg, hsl(212 88% 41%), hsl(212 72% 34%)); }

/* متن گرادیانی عنوان */
.grad-text{ background:linear-gradient(100deg, hsl(264 82% 36%), hsl(292 72% 52%) 55%, hsl(334 78% 56%)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* هیرو: شفق رنگی + الگوی هندسی */
.hero{
  background:
    radial-gradient(900px 520px at 88% -8%, hsl(264 85% 62% / .22), transparent 62%),
    radial-gradient(760px 520px at -4% 104%, hsl(28 96% 56% / .24), transparent 62%),
    radial-gradient(560px 380px at 42% 18%, hsl(212 80% 46% / .14), transparent 62%),
    hsl(var(--background));
}
.hero::before,.page-hero::before{ content:""; position:absolute; inset:0; background-image:var(--pat-light); -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 88%); mask-image:linear-gradient(180deg,#000 0%,transparent 88%); pointer-events:none; }
.page-hero{ background:
    radial-gradient(640px 380px at 92% -20%, hsl(264 85% 62% / .20), transparent 62%),
    radial-gradient(560px 380px at 0% 120%, hsl(28 96% 56% / .20), transparent 62%),
    hsl(var(--background)); }
.page-hero.is-lms{ background:
    radial-gradient(640px 380px at 92% -20%, hsl(28 96% 56% / .45), transparent 62%),
    radial-gradient(520px 360px at 0% 120%, hsl(28 95% 58% / .25), transparent 62%),
    hsl(var(--lms-tint)); }
.page-hero.is-live{ background:
    radial-gradient(640px 380px at 92% -20%, hsl(212 80% 46% / .40), transparent 62%),
    radial-gradient(520px 360px at 0% 120%, hsl(210 85% 55% / .22), transparent 62%),
    hsl(var(--live-tint)); }
.page-hero-inner,.hero-grid{ position:relative; z-index:1; }

/* صحنه‌ی محصول: درخشش و چیپ‌های شناور */
.stage{ isolation:isolate; }
.stage::before{ content:""; position:absolute; inset:14% -5% -8% 5%; background:var(--grad-brand); opacity:.28; filter:blur(56px); border-radius:48px; z-index:-1; }
.win{ box-shadow:0 40px 80px -30px hsl(264 82% 30% / .45), 0 0 0 1px hsl(264 40% 88%); }
.win-bar{ background:linear-gradient(180deg, hsl(261 70% 97%), hsl(261 55% 94%)); }
.float-chip{ position:absolute; z-index:3; display:flex; align-items:center; gap:10px; padding:9px 16px 9px 14px; background:#fff; border-radius:16px; font-weight:800; font-size:.8rem; box-shadow:0 18px 36px -14px hsl(259 52% 13% / .4); border:1px solid hsl(var(--border)); animation:floatY 6s ease-in-out infinite; }
.float-chip .fc-ico{ width:30px; height:30px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; }
.float-chip .fc-ico svg{ width:16px; height:16px; }
.float-chip small{ display:block; font-weight:600; font-size:.7rem; color:hsl(var(--muted-foreground)); line-height:1.4; }
.fc-1{ top:62px; inset-inline-end:-26px; animation-delay:.2s; } .fc-1 .fc-ico{ background:var(--grad-lms); color:hsl(var(--ink)); }
.fc-2{ top:54px; inset-inline-start:-28px; animation-delay:1.6s; } .fc-2 .fc-ico{ background:var(--grad-live); }
.fc-3{ bottom:-12px; inset-inline-end:24px; animation-delay:3s; }
.stage-note{ margin-top:30px; } .fc-3 .fc-ico{ background:var(--grad-brand); }
@keyframes floatY{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
@media (max-width:960px){ .fc-1{ inset-inline-end:-6px; } .fc-2{ inset-inline-start:-6px; } }
@media (max-width:560px){ .float-chip{ display:none; } }

/* نوار آمار تیره */
.trustband{ position:relative; overflow:hidden; background:var(--grad-ink); color:#fff; }
.trustband::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); }
.trustband::after{ content:""; position:absolute; width:520px; height:260px; inset-inline-start:-80px; top:-120px; background:hsl(264 90% 62% / .35); filter:blur(80px); }
.trustband .wrap{ position:relative; z-index:1; }
.trustband .trust-cell{ border-color:hsl(0 0% 100% / .13); }
.trustband .trust-num{ background:linear-gradient(120deg,#fff 20%, hsl(28 98% 66%)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.trustband .trust-label{ color:hsl(0 0% 100% / .72); }

/* بخش‌های رنگی */
.bg-pattern{ position:relative; background:linear-gradient(180deg, hsl(262 80% 97%), hsl(260 70% 95%)); }
.bg-pattern::before{ content:""; position:absolute; inset:0; background-image:var(--pat-light); pointer-events:none; -webkit-mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent); mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent); }
.bg-pattern > .wrap,.bg-pattern > .wrap-narrow{ position:relative; }
.bg-soft{ background:linear-gradient(180deg, hsl(var(--background)), hsl(262 85% 96%) 55%, hsl(var(--background))); }
.bg-ink-glow{ position:relative; overflow:hidden; color:#fff; background:
    radial-gradient(700px 420px at 90% 0%, hsl(264 88% 56% / .42), transparent 62%),
    radial-gradient(600px 400px at 0% 100%, hsl(28 95% 52% / .22), transparent 62%),
    var(--grad-ink); }
.bg-ink-glow::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.bg-ink-glow > .wrap{ position:relative; }
.bg-ink-glow .h2{ color:#fff; }
.bg-ink-glow .lead{ color:hsl(0 0% 100% / .74); }
.bg-ink-glow .stat .n{ background:linear-gradient(120deg,#fff 10%, hsl(28 98% 64%)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.bg-ink-glow .stat .l{ color:hsl(0 0% 100% / .72); }
.bg-ink-glow .stat .l.strong{ color:#fff; font-weight:700; }
.bg-ink-glow .stat{ border-top:2px solid hsl(0 0% 100% / .16); padding-top:18px; }
.bg-ink-glow .proof-note{ color:hsl(0 0% 100% / .6); }
.stat .n{ background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* عنوان بخش‌ها: نوار رنگی کوتاه */
.section-head::before{ content:""; display:block; width:46px; height:5px; border-radius:5px; background:linear-gradient(90deg, hsl(264 82% 40%), hsl(28 92% 52%)); margin-bottom:16px; }
.section-head.center::before{ margin-inline:auto; }
.bg-ink .section-head::before{ background:linear-gradient(90deg, hsl(28 92% 58%), hsl(212 80% 50%)); }

/* محصولات */
.prod{ box-shadow:0 30px 50px -36px hsl(259 52% 13% / .45); }
.prod::before{ content:""; position:absolute; inset:0; background-image:var(--pat-light); opacity:.8; pointer-events:none; -webkit-mask-image:linear-gradient(200deg,#000,transparent 65%); mask-image:linear-gradient(200deg,#000,transparent 65%); }
.prod > *{ position:relative; }
.prod > .loop-mark{ position:absolute; }
.prod.is-lms{ background:linear-gradient(150deg, hsl(28 100% 97%), hsl(28 100% 88%)); }
.prod.is-live{ background:linear-gradient(150deg, hsl(212 55% 96%), hsl(212 60% 85%)); }
.is-lms .prod-ico{ background:var(--grad-lms); box-shadow:0 14px 24px -10px hsl(28 95% 45% / .8); }
.is-live .prod-ico{ background:var(--grad-live); color:#fff; box-shadow:0 14px 24px -10px hsl(212 85% 41% / .8); }

/* آیکون کارت‌ها: گرادیانی با سایه‌ی رنگی */
.ti-brand{ background:var(--grad-brand); color:#fff; box-shadow:0 12px 20px -10px hsl(264 82% 36% / .7); }
.ti-lms{ background:var(--grad-lms); color:hsl(var(--ink)); box-shadow:0 12px 20px -10px hsl(28 95% 45% / .75); }
.ti-live{ background:var(--grad-live); color:#fff; box-shadow:0 12px 20px -10px hsl(212 85% 41% / .75); }
.tile{ position:relative; overflow:hidden; transition:border-color .2s, box-shadow .2s, transform .2s; }
.tile::after{ content:""; position:absolute; inset-inline:0; top:0; height:4px; background:var(--grad-brand); transform:scaleX(0); transform-origin:right; transition:transform .3s; }
.tile.is-lms::after{ background:var(--grad-lms); } .tile.is-live::after{ background:var(--grad-live); }
.tile:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -22px hsl(264 60% 30% / .45); }
.tile:hover::after{ transform:scaleX(1); }
.tile.static:hover{ transform:none; } .tile.static::after{ display:none; }
.post:hover,.feature-post:hover{ transform:translateY(-3px); }
.post,.feature-post{ transition:box-shadow .2s,border-color .2s,transform .2s; }

/* پلن‌ها */
.plan{ transition:transform .2s, box-shadow .2s; }
.plan:hover{ transform:translateY(-4px); box-shadow:0 24px 44px -26px hsl(264 60% 30% / .5); }
.plan.is-featured{ background:radial-gradient(420px 260px at 100% 0%, hsl(264 88% 56% / .5), transparent 65%), linear-gradient(165deg, hsl(259 58% 11%), hsl(263 66% 23%)); box-shadow:0 34px 60px -28px hsl(264 82% 30% / .7); }
.plan-badge{ background:var(--grad-lms); box-shadow:0 8px 16px -8px hsl(28 95% 45% / .8); }
.plan-head svg{ width:34px; height:34px; padding:7px; border-radius:11px; background:hsl(var(--muted)); }
.plan.is-featured .plan-head svg{ background:hsl(0 0% 100% / .12); }

/* چک‌لیست‌ها */
.checks li svg{ width:26px; height:26px; padding:4px; border-radius:50%; background:hsl(var(--success) / .13); margin-top:3px; }
.hero-proof svg{ background:hsl(var(--success) / .12); border-radius:50%; padding:2px; width:22px; height:22px; }

/* پلن‌یاب و CTA و فوتر */
.finder{ background:
    radial-gradient(520px 320px at 100% 0%, hsl(264 88% 58% / .5), transparent 62%),
    radial-gradient(440px 320px at 0% 100%, hsl(28 95% 52% / .28), transparent 62%),
    hsl(var(--ink)); }
.finder::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.finder-grid{ z-index:1; }
.cta-band{ background:
    radial-gradient(620px 320px at 8% 0%, hsl(28 96% 56% / .32), transparent 62%),
    radial-gradient(560px 340px at 95% 100%, hsl(292 80% 62% / .5), transparent 62%),
    linear-gradient(135deg, hsl(264 84% 26%), hsl(262 76% 38%)); }
.cta-band::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.cta-band.is-lms{ background:radial-gradient(560px 320px at 95% 0%, hsl(28 95% 60% / .45), transparent 62%), linear-gradient(135deg, hsl(28 96% 54%), hsl(28 98% 62%)); }
.cta-band.is-live{ background:radial-gradient(560px 320px at 95% 0%, hsl(205 85% 58% / .4), transparent 62%), linear-gradient(135deg, hsl(212 88% 41%), hsl(212 70% 34%)); }
.cta-inner{ position:relative; z-index:1; }
.site-footer{ background:radial-gradient(700px 380px at 100% 0%, hsl(264 85% 50% / .35), transparent 62%), radial-gradient(500px 300px at 0% 100%, hsl(28 95% 50% / .14), transparent 62%), var(--grad-ink); }
.site-footer::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.footer-grid,.footer-bottom{ z-index:1; }

/* جلد مقالات و مراحل */
.cv-moodle{ background:linear-gradient(135deg, hsl(28 95% 38%), hsl(28 96% 50%)); }
.cv-bbb{ background:var(--grad-live); }
.cv-teaching{ background:var(--grad-brand); }
.cv-business{ background:linear-gradient(135deg, hsl(259 55% 16%), hsl(268 60% 34%)); }
.cv-tips{ background:linear-gradient(135deg, hsl(300 65% 36%), hsl(264 75% 50%)); }
.cover::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); }
.step-btn.done .step-dot,.step-btn[aria-selected="true"] .step-dot{ background:var(--grad-brand); box-shadow:0 10px 20px -8px hsl(264 82% 36% / .7); }
.step-detail{ box-shadow:0 20px 40px -30px hsl(264 60% 30% / .5); }
.ex-btn[aria-selected="true"]{ box-shadow:0 14px 26px -18px hsl(264 60% 30% / .6); }
.value{ transition:transform .2s, box-shadow .2s; } .value:hover{ transform:translateY(-3px); box-shadow:0 20px 36px -24px hsl(264 60% 30% / .45); }
.stage-tab[aria-selected="true"].t-lms{ background:var(--grad-lms); } .stage-tab[aria-selected="true"].t-live{ background:var(--grad-live); }

@media (prefers-reduced-motion:reduce){ .float-chip{ animation:none; } }

/* ==========================================================================
   خدمات جدید: منوی خدمات، وبینار، اپلیکیشن موبایل، برند اختصاصی، پلاگین، IT
   ========================================================================== */

/* ---- منوی خدمات (mega menu) ---- */
.nav-drop{ position:relative; }
.nav-drop-btn{ display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; font-family:inherit; cursor:pointer; }
.nav-drop-btn svg{ width:15px; height:15px; transition:transform .2s; }
.nav-drop.open .nav-drop-btn svg,.nav-drop:hover .nav-drop-btn svg{ transform:rotate(180deg); }
.mega{ position:absolute; top:calc(100% + 12px); inset-inline-start:-40px; width:min(680px,92vw); background:#fff; border:1px solid hsl(var(--border)); border-radius:20px; padding:14px; box-shadow:0 40px 70px -30px hsl(259 52% 13% / .45); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .18s, transform .18s, visibility .18s; z-index:120; }
.mega::before{ content:""; position:absolute; top:-14px; inset-inline:0; height:14px; }
.nav-drop:hover .mega,.nav-drop.open .mega,.nav-drop:focus-within .mega{ opacity:1; visibility:visible; transform:none; }
.mega-grid{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.mega-item{ display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:14px; transition:background-color .15s; }
.mega-item:hover{ background:hsl(var(--muted)); }
.mega-item .tile-icon{ width:42px; height:42px; margin:0; border-radius:12px; }
.mega-item .tile-icon svg{ width:20px; height:20px; }
.mega-item b{ display:block; font-size:.92rem; line-height:1.6; color:hsl(var(--ink)); }
.mega-item small{ display:block; font-size:.78rem; line-height:1.7; color:hsl(var(--muted-foreground)); }
.mega-foot{ margin-top:8px; padding:10px 14px; border-top:1px solid hsl(var(--border)); display:flex; align-items:center; justify-content:space-between; font-size:.82rem; color:hsl(var(--muted-foreground)); }
.mega-foot a{ font-weight:700; color:hsl(var(--primary)); }
.mobile-group{ padding:10px 12px 4px; font-size:.78rem; font-weight:800; color:hsl(var(--muted-foreground)); }
.mobile-menu .svc-link{ display:flex; align-items:center; gap:12px; }
.mobile-menu .svc-link i,.mobile-menu .svc-link svg{ width:18px; height:18px; }

/* ---- رنگ و دکمه‌ی وبینار ---- */
.ti-web{ background:var(--grad-web); color:#fff; box-shadow:0 12px 20px -10px hsl(332 80% 45% / .7); }
.ti-it{ background:hsl(var(--ink)); color:#fff; }
.chip.is-web{ background:hsl(var(--web-tint)); color:hsl(var(--web-accent)); }
.btn-rose{ background:var(--grad-web); color:#fff; box-shadow:0 12px 24px -12px hsl(332 80% 45% / .8); }
.btn-rose:hover{ background:linear-gradient(135deg, hsl(326 80% 32%), hsl(350 88% 52%)); }
.text-web{ color:hsl(var(--web-accent)); }
.page-hero.is-web{ background:radial-gradient(640px 380px at 92% -20%, hsl(332 85% 58% / .38), transparent 62%), radial-gradient(520px 360px at 0% 120%, hsl(264 85% 58% / .25), transparent 62%), hsl(var(--web-tint)); }
.page-hero.is-web .loop-mark{ color:hsl(var(--web-accent) / .12); }
.cta-band.is-web{ background:radial-gradient(560px 320px at 95% 0%, hsl(20 95% 60% / .4), transparent 62%), linear-gradient(135deg, hsl(326 80% 34%), hsl(344 84% 50%)); }
.tile.is-web::after{ background:var(--grad-web); } .tile.is-web:hover{ border-color:hsl(var(--web-accent)); } .tile.is-web .more{ color:hsl(var(--web-accent)); }

/* ---- بنر وبینار (مانور جداگانه) ---- */
.web-banner{ position:relative; overflow:hidden; margin-top:20px; border-radius:var(--radius-lg); color:#fff; background:radial-gradient(520px 300px at 100% 0%, hsl(20 96% 62% / .5), transparent 62%), linear-gradient(120deg, hsl(326 82% 30%), hsl(338 82% 44%) 60%, hsl(352 88% 56%)); display:grid; grid-template-columns:1.15fr .85fr; gap:24px; align-items:center; padding:clamp(26px,4vw,52px); box-shadow:0 36px 60px -34px hsl(332 80% 40% / .7); transition:transform .3s, box-shadow .3s; }
.web-banner::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.web-banner:hover{ transform:translateY(-4px); box-shadow:0 46px 70px -32px hsl(332 80% 40% / .85); }
.web-banner > *{ position:relative; }
.web-live{ display:inline-flex; align-items:center; gap:8px; font-size:.78rem; font-weight:800; padding:5px 14px; border-radius:999px; background:hsl(0 0% 100% / .16); margin-bottom:14px; }
.web-live i{ width:9px; height:9px; border-radius:50%; background:#fff; animation:blink 1.2s infinite; }
.web-banner h3{ font-size:clamp(1.6rem,3vw,2.3rem); font-weight:900; line-height:1.4; }
.web-banner p{ margin-top:10px; color:hsl(0 0% 100% / .85); max-width:52ch; }
.web-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 26px; }
.web-chips span{ font-size:.8rem; font-weight:700; padding:6px 14px; border-radius:999px; background:hsl(0 0% 100% / .14); border:1px solid hsl(0 0% 100% / .2); }
.audience{ display:grid; grid-template-columns:repeat(10,1fr); gap:9px; padding:22px; border-radius:22px; background:hsl(0 0% 100% / .1); border:1px solid hsl(0 0% 100% / .18); backdrop-filter:blur(6px); }
.audience i{ aspect-ratio:1; border-radius:50%; background:hsl(0 0% 100% / .28); animation:aud 3.2s ease-in-out infinite; }
.audience i:nth-child(7n){ animation-delay:.4s; } .audience i:nth-child(5n){ animation-delay:1.1s; } .audience i:nth-child(3n){ animation-delay:2s; }
.audience i.host{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; border-radius:16px; background:#fff; display:flex; align-items:center; justify-content:center; color:hsl(var(--web-accent)); animation:none; }
.audience i.host svg{ width:60%; height:60%; }
.web-banner:hover .audience i{ animation-duration:1.4s; background:hsl(0 0% 100% / .5); }
@keyframes aud{ 0%,100%{ background:hsl(0 0% 100% / .22); transform:scale(1); } 50%{ background:hsl(0 0% 100% / .75); transform:scale(1.12); } }
@media (max-width:860px){ .web-banner{ grid-template-columns:1fr; } .audience{ order:-1; } }
@media (prefers-reduced-motion:reduce){ .audience i,.web-live i{ animation:none; } }

/* ---- زیرخدمت داخل کارت (پلاگین‌نویسی) ---- */
.sub-service{ position:relative; display:flex; align-items:center; gap:14px; margin-top:20px; padding:14px 16px; border-radius:16px; background:hsl(0 0% 100% / .72); border:1px dashed hsl(var(--lms-accent) / .65); transition:background-color .2s, transform .2s; }
.sub-service:hover{ background:#fff; transform:translateY(-2px); }
.sub-service .tile-icon{ width:44px; height:44px; margin:0; border-radius:13px; }
.sub-service b{ display:block; font-size:.95rem; } .sub-service small{ display:block; font-size:.8rem; color:hsl(var(--muted-foreground)); line-height:1.7; }
.sub-service svg.go{ width:18px; height:18px; margin-inline-start:auto; color:hsl(var(--lms-ink)); }

/* ---- اپلیکیشن موبایل ---- */
.app-spot{ position:relative; overflow:hidden; color:#fff; background:radial-gradient(640px 420px at 12% 20%, hsl(292 85% 60% / .45), transparent 62%), radial-gradient(520px 380px at 100% 100%, hsl(28 95% 53% / .25), transparent 62%), linear-gradient(135deg, hsl(264 84% 22%), hsl(262 78% 34%)); }
.app-spot::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.app-grid{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(24px,5vw,72px); align-items:center; }
.app-grid .lead{ color:hsl(0 0% 100% / .8); margin-top:14px; }
.app-badge{ display:inline-flex; align-items:center; gap:8px; padding:6px 16px; border-radius:999px; font-size:.82rem; font-weight:800; background:var(--grad-lms); color:hsl(var(--ink)); margin-bottom:16px; }
.app-badge svg{ width:16px; height:16px; }
.app-points{ margin:26px 0 30px; display:grid; gap:12px; }
.app-points li{ display:flex; gap:14px; align-items:flex-start; }
.app-points .pt-ico{ width:38px; height:38px; border-radius:12px; background:hsl(0 0% 100% / .14); display:flex; align-items:center; justify-content:center; flex:none; }
.app-points .pt-ico svg{ width:19px; height:19px; }
.app-points b{ display:block; font-size:.98rem; } .app-points small{ display:block; font-size:.84rem; color:hsl(0 0% 100% / .72); line-height:1.8; }
.app-actions{ display:flex; flex-wrap:wrap; gap:12px; }
.phone-wrap{ display:flex; justify-content:center; position:relative; }
.phone-wrap::before{ content:""; position:absolute; width:320px; height:320px; border-radius:50%; background:hsl(292 90% 62% / .5); filter:blur(70px); top:20%; }
@media (max-width:900px){ .app-grid{ grid-template-columns:1fr; } .phone-wrap{ order:-1; } }

.phone-wrap .phone{ --bd:#4c10a6; --bd-fg:#fff; }
.phone{ position:relative; width:290px; flex:none; border-radius:44px; padding:11px; background:linear-gradient(160deg, #2a2142, #0f0a20); box-shadow:0 50px 80px -30px rgba(10,4,30,.8), inset 0 0 0 2px hsl(0 0% 100% / .12); }
.phone-notch{ position:absolute; top:19px; left:50%; transform:translateX(-50%); width:84px; height:22px; border-radius:20px; background:#0f0a20; z-index:3; }
.phone-screen{ position:relative; height:560px; border-radius:34px; overflow:hidden; background:#f7f5fc; color:hsl(var(--ink)); display:flex; flex-direction:column; }
.phone-top{ display:flex; align-items:center; gap:10px; padding:44px 16px 14px; background:var(--bd,#4c10a6); color:var(--bd-fg,#fff); }
.phone-logo{ width:32px; height:32px; border-radius:10px; background:hsl(0 0% 100% / .22); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:.95rem; overflow:hidden; flex:none; }
.phone-logo img{ width:100%; height:100%; object-fit:cover; }
.phone-top b{ font-size:.95rem; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ph-body{ flex:1; overflow:hidden; padding:14px; }
.ph-screen{ display:none; } .ph-screen.on{ display:block; animation:sceneIn .35s ease both; }
.ph-h{ font-size:.78rem; font-weight:800; color:hsl(var(--muted-foreground)); margin-bottom:10px; }
.ph-card{ background:#fff; border:1px solid hsl(var(--border)); border-radius:16px; padding:12px 14px; margin-bottom:10px; }
.ph-card .row{ display:flex; justify-content:space-between; align-items:center; gap:8px; font-weight:800; font-size:.86rem; }
.ph-card .row span:last-child{ font-size:.76rem; color:var(--bd); }
.ph-card .sub{ font-size:.72rem; color:hsl(var(--muted-foreground)); margin-top:2px; }
.ph-bar{ height:6px; border-radius:6px; background:color-mix(in srgb, var(--bd) 14%, #fff); margin-top:10px; overflow:hidden; }
.ph-bar i{ display:block; height:100%; width:var(--w); border-radius:6px; background:var(--bd); }
.ph-screen.on .ph-bar i{ animation:grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.ph-opt{ display:block; width:100%; text-align:start; border:1.5px solid hsl(var(--border)); background:#fff; border-radius:12px; padding:10px 14px; margin-bottom:8px; font:inherit; font-size:.85rem; font-weight:700; cursor:pointer; color:inherit; }
.ph-opt.picked{ border-color:var(--bd); background:color-mix(in srgb, var(--bd) 10%, #fff); }
.ph-msg{ display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid hsl(var(--border)); border-radius:14px; padding:10px 12px; margin-bottom:8px; }
.ph-msg .dot{ width:34px; height:34px; border-radius:50%; background:color-mix(in srgb, var(--bd) 16%, #fff); color:var(--bd); display:flex; align-items:center; justify-content:center; flex:none; }
.ph-msg .dot svg{ width:17px; height:17px; }
.ph-msg b{ font-size:.82rem; display:block; line-height:1.6; } .ph-msg small{ font-size:.72rem; color:hsl(var(--muted-foreground)); line-height:1.6; display:block; }
.phone-tabs{ display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid hsl(var(--border)); background:#fff; padding:6px 6px 14px; }
.phone-tabs button{ border:0; background:transparent; display:flex; flex-direction:column; align-items:center; gap:2px; font:inherit; font-size:.68rem; font-weight:700; color:hsl(var(--muted-foreground)); padding:6px 0; cursor:pointer; border-radius:12px; }
.phone-tabs button svg{ width:20px; height:20px; }
.phone-tabs button[aria-selected="true"]{ color:var(--bd); }

/* ---- نمونه‌ساز برند اختصاصی ---- */
.brand-demo{ --bd:#4c10a6; --bd-fg:#fff; display:grid; grid-template-columns:340px minmax(0,1fr); gap:24px; align-items:start; }
.bd-controls{ background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:24px; display:grid; gap:18px; position:sticky; top:92px; }
.bd-swatches{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.bd-sw{ width:36px; height:36px; border-radius:50%; border:3px solid #fff; box-shadow:0 0 0 1.5px hsl(var(--border)); cursor:pointer; padding:0; transition:transform .15s, box-shadow .15s; }
.bd-sw:hover{ transform:scale(1.1); }
.bd-sw[aria-pressed="true"]{ box-shadow:0 0 0 3px hsl(var(--ink)); }
.bd-custom{ width:36px; height:36px; border:0; padding:0; background:none; cursor:pointer; border-radius:50%; }
.bd-file{ display:flex; align-items:center; gap:12px; padding:12px 14px; border:1.5px dashed hsl(var(--border)); border-radius:14px; cursor:pointer; font-size:.88rem; font-weight:700; transition:border-color .15s, background-color .15s; }
.bd-file:hover{ border-color:hsl(var(--primary)); background:hsl(var(--muted)); }
.bd-file input{ position:absolute; opacity:0; width:1px; height:1px; }
.bd-file svg{ width:20px; height:20px; color:hsl(var(--primary)); }
.bd-stage{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px; align-items:start; }
.bd-tabs{ margin-bottom:12px; }
.bd-browser{ background:#fff; border:1px solid hsl(var(--border)); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); }
.bd-addr{ display:flex; align-items:center; gap:10px; padding:10px 14px; background:hsl(var(--muted)); border-bottom:1px solid hsl(var(--border)); }
.bd-addr .win-dot{ flex:none; }
.bd-url{ flex:1; direction:ltr; text-align:left; background:#fff; border:1px solid hsl(var(--border)); border-radius:999px; padding:4px 14px; font-size:.78rem; font-weight:600; display:flex; align-items:center; gap:7px; overflow:hidden; white-space:nowrap; }
.bd-url svg{ width:13px; height:13px; color:hsl(var(--success)); flex:none; }
.bd-head{ display:flex; align-items:center; gap:12px; padding:14px 18px; background:var(--bd); color:var(--bd-fg); }
.bd-head b{ font-size:1rem; }
.bd-head .phone-logo{ width:36px; height:36px; }
.bd-head .bd-nav{ margin-inline-start:auto; display:flex; gap:14px; font-size:.78rem; font-weight:700; opacity:.9; }
.bd-body{ padding:18px; min-height:230px; }
.bd-scene{ display:none; } .bd-scene.on{ display:block; animation:sceneIn .35s ease both; }
.bd-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.bd-card{ border:1px solid hsl(var(--border)); border-radius:14px; padding:12px; background:#fff; }
.bd-card i.t{ display:block; height:54px; border-radius:10px; background:color-mix(in srgb, var(--bd) 16%, #fff); margin-bottom:10px; }
.bd-card b{ font-size:.82rem; display:block; } .bd-card small{ font-size:.72rem; color:hsl(var(--muted-foreground)); }
.bd-live{ display:grid; grid-template-columns:1.6fr 1fr; gap:10px; }
.bd-slide{ border-radius:14px; min-height:170px; background:color-mix(in srgb, var(--bd) 10%, #fff); border:1px solid color-mix(in srgb, var(--bd) 25%, #fff); display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; font-weight:900; font-size:1.1rem; color:var(--bd); }
.bd-people{ display:grid; gap:8px; }
.bd-people i{ display:block; height:50px; border-radius:12px; background:color-mix(in srgb, var(--bd) 14%, #fff); }
.bd-web{ text-align:center; padding:10px 0; }
.bd-web .pill{ display:inline-block; background:var(--bd); color:var(--bd-fg); padding:9px 22px; border-radius:999px; font-weight:800; font-size:.85rem; margin-top:12px; }
.brand-note{ margin-top:14px; font-size:.78rem; color:hsl(var(--muted-foreground)); display:flex; gap:8px; align-items:flex-start; }
.brand-note svg{ width:15px; height:15px; flex:none; margin-top:5px; }
@media (max-width:1100px){ .bd-stage{ grid-template-columns:1fr; justify-items:center; } .bd-browser{ width:100%; } }
@media (max-width:900px){ .brand-demo{ grid-template-columns:1fr; } .bd-controls{ position:static; } .bd-cards{ grid-template-columns:1fr; } }

/* ---- نوار خدمات IT (گوشه‌ی صفحه) ---- */
.it-strip{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px; padding:16px 22px; border:1px solid hsl(var(--border)); border-radius:16px; background:#fff; font-size:.9rem; }
.it-strip .it-l{ display:flex; align-items:center; gap:12px; color:hsl(var(--muted-foreground)); }
.it-strip .it-l b{ color:hsl(var(--ink)); }
.it-strip .it-l svg{ width:20px; height:20px; color:hsl(var(--ink)); }
.it-strip a{ font-weight:800; color:hsl(var(--primary)); display:inline-flex; align-items:center; gap:6px; }
.it-strip a svg{ width:15px; height:15px; }

/* ---- چرخه‌ی وبینار و فرایندهای دیگر ---- */
.cycle-panel{ background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:clamp(22px,3.5vw,38px); }
.cycle-panel h3{ margin-bottom:6px; }
.todo{ display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin-top:18px; }
.todo li{ display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:12px; background:hsl(var(--muted)/.7); font-size:.92rem; font-weight:600; }
.todo li svg{ width:20px; height:20px; flex:none; margin-top:4px; }
@media (max-width:760px){ .todo{ grid-template-columns:1fr; } }

/* ==========================================================================
   نسخه‌ی سوم: ریبون افزونه، هوش مصنوعی، خدمات تکمیلی، مقالات، افزونه‌ها
   ========================================================================== */

/* ریبون مورب گوشه‌ی بالا-چپ کارت مدیریت آموزش */
.corner-ribbon{ position:absolute; top:0; left:0; width:236px; height:236px; overflow:hidden; z-index:4; pointer-events:none; border-top-left-radius:var(--radius-lg); }
.corner-ribbon a{ pointer-events:auto; position:absolute; top:54px; left:-70px; width:330px; transform:rotate(-45deg); display:flex; align-items:center; justify-content:center; gap:7px; padding:9px 0; color:#fff; font-weight:800; font-size:.8rem; background:linear-gradient(90deg, hsl(264 84% 30%), hsl(284 80% 50%) 55%, hsl(264 84% 30%)); background-size:200% 100%; box-shadow:0 10px 22px -8px hsl(264 82% 28% / .8); animation:ribbonShift 4s linear infinite; }
.corner-ribbon a svg{ width:15px; height:15px; color:hsl(43 98% 62%); animation:starPulse 1.8s ease-in-out infinite; }
.corner-ribbon a:hover{ filter:brightness(1.12); }
@keyframes ribbonShift{ to{ background-position:-200% 0; } }
@keyframes starPulse{ 0%,100%{ transform:scale(1) rotate(0); } 50%{ transform:scale(1.35) rotate(25deg); } }
@media (max-width:560px){ .corner-ribbon{ width:190px; height:190px; } .corner-ribbon a{ top:42px; left:-66px; width:270px; font-size:.7rem; } }
@media (prefers-reduced-motion:reduce){ .corner-ribbon a,.corner-ribbon a svg{ animation:none; } }

/* خدمات تکمیلی زیر دو محصول */
.svc-head{ margin:46px 0 16px; display:flex; align-items:center; gap:14px; }
.svc-head h3{ font-size:1.1rem; font-weight:900; }
.svc-head::after{ content:""; flex:1; height:1px; background:hsl(var(--border)); }
.svc-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.svc-card{ display:flex; flex-direction:column; gap:12px; padding:20px; border-radius:18px; background:#fff; border:1px solid hsl(var(--border)); transition:transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover{ transform:translateY(-4px); border-color:hsl(var(--primary)/.45); box-shadow:0 22px 38px -24px hsl(264 60% 30% / .5); }
.svc-card .tile-icon{ margin:0; width:46px; height:46px; }
.svc-card b{ font-size:.98rem; line-height:1.7; }
.svc-card small{ font-size:.82rem; color:hsl(var(--muted-foreground)); line-height:1.8; }
.svc-card .more{ margin-top:auto; font-size:.8rem; font-weight:800; color:hsl(var(--primary)); display:flex; align-items:center; gap:6px; }
.svc-card .more svg{ width:14px; height:14px; }
@media (max-width:1000px){ .svc-row{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px){ .svc-row{ grid-template-columns:1fr; } }

/* نوار IT با چیپ‌ها */
.it-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.it-chips span{ font-size:.78rem; font-weight:700; padding:4px 12px; border-radius:999px; background:hsl(var(--muted)); color:hsl(var(--ink)); }

/* هوش مصنوعی */
.ai-card{ position:relative; overflow:hidden; display:grid; grid-template-columns:1.2fr .8fr; gap:clamp(20px,4vw,56px); align-items:center; padding:clamp(28px,5vw,64px); border-radius:28px; color:#fff; background:radial-gradient(520px 320px at 100% 0%, hsl(190 90% 50% / .35), transparent 62%), radial-gradient(560px 360px at 0% 100%, hsl(320 85% 58% / .45), transparent 62%), linear-gradient(135deg, hsl(256 86% 22%), hsl(268 80% 38%)); box-shadow:0 40px 70px -40px hsl(264 82% 30% / .8); }
.ai-card::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); pointer-events:none; }
.ai-copy,.ai-orb{ position:relative; }
.ai-badge{ display:inline-flex; align-items:center; gap:8px; padding:6px 16px; border-radius:999px; font-size:.82rem; font-weight:800; background:hsl(0 0% 100% / .14); border:1px solid hsl(0 0% 100% / .24); margin-bottom:16px; }
.ai-badge svg{ width:16px; height:16px; color:hsl(43 98% 66%); }
.grad-text-light{ background:linear-gradient(100deg, hsl(43 98% 68%), hsl(190 95% 70%)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ai-copy .lead{ color:hsl(0 0% 100% / .82); margin-top:14px; }
.ai-points{ margin-top:24px; display:flex; flex-wrap:wrap; gap:10px; }
.ai-points li{ display:inline-flex; align-items:center; gap:9px; padding:9px 16px; border-radius:999px; background:hsl(0 0% 100% / .12); border:1px solid hsl(0 0% 100% / .2); font-weight:700; font-size:.88rem; }
.ai-points svg{ width:18px; height:18px; color:hsl(43 98% 66%); }
.ai-orb{ aspect-ratio:1; width:min(100%,360px); justify-self:center; }
.ai-orb .ring{ position:absolute; inset:0; margin:auto; border-radius:50%; border:1.5px dashed hsl(0 0% 100% / .3); animation:spin 40s linear infinite; }
.ai-orb .r1{ width:100%; height:100%; } .ai-orb .r2{ width:74%; height:74%; animation-direction:reverse; animation-duration:30s; } .ai-orb .r3{ width:48%; height:48%; border-style:solid; border-color:hsl(0 0% 100% / .18); }
.ai-orb .core{ position:absolute; inset:0; margin:auto; width:30%; height:30%; border-radius:50%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, hsl(43 98% 62%), hsl(330 85% 62%)); box-shadow:0 0 60px hsl(330 90% 60% / .7); animation:corePulse 3s ease-in-out infinite; }
.ai-orb .core svg{ width:46%; height:46%; color:#fff; }
.ai-orb .sat{ position:absolute; width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:#fff; color:hsl(var(--primary)); box-shadow:0 14px 26px -10px rgba(0,0,0,.5); animation:floatY 6s ease-in-out infinite; }
.ai-orb .sat svg{ width:24px; height:24px; }
.ai-orb .s1{ top:2%; left:42%; } .ai-orb .s2{ top:42%; right:-2%; animation-delay:1.2s; } .ai-orb .s3{ bottom:2%; left:42%; animation-delay:2.4s; } .ai-orb .s4{ top:42%; left:-2%; animation-delay:3.6s; }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes corePulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
@media (max-width:860px){ .ai-card{ grid-template-columns:1fr; } .ai-orb{ order:-1; width:min(100%,280px); } }
@media (prefers-reduced-motion:reduce){ .ai-orb .ring,.ai-orb .core,.ai-orb .sat{ animation:none; } }

/* مقالات: تصویر و صفحه‌ی اختصاصی */
.thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; background:hsl(var(--muted)); }
.thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.post:hover .thumb img,.feature-post:hover .thumb img{ transform:scale(1.05); }
.thumb .cover-cat{ position:absolute; bottom:12px; inset-inline-start:12px; background:hsl(259 52% 13% / .72); color:#fff; backdrop-filter:blur(6px); }
.feature-post .thumb{ aspect-ratio:auto; min-height:300px; height:100%; }
a.post,a.feature-post{ color:inherit; text-decoration:none; }
.article-hero{ padding-block:clamp(34px,5vw,56px) 0; }
.article-head{ max-width:860px; margin-inline:auto; }
.article-head h1{ margin-top:14px; }
.article-meta{ display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center; margin-top:18px; font-size:.86rem; color:hsl(var(--muted-foreground)); }
.article-meta span{ display:inline-flex; align-items:center; gap:6px; } .article-meta svg{ width:15px; height:15px; }
.article-cover{ max-width:1000px; margin:30px auto 0; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/8.4; background:hsl(var(--muted)); }
.article-cover img{ width:100%; height:100%; object-fit:cover; }
.article-layout{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:clamp(24px,4vw,56px); max-width:1100px; margin-inline:auto; padding-block:44px 24px; align-items:start; }
.article-aside{ position:sticky; top:96px; display:grid; gap:16px; }
.toc{ background:#fff; border:1px solid hsl(var(--border)); border-radius:18px; padding:18px 20px; }
.toc b{ display:block; font-size:.88rem; margin-bottom:10px; }
.toc a{ display:block; padding:7px 12px; margin-inline:-12px; border-radius:10px; font-size:.86rem; color:hsl(var(--muted-foreground)); font-weight:600; border-inline-start:3px solid transparent; }
.toc a:hover{ background:hsl(var(--muted)); color:hsl(var(--ink)); }
.toc a.on{ color:hsl(var(--primary)); border-color:hsl(var(--primary)); background:hsl(var(--muted)); }
.aside-cta{ border-radius:18px; padding:20px; color:#fff; background:linear-gradient(145deg, hsl(264 84% 28%), hsl(280 76% 46%)); }
.aside-cta b{ display:block; font-size:1rem; margin-bottom:6px; } .aside-cta p{ font-size:.84rem; color:hsl(0 0% 100% / .8); margin-bottom:14px; }
.copy-link{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:10px; border:1.5px solid hsl(var(--border)); background:#fff; border-radius:999px; font:inherit; font-weight:700; font-size:.84rem; cursor:pointer; }
.copy-link:hover{ border-color:hsl(var(--primary)); color:hsl(var(--primary)); } .copy-link svg{ width:16px; height:16px; }
.read-progress{ position:fixed; top:0; inset-inline:0; height:4px; z-index:130; background:transparent; }
.read-progress i{ display:block; height:100%; width:0; background:linear-gradient(90deg, hsl(264 82% 40%), hsl(292 70% 55%), hsl(28 95% 53%)); }
.article-more{ max-width:1100px; margin-inline:auto; }
.pn{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:34px auto 0; max-width:1100px; }
.pn a{ display:flex; flex-direction:column; gap:4px; padding:16px 20px; border:1px solid hsl(var(--border)); border-radius:16px; background:#fff; font-weight:800; font-size:.92rem; line-height:1.8; transition:border-color .2s, box-shadow .2s; }
.pn a:hover{ border-color:hsl(var(--primary)/.5); box-shadow:var(--shadow-md); }
.pn small{ font-weight:600; color:hsl(var(--muted-foreground)); font-size:.76rem; }
.pn a:last-child{ text-align:end; }
@media (max-width:900px){ .article-layout{ grid-template-columns:1fr; } .article-aside{ position:static; order:-1; } .pn{ grid-template-columns:1fr; } .pn a:last-child{ text-align:start; } }

/* افزونه‌ها */
.plugin-meta{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
.plugin-meta span{ display:inline-flex; align-items:center; gap:7px; font-size:.78rem; font-weight:700; padding:5px 12px; border-radius:999px; background:hsl(var(--lms-tint)); color:hsl(var(--lms-ink)); }
.plugin-meta span.code{ direction:ltr; background:hsl(var(--ink)); color:#fff; font-family:ui-monospace,Menlo,Consolas,monospace; font-weight:600; }
.plugin-meta svg{ width:14px; height:14px; }
.prod > .corner-ribbon{ position:absolute; }
.prose-article ol{ list-style:persian; }

/* ==========================================================================
   نسخه‌ی چهارم: لینک‌های بیرونی، نشان برند، صفحه‌های جدید
   ========================================================================== */
.brand-pill{ display:inline-flex; align-items:center; gap:10px; margin-top:18px; padding:8px 16px; border-radius:999px; background:#fff; border:1px solid hsl(var(--primary)/.25); font-size:.82rem; font-weight:800; color:hsl(var(--primary)); box-shadow:0 10px 20px -14px hsl(264 82% 30% / .6); transition:transform .2s, border-color .2s; }
.brand-pill:hover{ transform:translateY(-2px); border-color:hsl(var(--primary)); }
.brand-pill svg{ width:16px; height:16px; }
.brand-pill.on-dark{ background:hsl(0 0% 100% / .12); border-color:hsl(0 0% 100% / .3); color:#fff; box-shadow:none; }
.brand-pill.small{ margin-top:14px; padding:5px 12px; font-size:.74rem; }
.btn-ext svg:last-child{ width:15px; height:15px; opacity:.85; }
.dl-row{ display:flex; flex-wrap:wrap; gap:12px; }
.btn-dl{ min-height:54px; padding:0 22px; background:#fff; color:hsl(var(--ink)); border-radius:16px; justify-content:flex-start; gap:12px; text-align:start; line-height:1.4; }
.btn-dl small{ display:block; font-size:.7rem; font-weight:600; color:hsl(var(--muted-foreground)); }
.btn-dl b{ font-size:.95rem; }
.btn-dl:hover{ background:hsl(var(--muted)); }
.btn-dl svg{ width:22px; height:22px; color:hsl(var(--primary)); }
.btn-dl.apk svg{ color:hsl(var(--success)); }
.hourly{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; padding:clamp(22px,3vw,34px); border-radius:var(--radius-lg); background:linear-gradient(120deg, hsl(214 90% 22%), hsl(212 88% 41%)); color:#fff; position:relative; overflow:hidden; }
.hourly::before{ content:""; position:absolute; inset:0; background-image:var(--pat-dark); }
.hourly > *{ position:relative; }
.hourly h3{ font-size:1.35rem; font-weight:900; } .hourly p{ color:hsl(0 0% 100% / .8); margin-top:6px; max-width:56ch; font-size:.95rem; }
.hourly .tile-icon{ background:hsl(0 0% 100% / .16); box-shadow:none; color:#fff; margin:0; }
.hourly .h-l{ display:flex; gap:18px; align-items:center; }
.demo-band{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; padding:clamp(22px,3vw,34px); border-radius:var(--radius-lg); background:var(--grad-lms); color:hsl(var(--ink)); position:relative; overflow:hidden; box-shadow:0 30px 50px -34px hsl(24 95% 40% / .7); }
.demo-band::before{ content:""; position:absolute; inset:0; background-image:var(--pat-light); opacity:.7; }
.demo-band > *{ position:relative; }
.demo-band h3{ font-size:1.35rem; font-weight:900; } .demo-band p{ margin-top:6px; max-width:56ch; font-size:.95rem; color:hsl(var(--ink)/.8); }
.demo-band .btn{ background:hsl(var(--ink)); color:#fff; }

/* صفحه‌ی خدمات IT */
.page-hero.is-it{ background:radial-gradient(640px 380px at 92% -20%, hsl(264 85% 58% / .35), transparent 62%), radial-gradient(520px 360px at 0% 120%, hsl(212 88% 50% / .25), transparent 62%), linear-gradient(160deg, hsl(259 58% 9%), hsl(262 62% 20%)); color:#fff; }
.page-hero.is-it .lead{ color:hsl(0 0% 100% / .78); } .page-hero.is-it .crumb{ color:hsl(0 0% 100% / .65); } .page-hero.is-it .crumb a:hover{ color:#fff; }
.page-hero.is-it::before{ background-image:var(--pat-dark); }
.compare2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.cp{ position:relative; background:#fff; border:1px solid hsl(var(--border)); border-radius:var(--radius-lg); padding:clamp(22px,3vw,34px); }
.cp h3{ font-size:1.3rem; font-weight:900; display:flex; align-items:center; gap:12px; }
.cp h3 .tile-icon{ margin:0; width:46px; height:46px; }
.cp > p{ margin-top:10px; color:hsl(var(--muted-foreground)); }
.cp ul{ margin:18px 0; display:grid; gap:9px; }
.cp li{ display:flex; gap:10px; font-size:.92rem; font-weight:600; } .cp li svg{ width:18px; height:18px; color:hsl(var(--success)); flex:none; margin-top:6px; }
.cp .fit{ font-size:.84rem; padding:12px 14px; border-radius:12px; background:hsl(var(--muted)); }
.cp .fit b{ display:block; font-size:.76rem; color:hsl(var(--muted-foreground)); margin-bottom:2px; }
@media (max-width:820px){ .compare2{ grid-template-columns:1fr; } }
.chooser{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
@media (max-width:820px){ .chooser{ grid-template-columns:1fr; } }
.pick-list{ display:grid; gap:10px; }
.pick{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; background:#fff; border:1.5px solid hsl(var(--border)); border-radius:14px; cursor:pointer; font-weight:700; font-size:.92rem; transition:border-color .15s, background-color .15s; }
.pick:hover{ border-color:hsl(var(--primary)/.5); }
.pick input{ margin-top:7px; width:18px; height:18px; accent-color:hsl(var(--primary)); flex:none; }
.pick:has(input:checked){ border-color:hsl(var(--primary)); background:hsl(var(--muted)); }
.pick small{ display:block; font-weight:500; color:hsl(var(--muted-foreground)); font-size:.8rem; }
.summary-box{ position:sticky; top:96px; background:var(--grad-ink); color:#fff; border-radius:var(--radius-lg); padding:24px; }
.summary-box h3{ font-size:1.05rem; font-weight:800; margin-bottom:10px; }
.summary-box ul{ display:grid; gap:7px; margin-bottom:18px; min-height:40px; }
.summary-box li{ font-size:.88rem; display:flex; gap:8px; align-items:flex-start; } .summary-box li svg{ width:16px; height:16px; margin-top:6px; color:hsl(43 98% 66%); flex:none; }
.summary-box .empty{ color:hsl(0 0% 100% / .6); font-size:.86rem; }
@media (max-width:820px){ .summary-box{ position:static; } }

a.it-strip{ transition:border-color .2s, box-shadow .2s, transform .2s; } a.it-strip:hover{ border-color:hsl(var(--primary)/.45); box-shadow:var(--shadow-md); transform:translateY(-2px); }

.hourly.violet{ background:linear-gradient(120deg, hsl(264 84% 24%), hsl(280 76% 46%)); }
