/* Telkap v4.4 — Public Site Stylesheet
   ====================================================================
   تم سفید روشن با پالت الهام‌گرفته از doctorsafari.com:
   سفید غالب + آبی-سبز (Teal #087f8c) به‌عنوان رنگ اصلی +
   تینت‌های بسیار روشن برای پس‌زمینه بخش‌های یک‌درمیان + آبی #1677d2
   به‌عنوان رنگ تاکیدی ثانویه.

   تازه‌های v4.4:
   - دراور کشویی موبایل از راست (جایگزین منوی بازشوی قدیمی)
   - اسلایدر لمسی اسکرین‌شات‌ها در موبایل + دات‌های وضعیت
   - لایت‌باکس حرفه‌ای تصاویر اسکرین‌شات (توضیحات زیر تصویر)
   - کارت‌های معرفی: حداکثر ۳ ستون در دسکتاپ
   ==================================================================== */

:root {
  --primary: #087f8c;        /* آبی-سبز اصلی */
  --primary-2: #0aa2b2;      /* آبی-سبز روشن‌تر (هاور/تاکید) */
  --primary-deep: #066572;   /* آبی-سبز تیره (پایان گرادیان) */
  --bg: #ffffff;             /* پس‌زمینه اصلی: سفید */
  --bg-2: #f3fafb;           /* بخش‌های یک‌درمیان: تینت روشن teal */
  --card: #ffffff;
  --card-2: #f7fbfc;
  --text: #1b323b;           /* متن تیره petrol */
  --dim: #5d7279;            /* متن کم‌رنگ */
  --border: #dfecef;         /* حاشیه روشن */
  --border-2: #c9e4e9;       /* حاشیه تاکید روشن */
  --green: #0c9d6e;
  --accent: #1677d2;         /* آبی تاکیدی */
  --shadow-sm: 0 2px 10px rgba(10, 60, 70, .05);
  --shadow-md: 0 14px 36px rgba(10, 60, 70, .10);
  --radius: 16px;
  --font: 'Vazirmatn', Vazir, Tahoma, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.85;
  font-size: 15.5px;
  overflow-x: hidden;
}
::selection { background: rgba(10, 162, 178, .22); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; color: var(--primary-2); }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Header (رنگ از تنظیمات دیتابیس — پیش‌فرض سفید) ---------- */
.tk-header { border-bottom: 1px solid rgba(8, 127, 140, .10); }
.tk-header-inner { display: flex; align-items: center; gap: 18px; }
.tk-brand { display: flex; align-items: center; gap: 12px; }
.tk-brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.tk-brand-text strong { font-size: 17px; color: inherit; }
.tk-brand-text small { font-size: 11.5px; opacity: .72; }
.tk-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
.tk-nav > a { padding: 8px 13px; border-radius: 10px; font-size: 14px; color: inherit; opacity: .88; }
.tk-nav > a:hover, .tk-nav > a.active { background: rgba(8, 127, 140, .09); opacity: 1; }
.tk-nav .tk-cta {
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep)); color: #fff !important;
  padding: 9px 18px; border-radius: 12px; font-weight: 600; margin-inline-start: 8px;
  box-shadow: 0 8px 18px rgba(8, 127, 140, .25); opacity: 1;
}
.tk-nav .tk-cta:hover { filter: brightness(1.06); }

/* v4.4 — دکمه همبرگری (فقط موبایل): سه خط که هنگام باز شدن به × تبدیل می‌شود */
.tk-nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--border-2); background: #fff; cursor: pointer;
  position: relative; flex: 0 0 auto;
  box-shadow: var(--shadow-sm);
}
.tk-nav-burger .burger-bar {
  position: absolute; right: 11px; left: 11px; height: 2.5px;
  background: var(--primary-deep); border-radius: 3px;
  transition: transform .26s ease, opacity .2s ease, top .26s ease;
}
.tk-nav-burger .burger-bar:nth-child(1) { top: 14px; }
.tk-nav-burger .burger-bar:nth-child(2) { top: 20.5px; }
.tk-nav-burger .burger-bar:nth-child(3) { top: 27px; }
body.tk-drawer-open .tk-nav-burger .burger-bar:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
body.tk-drawer-open .tk-nav-burger .burger-bar:nth-child(2) { opacity: 0; }
body.tk-drawer-open .tk-nav-burger .burger-bar:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

