/*!
 * CostPro Theme — main stylesheet
 * Light minimal SaaS design (RTL / Persian) — Teal accent
 */

/* ---------------- Fonts ---------------- */
@font-face { font-family:'Vazirmatn'; src:url('../fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../fonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2'); font-weight:800; font-display:swap; }
@font-face { font-family:'Vazirmatn'; src:url('../fonts/Vazirmatn-Black.woff2') format('woff2'); font-weight:900; font-display:swap; }

/* ---------------- Tokens ---------------- */
:root{
  --teal-900:#134e4a; --teal-800:#115e59; --teal-700:#0f766e; --teal-600:#0d9488; --teal-500:#14b8a6; --teal-400:#2dd4bf;
  --teal-100:#ccfbf1; --teal-50:#f0fdfa;
  --ink-900:#0f172a; --ink-700:#334155; --ink-600:#475569; --ink-500:#64748b; --ink-400:#94a3b8;
  --bg:#f8fafc; --surface:#ffffff; --border:#e6ebf1;
  --grad:linear-gradient(135deg,#0f766e 0%,#0d9488 60%,#14b8a6 100%);
  --shadow-sm:0 2px 8px rgba(15,23,42,.05);
  --shadow-md:0 10px 30px -10px rgba(15,23,42,.12);
  --shadow-lg:0 30px 60px -20px rgba(15,23,42,.18);
  --r-sm:10px; --r-md:14px; --r-lg:20px;
  --container:1200px;
}

/* ---------------- Reset / Base ---------------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Vazirmatn',Tahoma,sans-serif; direction:rtl; text-align:right;
  background:var(--bg); color:var(--ink-900); line-height:1.9; font-size:16px;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--teal-700); text-decoration:none; }
a:hover{ color:var(--teal-600); }
ul,ol{ list-style:none; }
input,textarea,select,button{ font-family:inherit; font-size:inherit; }
.screen-reader-text{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.section{ padding:96px 0; position:relative; }
.section--tight{ padding:64px 0; }

/* Section head */
.sec-head{ max-width:680px; margin:0 auto 56px; text-align:center; }
.sec-head--right{ margin-inline:0; text-align:right; }
.sec-chip{
  display:inline-flex; align-items:center; gap:8px; background:var(--teal-50);
  border:1px solid rgba(13,148,136,.25); color:var(--teal-700);
  font-size:14.5px; font-weight:700; padding:7px 18px; border-radius:999px; margin-bottom:18px;
}
.sec-chip::before{ content:''; width:8px; height:8px; border-radius:50%; background:var(--teal-500); }
.sec-title{ font-size:38px; font-weight:800; line-height:1.4; letter-spacing:-.3px; color:var(--ink-900); }
.sec-sub{ margin-top:14px; font-size:17.5px; color:var(--ink-600); }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:16.5px; border-radius:12px; padding:13px 28px;
  border:none; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{ width:20px; height:20px; flex:0 0 20px; }
.btn:active{ transform:translateY(1px) scale(.99); }
.btn--primary{ background:var(--grad); color:#fff!important; box-shadow:0 12px 24px -10px rgba(13,148,136,.55), 0 4px 10px rgba(13,148,136,.2); }
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 16px 30px -10px rgba(13,148,136,.6); }
.btn--ghost{ background:#fff; color:var(--ink-700)!important; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); }
.btn--ghost:hover{ border-color:var(--teal-500); color:var(--teal-700)!important; }
.btn--white{ background:#fff; color:var(--teal-700)!important; box-shadow:0 10px 24px -8px rgba(0,0,0,.25); }
.btn--white:hover{ transform:translateY(-2px); }
.btn--outline-w{ background:transparent; color:#fff!important; border:1.5px solid rgba(255,255,255,.55); }
.btn--outline-w:hover{ background:rgba(255,255,255,.12); }
.btn--lg{ font-size:18px; padding:16px 36px; border-radius:14px; }
.btn--block{ width:100%; }

/* ---------------- Announcement bar ---------------- */
.announce{ background:var(--grad); color:#fff; font-size:15px; font-weight:600; position:relative; z-index:60; }
.announce__in{ display:flex; align-items:center; justify-content:center; gap:10px; padding:10px 48px; text-align:center; }
.announce a{ color:#fff; text-decoration:underline; text-underline-offset:4px; }
.announce__close{
  position:absolute; inset-inline-start:16px; top:50%; transform:translateY(-50%);
  background:transparent; border:none; color:#fff; opacity:.8; cursor:pointer; font-size:18px;
  width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center;
}
.announce__close:hover{ opacity:1; background:rgba(255,255,255,.15); }
.announce--hidden{ display:none; }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.85);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled{ border-bottom-color:var(--border); box-shadow:0 6px 20px -10px rgba(15,23,42,.1); }
.header__in{ display:flex; align-items:center; gap:28px; height:76px; }

.brand{ display:inline-flex; align-items:center; gap:12px; }
.brand__mark{
  width:42px; height:42px; border-radius:12px; background:transparent;
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.brand__mark img{ width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 3px 8px rgba(15,23,42,.16)); }
.brand__text{ display:flex; flex-direction:column; line-height:1.25; }
.brand__name{ font-size:21px; font-weight:900; color:var(--ink-900); letter-spacing:-.2px; }
.brand__tag{ font-size:11.5px; font-weight:600; color:var(--teal-700); }

.main-nav{ margin-inline-start:auto; }
.main-nav ul{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  display:block; padding:9px 15px; border-radius:10px; font-size:16px; font-weight:600; color:var(--ink-600);
}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{ color:var(--teal-700); background:var(--teal-50); }

.nav-toggle{ display:none; background:transparent; border:1.5px solid var(--border); border-radius:10px; width:44px; height:44px; cursor:pointer; margin-inline-start:auto; }
.nav-toggle svg{ width:22px; height:22px; stroke:var(--ink-900); }

/* ---------------- Header auth button (ثبت‌نام | ورود) ---------------- */
.header__auth{ display:flex; align-items:center; }
.cp-authbtn{
  display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 20px;
  border-radius:999px; font-size:15.5px; font-weight:800; line-height:1; white-space:nowrap;
  color:var(--teal-700)!important; background:rgba(13,148,136,.07);
  border:1.5px solid rgba(13,148,136,.38);
  transition:background .22s, color .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.cp-authbtn svg{ width:19px; height:19px; stroke:currentColor; flex:0 0 19px; }
.cp-authbtn__plus{ display:none; }
.cp-authbtn:hover .cp-authbtn__plus{ display:block; }
.cp-authbtn:hover{
  background:var(--grad); color:#fff!important; border-color:transparent;
  transform:translateY(-2px); box-shadow:0 12px 24px -10px rgba(13,148,136,.55), 0 4px 10px rgba(13,148,136,.2);
}
.cp-authbtn__sep{ width:1.5px; height:15px; background:currentColor; opacity:.45; border-radius:2px; flex:0 0 1.5px; }
.cp-authbtn--in{ background:#fff; color:var(--ink-700)!important; border-color:var(--border); box-shadow:var(--shadow-sm); }
.cp-authbtn--in:hover{
  background:#fff; color:var(--teal-700)!important; border-color:var(--teal-500);
  transform:none; box-shadow:var(--shadow-sm);
}

/* حساب من: hover account menu (user info + logout) */
.cp-accmenu{ position:relative; display:flex; align-items:center; }
.cp-authbtn__chev{ width:15px; height:15px; flex:0 0 15px; opacity:.55; transition:transform .22s; }
.cp-accmenu:hover .cp-authbtn__chev,
.cp-accmenu:focus-within .cp-authbtn__chev{ transform:rotate(180deg); }
.cp-accmenu__panel{
  position:absolute; top:calc(100% + 12px); inset-inline-end:0; z-index:70;
  min-width:272px; background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:8px;
  box-shadow:0 24px 48px -16px rgba(15,23,42,.25), var(--shadow-sm);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
.cp-accmenu__panel::before{ content:''; position:absolute; top:-14px; inset-inline:0; height:14px; }
.cp-accmenu:hover .cp-accmenu__panel,
.cp-accmenu:focus-within .cp-accmenu__panel,
.cp-accmenu.is-open .cp-accmenu__panel{ opacity:1; visibility:visible; transform:translateY(0); }
.cp-accmenu__info{ display:flex; flex-direction:column; gap:3px; padding:12px 14px 13px; border-bottom:1px solid var(--border); margin-bottom:8px; }
.cp-accmenu__info b{ font-size:15.5px; font-weight:800; color:var(--ink-900); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cp-accmenu__info span{ font-size:14px; color:var(--ink-500); letter-spacing:.3px; }
.cp-accmenu__logout{
  display:flex; align-items:center; gap:9px; padding:11px 14px; border-radius:11px;
  font-size:14.5px; font-weight:700; color:var(--ink-600);
  transition:background .18s, color .18s;
}
.cp-accmenu__logout svg{ width:18px; height:18px; stroke:currentColor; flex:0 0 18px; }
.cp-accmenu__logout:hover{ background:#fef2f2; color:#b91c1c; }
@media (max-width:1024px){
  .header__auth{ margin-inline-start:auto; }
  .site-header .nav-toggle{ margin-inline-start:0; }
}
@media (max-width:560px){
  .cp-authbtn{ height:40px; padding:0 14px; gap:6px; font-size:14px; }
  .cp-authbtn__reg, .cp-authbtn__sep{ display:none; }
}
@media (min-width:1025px){
  .header__auth{ margin-inline-start:14px; }
}

@media (max-width:1024px){
  .main-nav{
    display:none; position:absolute; top:100%; inset-inline:0; margin:0;
    background:#fff; border-bottom:1px solid var(--border); box-shadow:var(--shadow-md);
    padding:14px 24px 20px;
  }
  .main-nav.is-open{ display:block; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .main-nav a{ padding:12px 16px; font-size:16.5px; }
  .nav-toggle{ display:flex; align-items:center; justify-content:center; }
}
@media (min-width:1025px){ .nav-toggle{ display:none; } }

/* ---------------- Hero ---------------- */
.hero{ position:relative; overflow:hidden; padding:84px 0 100px; }
.hero__grid{
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size:56px 56px;
}
.hero__glow-a{ position:absolute; width:900px; height:900px; border-radius:50%; left:-220px; top:-320px;
  background:radial-gradient(circle, rgba(20,184,166,.16) 0%, rgba(20,184,166,0) 65%); }
.hero__glow-b{ position:absolute; width:700px; height:700px; border-radius:50%; right:-260px; bottom:-300px;
  background:radial-gradient(circle, rgba(13,148,136,.1) 0%, rgba(13,148,136,0) 65%); }
.hero__in{ position:relative; display:flex; align-items:center; gap:40px; }

.hero__content{ width:46%; min-width:430px; }
.hero__title{ font-size:46px; font-weight:800; line-height:1.35; letter-spacing:-.3px; margin-top:26px; }
.hero__brand{
  display:block; font-size:84px; font-weight:900; letter-spacing:-1.5px; line-height:1.15; direction:ltr; text-align:right;
  background:linear-gradient(120deg,#0f766e 0%,#0d9488 45%,#14b8a6 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__sub{ margin-top:20px; font-size:19px; color:var(--ink-600); max-width:560px; }
.hero__sub b{ color:var(--teal-700); font-weight:700; }
.hero__ctas{ margin-top:30px; display:flex; flex-wrap:wrap; gap:14px; }
.hero__micro{ margin-top:16px; font-size:14.5px; font-weight:500; color:var(--ink-400); display:flex; align-items:center; gap:10px; }
.hero__micro i{ width:4px; height:4px; border-radius:50%; background:#cbd5e1; font-style:normal; }

.hero__shot{ flex:1; display:flex; justify-content:center; position:relative; perspective:2400px; }
.hero__backlayer{
  position:absolute; inset:0; transform:translate3d(-26px,30px,0);
  border-radius:20px; background:linear-gradient(135deg, rgba(153,246,228,.55), rgba(204,251,241,.32));
  border:1px solid rgba(13,148,136,.2);
}
.hero__card{
  position:relative; width:100%; max-width:760px; border-radius:18px; overflow:hidden;
  border:1px solid rgba(15,23,42,.1); background:#fff;
  transform:rotateY(14deg) rotateX(4deg) rotateZ(-1.6deg);
  box-shadow:0 44px 90px -22px rgba(15,23,42,.28), 0 26px 50px -28px rgba(13,148,136,.35), 0 8px 22px rgba(15,23,42,.08);
}
.hero__card img{ width:100%; }

/* ---- اسلایدر تصاویر نرم‌افزار (فقط وقتی بیش از یک تصویر انتخاب شده باشد رندر می‌شود) ---- */
.heroslider{ position:relative; direction:ltr; }
.heroslider__track{ display:flex; width:100%; transition:transform .55s ease; }
.heroslider__slide{ flex:0 0 100%; max-width:100%; }
.heroslider__slide img{ display:block; }
.heroslider--fade .heroslider__track{ transform:none !important; }
.heroslider--fade .heroslider__slide{ position:absolute; inset:0; opacity:0; transition:opacity .55s ease; }
.heroslider--fade .heroslider__slide:first-child{ position:relative; }
.heroslider--fade .heroslider__slide.is-active{ opacity:1; }
.heroslider__arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.92); border:1px solid rgba(15,23,42,.12); color:#0f172a; cursor:pointer; z-index:3;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(15,23,42,.18); transition:background .2s, transform .2s;
}
.heroslider__arrow:hover{ background:#fff; transform:translateY(-50%) scale(1.07); }
.heroslider__arrow svg{ width:20px; height:20px; }
.heroslider__arrow--next{ left:12px; }
.heroslider__arrow--prev{ right:12px; }
.heroslider__dots{ position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:7px; z-index:3; }
.heroslider__dot{
  width:9px; height:9px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(255,255,255,.55); box-shadow:0 1px 4px rgba(15,23,42,.25); transition:background .2s, transform .2s;
}
.heroslider__dot.is-active{ background:#14b8a6; transform:scale(1.15); }

/* ---- هاور تصویر Hero (2.3.1) — حرکت اسلایدی نرم (Ken Burns)؛ فقط دسکتاپ با ماوس ---- */
@media (hover:hover) and (pointer:fine){
  .hero__card img{
    transition:transform 1.4s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
  }
  .hero__card:hover img{
    transform:scale(1.09) translate3d(1.8%,-1.8%,0);
    transition:transform 7s cubic-bezier(.22,.61,.36,1);
  }
}
@media (prefers-reduced-motion:reduce){
  .hero__card img{ transition:none !important; transform:none !important; }
}

@media (max-width:1024px){
  .hero{ padding:56px 0 72px; }
  .hero__in{ flex-direction:column-reverse; }
  .hero__content{ width:100%; min-width:0; text-align:center; }
  .hero__sub{ margin-inline:auto; }
  .hero__ctas,.hero__micro{ justify-content:center; }
  .hero__brand{ text-align:center; }
  .hero__title{ font-size:38px; }
  .hero__brand{ font-size:64px; }
  .hero__card{ transform:rotateY(0) rotateX(0) rotateZ(0); max-width:640px; }
  .hero__backlayer{ display:none; }
}

/* ---------------- Features ---------------- */
.features{ background:#fff; border-block:1px solid var(--border); }
.features__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.fcard{
  background:var(--bg); border:1px solid var(--border); border-radius:var(--r-lg); padding:30px 28px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fcard:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:rgba(13,148,136,.3); }
.fcard__ic{
  width:52px; height:52px; border-radius:14px; background:var(--teal-50); color:var(--teal-600);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  border:1px solid rgba(13,148,136,.18);
}
.fcard__ic svg{ width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.fcard__t{ font-size:19.5px; font-weight:800; margin-bottom:10px; }
.fcard__d{ font-size:15.5px; color:var(--ink-600); }
@media (max-width:1024px){ .features__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .features__grid{ grid-template-columns:1fr; } }

/* ---------------- Stats band ---------------- */
.stats{ background:var(--grad); color:#fff; position:relative; overflow:hidden; }
.stats::before{ content:''; position:absolute; inset:0; opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size:44px 44px; }
.stats__grid{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat__num{ font-size:52px; font-weight:900; line-height:1.2; direction:ltr; }
.stat__num small{ font-size:30px; font-weight:800; }
.stat__label{ margin-top:4px; font-size:16.5px; font-weight:600; opacity:.92; }
@media (max-width:900px){ .stats__grid{ grid-template-columns:repeat(2,1fr); gap:36px 16px; } .stat__num{ font-size:42px; } }

/* ---------------- Video ---------------- */
.video__wrap{ max-width:920px; margin:0 auto; }
.video__frame{
  position:relative; border-radius:var(--r-lg); overflow:hidden; aspect-ratio:16/9;
  background:linear-gradient(135deg,#0f2e2c 0%,#134e4a 45%,#0d9488 100%);
  border:1px solid rgba(15,23,42,.12); box-shadow:var(--shadow-lg);
  display:flex; align-items:center; justify-content:center;
}
.video__frame iframe,.video__frame embed,.video__frame video.video__player{ position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:contain; background:#000; }
.video__deco{ position:absolute; inset:0; opacity:.2;
  background-image:radial-gradient(rgba(255,255,255,.5) 1.2px, transparent 1.2px); background-size:30px 30px; }
.video__play{
  position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center; padding:24px;
}
.video__btn{
  width:92px; height:92px; border-radius:50%; background:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; box-shadow:0 18px 40px -8px rgba(0,0,0,.45);
  transition:transform .2s ease;
}
.video__btn:hover{ transform:scale(1.07); }
.video__btn::after{ content:''; width:0; height:0; border-style:solid; border-width:15px 0 15px 25px; border-color:transparent transparent transparent var(--teal-600); margin-inline-start:7px; }
.video__t{ color:#fff; font-size:20px; font-weight:700; }
.video__d{ color:rgba(255,255,255,.75); font-size:15px; margin-top:-10px; }

/* ---------------- Testimonials ---------------- */
.testi__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.tcard{ background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:30px; box-shadow:var(--shadow-sm); position:relative; transition:transform .25s, box-shadow .25s; }
.tcard:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.tcard__q{ position:absolute; top:22px; left:26px; font-size:60px; font-weight:900; color:var(--teal-100); line-height:1; font-family:Georgia,serif; }
.tcard__stars{ display:flex; gap:3px; color:#f59e0b; margin-bottom:16px; }
.tcard__stars svg{ width:18px; height:18px; fill:currentColor; }
.tcard__text{ font-size:15.8px; color:var(--ink-700); min-height:96px; }
.tcard__who{ display:flex; align-items:center; gap:13px; margin-top:20px; padding-top:18px; border-top:1px dashed var(--border); }
.tcard__av{ width:46px; height:46px; border-radius:50%; background:var(--teal-50); border:1px solid rgba(13,148,136,.25); color:var(--teal-700); font-weight:800; font-size:17px; display:flex; align-items:center; justify-content:center; }
.tcard__name{ font-weight:800; font-size:15.5px; }
.tcard__role{ font-size:13.5px; color:var(--ink-500); }
@media (max-width:1024px){ .testi__grid{ grid-template-columns:1fr; max-width:560px; margin-inline:auto; } }

/* ---------------- FAQ ---------------- */
.faq{ background:#fff; border-block:1px solid var(--border); }
.faq__list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq__item{ border:1px solid var(--border); border-radius:var(--r-md); background:var(--bg); overflow:hidden; transition:border-color .2s; }
.faq__item[open]{ border-color:rgba(13,148,136,.4); background:#fff; box-shadow:var(--shadow-sm); }
.faq__q{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; font-weight:700; font-size:16.8px; }
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content:'+'; flex:0 0 30px; width:30px; height:30px; border-radius:9px; background:var(--teal-50); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:800; transition:transform .25s;
}
.faq__item[open] .faq__q::after{ content:'−'; transform:rotate(180deg); }
.faq__a{ padding:0 24px 22px; color:var(--ink-600); font-size:15.6px; }

/* ---------------- CTA band ---------------- */
.ctaband{ position:relative; overflow:hidden; border-radius:26px; background:var(--grad); color:#fff; text-align:center; padding:70px 40px; }
.ctaband::before{ content:''; position:absolute; inset:0; opacity:.14;
  background-image:radial-gradient(rgba(255,255,255,.6) 1.2px, transparent 1.2px); background-size:28px 28px; }
.ctaband__t{ position:relative; font-size:34px; font-weight:900; }
.ctaband__d{ position:relative; margin-top:12px; font-size:17.5px; opacity:.92; max-width:620px; margin-inline:auto; }
.ctaband__btns{ position:relative; margin-top:30px; display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ---------------- Footer ---------------- */
.site-footer{ --f-head:#fff; --f-text:#cbd5e1; --f-muted:#94a3b8; --f-bottom:#64748b; background:#0b1a24; color:var(--f-text); margin-top:96px; }
.footer__top{ display:grid; grid-template-columns:1.5fr 1fr 1.2fr 1.4fr; gap:40px; padding:70px 0 50px; }
.footer__brand .brand__name{ color:var(--f-head); }
.footer__brand .brand__tag{ color:var(--teal-400); }
.footer__about{ margin-top:18px; font-size:15px; line-height:2; color:var(--f-muted); max-width:300px; }
.footer__socials{ display:flex; gap:10px; margin-top:20px; }
.footer__socials a{ width:40px; height:40px; border-radius:11px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; transition:background .2s, transform .2s; }
.footer__socials a:hover{ background:rgba(20,184,166,.25); transform:translateY(-3px); }
.footer__socials svg{ width:19px; height:19px; stroke:#e2e8f0; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
/* نماد اعتماد الکترونیکی (اینماد) */
.footer__seal{ margin-top:22px; }
.footer__seal a{ display:inline-flex; align-items:center; justify-content:center; width:104px; height:104px; background:#fff; border-radius:16px; padding:12px; box-shadow:0 12px 28px -16px rgba(2,8,20,.55); transition:transform .2s, box-shadow .2s; }
.footer__seal a:hover{ transform:translateY(-3px); box-shadow:0 18px 32px -16px rgba(13,148,136,.55); }
.footer__seal img{ width:100%; height:100%; object-fit:contain; display:block; }
@media (max-width:640px){ .footer__seal a{ width:92px; height:92px; } }
.footer__h{ color:var(--f-head); font-size:17px; font-weight:800; margin-bottom:20px; }
.footer__links li{ margin-bottom:11px; }
.footer__links a{ color:var(--f-muted); font-size:15px; display:inline-flex; align-items:center; gap:8px; }
.footer__links a::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--teal-600); opacity:.7; }
.footer__links a:hover{ color:var(--f-head); }
.footer__contact li{ display:flex; align-items:flex-start; gap:11px; margin-bottom:13px; font-size:15px; color:var(--f-muted); }
.footer__contact svg{ width:19px; height:19px; stroke:var(--teal-400); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:0 0 19px; margin-top:5px; }
.footer__contact a{ color:var(--f-muted); }
.footer__contact a:hover{ color:var(--f-head); }
.footer__news{ margin-top:6px; }
.footer__news p{ font-size:14.5px; color:var(--f-muted); margin-bottom:14px; }
.newsform{ display:flex; flex-wrap:wrap; gap:9px; }
.newsform input{
  flex:1 1 150px; min-width:0; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:11px;
  padding:12px 16px; color:#fff; font-size:15px; outline:none; transition:border-color .2s;
}
.newsform input::placeholder{ color:#64748b; }
.newsform input:focus{ border-color:var(--teal-500); }
.newsform button{ background:var(--grad); color:#fff; border:none; border-radius:11px; padding:0 20px; font-weight:700; cursor:pointer; }
/* پیغام «عضویت انجام شد» در فوتر — نسخه‌ی تیره‌ی form-notice (2.5.3) */
.footer__news .form-notice{ background:rgba(13,148,136,.16); border-color:rgba(45,212,191,.4); color:#7ef0dd; margin:12px 0 0; }
.footer__news .form-notice svg{ stroke:var(--teal-400); }
.footer__bottom{ border-top:1px solid rgba(255,255,255,.09); padding:22px 0; font-size:14px; color:var(--f-bottom); }
.footer__bottom .container{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.footer__bottom a{ color:var(--f-muted); }
@media (max-width:1024px){ .footer__top{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){
  .footer__top{ grid-template-columns:1fr; gap:34px; text-align:center; }
  .footer__top .brand{ justify-content:center; }
  .footer__socials{ justify-content:center; }
  .footer__contact li{ justify-content:center; }
  .newsform{ justify-content:center; }
  .footer__about{ margin-inline:auto; }
  .footer__bottom .container{ justify-content:center; text-align:center; }
}

/* ---------------- Floating buttons ---------------- */
.floaters{ position:fixed; bottom:26px; left:26px; z-index:70; display:flex; flex-direction:column; gap:12px; }
.flbtn{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -8px rgba(15,23,42,.4); transition:transform .2s ease; border:none; cursor:pointer;
}
.flbtn:hover{ transform:translateY(-4px) scale(1.04); }
.flbtn svg{ width:27px; height:27px; }
.flbtn--wa{ background:#25d366; } .flbtn--wa svg{ fill:#fff; }
.flbtn--tg{ background:#229ed9; } .flbtn--tg svg{ fill:#fff; }
.flbtn--top{ background:#fff; border:1px solid var(--border); opacity:0; pointer-events:none; transition:opacity .3s, transform .2s; }
.flbtn--top.is-show{ opacity:1; pointer-events:auto; }
.flbtn--top svg{ stroke:var(--ink-700); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }

/* ---------------- Inner page hero ---------------- */
.page-hero{ position:relative; padding:74px 0 64px; overflow:hidden; text-align:center; background:#fff; border-bottom:1px solid var(--border); }
.page-hero::before{ content:''; position:absolute; inset:0;
  background-image:linear-gradient(rgba(15,23,42,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.03) 1px, transparent 1px);
  background-size:52px 52px; }
.page-hero .container{ position:relative; }
.page-hero h1{ font-size:40px; font-weight:900; }
.page-hero p{ margin-top:12px; color:var(--ink-600); font-size:17px; max-width:640px; margin-inline:auto; }
.page-hero__crumb{ font-size:14px; color:var(--ink-400); margin-bottom:14px; font-weight:600; }
.page-hero__crumb a{ color:var(--teal-700); }

/* ---------------- Steps (شروع سریع) ---------------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step{
  background:#fff; border:1px solid var(--border); border-radius:20px; padding:28px 24px;
  box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s, border-color .25s;
}
.step:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(13,148,136,.35); }
.step__n{
  display:grid; place-items:center; width:40px; height:40px; border-radius:12px;
  background:var(--grad); color:#fff; font-weight:800; font-size:16px;
  box-shadow:0 8px 16px -6px rgba(13,148,136,.5);
}
.step__t{ margin-top:16px; font-size:17.5px; font-weight:800; color:var(--ink-900); }
.step__d{ margin-top:7px; font-size:14.5px; color:var(--ink-500); line-height:1.9; }
@media (max-width:1024px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }

/* ---------------- Pricing ---------------- */
.plans{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch; }
.plan{
  background:#fff; border:1.5px solid var(--border); border-radius:22px; padding:30px 24px;
  display:flex; flex-direction:column; position:relative; transition:transform .25s, box-shadow .25s;
}
.plan:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.plan--featured{ border:2px solid var(--teal-500); box-shadow:0 24px 50px -18px rgba(13,148,136,.35); }
.plan__badge{
  position:absolute; top:-15px; right:50%; transform:translateX(50%);
  background:var(--grad); color:#fff; font-size:13px; font-weight:700; padding:6px 18px; border-radius:999px;
  box-shadow:0 8px 16px -6px rgba(13,148,136,.5);
}
.plan__name{ font-size:20px; font-weight:800; color:var(--ink-900); }
.plan__desc{ font-size:14px; color:var(--ink-500); margin-top:4px; min-height:44px; }
.plan__price{ margin:18px 0 6px; display:flex; align-items:baseline; gap:7px; flex-wrap:wrap; }
.plan__price b{ font-size:32px; font-weight:900; color:var(--teal-700); white-space:nowrap; }
.plan__price span{ font-size:14.5px; color:var(--ink-500); font-weight:600; }
.plan__note{ font-size:13px; color:var(--ink-400); min-height:22px; }
.plan__feats{ margin:22px 0 26px; display:flex; flex-direction:column; gap:11px; }
.plan__feats li{ display:flex; align-items:flex-start; gap:10px; font-size:15px; color:var(--ink-700); }
.plan__feats li svg{ width:20px; height:20px; stroke:var(--teal-600); fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; flex:0 0 20px; margin-top:4px; }
.plan__feats li.is-off{ color:var(--ink-400); }
.plan__feats li.is-off svg{ stroke:#cbd5e1; }
.plan .btn{ margin-top:auto; }
.plans__note{ text-align:center; margin-top:34px; color:var(--ink-500); font-size:15.5px; }
.plans__note b{ color:var(--teal-700); }
@media (max-width:1140px){ .plans{ grid-template-columns:repeat(2,1fr); gap:24px; } }
@media (max-width:680px){ .plans{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; } }

/* ---------------- Forms ---------------- */
.form-card{ background:#fff; border:1px solid var(--border); border-radius:22px; padding:38px 34px; box-shadow:var(--shadow-md); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .field--full{ grid-column:1 / -1; }
.field label{ display:block; font-size:14.5px; font-weight:700; color:var(--ink-700); margin-bottom:8px; }
.field input,.field textarea,.field select{
  width:100%; background:var(--bg); border:1.5px solid var(--border); border-radius:12px;
  padding:13px 16px; font-size:15.5px; color:var(--ink-900); outline:none; transition:border-color .2s, box-shadow .2s;
}
.field input:focus,.field textarea:focus,.field select:focus{ border-color:var(--teal-500); box-shadow:0 0 0 4px rgba(20,184,166,.14); background:#fff; }
.field textarea{ min-height:120px; resize:vertical; }

/* Store/account forms (.cp-form): consistent vertical rhythm — no input↔button sticking */
.cp-form .field{ margin-bottom:18px; }
.cp-form .acc-grid2{ margin-bottom:18px; }
.cp-form .acc-grid2 .field{ margin-bottom:0; }
.cp-form .acc-hint{ margin-bottom:18px; }
.form-notice{ display:none; align-items:flex-start; gap:10px; background:var(--teal-50); border:1px solid rgba(13,148,136,.35); color:var(--teal-800); border-radius:12px; padding:14px 18px; font-size:15px; font-weight:600; margin-bottom:18px; }
.form-notice.is-show{ display:flex; }
.form-notice svg{ width:21px; height:21px; stroke:var(--teal-600); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 21px; margin-top:2px; }
.honey{ position:absolute; right:-9999px; opacity:0; height:0; }

/* Demo/contact split layout */
.split{ display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:start; }
@media (max-width:1024px){ .split{ grid-template-columns:1fr; } }
.side-card{ background:#fff; border:1px solid var(--border); border-radius:20px; padding:30px; box-shadow:var(--shadow-sm); }
.side-card + .side-card{ margin-top:20px; }
.side-card h3{ font-size:18px; font-weight:800; margin-bottom:16px; }
.checklist li{ display:flex; gap:11px; align-items:flex-start; margin-bottom:13px; font-size:15.2px; color:var(--ink-700); }
.checklist svg{ width:21px; height:21px; stroke:var(--teal-600); fill:none; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; flex:0 0 21px; margin-top:3px; }
.contact-lines li{ display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px dashed var(--border); font-size:15px; }
.contact-lines li:last-child{ border-bottom:none; }
.contact-lines svg{ width:20px; height:20px; stroke:var(--teal-600); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 20px; }
.contact-lines a{ color:var(--ink-700); font-weight:600; }
.contact-lines a:hover{ color:var(--teal-700); }
.info-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:44px; }
@media (max-width:900px){ .info-cards{ grid-template-columns:1fr; } }
.icard{ background:#fff; border:1px solid var(--border); border-radius:18px; padding:26px; text-align:center; }
.icard__ic{ width:52px; height:52px; margin:0 auto 14px; border-radius:14px; background:var(--teal-50); border:1px solid rgba(13,148,136,.2); display:flex; align-items:center; justify-content:center; }
.icard__ic svg{ width:25px; height:25px; stroke:var(--teal-600); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.icard h3{ font-size:16.5px; font-weight:800; margin-bottom:6px; }
.icard p{ color:var(--ink-600); font-size:15px; direction:ltr; }
.icard p.fa{ direction:rtl; }

/* ---------------- Blog ---------------- */
.posts-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:1024px){ .posts-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .posts-grid{ grid-template-columns:1fr; } }
.pcard{ background:#fff; border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.pcard:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.pcard__thumb{ margin:10px 10px 0; border-radius:10px; aspect-ratio:16/9.4; background:linear-gradient(135deg,var(--teal-100),#e0f2fe 70%); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.pcard__thumb svg{ width:44px; height:44px; stroke:var(--teal-600); opacity:.55; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.pcard__thumb img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; border-radius:10px; }
.pcard__cat{
  position:absolute; top:14px; right:14px; background:rgba(255,255,255,.92); color:var(--teal-700);
  font-size:12.5px; font-weight:700; padding:5px 14px; border-radius:999px; box-shadow:var(--shadow-sm);
}
.pcard__body{ padding:24px; display:flex; flex-direction:column; flex:1; }
.pcard__title{ font-size:17.8px; font-weight:800; line-height:1.7; }
.pcard__title a{ color:var(--ink-900); }
.pcard__title a:hover{ color:var(--teal-700); }
.pcard__ex{ margin-top:10px; font-size:14.6px; color:var(--ink-600); flex:1; }
.pcard__meta{ margin-top:18px; padding-top:16px; border-top:1px dashed var(--border); display:flex; justify-content:space-between; font-size:13.5px; color:var(--ink-400); }
.pcard__meta span{ display:inline-flex; align-items:center; gap:6px; }
.pcard__meta svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* Single post */
.article{ max-width:800px; margin:0 auto; background:#fff; border:1px solid var(--border); border-radius:22px; padding:46px 44px; box-shadow:var(--shadow-sm); }
.article__meta{ display:flex; flex-wrap:wrap; gap:16px; font-size:14px; color:var(--ink-400); margin-bottom:20px; }
.article__meta span{ display:inline-flex; align-items:center; gap:6px; }
.article__thumb img{ width:100%; height:auto; display:block; border-radius:10px; }
.article h1{ font-size:32px; font-weight:900; line-height:1.6; margin-bottom:8px; }
.article .content{ margin-top:26px; font-size:16.5px; color:var(--ink-700); }
.article .content h2,.article .content h3{ color:var(--ink-900); margin:30px 0 12px; font-weight:800; }
.article .content h2{ font-size:23px; } .article .content h3{ font-size:19px; }
.article .content p{ margin-bottom:16px; }
.article .content ul,.article .content ol{ margin:0 24px 18px 0; }
.article .content ul li{ list-style:disc; margin-bottom:8px; }
.article .content ol li{ list-style:decimal; margin-bottom:8px; }
.article .content blockquote{ border-right:4px solid var(--teal-500); background:var(--teal-50); border-radius:0 12px 12px 0; padding:16px 20px; margin:18px 0; color:var(--teal-900); }
.article .content img{ border-radius:10px; margin:18px 0; }
.article .content a{ text-decoration:underline; text-underline-offset:4px; }

/* ---- Article extras (2.4.0): جدول و جعبه‌ی CTA داخل مقاله ---- */
.article .content table{ width:100%; border-collapse:collapse; margin:20px 0 24px; font-size:15.3px; }
.article .content th{ background:var(--teal-50); color:var(--teal-900); font-weight:800; }
.article .content th,.article .content td{ border:1px solid var(--border); padding:10px 14px; text-align:right; }
.article .content tbody tr:nth-child(even) td{ background:#fafcfd; }
.article .content .article-cta{ margin:28px 0 8px; background:var(--grad); color:#fff; border-radius:18px; padding:28px 30px; text-align:center; }
.article .content .article-cta h2,.article .content .article-cta h3{ color:#fff; margin:0 0 10px; font-size:20.5px; }
.article .content .article-cta p{ color:rgba(255,255,255,.92); margin-bottom:18px; font-size:15.5px; }
.article .content .article-cta a{ text-decoration:none; }
.article .content .article-cta .btn{ background:#fff; color:var(--teal-700)!important; font-weight:800; box-shadow:0 10px 24px -8px rgba(0,0,0,.28); }
.article .content .article-cta .btn:hover{ transform:translateY(-2px); color:var(--teal-800)!important; }
@media (max-width:640px){ .article .content .article-cta{ padding:22px 18px; } }
@media (max-width:640px){ .article{ padding:30px 22px; } }

/* ---------------- Views chip — بازدید نوشته‌ها (2.5.0) ---------------- */
.cp-views{ display:inline-flex; align-items:center; gap:6px; }
.cp-views svg{ width:16px; height:16px; flex:0 0 16px; stroke:var(--teal-600); fill:none; }
.pcard__meta .cp-views{ color:var(--ink-500); }
.article__meta .cp-views{ color:var(--ink-400); }

/* ---------------- Comments — بازطراحی دیدگاه‌ها (2.5.0) ---------------- */
.comments-area{ margin-top:36px; }
.comments__title{ display:flex; align-items:center; gap:10px; font-size:20px; font-weight:800; margin:0 0 20px; color:var(--ink-900); }
.comments__title svg{ width:22px; height:22px; flex:0 0 22px; stroke:var(--teal-600); fill:none; }
.comment-list{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:14px; }
.comment-list .children{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
@media (min-width:641px){
  .comment-list .children{ margin-inline-start:24px; padding-inline-start:20px; border-inline-start:2px solid var(--teal-100); }
}
.cp-comment__card{ display:flex; gap:14px; background:#fff; border:1px solid var(--border); border-radius:16px; padding:18px 20px; box-shadow:var(--shadow-sm); transition:border-color .18s ease, box-shadow .18s ease; }
.cp-comment__card:hover{ border-color:var(--teal-100); box-shadow:var(--shadow-md); }
.cp-comment--author > .cp-comment__card{ border-color:var(--teal-100); background:linear-gradient(180deg, var(--teal-50), #fff 60%); }
.cp-comment__avatar{ flex:0 0 46px; }
.cp-comment__avatar img{ width:46px; height:46px; border-radius:50%; border:2px solid var(--teal-100); background:var(--teal-50); display:block; }
.cp-comment__main{ flex:1; min-width:0; }
.cp-comment__head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.cp-comment__name{ font-size:15px; font-weight:800; color:var(--ink-900); }
.cp-comment__badge{ font-size:11px; font-weight:800; color:var(--teal-700); background:var(--teal-50); border:1px solid var(--teal-100); padding:2px 10px; border-radius:999px; }
.cp-comment__date{ font-size:12.5px; color:var(--ink-400); margin-inline-start:auto; }
.cp-comment__pending{ margin:10px 0 0; font-size:13px; font-weight:700; color:#92400e; background:#fef3c7; border-radius:9px; padding:7px 12px; }
.cp-comment__text{ margin-top:9px; font-size:14.6px; line-height:1.9; color:var(--ink-700); overflow-wrap:break-word; }
.cp-comment__text p{ margin:0 0 8px; }
.cp-comment__text p:last-child{ margin-bottom:0; }
.cp-comment__text a{ font-weight:700; }
.cp-comment__text blockquote{ margin:8px 0; padding:10px 14px; border-inline-start:3px solid var(--teal-100); background:var(--teal-50); border-radius:0 10px 10px 0; }
.cp-comment__actions{ margin-top:10px; }
.cp-comment__actions .comment-reply-link{ display:inline-flex; align-items:center; gap:6px; font-size:12.8px; font-weight:800; color:var(--teal-700); background:var(--teal-50); border:1px solid var(--teal-100); padding:5px 14px; border-radius:999px; transition:background .15s ease, color .15s ease; }
.cp-comment__actions .comment-reply-link:hover{ background:var(--teal-100); color:var(--teal-800); }
@media (max-width:640px){
  .cp-comment__card{ padding:14px 16px; gap:11px; }
  .cp-comment__avatar{ flex-basis:38px; }
  .cp-comment__avatar img{ width:38px; height:38px; }
  .cp-comment__date{ margin-inline-start:0; width:100%; }
}
.comments-area .comment-navigation{ display:flex; justify-content:space-between; gap:12px; margin:0 0 26px; font-size:13.5px; }
.comments-area .comment-navigation .nav-previous a,
.comments-area .comment-navigation .nav-next a{ color:var(--teal-700); font-weight:700; }
/* فرم دیدگاه */
.cp-cform{ background:#fff; border:1px solid var(--border); border-radius:18px; padding:26px; box-shadow:var(--shadow-sm); }
.cp-cform .comment-reply-title{ display:block; font-size:19px; font-weight:800; color:var(--ink-900); margin:0 0 4px; }
.cp-cform .comment-reply-title #cancel-comment-reply-link{ font-size:12.5px; font-weight:800; color:var(--ink-500); background:#f1f5f9; border-radius:999px; padding:3px 12px; margin-inline-start:10px; transition:background .15s ease, color .15s ease; }
.cp-cform .comment-reply-title #cancel-comment-reply-link:hover{ color:#b91c1c; background:#fee2e2; }
.cp-cform .comment-notes{ font-size:13px; color:var(--ink-500); margin:0 0 16px; }
.cp-cform .logged-in-as{ font-size:13.5px; color:var(--ink-600); margin:0 0 14px; }
.cp-cform .logged-in-as a{ color:var(--teal-700); font-weight:700; }
.cp-cform .must-log-in{ font-size:13.5px; color:var(--ink-600); margin:0 0 14px; }
.cp-cform .must-log-in a{ color:var(--teal-700); font-weight:700; }
.cp-cform .field{ margin-bottom:16px; }
.cp-cform .cp-req{ color:#ef4444; }
.cp-cform .comment-form-cookies-consent{ display:flex; align-items:center; gap:9px; margin:0 0 16px; font-size:13.5px; color:var(--ink-600); }
.cp-cform .comment-form-cookies-consent input{ width:17px; height:17px; accent-color:var(--teal-600); cursor:pointer; }
.cp-cform .comment-form-cookies-consent label{ cursor:pointer; }
.cp-cform .form-submit{ margin:6px 0 0; }
.cp-cform .form-submit input{ cursor:pointer; border:none; font-family:inherit; }
@media (max-width:640px){ .cp-cform{ padding:20px 18px; } }

/* Generic page content */
.page-wrap{ max-width:820px; margin:0 auto; background:#fff; border:1px solid var(--border); border-radius:22px; padding:44px; box-shadow:var(--shadow-sm); font-size:16.5px; color:var(--ink-700); }
.page-wrap h2{ color:var(--ink-900); font-size:24px; margin:26px 0 12px; }
.page-wrap p{ margin-bottom:14px; }

/* Pagination */
.pagination{ display:flex; justify-content:center; gap:8px; margin-top:44px; }
.pagination .page-numbers{
  min-width:44px; height:44px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid var(--border); border-radius:11px; color:var(--ink-700); font-weight:700;
}
.pagination .page-numbers.current,.pagination .page-numbers:hover{ background:var(--grad); color:#fff; border-color:transparent; }

/* ---------------- Reveal animations ---------------- */
.reveal{ opacity:0; transform:translateY(26px); }
.reveal.is-in{ opacity:1; transform:none; transition:opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; } html{ scroll-behavior:auto; } }

/* Forms success anchor offset */
:target{ scroll-margin-top:110px; }

/* ---------------- Small phones ---------------- */
@media (max-width:560px){
  .announce__in{ padding:9px 32px; font-size:9.8px; line-height:1.9; gap:5px; white-space:nowrap; }
  .announce__in span{ overflow:hidden; text-overflow:ellipsis; min-width:0; }
  .announce__in a{ flex:0 0 auto; }
  .announce__close{ inset-inline-start:12px; }
  .brand__tag{ display:none; }
  .brand__name{ font-size:19px; }
  .brand__mark{ width:38px; height:38px; border-radius:11px; }
  .brand__mark img{ width:100%; height:100%; }
  .header__in{ height:66px; gap:12px; }
  .hero{ padding:44px 0 60px; }
  .hero__title{ font-size:31px; margin-top:20px; }
  .hero__brand{ font-size:54px; }
  .hero__sub{ font-size:16.5px; }
  .hero__ctas .btn{ width:100%; }
  .sec-title{ font-size:29px; }
  .sec-sub{ font-size:15.5px; }
  .section{ padding:68px 0; }
  .stat__num{ font-size:38px; }
  .stat__label{ font-size:14px; }
  .fcard{ padding:24px 20px; }
  .plan__price b{ font-size:33px; }
  .form-card{ padding:28px 20px; }
  .article{ padding:28px 20px; }
  .page-hero h1{ font-size:31px; }
  .ctaband{ padding:52px 22px; border-radius:20px; }
  .ctaband__t{ font-size:25px; }
  .floaters{ bottom:18px; left:16px; gap:10px; }
  .flbtn{ width:50px; height:50px; }
  .footer__top{ padding:52px 0 40px; }
}

/* ---------------- Bottom nav — نوار منوی پایین در موبایل و تبلت (2.3.0) ---------------- */
.bottom-nav{ display:none; }
@media (max-width:1024px){
  .bottom-nav{
    display:flex; position:fixed; bottom:0; inset-inline:0; z-index:60;
    align-items:stretch; justify-content:space-around;
    background:rgba(255,255,255,.94); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    border-top:1px solid var(--border); box-shadow:0 -10px 30px -18px rgba(15,23,42,.25);
    padding:6px 6px calc(8px + env(safe-area-inset-bottom));
  }
  body{ padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
  .nav-toggle{ display:none; }
  .main-nav{ display:none !important; }
  .floaters{ bottom:calc(88px + env(safe-area-inset-bottom)); left:14px; }
}
.bottom-nav__item{
  flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  gap:3px; padding:6px 2px 2px; border-radius:12px; color:var(--ink-500);
  font-size:11px; font-weight:700; text-align:center; transition:color .15s ease;
}
.bottom-nav__item svg{ width:22px; height:22px; flex:0 0 22px; }
.bottom-nav__label{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bottom-nav__item:hover{ color:var(--teal-700); }
.bottom-nav__item.is-active{ color:var(--teal-600); }
.bottom-nav__home{ color:var(--teal-600); }
.bottom-nav__homebtn{
  width:48px; height:48px; margin-top:-30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad); color:#fff;
  box-shadow:0 0 0 5px var(--surface), 0 12px 24px -8px rgba(13,148,136,.55);
  transition:transform .18s ease, box-shadow .18s ease;
}
.bottom-nav__homebtn svg{ width:23px; height:23px; }
.bottom-nav__home:active .bottom-nav__homebtn{ transform:translateY(-3px) scale(1.05); }
@media (min-width:1025px){
  .bottom-nav{ display:none !important; }
}
