/* =====================================================================
   سایت عمومی — صفحه اصلی، تعرفه‌ها، وبلاگ و صفحه‌ها
   آسمان شب لاجوردی · طلای زعفرانی · نقش گره ایرانی
   ===================================================================== */
.site {
  --gold: #E8B04A;
  --gold-2: #F6D27A;
  --gold-ink: #3A2606;
  --night: #070C1D;
  --night-2: #0E1734;
  --night-3: #162451;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .12);
  --s-r: 22px;
  background: var(--bg);
  overflow-x: hidden;
}
.site main { display: block; }
.s-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.s-narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------------------------------------------------------------- هدر */
.s-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.s-header-in { display: flex; align-items: center; gap: 22px; height: 74px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; }
.s-brand .brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--lapis), #4a2fb8); color: #fff; box-shadow: 0 8px 24px -8px rgba(41, 72, 209, .8); }
.s-brand .brand-mark svg { width: 22px; height: 22px; }
.s-brand .brand-logo { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.s-brand-name { font-size: 19px; letter-spacing: -.2px; }
.s-nav { display: flex; gap: 4px; margin-inline-start: 18px; }
.s-nav a { color: inherit; opacity: .78; text-decoration: none; padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: .2s; }
.s-nav a:hover, .s-nav a.active { opacity: 1; background: var(--glass); }
.s-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.s-icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.s-icon-btn:hover { background: var(--glass); }
.s-menu-btn { display: none; }
.s-link { color: inherit; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; }
.s-link:hover { color: var(--gold); }
/* هدر روی hero تیره است؛ پس از اسکرول به سطح تم */
.s-home .s-header { color: #EEF1FF; }
.s-header.scrolled, .site:not(.s-home) .s-header {
  background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--ink);
  backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line);
}
.site:not(.s-home) main { padding-top: 74px; }
.theme-ic-dark { display: none; }
[data-theme="dark"] .theme-ic-dark { display: inline; }
[data-theme="dark"] .theme-ic-light { display: none; }
.s-announce { position: relative; z-index: 40; margin-top: 74px; text-align: center; padding: 9px 16px; font-size: 14px;
  background: linear-gradient(90deg, var(--saffron-soft), var(--lapis-soft)); color: var(--ink); }