/* v4.4 — دراور کشویی موبایل: از سمت راست وارد می‌شود (RTL) */
.tk-nav-overlay {
  position: fixed; inset: 0; z-index: 129;
  background: rgba(9, 44, 52, .45);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .26s ease, visibility .26s;
}
.tk-nav-overlay.open { opacity: 1; visibility: visible; }
.tk-nav-drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 130;
  width: min(340px, 88vw);
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -22px 0 60px rgba(9, 44, 52, .22);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.32, .72, .28, 1), visibility .3s;
  will-change: transform;
}
.tk-nav-drawer.open { transform: translateX(0); visibility: visible; }
.tk-nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #f3fafb, #ffffff);
}
.tk-nav-drawer-head .tk-brand { color: var(--text); font-size: 15.5px; gap: 10px; }
.tk-nav-drawer-head .tk-brand i { color: var(--primary); font-size: 20px; }
.tk-nav-drawer-x {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--dim); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, transform .15s;
}
.tk-nav-drawer-x:hover { background: #fdeceb; color: #d33; transform: rotate(90deg); }
.tk-nav-drawer-links {
  flex: 1; overflow-y: auto; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.tk-nav-drawer-links a {
  padding: 13px 14px; border-radius: 12px; font-size: 15px;
  color: var(--text) !important; display: flex; align-items: center; gap: 10px;
  transition: background .15s, color .15s;
}
.tk-nav-drawer-links a i { color: var(--primary); width: 20px; text-align: center; font-size: 15px; }
.tk-nav-drawer-links a:hover, .tk-nav-drawer-links a.active {
  background: rgba(8, 127, 140, .09); color: var(--primary-deep) !important;
}
.tk-nav-drawer-links .tk-cta {
  margin-top: 14px; text-align: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
  color: #fff !important; font-weight: 700;
  box-shadow: 0 10px 24px rgba(8, 127, 140, .28);
}
.tk-nav-drawer-links .tk-cta i { color: #fff; }
.tk-nav-drawer-foot {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border); color: var(--dim); font-size: 12px;
}
body.tk-drawer-open, body.tk-lb-open { overflow: hidden; }

@media (max-width: 860px) {
  .tk-nav-burger { display: block; margin-inline-start: auto; }
  .tk-nav { display: none; }
}

/* ---------- Hero ---------- */
.tk-hero {
  padding: 88px 0 58px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 430px at 50% -150px, rgba(10, 162, 178, .15), transparent 65%),
    radial-gradient(ellipse 560px 330px at 88% 18%, rgba(22, 119, 210, .07), transparent 62%),
    linear-gradient(180deg, #f5fbfc 0%, #ffffff 100%);
}
.tk-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(8, 127, 140, .13) 1.1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 74% 62% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 74% 62% at 50% 0%, #000 0%, transparent 78%);
}
.tk-hero .container { position: relative; }
.tk-hero h1 { font-size: clamp(27px, 5vw, 44px); font-weight: 900; margin-bottom: 14px; color: #12333c; }
.tk-hero p.lead { color: var(--dim); font-size: clamp(15px, 2.2vw, 18px); max-width: 640px; margin: 0 auto 26px; }
.tk-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 32px; border-radius: 14px; font-size: 16px; }

/* ---------- بنر تخفیف ---------- */
.discount-banner {
  max-width: 640px; margin: 20px auto 0; padding: 16px 22px;
  background: linear-gradient(135deg, rgba(12, 157, 110, .10), rgba(12, 157, 110, .04));
  border: 1px solid rgba(12, 157, 110, .35); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  color: var(--text);
}
.discount-banner .code {
  font-family: monospace; font-size: 18px; letter-spacing: 2px; font-weight: 700;
  background: rgba(12, 157, 110, .12); border: 1px dashed rgba(12, 157, 110, .55);
  padding: 5px 16px; border-radius: 10px; direction: ltr; color: #067a54;
}
.discount-banner .timer { font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
.tk-section { padding: 52px 0; }
.tk-section.alt { background: var(--bg-2); }
.tk-section-head { text-align: center; max-width: 660px; margin: 0 auto 36px; }
.tk-section-head h2 { font-size: clamp(21px, 3.4vw, 29px); margin-bottom: 12px; color: #12333c; position: relative; }
.tk-section-head h2::after {
  content: ''; display: block; width: 64px; height: 4px; border-radius: 4px;
  margin: 12px auto 0;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
}
.tk-section-head p { color: var(--dim); }
/* v4.2 — متن معرفی/توضیح بخش‌ها: تراز justify (مثل ورد) */
.tk-section-head .rich { text-align: justify; text-justify: inter-word; }
.tk-section-head .rich p { color: var(--dim); }

/* ---------- Cards grid ---------- */
/* v4.2 — کارت‌ها همیشه به‌صورت گروهی در وسط صفحه قرار می‌گیرند */
/* v4.4 — کارت‌های معرفی حداکثر ۳ ستون در دسکتاپ (پهن‌تر و خواناتر) */
.tk-grid { display: grid; gap: 18px; justify-content: center; }
.tk-grid.cols-2 { grid-template-columns: repeat(2, minmax(min(100%, 240px), 430px)); }
.tk-grid.cols-3 { grid-template-columns: repeat(3, minmax(min(100%, 250px), 364px)); }
.tk-grid.cols-4 { grid-template-columns: repeat(3, minmax(min(100%, 250px), 364px)); }
@media (max-width: 980px) { .tk-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .tk-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tk-grid { grid-template-columns: 1fr !important; } }

.tk-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.tk-card:hover { transform: translateY(-4px); border-color: rgba(8, 127, 140, .45); box-shadow: var(--shadow-md); }
.tk-card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f6f8, #f5fbfc);
  border: 1px solid #d8eef2;
  color: var(--primary); font-size: 22px; margin-bottom: 14px;
}
/* v4.3 — تصویر/آیکون آپلودی کارت معرفی (جایگزین FontAwesome) */
.tk-card img.icon-img {
  width: 54px; height: 54px; object-fit: contain; border-radius: 15px;
  margin-bottom: 14px; background: #f5fbfc; border: 1px solid var(--border);
  padding: 6px; display: block;
}
.tk-card h3 { font-size: 16.5px; margin-bottom: 8px; color: #14323b; }
/* v4.2 — توضیح کارت‌ها هم justify */
.tk-card p { color: var(--dim); font-size: 14px; text-align: justify; text-justify: inter-word; }
.tk-card .badge {
  display: inline-block; font-size: 11px; background: rgba(8, 127, 140, .10); color: var(--primary-deep);
  border: 1px solid rgba(8, 127, 140, .22); border-radius: 20px; padding: 2px 10px; margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.tk-btn {
  display: inline-block; background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
  color: #fff; padding: 10px 24px; border-radius: 12px; font-weight: 600; text-align: center;
  box-shadow: 0 10px 24px rgba(8, 127, 140, .26);
  transition: transform .16s, box-shadow .16s, filter .16s;
}
.tk-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8, 127, 140, .34); filter: brightness(1.05); color: #fff; }
.tk-btn.ghost {
  background: #fff; border: 1.5px solid var(--border-2); color: var(--primary-deep); box-shadow: none;
}
.tk-btn.ghost:hover { border-color: var(--primary); background: var(--card-2); transform: translateY(-2px); }
.tk-btn.block { display: block; }

/* ---------- Pricing ---------- */
.tk-pricing { position: relative; }
.tk-pricing .price { font-size: 30px; font-weight: 800; color: #0b5560; margin: 10px 0; direction: ltr; }
.tk-pricing .price small { font-size: 13px; color: var(--dim); font-weight: 500; }
.tk-pricing .period { color: var(--dim); font-size: 13px; }
/* v4.3 — قیمت با تخفیف: قیمت اصلی خط‌خورده + قیمت جدید + بج درصد تخفیف */
.tk-pricing .price-old { text-decoration: line-through; color: #9bb0b6; font-size: 17px; font-weight: 600; margin-inline-end: 8px; }
.tk-pricing .price-new { color: var(--primary); font-size: 30px; font-weight: 800; }
.tk-pricing .off-badge {
  display: inline-block; background: #fff3e8; color: #c2570a; border: 1px solid #ffd9b3;
  font-size: 12px; font-weight: 700; border-radius: 20px; padding: 2px 10px; margin-inline-start: 6px;
}
.tk-pricing ul { list-style: none; margin: 14px 0; }
.tk-pricing ul li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--dim); }
.tk-pricing ul li::before { content: '✓ '; color: var(--green); font-weight: 700; margin-inline-end: 4px; }
.tk-pricing.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 20px 50px rgba(8, 127, 140, .16); }
.tk-pricing .featured-tag {
  position: absolute; top: -12px; right: 50%; transform: translateX(50%);
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep)); color: #fff;
  font-size: 11.5px; padding: 4px 16px; border-radius: 20px; box-shadow: 0 8px 18px rgba(8, 127, 140, .3);
}

/* ---------- Screenshots (v4.4 — کلیک‌پذیر + اسلایدر موبایل + لایت‌باکس) ---------- */
.tk-shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in;
  display: block; width: 100%; padding: 0; text-align: right; font-family: inherit;
  position: relative; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tk-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(8, 127, 140, .4); }
.tk-shot img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; transition: transform .25s; }
.tk-shot:hover img { transform: scale(1.05); }
/* نشان بزرگ‌نمایی گوشه تصویر — راهنمای کلیک‌پذیر بودن */
.tk-shot .zoom-hint {
  position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(9, 44, 52, .55); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .18s;
}
.tk-shot:hover .zoom-hint, .tk-shot:focus-visible .zoom-hint { opacity: 1; }
.tk-shot figcaption { padding: 10px 12px; font-size: 13px; color: var(--dim); }

/* v4.4 — دسکتاپ: گرید اسکرین‌شات‌ها */
.tk-shot-slider {
  display: grid; gap: 18px; justify-content: center;
  grid-template-columns: repeat(3, minmax(min(100%, 250px), 364px));
}
/* v4.4 — دات‌های وضعیت اسلایدر موبایل */
.tk-shot-dots { display: none; }

@media (max-width: 980px) {
  .tk-shot-slider { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  /* اسلایدر لمسی: به‌جای زیرهم‌چینی، اسکرین‌شات‌ها کنار هم با اسنپ */
  .tk-shot-slider {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .tk-shot-slider::-webkit-scrollbar { display: none; }
  .tk-shot-slider .tk-shot { flex: 0 0 84%; scroll-snap-align: center; }
  .tk-shot-dots {
    display: flex; gap: 7px; justify-content: center;
    margin-top: 12px; flex-wrap: wrap;
  }
  .tk-shot-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
    background: #c9e0e5; padding: 0; transition: transform .18s, background .18s;
  }
  .tk-shot-dots button.active { background: var(--primary); transform: scale(1.35); }
}

/* v4.4 — لایت‌باکس حرفه‌ای اسکرین‌شات: تصویر بزرگ + عنوان و توضیحات زیرش */
.tk-lightbox {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(7, 32, 38, .94);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 54px 18px 26px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
  cursor: zoom-out;
}
.tk-lightbox.open { opacity: 1; visibility: visible; }
.tk-lightbox-img-wrap {
  max-width: min(1100px, 100%); display: flex; align-items: center; justify-content: center;
  animation: tkLbIn .26s ease;
}
@keyframes tkLbIn { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.tk-lightbox-img-wrap img {
  max-width: 100%; max-height: 66vh; object-fit: contain;
  border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  cursor: default; display: block;
}
/* عنوان + توضیحات زیر تصویر */
.tk-lightbox-cap {
  color: #eaf6f8; text-align: center; max-width: 780px; margin-top: 16px;
  cursor: default;
}
.tk-lightbox-cap h3 { font-size: 17.5px; color: #fff; margin-bottom: 6px; }
.tk-lightbox-cap p {
  font-size: 13.5px; color: #b9d6db; line-height: 2;
  white-space: pre-wrap; text-align: justify; text-justify: inter-word;
}
/* شمارنده «۲ از ۵» */
.tk-lightbox-count {
  position: absolute; top: 16px; right: 20px;
  color: #cfe6ea; font-size: 13px;
  background: rgba(255, 255, 255, .10); border-radius: 20px; padding: 4px 14px;
  cursor: default;
}
.tk-lightbox-x {
  position: absolute; top: 14px; left: 14px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.tk-lightbox-x:hover { background: rgba(220, 60, 60, .8); transform: rotate(90deg); }
/* فلش‌های قبلی/بعدی — در RTL «بعدی» سمت چپ است */
.tk-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.tk-lightbox-nav:hover { background: rgba(10, 162, 178, .55); }
.tk-lightbox-nav[disabled] { opacity: .3; cursor: default; }
.tk-lightbox-prev { right: 14px; }
.tk-lightbox-next { left: 14px; }
@media (max-width: 620px) {
  .tk-lightbox { padding: 56px 10px 18px; }
  .tk-lightbox-nav { width: 40px; height: 40px; }
  .tk-lightbox-prev { right: 8px; }
  .tk-lightbox-next { left: 8px; }
  .tk-lightbox-img-wrap img { max-height: 58vh; }
  .tk-lightbox-cap p { font-size: 12.5px; }
}

/* ---------- Video (v4.3 — چند ویدیو: آپارات/یوتیوب امبد یا فایل آپلودی) ---------- */
.tk-video-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tk-video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(8, 127, 140, .4); }
.tk-video-box { position: relative; padding-top: 56.25%; background: #0a2a31; }
.tk-video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tk-video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tk-video-card .body { padding: 14px 16px 16px; }
.tk-video-card .body h3 { font-size: 15px; color: #14323b; margin-bottom: 4px; }
.tk-video-card .body p { font-size: 13px; color: var(--dim); text-align: justify; text-justify: inter-word; }
/* حالت تک‌ویدیوی قدیمی (سازگاری) */
.tk-video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.tk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA ---------- */
.tk-cta-box {
  background: linear-gradient(135deg, rgba(8, 127, 140, .10), rgba(10, 162, 178, .04));
  border: 1px solid rgba(8, 127, 140, .30); border-radius: 22px;
  text-align: center; padding: 48px 22px;
}

/* ---------- Blog ---------- */
.tk-post-card { display: flex; flex-direction: column; overflow: hidden; }
.tk-post-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.tk-post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tk-post-card:hover .thumb img { transform: scale(1.05); }
.tk-post-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tk-post-card h3 { font-size: 15.5px; line-height: 1.6; }
.tk-post-card h3 a { color: var(--text); }
.tk-post-card h3 a:hover { color: var(--primary); }
.tk-post-card .meta { color: var(--dim); font-size: 12.5px; display: flex; gap: 10px; flex-wrap: wrap; }

.tk-article { max-width: 780px; margin: 0 auto; }
.tk-article-header { margin-bottom: 22px; }
.tk-article-header h1 { font-size: clamp(22px, 4vw, 32px); line-height: 1.6; margin: 12px 0; color: #12333c; }
.tk-article-meta { color: var(--dim); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.tk-article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; border: 1px solid var(--border); }
/* v4.4 — اعتبار/منبع تصویر شاخص (تصاویر اینترنتی CC — الزام مجوز + سئو) */
.tk-article-cover figcaption.tk-article-cover-credit {
  padding: 9px 14px; font-size: 11.5px; color: var(--dim);
  background: var(--card-2); border-top: 1px solid var(--border); text-align: center;
}
/* v4.2 — متن مقالات: تراز justify (مثل ورد)؛ pre و کد چپ‌چین می‌مانند */
.tk-article-body { font-size: 16px; text-align: justify; text-justify: inter-word; color: #243a42; }
.tk-article-body p { margin-bottom: 16px; }
.tk-article-body h2, .tk-article-body h3 { margin: 26px 0 12px; color: #12333c; }
.tk-article-body img { border-radius: 12px; margin: 10px 0; }
.tk-article-body ul, .tk-article-body ol { padding-inline-start: 24px; margin-bottom: 16px; }
.tk-article-body pre { background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; overflow-x: auto; direction: ltr; text-align: left; font-size: 13.5px; margin-bottom: 16px; color: #16333c; }
.tk-article-body blockquote { border-right: 3px solid var(--primary); background: rgba(8, 127, 140, .06); padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; color: var(--dim); }

/* ---------- Sidebar / Blog layout ---------- */
.tk-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .tk-blog-layout { grid-template-columns: 1fr; } }
.tk-side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.tk-side-card h4 { font-size: 14.5px; margin-bottom: 12px; color: #14323b; }
.tk-side-card ul { list-style: none; }
.tk-side-card ul li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.tk-side-card ul li:last-child { border-bottom: none; }
.tk-tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tk-tagcloud a { background: var(--card-2); border: 1px solid var(--border); color: var(--dim); border-radius: 20px; padding: 4px 12px; font-size: 12.5px; }
.tk-tagcloud a:hover { border-color: var(--primary); color: var(--primary-deep); background: #fff; }

/* ---------- Pagination ---------- */
.tk-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.tk-pagination a, .tk-pagination span { padding: 8px 15px; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--text); font-size: 14px; }
.tk-pagination a:hover { border-color: var(--primary); }
.tk-pagination .cur { background: linear-gradient(135deg, var(--primary-2), var(--primary-deep)); border-color: transparent; color: #fff; }

/* ---------- FAQ page ---------- */
.tk-faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s; }
.tk-faq-item:hover { border-color: rgba(8, 127, 140, .38); }
.tk-faq-item .q { width: 100%; text-align: right; background: none; border: none; color: var(--text); font-family: var(--font); font-size: 15px; font-weight: 600; padding: 17px 20px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tk-faq-item .q .chev { transition: transform .2s; color: var(--primary); }
.tk-faq-item.open .q .chev { transform: rotate(180deg); }
.tk-faq-item .a { display: none; padding: 0 20px 17px; color: var(--dim); white-space: pre-wrap; }
.tk-faq-item.open .a { display: block; }

/* ---------- Reviews page ---------- */
.tk-review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.tk-review .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tk-review .stars { color: #f5a623; letter-spacing: 2px; }
.tk-review .reply { margin-top: 12px; padding: 12px 14px; border-right: 3px solid var(--primary); background: rgba(8, 127, 140, .06); border-radius: 8px; font-size: 14px; }
/* v4.2 — متن نظرات سایت: pre-wrap + justify */
.tk-review .review-text { white-space: pre-wrap; text-align: justify; text-justify: inter-word; }

/* ---------- Footer (رنگ از تنظیمات — پیش‌فرض petrol تیره) ---------- */
.tk-footer { padding: 46px 0 0; margin-top: 44px; }
.tk-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-bottom: 30px; }
@media (max-width: 860px) { .tk-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tk-footer-grid { grid-template-columns: 1fr; } }
.tk-footer-col h3 { font-size: 16px; margin-bottom: 12px; color: #fff; }
.tk-footer-col h4 { font-size: 14px; margin-bottom: 12px; color: #fff; }
.tk-footer-col p { font-size: 13.5px; margin-bottom: 8px; }
.tk-footer-col ul { list-style: none; }
.tk-footer-col ul li { padding: 5px 0; font-size: 13.5px; }
.tk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; text-align: center; font-size: 13px; opacity: .85; }
.tk-social a { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); align-items: center; justify-content: center; font-size: 18px; transition: background .16s, transform .16s; }
.tk-social a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

/* ---------- Float button (آیکون شناور ربات) ---------- */
.tk-float-btn {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #2f9df0, var(--accent)); color: #fff !important;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 12px 28px rgba(22, 119, 210, .42); transition: transform .16s;
}
.tk-float-btn:hover { transform: scale(1.08); }
.tk-float-btn::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(22, 119, 210, .45); animation: tk-pulse 2.2s ease-out infinite;
}
@keyframes tk-pulse {
  0% { transform: scale(.85); opacity: 1; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* ---------- v4.3 — پاپ‌آپ ربات (دکمه شروع / آیکون شناور) ---------- */
.tk-modal-bk {
  position: fixed; inset: 0; z-index: 120; background: rgba(9, 44, 52, .48);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.tk-modal-bk.open { opacity: 1; visibility: visible; }
.tk-modal {
  background: #fff; border-radius: 22px; padding: 32px 26px 26px; max-width: 440px;
  width: 100%; text-align: center; position: relative;
  box-shadow: 0 30px 80px rgba(9, 44, 52, .30);
  transform: translateY(16px) scale(.96); transition: transform .22s;
}
.tk-modal-bk.open .tk-modal { transform: none; }
.tk-modal-x {
  position: absolute; top: 13px; left: 13px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--card-2); color: var(--dim); font-size: 19px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.tk-modal-x:hover { background: #fdeceb; color: #d33; }
.tk-bot-head {
  width: 78px; height: 78px; border-radius: 24px; margin: 0 auto 14px;
  background: linear-gradient(135deg, #e8f6f8, #f5fbfc); border: 1px solid #d8eef2;
  color: var(--primary); font-size: 38px; display: flex; align-items: center; justify-content: center;
}
.tk-modal h3 { font-size: 19px; color: #12333c; margin-bottom: 6px; }
.tk-modal > p { font-size: 13.5px; color: var(--dim); }
.tk-bot-id {
  display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap;
  background: var(--bg-2); border: 1.5px dashed var(--border-2); border-radius: 13px;
  padding: 10px 14px; margin: 16px 0 4px;
}
.tk-bot-id .lbl { font-size: 13px; color: var(--dim); }
.tk-bot-id code { font-size: 15.5px; font-weight: 700; color: var(--primary-deep); direction: ltr; }
.tk-bot-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.tk-bot-acts .tk-btn { min-width: 160px; }

/* ---------- Pay page ---------- */
.pay-wrap { max-width: 460px; margin: 46px auto; padding: 0 16px; }
.pay-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.pay-amount { font-size: 34px; font-weight: 800; text-align: center; margin: 12px 0; color: #0b5560; }
.pay-rows { margin: 16px 0; border-top: 1px dashed var(--border); }
.pay-rows .row { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.pay-rows .row .k { color: var(--dim); }
.pay-note { background: #fff8ef; border: 1px solid rgba(240, 160, 60, .35); color: #9a5b13; border-radius: 12px; padding: 12px 14px; font-size: 13px; margin: 14px 0; }
.pay-status-icon { font-size: 54px; text-align: center; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.muted { color: var(--dim); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; }
.chip { display: inline-block; background: var(--card-2); border: 1px solid var(--border); border-radius: 20px; padding: 3px 12px; font-size: 12.5px; color: var(--dim); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #eef7f8; }
::-webkit-scrollbar-thumb { background: #b9dfe5; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: #9bd0d8; }

/* v4: محتوای غنی پاسخ FAQ (عکس/دکمه لینک‌دار) */
.tk-faq-item .a.faq-rich { white-space: normal; line-height: 1.9; }
.faq-rich img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; }
.faq-rich a {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 9px 18px; border-radius: 10px; text-decoration: none;
  font-size: 13.5px; font-weight: 600; margin: 6px 0;
}
.faq-rich a:hover { opacity: .88; }
.faq-rich ul, .faq-rich ol { padding-right: 20px; margin: 8px 0; }
.faq-rich li { margin-bottom: 4px; }
.faq-rich code { background: rgba(8, 127, 140, .08); padding: 2px 6px; border-radius: 6px; font-size: 12.5px; direction: ltr; display: inline-block; }