.s-home .s-announce { margin-top: 0; position: absolute; top: 74px; inset-inline: 0; background: rgba(232, 176, 74, .14); color: #F8E7C2; }

/* ---------------------------------------------------------------- دکمه‌ها */
.s-btn {
  --b: var(--surface-3); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent;
  background: var(--b); color: var(--c); font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s; white-space: nowrap;
}
.s-btn:hover { transform: translateY(-1px); }
.s-btn:active { transform: translateY(0); }
.s-btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.s-btn-block { width: 100%; }
.s-btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #C98A22); color: var(--gold-ink);
  box-shadow: 0 10px 30px -10px rgba(232, 176, 74, .75), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.s-btn-gold:hover { box-shadow: 0 16px 38px -10px rgba(232, 176, 74, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.s-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.s-btn-glass:hover { background: rgba(255, 255, 255, .14); }
.s-btn-dark { background: var(--ink); color: var(--surface); }
.s-btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.s-btn-ghost:hover { background: var(--surface-3); }
.s-btn[aria-disabled="true"] { opacity: .7; cursor: default; transform: none; }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative; isolation: isolate; color: #EAF0FF; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, #2a3c8f 0%, transparent 60%),
              radial-gradient(900px 500px at 10% 20%, #3b1f7a 0%, transparent 55%),
              linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%);
  padding: 150px 0 120px;
}
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.girih { position: absolute; inset: 0; color: rgba(246, 210, 122, .07); mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.a1 { width: 520px; height: 520px; background: #3557ff; top: -120px; inset-inline-end: 8%; }
.a2 { width: 420px; height: 420px; background: #8b3dff; top: 140px; inset-inline-start: -80px; animation-duration: 22s; opacity: .4; }
.a3 { width: 360px; height: 360px; background: #e8b04a; bottom: -160px; inset-inline-end: 30%; opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.stars { position: absolute; inset: 0;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 32% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 68% 22%, #ffe9b8 50%, transparent 51%), radial-gradient(1px 1px at 82% 72%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 40%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 90% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 84%, #ffe9b8 50%, transparent 51%), radial-gradient(1px 1px at 44% 10%, #fff 50%, transparent 51%);
  opacity: .55; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.hero-fade { position: absolute; inset-inline: 0; bottom: -1px; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(232, 176, 74, .12); color: var(--gold-2); border: 1px solid rgba(232, 176, 74, .3); margin-bottom: 22px; }
.hero-title { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.22; font-weight: 900; letter-spacing: -1px; margin: 0 0 20px;
  background: linear-gradient(180deg, #ffffff 30%, #c9d4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 2; color: #B8C3E6; max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; list-style: none; font-size: 14px; color: #9FAAD0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--gold); }
.hero-visual { position: relative; }
.hero-media { border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-media img, .hero-media video { display: block; width: 100%; height: auto; }

/* نمایش زنده */
.demo { position: relative; border-radius: 26px; padding: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid var(--glass-line); backdrop-filter: blur(18px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s; }
.hero-visual:hover .demo { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.demo-top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #AEB9DF; }
.demo-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.demo-top span:first-child { background: #ff6b6b; } .demo-top span:nth-child(2) { background: #ffd166; } .demo-top span:nth-child(3) { background: #06d6a0; }
.demo-top b { margin-inline-start: 8px; font-weight: 600; }
.demo-wave { position: relative; height: 70px; display: flex; align-items: center; gap: 3px; padding: 0 6px; border-radius: 14px; background: rgba(0, 0, 0, .22); overflow: hidden; }
.demo-wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #8aa2ff, #5d6fff); height: var(--h, 40%); opacity: .85;
  animation: bar 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -70ms); }
@keyframes bar { 50% { transform: scaleY(.45); } }
.demo-head { position: absolute; top: 8px; bottom: 8px; width: 2px; background: var(--gold); box-shadow: 0 0 12px var(--gold); inset-inline-start: 0; animation: head 7.2s linear infinite; }
@keyframes head { to { inset-inline-start: 100%; } }
.demo-lines { display: grid; gap: 10px; margin-top: 16px; }
.dl { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  opacity: 0; transform: translateY(8px); animation: line-in 7.2s ease infinite; animation-delay: var(--d); }
@keyframes line-in { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.dl p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #E7ECFF; }
.dl mark { background: rgba(232, 176, 74, .22); color: var(--gold-2); border-radius: 5px; padding: 0 4px; }
.dl time { font-size: 12px; color: #8792BD; font-variant-numeric: tabular-nums; }
.spk { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.spk.s1 { background: rgba(120, 149, 255, .2); color: #B6C4FF; }
.spk.s2 { background: rgba(60, 199, 188, .18); color: #8CE6DE; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.demo-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 6px 11px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #C9D2F4; border: 1px solid rgba(255, 255, 255, .08); }
.orbit { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 700;
  background: rgba(14, 23, 52, .75); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); color: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite; }
.orbit svg { color: var(--gold); }
.o1 { top: -18px; inset-inline-start: -26px; }
.o2 { bottom: 26px; inset-inline-end: -30px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 72px; border-radius: 20px; overflow: hidden;
  background: var(--glass-line); border: 1px solid var(--glass-line); }
.hero-stats > div { padding: 22px; text-align: center; background: rgba(9, 15, 36, .6); backdrop-filter: blur(10px); }
.hero-stats b { display: block; font-size: 30px; font-weight: 900; color: #fff; }
.hero-stats span { color: #93A0CC; font-size: 13.5px; }

/* ---------------------------------------------------------------- بخش‌ها */
.s-sec { padding: 96px 0; position: relative; }
.s-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .3px; color: var(--saffron);
  padding: 5px 12px; border-radius: 999px; background: var(--saffron-soft); margin-bottom: 14px; }
.s-head h2, .s-page-hero h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.35; font-weight: 900; margin: 0 0 14px; letter-spacing: -.5px; text-wrap: balance; }
.s-head p, .s-page-hero p { color: var(--ink-2); font-size: 17px; margin: 0; }
.s-h2 { font-size: 22px; font-weight: 800; margin: 40px 0 16px; }

/* بنتو ویژگی‌ها */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: dense; }
.bento-card { position: relative; padding: 28px; border-radius: var(--s-r); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s; }
.bento-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 100% 0%, var(--lapis-tint), transparent 70%); opacity: 0; transition: .35s; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(19, 26, 48, .35); border-color: var(--line-2); }
.bento-card:hover::before { opacity: 1; }
.bento-card.wide { grid-column: span 2; background: linear-gradient(150deg, var(--surface), var(--lapis-tint)); }
.bento-card > * { position: relative; }
.bento-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(140deg, var(--lapis), #6b3df0); box-shadow: 0 12px 26px -10px rgba(53, 87, 255, .7); }
.bento-card:nth-child(3n+2) .bento-ic { background: linear-gradient(140deg, #E8B04A, #d0781c); box-shadow: 0 12px 26px -10px rgba(232, 176, 74, .7); }
.bento-card:nth-child(3n) .bento-ic { background: linear-gradient(140deg, #14b8a6, #0b8f86); box-shadow: 0 12px 26px -10px rgba(20, 184, 166, .6); }
.bento-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.bento-card p { color: var(--ink-2); margin: 0; line-height: 1.95; }
.bento-img { display: block; width: 100%; margin-top: 18px; border-radius: 14px; border: 1px solid var(--line); }

/* مراحل */
.s-steps { background: linear-gradient(180deg, transparent, var(--surface-2), transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; inset-inline: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.step-ic { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(19, 26, 48, .4); color: var(--lapis); position: relative; }
.step-n { position: absolute; z-index: 2; top: -8px; inset-inline-start: calc(50% + 30px); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { color: var(--ink-2); margin: 0; }

/* گالری */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img, .gallery video { display: block; width: 100%; height: auto; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--ink-2); }

/* پلن‌ها */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(19, 26, 48, .35); }
.plan.featured { background: linear-gradient(170deg, #0f1a3d, #1b2a66 60%, #2b1f62); color: #EEF1FF; border-color: rgba(232, 176, 74, .45);
  box-shadow: 0 40px 80px -30px rgba(27, 42, 102, .7), 0 0 0 1px rgba(232, 176, 74, .25); transform: scale(1.02); }
.plan.featured:hover { transform: scale(1.02) translateY(-4px); }
.plan.featured .plan-desc, .plan.featured .plan-feat li { color: #BCC6EA; }
.plan.current { outline: 2px solid var(--turq); }
.plan-flag { position: absolute; top: -13px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-size: 12.5px; font-weight: 800; }
.plan h3 { font-size: 21px; font-weight: 900; margin: 0 0 4px; }
.plan-desc { color: var(--ink-3); font-size: 14px; margin: 0 0 18px; min-height: 2.4em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.plan.featured .plan-price { border-color: rgba(255, 255, 255, .15); }
.plan-price b { font-size: 34px; font-weight: 900; letter-spacing: -.5px; }
.plan-price span { color: var(--ink-3); font-size: 13.5px; }
.plan.featured .plan-price span { color: #9FAAD0; }
.plan-price s { width: 100%; color: var(--ink-3); font-size: 14px; }
.plan-price em { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: var(--turq-soft); color: var(--turq); }
.plan-feat { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan-feat li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan-feat svg { flex: none; margin-top: 4px; color: var(--turq); }
.plan.featured .plan-feat svg { color: var(--gold); }
.plan.featured .s-btn-dark { background: #fff; color: var(--night); }

.compare { margin-top: 64px; }
.compare h2 { font-size: 24px; font-weight: 900; text-align: center; margin-bottom: 20px; }
.compare .table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare th { background: var(--surface-2); font-weight: 800; }
.compare td:first-child, .compare th:first-child { text-align: start; color: var(--ink-2); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--turq); } .compare .no { color: var(--ink-3); }

/* مشتریان */
.s-partners { padding: 34px 0 10px; text-align: center; }
.s-partners p { color: var(--ink-3); font-size: 13px; margin: 0 0 16px; font-weight: 700; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-in { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-in img { height: 34px; width: auto; filter: grayscale(1); opacity: .6; transition: .3s; }
.marquee-in a:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(50%); } }

/* نظرها */
.quotes { columns: 3 300px; column-gap: 18px; }
.quote { break-inside: avoid; margin: 0 0 18px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.stars-r span { color: var(--line-2); font-size: 16px; } .stars-r .on { color: var(--gold); }
.quote blockquote { margin: 10px 0 18px; line-height: 2; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 10px; }
.quote figcaption img, .quote .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; } .quote figcaption small { color: var(--ink-3); }

/* پرسش‌ها */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 16px 40px -28px rgba(19, 26, 48, .35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .25s; color: var(--ink-3); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .prose { padding: 0 20px 18px; color: var(--ink-2); }

/* نوشته‌ها */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(19, 26, 48, .35); }
.post-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--lapis-soft), var(--saffron-soft)); display: grid; place-items: center; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-ph { color: var(--lapis); opacity: .5; }
.post-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-body time { color: var(--ink-3); font-size: 13px; }
.post-body h3 { margin: 0; font-size: 18px; line-height: 1.6; }
.post-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.post-more { margin-top: auto; padding-top: 8px; color: var(--lapis); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; margin-bottom: 28px; text-decoration: none; color: #fff;
  background: linear-gradient(150deg, var(--night-2), var(--night-3)); }
.post-featured img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.post-featured > div { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { font-size: 28px; margin: 0 0 10px; } .post-featured p { color: #B8C3E6; }

/* CTA */
.s-cta { padding: 40px 0 110px; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: 72px 28px; border-radius: 32px; color: #fff; isolation: isolate;
  background: radial-gradient(600px 300px at 80% 0%, #3b56ff 0%, transparent 60%), radial-gradient(500px 300px at 10% 100%, #7b3dff 0%, transparent 60%), linear-gradient(160deg, var(--night-2), var(--night));
  border: 1px solid rgba(232, 176, 74, .25); }
.cta-glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(232, 176, 74, .18), transparent 30%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-box h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 0 0 12px; text-wrap: balance; }
.cta-box p { color: #BCC6EA; margin: 0 0 28px; font-size: 17px; }

/* صفحه‌های داخلی */
.s-page-hero { padding: 64px 0 40px; text-align: center; background: radial-gradient(700px 260px at 50% 0%, var(--lapis-tint), transparent 70%); }
.s-page-hero .s-btn { margin-top: 18px; }
.s-article { padding-bottom: 64px; }
.s-cover { display: block; width: 100%; border-radius: 22px; margin-bottom: 28px; border: 1px solid var(--line); }
.prose { line-height: 2.05; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; } .prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose img, .prose video { max-width: 100%; border-radius: 14px; }
.prose a { color: var(--lapis); }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-inline-start: 4px solid var(--gold); background: var(--surface-2); border-radius: 10px; }
.prose pre { background: #0d1530; color: #dfe6ff; padding: 16px 18px; border-radius: 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; direction: ltr; text-align: left; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.s-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.s-tags a { padding: 5px 12px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.s-search { position: relative; max-width: 520px; margin: 24px auto 0; }
.s-search input { width: 100%; height: 54px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0 48px 0 18px; font: inherit; font-size: 16px; }
.s-search input:focus { outline: none; box-shadow: var(--focus); border-color: var(--lapis); }
.s-search svg { position: absolute; inset-inline-start: 16px; top: 18px; color: var(--ink-3); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-inline-start: 36px; margin-bottom: 36px; }
.tl-dot { position: absolute; inset-inline-start: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--saffron-soft); }
.tl-head { display: flex; gap: 10px; align-items: center; color: var(--ink-3); font-size: 13.5px; }
.ver { font-weight: 800; color: var(--lapis); background: var(--lapis-soft); padding: 2px 9px; border-radius: 8px; }
.timeline h3 { margin: 6px 0; } .timeline h3 a { color: inherit; text-decoration: none; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.guide { display: flex; gap: 10px; align-items: center; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; font-weight: 700; }
.help-cta { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 22px; border-radius: 20px; background: var(--lapis-tint); border: 1px solid var(--line); }
.help-cta p { margin: 0; color: var(--ink-2); } .help-cta .s-btn { margin-inline-start: auto; }
.s-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.s-form { display: grid; gap: 16px; }
.s-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.s-form input, .s-form textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); padding: 12px 14px; font: inherit; }
.s-form input:focus, .s-form textarea:focus { outline: none; box-shadow: var(--focus); border-color: var(--lapis); }
.s-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--danger); font-weight: 500; }
.s-ok { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: var(--turq-soft); color: var(--turq); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 12px; }
.ci { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ci svg { color: var(--lapis); flex: none; } .ci small { display: block; color: var(--ink-3); } .ci a { color: inherit; text-decoration: none; font-weight: 700; }
.status-banner { display: inline-flex; gap: 12px; align-items: center; padding: 18px 26px; border-radius: 20px; font-size: 19px; font-weight: 800; }
.status-banner.ok { background: var(--turq-soft); color: var(--turq); } .status-banner.warn { background: var(--warn-soft); color: var(--warn); }
.status-list { padding: 6px 22px; }
.st-row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); } .st-row:last-child { border: 0; }
.st { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.st i { width: 10px; height: 10px; border-radius: 50%; } .st.ok { color: var(--turq); } .st.ok i { background: var(--turq); box-shadow: 0 0 0 4px var(--turq-soft); }
.st.bad { color: var(--danger); } .st.bad i { background: var(--danger); }
.status-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.status-kpis .s-card { text-align: center; } .status-kpis b { display: block; font-size: 28px; font-weight: 900; } .status-kpis span { color: var(--ink-3); font-size: 13.5px; }
.s-list { padding-inline-start: 18px; line-height: 2.2; } .s-list a { color: var(--lapis); }
.share-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; position: sticky; top: 84px; z-index: 5;
  padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.share-tools audio { flex: 1; min-width: 240px; height: 40px; }
.share-tools .s-btn { height: 40px; font-size: 14px; padding: 0 14px; }
.share-text p { margin: 0 0 14px; line-height: 2.1; font-size: 16.5px; }
.share-text .ts { font-size: 12px; color: var(--ink-3); background: var(--surface-3); border: 0; border-radius: 6px; padding: 1px 7px; margin-inline-end: 8px; cursor: pointer; font-family: inherit; }
.share-text b { color: var(--lapis); }

/* فوتر */
.s-footer { background: var(--night); color: #AEB8DA; padding: 64px 0 26px; margin-top: 0; }
.s-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.s-footer h4 { color: #fff; font-size: 15px; margin: 6px 0 14px; }
.s-footer a, .s-footer span.muted { display: block; color: #AEB8DA; text-decoration: none; padding: 4px 0; font-size: 14.5px; }
.s-footer a:hover { color: var(--gold-2); }
.s-footer .s-brand { color: #fff; } .s-footer .s-brand a, .s-footer-brand > .s-brand { display: inline-flex; }
.s-footer-brand p { margin: 14px 0; max-width: 300px; }
.s-social { display: flex; gap: 8px; } .s-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); padding: 0; }
.s-footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; }
.s-footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #7D88AF; }

/* تبلیغ در سایت */
.site .promo { margin: 32px auto; }

/* ورود به صحنه */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora, .stars, .demo-wave i, .demo-head, .dl, .orbit, .marquee-in, .cta-glow { animation: none !important; }
  .dl { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- واکنش‌گرا */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; } .hero-sub { margin-inline: auto; } .hero-cta, .hero-trust { justify-content: center; }
  .demo { transform: none; } .o1 { inset-inline-start: 0; } .o2 { inset-inline-end: 0; }
  .bento { grid-template-columns: 1fr 1fr; } .bento-card.wide { grid-column: span 2; }
  .s-footer-grid { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .s-menu-btn { display: grid; }
  .s-nav { position: fixed; top: 74px; inset-inline: 12px; flex-direction: column; padding: 10px; border-radius: 18px; margin: 0;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-pop);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .s-nav-open .s-nav { opacity: 1; pointer-events: auto; transform: none; }
  .s-nav a { padding: 12px 14px; }
  .s-actions .s-link { display: none; }
  .steps { grid-template-columns: 1fr; } .steps::before { display: none; }
  .contact-grid, .s-row2 { grid-template-columns: 1fr; }
  .status-kpis { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .s-wrap { padding-inline: 16px; }
  .hero { padding: 116px 0 80px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; } .bento-card.wide { grid-column: auto; }
  .s-sec { padding: 64px 0; }
  .s-actions .s-btn { padding: 0 14px; font-size: 14px; height: 40px; }
  .orbit { display: none; }
  .s-footer-grid { grid-template-columns: 1fr; }
  .help-cta { flex-direction: column; text-align: center; } .help-cta .s-btn { margin: 0; }
  .plan.featured, .plan.featured:hover { transform: none; }
}
