/* ================================================
   navbar.css — نوار بالای جدید TAKRAN
================================================ */

.tk-navbar {
  position: fixed;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 9999;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ---------- لوگو ---------- */
.tk-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.tk-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

/* ---------- تب‌ها ---------- */
.tk-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tk-nav::-webkit-scrollbar {
  display: none;
}

.tk-link {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px; /* حالت قرصی/پیل */
  background: transparent;
  color: #a2a2ab;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}
.tk-link:hover {
  background: rgba(255, 255, 255, 0.12); /* پیل طوسی مثل ویدیو */
  color: #ffffff;
}
.tk-link.tk-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.tk-link:focus-visible {
  outline: 2px solid #4d7cff;
  outline-offset: 2px;
}

/* ---------- دکمه ثبت نام ---------- */
.tk-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.tk-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}
.tk-cta:active {
  transform: translateY(0);
}

/* ---------- موبایل ---------- */
@media (max-width: 720px) {
  .tk-navbar {
    padding: 8px 12px;
    gap: 10px;
  }
  .tk-link {
    padding: 8px 14px;
    font-size: 13px;
  }
  .tk-cta {
    padding: 9px 16px;
    font-size: 13px;
  }
}
/* ============ TECHNOLOGY — Bento + Glass ============ */
.technology {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

/* ---- Blobs ---- */
.tech-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.tech-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  will-change: transform;
}
.blob-blue {
  width: 560px;
  height: 560px;
  background: #1d4ed8;
  top: -160px;
  right: -140px;
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.blob-violet {
  width: 480px;
  height: 480px;
  background: #6d28d9;
  bottom: -160px;
  left: -120px;
  animation: blob-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-50px, 40px) scale(1.12);
  }
}

/* ---- ذرات ---- */
.technology .section-head {
  position: relative;
  z-index: 1;
}
.particles {
  position: absolute;
  inset: -40px 0 0 0;
  pointer-events: none;
  overflow: hidden;
}
.particles i {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(126, 179, 249, 0.55);
  box-shadow: 0 0 8px rgba(126, 179, 249, 0.55);
  opacity: 0;
  animation: particle-rise 11s linear infinite;
}
.particles i:nth-child(1) {
  right: 8%;
}
.particles i:nth-child(2) {
  right: 22%;
  animation-delay: 2.2s;
  width: 3px;
  height: 3px;
}
.particles i:nth-child(3) {
  right: 38%;
  animation-delay: 4.5s;
}
.particles i:nth-child(4) {
  right: 55%;
  animation-delay: 1.4s;
  width: 5px;
  height: 5px;
}
.particles i:nth-child(5) {
  right: 72%;
  animation-delay: 6s;
  width: 3px;
  height: 3px;
}
.particles i:nth-child(6) {
  right: 88%;
  animation-delay: 3.4s;
}
@keyframes particle-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-260px);
    opacity: 0;
  }
}

/* ---- Bento Grid ---- */
.tech-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.card-fe {
  grid-column: span 7;
}
.card-be {
  grid-column: span 5;
}
.card-db {
  grid-column: span 5;
}
.card-cl {
  grid-column: span 7;
}

/* ---- کارت شیشه‌ای: ستون منظم ---- */
.tech-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* RTL = راست */
  min-height: 260px;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s,
    box-shadow 0.5s;
  --glow: rgba(59, 130, 246, 0.18);
  --neon: rgba(59, 130, 246, 0.35);
}
.card-fe {
  --glow: rgba(59, 130, 246, 0.18);
  --neon: rgba(59, 130, 246, 0.35);
}
.card-be {
  --glow: rgba(139, 92, 246, 0.18);
  --neon: rgba(139, 92, 246, 0.35);
}
.card-db {
  --glow: rgba(34, 211, 238, 0.16);
  --neon: rgba(34, 211, 238, 0.3);
}
.card-cl {
  --glow: rgba(99, 102, 241, 0.18);
  --neon: rgba(99, 102, 241, 0.35);
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(
    460px 240px at 85% 0%,
    var(--glow),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    0 24px 70px -28px var(--neon),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.tech-card:hover::before {
  opacity: 1;
}

/* ---- آیکون: ثابت گوشه بالا-چپ ---- */
.tech-icon {
  width: 64px;
  height: 64px;
  align-self: flex-end;
  margin-bottom: auto;
  filter: drop-shadow(0 12px 26px var(--neon));
  transition: transform 0.5s;
}
.tech-icon svg {
  width: 100%;
  height: 100%;
  animation: icon-float 6s ease-in-out infinite;
}
.tech-card:hover .tech-icon {
  transform: translateY(-6px) scale(1.06);
}
@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ---- تایپوگرافی: چسبیده به راست ---- */
.tech-card h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}
.tech-card p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 2;
  max-width: 42ch;
  margin: 0 0 18px;
}

/* ---- تگ‌ها (پر کردن فضای خالی) ---- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #9ca3af;
  font-size: 11px;
  white-space: nowrap;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.tech-card:hover .tech-tags span {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.18);
}

/* ---- عدد دکوراتیو: این‌بار دیده می‌شود ---- */
.tech-num {
  position: absolute;
  left: 18px;
  bottom: -16px;
  z-index: -1;
  font-size: clamp(90px, 9vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(126, 179, 249, 0.22);
  background: linear-gradient(
    180deg,
    rgba(126, 179, 249, 0.12),
    rgba(126, 179, 249, 0)
  );
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s;
}
.tech-card:hover .tech-num {
  transform: translateY(-6px) scale(1.03);
}

/* ---- خط نوری ---- */
.tech-line {
  position: absolute;
  right: 30px;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--neon), transparent);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tech-card:hover .tech-line {
  width: 56px;
}

/* ---- ریسپانسیو ---- */
@media (max-width: 1024px) {
  .card-fe,
  .card-be,
  .card-db,
  .card-cl {
    grid-column: span 6;
  }
}
@media (max-width: 680px) {
  .technology {
    padding: 80px 0;
  }
  .card-fe,
  .card-be,
  .card-db,
  .card-cl {
    grid-column: span 12;
  }
  .tech-card {
    min-height: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tech-blobs .blob,
  .particles i,
  .tech-icon svg {
    animation: none;
  }
}
.p-stage {
  --slice-img: url("../img/mian.png");
}
.principles {
  position: relative;
  height: 340vh;
  background: #050811;
}
.principles-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5vh;
  padding: 90px 20px 40px;
}
.principles-head {
  text-align: center;
}
.principles-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.25;
}
.principles-head h2 span {
  color: #7eb3f9;
}
.principles-sub {
  color: #8b93a1;
  font-size: 12px;
  letter-spacing: 4px;
}

.p-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap, 0px);
  width: min(1080px, 94vw);
  height: min(540px, 58vh);
  perspective: 1400px;
}
.p-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.p-face {
  position: absolute;
  inset: 0;
  border-radius: var(--br, 0px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
/* جلوی کارت — سه برش از یک عکس */
.p-front {
  background-color: #0b1220;
  background-image:
    var(--slice-img, none),
    radial-gradient(
      420px 240px at 78% 22%,
      rgba(47, 123, 246, 0.4),
      transparent 60%
    ),
    radial-gradient(
      380px 220px at 22% 72%,
      rgba(124, 58, 237, 0.35),
      transparent 60%
    ),
    radial-gradient(
      300px 200px at 50% 45%,
      rgba(34, 211, 238, 0.16),
      transparent 60%
    ),
    linear-gradient(120deg, #0e1730 0%, #0a0f1d 55%, #101b3a 100%);
  background-size: 300% 100%;
  background-position: var(--bp, 50% 50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.slice-r {
  --bp: 100% 50%;
} /* برش راست */
.slice-c {
  --bp: 50% 50%;
} /* برش وسط */
.slice-l {
  --bp: 0% 50%;
} /* برش چپ */

/* پشت کارت — توضیحات */
.p-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}
.back-light {
  background: #e9e9ec;
  color: #12141a;
}
.back-blue {
  background: linear-gradient(165deg, #3b82f6, #1d4ed8);
  color: #fff;
}
.back-dark {
  background: #10141d;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
.p-num {
  font-size: 15px;
  letter-spacing: 1px;
}
.p-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.p-line {
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin: 16px 0 auto;
}
.p-back h3 {
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 800;
  margin: 22px 0 10px;
}
.p-back p {
  font-size: 12.5px;
  line-height: 2;
  opacity: 0.85;
  margin: 0;
}

/* واترمارک روی عکس یکپارچه */
.p-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  opacity: var(--overlay, 1);
  pointer-events: none;
}
.p-overlay span {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 8px;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 760px) {
  .p-stage {
    height: 62vh;
  }
  .p-back p {
    display: none;
  }
  .p-back h3 {
    font-size: 14px;
  }
}
/* ============ باکس شیشه‌ای دایره‌ای (جای خالی پشت کارت) ============ */
/* خط قبلی رو خنثی می‌کنه تا فضای خالی به .p-media برسه */
.p-glass {
  width: clamp(120px, 14vw, 242px); /* مستطیل افقی */
  aspect-ratio: 11 / 10; /* نسبت مستطیل — هر عددی خواستی عوض کن */
  border-radius: 22px; /* گوشه‌های گرد */
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.28);
}
.p-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* آیکون/لوگو: contain + width:60% */
  border-radius: 14px; /* کمی کمتر از بیرون */
  display: block;
}

@media (max-width: 760px) {
  .p-glass {
    width: 110px;
    padding: 7px;
    border-radius: 16px;
  }
  .p-glass img {
    border-radius: 10px;
  }
}
/* ============ PLATFORM — دو ستونه تعاملی (مثل ویدیو) ============ */
.tk-platform {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.tk-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px 320px at 85% 20%,
      rgba(47, 123, 246, 0.1),
      transparent 60%
    ),
    radial-gradient(
      520px 300px at 12% 80%,
      rgba(124, 58, 237, 0.1),
      transparent 60%
    );
}
.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

/* ---- ستون متنی ---- */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 179, 249, 0.35);
  background: rgba(126, 179, 249, 0.08);
  color: #7eb3f9;
  font-size: 11px;
  letter-spacing: 2px;
}
.platform-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7eb3f9;
  animation: pk-pulse 2s infinite;
}
@keyframes pk-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(126, 179, 249, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(126, 179, 249, 0);
  }
}
.platform-copy h2 {
  margin: 18px 0 8px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.35;
}
.platform-sub {
  color: #7eb3f9;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  margin: 0 0 14px;
}
.platform-desc {
  color: #9aa3b2;
  font-size: 15px;
  line-height: 2.1;
  margin: 0 0 26px;
  max-width: 56ch;
}
.platform-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.platform-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.platform-checks .ck {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  margin-top: 3px;
}
.platform-checks .ck svg {
  width: 11px;
  height: 11px;
}
.platform-checks b {
  display: block;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 700;
}
.platform-checks small {
  display: block;
  color: #8b93a1;
  font-size: 12.5px;
  margin-top: 3px;
  line-height: 1.8;
}

/* ---- پنل شیشه‌ای ---- */
.platform-panel {
  --dur: 4600ms;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.panel-eyebrow {
  margin: 0 0 6px;
  color: #7eb3f9;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
}
.panel-head h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b93a1;
  font-size: 11px;
}
.panel-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: pk-pulse 2s infinite;
}

/* ---- کاشی‌ها ---- */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.panel-tile {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 118px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font: inherit;
  text-align: start;
  transition:
    border-color 0.35s,
    background 0.35s,
    box-shadow 0.35s,
    transform 0.35s;
}
.panel-tile:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.panel-tile:focus-visible {
  outline: 2px solid #7eb3f9;
  outline-offset: 2px;
}
.tile-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.tile-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #7eb3f9;
}
.tile-ico svg {
  width: 18px;
  height: 18px;
}
.tile-meta {
  color: #5b6472;
  font-size: 10px;
  letter-spacing: 1px;
}
.tile-label {
  margin-top: 14px;
  color: #8b93a1;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.35s;
}
.panel-tile.is-active {
  border-color: rgba(126, 179, 249, 0.55);
  background: linear-gradient(
    160deg,
    rgba(47, 123, 246, 0.16),
    rgba(124, 58, 237, 0.1)
  );
  box-shadow:
    0 10px 40px -12px rgba(47, 123, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.panel-tile.is-active .tile-label {
  color: #fff;
}
.panel-tile.is-active .tile-ico {
  color: #a5c8ff;
  border-color: rgba(126, 179, 249, 0.5);
  background: rgba(47, 123, 246, 0.18);
}

/* ---- توضیحات ---- */
.panel-desc {
  position: relative;
  min-height: 176px;
  margin-top: 16px;
}
.pdesc {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}
.pdesc.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.pdesc h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.pdesc p {
  margin: 0 0 12px;
  color: #9aa3b2;
  font-size: 12.5px;
  line-height: 2;
}
.pdesc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pdesc-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #8b93a1;
  font-size: 10px;
  white-space: nowrap;
}

/* ---- نوار پیشرفت ---- */
.panel-bars {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.panel-bars i {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.panel-bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  transform: scaleX(0);
  transform-origin: right center;
}
.panel-bars i.is-active::after {
  animation: pk-bar var(--dur) linear forwards;
}
@keyframes pk-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---- ریسپانسیو / حرکت کاهش‌یافته ---- */
@media (max-width: 980px) {
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .tk-platform {
    padding: 80px 0;
  }
  .panel-desc {
    min-height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .platform-badge i,
  .panel-live i {
    animation: none;
  }
  .panel-bars i.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
  .pdesc,
  .panel-tile {
    transition: none;
  }
}
/* ---- Spotlight هاور روی کاشی‌ها ---- */
.panel-tile {
  isolation: isolate;
  overflow: hidden; /* بدون این، دایره از گوشه‌ها بیرون می‌زند */
  --mx: 50%; /* موقعیت افقی موس */
  --my: 50%; /* موقعیت عمودی موس */
  --spot: 0; /* شدت نور: 0 خاموش | 1 روشن */
}

/* 1) هاله‌ی نور زیر موس */
.panel-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    170px 170px at var(--mx) var(--my),
    rgba(126, 179, 249, 0.24),
    rgba(124, 58, 237, 0.12) 45%,
    transparent 72%
  );
  opacity: var(--spot);
  transition: opacity 0.35s ease;
}

/* 2) لبه‌ی نورانی که با موس می‌چرخد (Border-beam) */
.panel-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: radial-gradient(
    130px 130px at var(--mx) var(--my),
    rgba(165, 200, 255, 0.75),
    transparent 65%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: var(--spot);
  transition: opacity 0.35s ease;
}

/* 3) محتوا باید بالای نور بماند */
.panel-tile > .tile-top,
.panel-tile > .tile-label {
  position: relative;
  z-index: 1;
}

/* 4) روشن‌شدن */
.panel-tile:hover,
.panel-tile:focus-visible {
  --spot: 1;
}

.panel-tile:hover {
  border-color: rgba(126, 179, 249, 0.35);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px -20px rgba(47, 123, 246, 0.55);
}
.panel-tile:hover .tile-label {
  color: #fff;
}
.panel-tile:hover .tile-ico {
  color: #a5c8ff;
  border-color: rgba(126, 179, 249, 0.4);
  transform: scale(1.06);
}
.tile-ico {
  transition:
    transform 0.35s,
    color 0.35s,
    border-color 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .panel-tile::before,
  .panel-tile::after {
    transition: none;
  }
  .panel-tile:hover {
    transform: none;
  }
}
/* ============ TESTIMONIALS — رضایت مشتریان ============ */
.testimonials {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px 320px at 85% 20%,
      rgba(47, 123, 246, 0.09),
      transparent 60%
    ),
    radial-gradient(
      520px 300px at 12% 80%,
      rgba(124, 58, 237, 0.09),
      transparent 60%
    );
}
.testimonials .container {
  position: relative;
  z-index: 1;
}
.testi-head {
  margin-bottom: 52px;
}
.testi-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.3;
}
.testi-head h2 span {
  color: #7eb3f9;
}
.testi-sub {
  color: #8b93a1;
  font-size: 14px;
}

.testi-wrap {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.testi-viewport {
  flex: 1;
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.testi-card {
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}
.testi-card:hover {
  border-color: rgba(126, 179, 249, 0.35);
}

.testi-quote {
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
  height: 26px;
  color: rgba(225, 29, 72, 0.65);
  user-select: none;
}
.testi-text {
  flex: 1;
  margin: 10px 0 22px;
  color: #d1d5db;
  font-size: 15px;
  line-height: 2.1;
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #171a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}
.testi-foot b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.testi-foot small {
  display: block;
  color: #8b93a1;
  font-size: 12px;
  margin-top: 3px;
}

.testi-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.3s;
}
.testi-arrow:hover {
  background: rgba(47, 123, 246, 0.18);
  border-color: rgba(126, 179, 249, 0.5);
  color: #fff;
  transform: scale(1.08);
}
.testi-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .testi-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}
@media (max-width: 680px) {
  .testi-card {
    flex-basis: 100%;
  }
  .testi-arrow {
    width: 40px;
    height: 40px;
  }
  .testimonials {
    padding: 80px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track {
    transition: none;
  }
}
/* ---- دایره‌های ناوبری رضایت مشتریان ---- */
.testi-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  transition: all 0.35s ease;
}
.testi-dots button:hover {
  border-color: rgba(126, 179, 249, 0.7);
  transform: scale(1.25);
}
.testi-dots button.is-view {
  background: rgba(126, 179, 249, 0.45);
  border-color: rgba(126, 179, 249, 0.6);
}
.testi-dots button.is-active {
  width: 26px;
  border-radius: 99px;
  border-color: transparent;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  box-shadow: 0 0 12px rgba(47, 123, 246, 0.5);
}
/* ============ TESTI CARD — Hover پیشرفته ============ */
.testi-card {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* نور از گوشه‌ها بیرون نزند */
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  --mx: 50%; /* موقعیت موس */
  --my: 0%;
  --spot: 0; /* شدت نور */

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}

/* لایه ۱ — هالهٔ نور زیر موس */
.testi-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    260px 260px at var(--mx) var(--my),
    rgba(126, 179, 249, 0.2),
    rgba(124, 58, 237, 0.1) 45%,
    transparent 72%
  );
  opacity: var(--spot);
  transition: opacity 0.4s ease;
}

/* لایه ۲ — لبهٔ نورانی که با موس می‌چرخد */
.testi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: radial-gradient(
    200px 200px at var(--mx) var(--my),
    rgba(165, 200, 255, 0.7),
    transparent 65%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: var(--spot);
  transition: opacity 0.4s ease;
}

/* محتوا بالای لایه‌های نور */
.testi-quote,
.testi-text,
.testi-foot {
  position: relative;
  z-index: 1;
}

/* حالت هاور اصلی */
@media (hover: hover) {
  .testi-card:hover,
  .testi-card:focus-within {
    --spot: 1;
    transform: translateY(-8px);
    border-color: rgba(126, 179, 249, 0.38);
    box-shadow:
      0 10px 30px -12px rgba(0, 0, 0, 0.55),
      0 28px 70px -30px rgba(47, 123, 246, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

/* ---- لایه ۳: خط گرادیانی که از راست رشد می‌کند ---- */
.testi-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testi-foot::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0; /* RTL: از راست شروع می‌شود */
  height: 2px;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(270deg, #2f7bf6, #7c3aed);
  box-shadow: 0 0 12px rgba(47, 123, 246, 0.55);
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.testi-card:hover .testi-foot::after {
  width: 100%;
}

/* ---- ریزجزئیات: کوتیشن، متن، آواتار ---- */
.testi-quote {
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
  height: 26px;
  color: rgba(225, 29, 72, 0.65);
  user-select: none;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s ease,
    text-shadow 0.4s ease;
}
.testi-card:hover .testi-quote {
  transform: translateY(-4px) scale(1.12);
  color: rgba(244, 63, 94, 0.9);
  text-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.testi-text {
  flex: 1;
  margin: 10px 0 22px;
  color: #d1d5db;
  font-size: 15px;
  line-height: 2.1;
  transition: color 0.4s ease;
}
.testi-card:hover .testi-text {
  color: #eef2f7;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #171a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.testi-card:hover .testi-avatar {
  transform: scale(1.08);
  border-color: rgba(126, 179, 249, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 123, 246, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .testi-card,
  .testi-card::before,
  .testi-card::after,
  .testi-quote,
  .testi-avatar,
  .testi-foot::after {
    transition: none;
  }
  .testi-card:hover {
    transform: none;
  }
}
/* ============ CLIENTS — لوگوها ============ */
.tk-clients {
  position: relative;
  z-index: 1;
  padding: 110px 20px 0;
  text-align: center;
}
.tk-clients-title {
  margin: 0 0 52px;
  color: #8b93a1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.tk-clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 34px 72px;
}
.tk-client {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  opacity: 0.92;
  cursor: default;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}
.tk-client svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.tk-client span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  direction: ltr;
}
.tk-client:hover {
  opacity: 1;
  transform: translateY(-3px);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}
.tk-horizon {
  --hz: rgba(255, 158, 44, 0.9);
  position: relative;
  z-index: 0;
  height: 50rem;
  margin: -18.8rem auto;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse at center center,
    #000 0%,
    transparent 50%
  );
  mask-image: radial-gradient(
    ellipse at center center,
    #000 0%,
    transparent 50%
  );
}
.tk-horizon::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(52% 40% at 50% 52%, var(--hz), transparent 70%),
    radial-gradient(circle at bottom center, var(--hz), transparent 70%);
}
.tk-horizon::after {
  content: "";
  position: absolute;
  left: -50%;
  top: 50%;
  width: 200%;
  aspect-ratio: 1/0.7;
  border-radius: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: #050811; /* هم رنگ بک‌گراند خودت */
}

@media (max-width: 680px) {
  .tk-clients-logos {
    gap: 26px 40px;
  }
  .tk-client span {
    font-size: 16px;
  }
  .tk-client svg {
    width: 24px;
    height: 24px;
  }
}
/* ================================================
   portfolio.css — نمونه کارها + آمار شناور
================================================ */
.tk-portfolio {
  position: relative;
  padding: 110px 0 40px;
  overflow: hidden;
}
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.portfolio-eyebrow {
  margin: 0 0 8px;
  color: #8b93a1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.portfolio-head h2 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.4;
}
.portfolio-all {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.3s;
}
.portfolio-all:hover {
  background: rgba(47, 123, 246, 0.18);
  border-color: rgba(126, 179, 249, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- کارت‌ها ---- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 179, 249, 0.38);
  box-shadow:
    0 10px 30px -12px rgba(0, 0, 0, 0.55),
    0 28px 70px -30px rgba(47, 123, 246, 0.5);
}
.work-card:focus-visible {
  outline: 2px solid #7eb3f9;
  outline-offset: 3px;
}

/* ---- مدیا + جای عکس (تا عکس نذاری، placeholder تمیز می‌مونه) ---- */
.work-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      420px 240px at 80% 15%,
      rgba(47, 123, 246, 0.22),
      transparent 60%
    ),
    radial-gradient(
      360px 220px at 15% 80%,
      rgba(124, 58, 237, 0.2),
      transparent 60%
    ),
    linear-gradient(120deg, #0e1730, #0a0f1d 55%, #101b3a);
}
.work-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #5b6472;
  font-size: 11px;
  letter-spacing: 2px;
}
.work-placeholder svg {
  width: 44px;
  height: 44px;
  opacity: 0.7;
}
.work-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.work-card:hover .work-img.is-loaded {
  transform: scale(1.06);
}
.work-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 600;
}

/* ---- بدنه کارت ---- */
.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.work-body h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.work-body p {
  margin: 0 0 18px;
  color: #9aa3b2;
  font-size: 12.5px;
  line-height: 2;
}
.work-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7eb3f9;
  font-size: 12.5px;
  font-weight: 700;
  transition:
    gap 0.3s,
    color 0.3s;
}
.work-card:hover .work-more {
  gap: 10px;
  color: #a5c8ff;
}

/* ---- آمار: بدون بک‌گراند، اعداد شناور ---- */
.tk-stats {
  padding: 50px 0 100px;
  background: transparent;
}
.stats-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 10px 40px rgba(47, 123, 246, 0.35);
  animation: stat-float 5.5s ease-in-out infinite;
}
.stat:nth-child(2) .stat-num {
  animation-delay: 1.1s;
}
.stat:nth-child(3) .stat-num {
  animation-delay: 2.2s;
}
.stat:nth-child(4) .stat-num {
  animation-delay: 3.3s;
}
@keyframes stat-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.stat-label {
  display: block;
  margin-top: 8px;
  color: #8b93a1;
  font-size: 13px;
  font-weight: 600;
}

/* ---- ریسپانسیو / حرکت کاهش‌یافته ---- */
@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 12px;
  }
  .tk-portfolio {
    padding: 80px 0 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stat-num {
    animation: none;
  }
  .work-card,
  .work-img {
    transition: none;
  }
}
.stat {
  cursor: default;
}
.stat-num {
  display: inline-block;
  padding: 8px 26px;
  border-radius: 24px;
  transition:
    box-shadow 0.45s ease,
    text-shadow 0.45s ease,
    color 0.45s ease;
}
.stat:hover .stat-num {
  box-shadow:
    0 0 34px rgba(126, 179, 249, 0.45),
    0 18px 70px -14px rgba(47, 123, 246, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow:
    0 0 1px #fff,
    0 0 14px rgba(165, 200, 255, 0.9),
    0 10px 46px rgba(47, 123, 246, 0.8);
  color: #ffffff;
}
.stat-label {
  transition: color 0.45s ease;
}
.stat:hover .stat-label {
  color: #d7dde6;
}
/* ═══════════════════════════════════════════════
   PRICING — قیمت‌گذاری
═══════════════════════════════════════════════ */
.tk-pricing {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.tk-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px 320px at 15% 20%,
      rgba(124, 58, 237, 0.1),
      transparent 60%
    ),
    radial-gradient(
      520px 300px at 85% 80%,
      rgba(47, 123, 246, 0.1),
      transparent 60%
    );
}
.pricing-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.pricing-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.3;
}
.pricing-head h2 span {
  color: #7eb3f9;
}
.pricing-sub {
  color: #8b93a1;
  font-size: 15px;
  max-width: 60ch;
  margin: 0 auto;
  line-height: 2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 179, 249, 0.35);
  box-shadow: 0 20px 60px -20px rgba(47, 123, 246, 0.35);
}
.price-card.price-popular {
  border-color: rgba(126, 179, 249, 0.45);
  background: linear-gradient(
    160deg,
    rgba(47, 123, 246, 0.12),
    rgba(124, 58, 237, 0.08)
  );
  box-shadow: 0 30px 80px -30px rgba(47, 123, 246, 0.5);
  transform: scale(1.03);
}
.price-card.price-popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.price-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  align-self: flex-start;
  margin-bottom: 18px;
}
.price-badge.price-badge-hot {
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  color: #fff;
  box-shadow: 0 6px 20px -4px rgba(47, 123, 246, 0.5);
}

.price-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.price-from {
  color: #8b93a1;
  font-size: 13px;
}
.price-amount strong {
  color: #fff;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.price-unit {
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 600;
}
.price-desc {
  color: #9aa3b2;
  font-size: 13px;
  line-height: 2;
  margin-bottom: 22px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d1d5db;
  font-size: 13.5px;
  line-height: 1.8;
}
.pf-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  display: grid;
  place-items: center;
  font-size: 10px;
  margin-top: 3px;
}

.price-cta {
  display: block;
  text-align: center;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.2s;
}
.price-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(126, 179, 249, 0.45);
  transform: translateY(-1px);
}
.price-cta.price-cta-hot {
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  border-color: transparent;
  box-shadow: 0 10px 30px -8px rgba(47, 123, 246, 0.5);
}
.price-cta.price-cta-hot:hover {
  box-shadow: 0 14px 36px -8px rgba(47, 123, 246, 0.7);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: #8b93a1;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pricing-note svg {
  width: 18px;
  height: 18px;
  color: #7eb3f9;
}
.pricing-note a {
  color: #7eb3f9;
  text-decoration: none;
  border-bottom: 1px dashed rgba(126, 179, 249, 0.4);
}
.pricing-note a:hover {
  color: #a5c8ff;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .price-card.price-popular {
    transform: none;
  }
  .price-card.price-popular:hover {
    transform: translateY(-8px);
  }
}

/* ═══════════════════════════════════════════════
   PROCESS — فرآیند کار
═══════════════════════════════════════════════ */
.tk-process {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(47, 123, 246, 0.03),
    transparent
  );
}
.process-head {
  text-align: center;
  margin-bottom: 70px;
}
.process-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.3;
}
.process-head h2 span {
  color: #7eb3f9;
}
.process-sub {
  color: #8b93a1;
  font-size: 15px;
}

.process-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.process-timeline::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(126, 179, 249, 0.5),
    rgba(124, 58, 237, 0.5),
    rgba(126, 179, 249, 0.2)
  );
  border-radius: 2px;
}

.process-step {
  position: relative;
  padding-right: 86px;
  padding-bottom: 40px;
}
.process-step:last-child {
  padding-bottom: 0;
}

.step-num {
  position: absolute;
  right: 0;
  top: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.2),
    rgba(124, 58, 237, 0.2)
  );
  border: 1px solid rgba(126, 179, 249, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow:
    0 8px 24px -6px rgba(47, 123, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.process-step:hover .step-num {
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  transform: scale(1.08);
  transition:
    transform 0.4s,
    background 0.4s;
}

.step-content h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 10px;
}
.step-content p {
  color: #9aa3b2;
  font-size: 14px;
  line-height: 2;
  margin: 0 0 10px;
  max-width: 56ch;
}
.step-meta {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #7eb3f9;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .process-timeline::before {
    right: 18px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
  .process-step {
    padding-right: 64px;
    padding-bottom: 30px;
  }
  .step-content h3 {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════
   FAQ — سوالات متداول
═══════════════════════════════════════════════ */
.tk-faq {
  position: relative;
  padding: 110px 0;
}
.faq-head {
  text-align: center;
  margin-bottom: 60px;
}
.faq-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.3;
}
.faq-head h2 span {
  color: #7eb3f9;
}
.faq-sub {
  color: #8b93a1;
  font-size: 15px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.faq-item:hover {
  border-color: rgba(126, 179, 249, 0.3);
}
.faq-item[open] {
  border-color: rgba(126, 179, 249, 0.45);
  box-shadow: 0 12px 30px -12px rgba(47, 123, 246, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:focus-visible {
  outline: 2px solid #7eb3f9;
  outline-offset: -2px;
  border-radius: 14px;
}

.faq-q {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #7eb3f9;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  transition:
    transform 0.3s,
    background 0.3s,
    color 0.3s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  color: #fff;
  border-color: transparent;
}

.faq-a {
  padding: 0 24px 22px;
  color: #9aa3b2;
  font-size: 13.5px;
  line-height: 2.2;
  animation: faq-fade 0.4s ease;
}
.faq-a strong {
  color: #e5e7eb;
}
@keyframes faq-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-q {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════
   BLOG — بلاگ
═══════════════════════════════════════════════ */
.tk-blog {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.tk-blog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    600px 320px at 85% 20%,
    rgba(47, 123, 246, 0.08),
    transparent 60%
  );
}
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.blog-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.4;
}
.blog-head h2 span {
  color: #7eb3f9;
}
.blog-sub {
  color: #8b93a1;
  font-size: 14px;
  max-width: 48ch;
}
.blog-all {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.blog-all:hover {
  background: rgba(47, 123, 246, 0.18);
  border-color: rgba(126, 179, 249, 0.5);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.blog-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.5s;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 179, 249, 0.38);
  box-shadow: 0 20px 60px -20px rgba(47, 123, 246, 0.45);
}

.blog-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  background: linear-gradient(120deg, #0e1730, #0a0f1d);
}
.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-media img {
  transform: scale(1.06);
}
.blog-cat {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #7eb3f9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b93a1;
  font-size: 12px;
  margin-bottom: 12px;
}
.blog-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}
.blog-body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.blog-body h3 a:hover {
  color: #7eb3f9;
}
.blog-body > p {
  color: #9aa3b2;
  font-size: 13px;
  line-height: 2;
  margin: 0 0 16px;
  flex: 1;
}
.blog-more {
  color: #7eb3f9;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition:
    gap 0.3s,
    color 0.3s;
}
.blog-more:hover {
  gap: 10px;
  color: #a5c8ff;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   ABOUT — درباره ما
═══════════════════════════════════════════════ */
.tk-about {
  position: relative;
  padding: 110px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-copy h2 {
  margin: 14px 0 16px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.35;
}
.about-copy h2 span {
  color: #7eb3f9;
}
.about-desc {
  color: #9aa3b2;
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 16px;
}
.about-desc strong {
  color: #e5e7eb;
}
.about-desc em {
  color: #7eb3f9;
  font-style: normal;
  font-weight: 700;
}

.about-facts {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-facts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s;
}
.about-facts li:hover {
  border-color: rgba(126, 179, 249, 0.3);
}
.about-facts svg {
  width: 22px;
  height: 22px;
  color: #7eb3f9;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-facts b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}
.about-facts small {
  color: #8b93a1;
  font-size: 12px;
}

.about-visual {
  position: relative;
}
.about-glass {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    160deg,
    rgba(47, 123, 246, 0.12),
    rgba(124, 58, 237, 0.08)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(47, 123, 246, 0.4);
}
.about-stat-big {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.about-stat-big:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 179, 249, 0.4);
}
.stat-big-num {
  display: block;
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(47, 123, 246, 0.35);
}
.stat-big-label {
  display: block;
  margin-top: 8px;
  color: #8b93a1;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════════
   CONTACT — فرم واقعی
═══════════════════════════════════════════════ */
.tk-contact {
  position: relative;
  padding: 110px 0 80px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 17, 0.6));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-info h2 {
  margin: 14px 0 14px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.35;
}
.contact-info h2 span {
  color: #7eb3f9;
}
.contact-desc {
  color: #9aa3b2;
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s,
    transform 0.3s,
    background 0.3s;
}
.contact-method:hover {
  border-color: rgba(126, 179, 249, 0.4);
  transform: translateX(-4px);
  background: rgba(47, 123, 246, 0.08);
}
.contact-method-address {
  cursor: default;
}
.contact-method-address:hover {
  transform: none;
}

.cm-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.2),
    rgba(124, 58, 237, 0.15)
  );
  border: 1px solid rgba(126, 179, 249, 0.3);
  display: grid;
  place-items: center;
  color: #7eb3f9;
}
.cm-icon svg {
  width: 20px;
  height: 20px;
}
.contact-method b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-method small {
  color: #8b93a1;
  font-size: 12.5px;
  display: block;
}

/* ---- فرم ---- */
.contact-form {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}
.contact-form h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}
.form-hint {
  color: #8b93a1;
  font-size: 12.5px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.form-field label span {
  color: #f43f5e;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #7eb3f9;
  background: rgba(47, 123, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(126, 179, 249, 0.2);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5b6472;
}
.form-field select option {
  background: #0a0f1d;
  color: #fff;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* Chips (نوع خدمات) */
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #9aa3b2;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}
.chip input {
  display: none;
}
.chip:hover {
  border-color: rgba(126, 179, 249, 0.35);
  color: #fff;
}
.chip:has(input:checked) {
  background: linear-gradient(
    90deg,
    rgba(47, 123, 246, 0.25),
    rgba(124, 58, 237, 0.2)
  );
  border-color: rgba(126, 179, 249, 0.6);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(47, 123, 246, 0.4);
}

.form-submit {
  width: 100%;
  padding: 15px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.3s;
  box-shadow: 0 10px 30px -8px rgba(47, 123, 246, 0.5);
  margin-top: 8px;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(47, 123, 246, 0.7);
}
.form-submit:active {
  transform: translateY(0);
}
.form-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.form-submit:hover svg {
  transform: translateX(4px);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #5b6472;
  font-size: 11.5px;
}
.form-footer svg {
  width: 14px;
  height: 14px;
  color: #22d3ee;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.tk-footer {
  padding: 70px 0 0;
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand img {
  height: 27px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-brand > p {
  color: #8b93a1;
  font-size: 13px;
  line-height: 2;
  margin: 0 0 20px;
  max-width: 34ch;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #9aa3b2;
  display: grid;
  place-items: center;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.footer-social a:hover {
  color: #fff;
  border-color: rgba(126, 179, 249, 0.5);
  background: rgba(47, 123, 246, 0.18);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: #8b93a1;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: #7eb3f9;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  color: #5b6472;
  font-size: 12px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════
   SKIP LINK (دسترس‌پذیری)
═══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  right: 14px;
  z-index: 99999;
  padding: 10px 18px;
  background: #2f7bf6;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 14px;
}
/* ═══════════ جایگزین کامل بخش PRINCIPLES در style.css
   (از «.principles {» تا انتهای مدیاکوئری «.p-glass» — کامنت‌های نیمه‌باز قبلی عامل خرابی بودند) ═══════════ */

.principles {
  position: relative;
  height: 340vh;
  background: #050811;
}
.principles-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5vh;
  padding: 90px 20px 40px;
  overflow: hidden;
}
.principles-head {
  text-align: center;
}
.principles-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.25;
}
.principles-head h2 span {
  color: #7eb3f9;
}
.principles-sub {
  color: #8b93a1;
  font-size: 12px;
  letter-spacing: 4px;
}

/* ---- ورود از پایین (تیتر و استیج، مثل ویدیو — فقط وقتی JS فعال است) ---- */
.principles.will-reveal .principles-head,
.principles.will-reveal .p-stage {
  opacity: 0;
  transform: translateY(110px);
}
.principles.will-reveal.is-inview .principles-head {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.principles.will-reveal.is-inview .p-stage {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease 0.12s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

/* ---- استیج: عکس یکپارچه → سه برش ---- */
.p-stage {
  --slice-img: url("../img/mian.png");
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap, 0px);
  width: min(1080px, 94vw);
  height: min(540px, 58vh);
  perspective: 1400px;
}
.p-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.p-face {
  position: absolute;
  inset: 0;
  border-radius: var(--br, 0px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.p-front {
  background-color: #0b1220;
  background-image:
    var(--slice-img, none),
    radial-gradient(
      420px 240px at 78% 22%,
      rgba(47, 123, 246, 0.4),
      transparent 60%
    ),
    radial-gradient(
      380px 220px at 22% 72%,
      rgba(124, 58, 237, 0.35),
      transparent 60%
    ),
    radial-gradient(
      300px 200px at 50% 45%,
      rgba(34, 211, 238, 0.16),
      transparent 60%
    ),
    linear-gradient(120deg, #0e1730 0%, #0a0f1d 55%, #101b3a 100%);
  background-size:
    300% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position: var(--bp, 50% 50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.slice-r {
  --bp: 100% 50%;
} /* برش راست */
.slice-c {
  --bp: 50% 50%;
} /* برش وسط */
.slice-l {
  --bp: 0% 50%;
} /* برش چپ */

/* ---- پشت کارت ---- */
.p-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}
.back-light {
  background: #e9e9ec;
  color: #12141a;
}
.back-blue {
  background: linear-gradient(165deg, #3b82f6, #1d4ed8);
  color: #fff;
}
.back-dark {
  background: #10141d;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
.p-num {
  font-size: 15px;
  letter-spacing: 1px;
}
.p-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.p-line {
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin: 16px 0 auto;
}
.p-media {
  display: grid;
  place-items: center;
  margin: 14px 0 auto;
}
.p-back h3 {
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 800;
  margin: 18px 0 10px;
}
.p-back p {
  font-size: 12.5px;
  line-height: 2;
  opacity: 0.85;
  margin: 0;
}

/* ---- باکس شیشه‌ای ---- */
.p-glass {
  width: clamp(120px, 14vw, 242px);
  aspect-ratio: 11 / 10;
  border-radius: 22px;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.28);
}
.p-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 760px) {
  .p-stage {
    height: 62vh;
  }
  .p-back p {
    display: none;
  }
  .p-back h3 {
    font-size: 14px;
  }
  .p-glass {
    width: 110px;
    padding: 7px;
    border-radius: 16px;
  }
  .p-glass img {
    border-radius: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .principles.will-reveal .principles-head,
  .principles.will-reveal .p-stage {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ============ ARCHITECTURE — نسخه اصلاح‌شده ============ */
.arch-head {
  text-align: center;
  margin-bottom: 46px;
}
.arch-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.3;
}
.arch-head h2 span {
  color: #7eb3f9;
}
.arch-sub {
  color: #8b93a1;
  font-size: 15px;
  margin: 0;
}

.architecture-box {
  position: relative;
  height: clamp(420px, 60vh, 560px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      560px 320px at 50% 50%,
      rgba(47, 123, 246, 0.09),
      transparent 70%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.01)
    );
  overflow: hidden;
}

.arch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.arch-lines line {
  stroke: rgba(126, 179, 249, 0.6);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  animation: arch-glow 3s ease-in-out infinite;
}
.arch-lines line:nth-child(2) {
  animation-delay: 0.7s;
}
.arch-lines line:nth-child(3) {
  animation-delay: 1.4s;
}
.arch-lines line:nth-child(4) {
  animation-delay: 2.1s;
}
@keyframes arch-glow {
  0%,
  100% {
    stroke-opacity: 0.3;
  }
  50% {
    stroke-opacity: 0.9;
  }
}

.arch-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.4;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(47, 123, 246, 0.25),
    rgba(5, 8, 17, 0.92) 70%
  );
  border: 1px solid rgba(126, 179, 249, 0.5);
  box-shadow:
    0 0 60px rgba(47, 123, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.arch-center small {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  color: #7eb3f9;
  font-weight: 700;
}
.arch-center::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(126, 179, 249, 0.4);
  animation: arch-ping 2.8s ease-out infinite;
}
@keyframes arch-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.arch-node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.arch-node:hover {
  border-color: rgba(126, 179, 249, 0.6);
  color: #fff;
  box-shadow: 0 0 24px rgba(47, 123, 246, 0.35);
}
.n1 {
  left: 24%;
  top: 26%;
}
.n2 {
  left: 76%;
  top: 26%;
}
.n3 {
  left: 24%;
  top: 76%;
}
.n4 {
  left: 76%;
  top: 74%;
}

@media (max-width: 640px) {
  .arch-node {
    padding: 9px 14px;
    font-size: 10px;
    letter-spacing: 1px;
    border-radius: 10px;
  }
  .arch-center {
    width: 110px;
    height: 110px;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arch-center::after,
  .arch-lines line {
    animation: none;
  }
}
.architecture-box > i.line {
  display: none;
}
/* ═══════════ FAQ — آکاردئون به سبک ویدیو ═══════════ */
.ac-h {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.ac-item {
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.ac-item:hover {
  background: #161a22;
}
.ac-item.is-open {
  background: #171b24;
  border-color: rgba(255, 255, 255, 0.12);
}
.ac-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  color: #f3f4f6;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}
.ac-trigger:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: -2px;
  border-radius: 14px;
}
.ac-chevron {
  flex: none;
  width: 17px;
  height: 17px;
  color: #d1d5db;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ac-item.is-open .ac-chevron {
  transform: rotate(180deg);
}
.ac-q {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}
.ac-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ac-item.is-open .ac-panel {
  grid-template-rows: 1fr;
}
.ac-inner {
  overflow: hidden;
  min-height: 0;
}
.ac-a {
  margin: 0;
  padding: 0 52px 20px 20px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 2.2;
}
.ac-a strong {
  color: #e2e8f0;
}
/* متن کلمه‌به‌کلمه با blur — مثل ویدیو */
.ac-a .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    filter 0.25s ease,
    transform 0.25s ease;
}
.ac-item.is-open .ac-a .w {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition-duration: 0.55s;
  transition-delay: var(--d, 0ms);
}
/* فاصله بین آیتم‌های FAQ */
.faq-grid {
  gap: 16px;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* ═══════════════════════════════════════════════════════════════
   ★ هاور اختصاصی سه بخش — درباره ما / تماس / بلاگ
   ═══════════════════════════════════════════════════════════════ */

/* ─────────── ۱) درباره ما — تیلت سه‌بعدی + جاروب نور + گلو نئونی ─────────── */
.about-glass {
  perspective: 1000px;
}

.about-stat-big {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.55s,
    background-color 0.35s;
  will-change: transform;
}

/* جاروب نور از راست به چپ */
.about-stat-big::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -60%;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(165, 200, 255, 0.16),
    transparent
  );
  transform: skewX(18deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.about-stat-big:hover {
  transform: translateY(-8px) rotateX(7deg) rotateY(-5deg) scale(1.04);
  border-color: rgba(47, 123, 246, 0.55);
  box-shadow:
    0 22px 45px -20px rgba(47, 123, 246, 0.5),
    inset 0 0 0 1px rgba(165, 200, 255, 0.14);
}
.about-stat-big:hover::before {
  transform: skewX(18deg) translateX(-320%);
}

.stat-big-num {
  transition:
    color 0.35s,
    text-shadow 0.35s,
    transform 0.35s;
}
.about-stat-big:hover .stat-big-num {
  color: #8ab6ff;
  text-shadow: 0 0 28px rgba(138, 182, 255, 0.75);
  transform: scale(1.07);
}
.about-stat-big:hover .stat-big-label {
  color: #cfd9e8;
}

/* ردیف‌های اطلاعات همان بخش — هم‌خانواده با سبک بالا */
.about-facts li {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s;
}
.about-facts li:hover {
  transform: translateX(-6px);
  border-color: rgba(47, 123, 246, 0.45);
}
.about-facts li svg {
  transition:
    transform 0.4s,
    color 0.3s;
}
.about-facts li:hover svg {
  transform: scale(1.15) rotate(-6deg);
  color: #8ab6ff;
}

/* ─────────── ۲) تماس — پُرشدن گرادیانی از راست + جهش فنری آیکون ─────────── */
.contact-method {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s;
}

.contact-method::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    270deg,
    rgba(47, 123, 246, 0.18),
    rgba(124, 58, 237, 0.14) 55%,
    rgba(124, 58, 237, 0)
  );
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-method:hover {
  transform: translateX(-6px);
  border-color: rgba(47, 123, 246, 0.5);
}
.contact-method:hover::before {
  transform: scaleX(1);
}

.cm-icon {
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s,
    background-color 0.3s,
    color 0.3s;
}
.contact-method:hover .cm-icon {
  transform: rotate(-10deg) scale(1.12);
  box-shadow:
    0 0 0 6px rgba(47, 123, 246, 0.12),
    0 10px 22px -8px rgba(47, 123, 246, 0.65);
}

.contact-method b,
.contact-method small {
  transition: color 0.3s;
}
.contact-method:hover b {
  color: #ffffff;
}
.contact-method:hover small {
  color: #a5c8ff;
}

/* فلشی که هنگام هاور ظاهر می‌شود (به جز ردیف آدرس) */
.contact-method:not(.contact-method-address)::after {
  content: "←";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  opacity: 0;
  color: #8ab6ff;
  font-size: 18px;
  transition:
    opacity 0.35s,
    transform 0.35s;
  pointer-events: none;
}
.contact-method:not(.contact-method-address):hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ─────────── ۳) بلاگ — زوم تصویر + لیفت کارت + خط پیشرفت گرادیانی ─────────── */
.blog-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.5s;
}

/* خط گرادیانی که بالای کارت از راست کشیده می‌شود */
.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.5);
}
.blog-card:hover::before {
  width: 100%;
}

.blog-media {
  overflow: hidden;
}
.blog-media img {
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s;
}
.blog-card:hover .blog-media img {
  transform: scale(1.09) rotate(0.6deg);
  filter: saturate(1.2) contrast(1.05);
}

.blog-cat {
  transition:
    transform 0.35s,
    background-color 0.3s,
    color 0.3s;
}
.blog-card:hover .blog-cat {
  transform: translateY(-4px);
}

.blog-body h3 a {
  transition: color 0.3s;
}
.blog-card:hover .blog-body h3 a {
  color: #a5c8ff;
}

.blog-more span {
  display: inline-block;
  transition: transform 0.35s;
}
.blog-card:hover .blog-more span {
  transform: translateX(-7px);
}

/* ─────────── دسترس‌پذیری: کاهش حرکت ─────────── */
@media (prefers-reduced-motion: reduce) {
  .about-stat-big,
  .about-stat-big::before,
  .contact-method,
  .contact-method::before,
  .contact-method::after,
  .blog-card,
  .blog-card::before,
  .blog-media img,
  .cm-icon,
  .about-facts li,
  .about-facts li svg {
    transition: none !important;
    transform: none !important;
  }
}
/* ═══════════════════════════════════════════════
FOOTER — نسخه جدید فارسی/RTL + خبرنامه + واترمارک
═══════════════════════════════════════════════ */
.tk-footer {
  position: relative;
  margin-top: 60px;
  background:
    radial-gradient(
      900px 340px at 85% 0%,
      rgba(47, 123, 246, 0.07),
      transparent 60%
    ),
    radial-gradient(
      760px 320px at 12% 100%,
      rgba(124, 58, 237, 0.07),
      transparent 60%
    ),
    #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
/* خط گرادیانی متحرک بالای فوتر */
.tk-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent,
    #2f7bf6,
    #7c3aed,
    #22d3ee,
    transparent
  );
  background-size: 220% 100%;
  animation: footer-line 7s linear infinite;
}
@keyframes footer-line {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}
.tk-footer .container {
  position: relative;
  z-index: 1;
}

/* ---- نوار خبرنامه ---- */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
}
.footer-top-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-news h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
}
.footer-news h3 span {
  color: #7eb3f9;
}
.footer-news p {
  margin: 0;
  color: #8b93a1;
  font-size: 13px;
  line-height: 1.9;
}
.footer-news-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: min(460px, 100%);
  max-width: 480px;
}
.footer-news-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.footer-news-form input::placeholder {
  color: #5b6472;
}
.footer-news-form input:focus {
  outline: none;
  border-color: #7eb3f9;
  background: rgba(47, 123, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(126, 179, 249, 0.18);
}
.footer-news-form button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px -10px rgba(47, 123, 246, 0.6);
  transition:
    transform 0.25s,
    box-shadow 0.3s,
    filter 0.3s;
}
.footer-news-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(47, 123, 246, 0.85);
  filter: saturate(1.15);
}
.footer-news-form button svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s;
}
.footer-news-form button:hover svg {
  transform: translateX(-4px);
}

/* ---- گرید اصلی ---- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr 1.3fr;
  gap: 44px 30px;
  padding: 62px 0 30px;
}
.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  transition: transform 0.4s;
}
.footer-brand:hover img {
  transform: translateY(-2px);
}
.footer-brand > p {
  color: #8b93a1;
  font-size: 13px;
  line-height: 2.1;
  margin: 0 0 22px;
  max-width: 36ch;
}
/* شبکه‌های اجتماعی — جهش فنری */
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #9aa3b2;
  display: grid;
  place-items: center;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.footer-social a:hover {
  transform: translateY(-6px) rotate(-8deg);
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(47, 123, 246, 0.7);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ---- ستون‌ها ---- */
.footer-col h4 {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: 0.5px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col:hover h4::after {
  width: 100%;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #8b93a1;
  font-size: 13px;
  text-decoration: none;
  transition:
    color 0.3s,
    transform 0.3s;
}
.footer-col ul a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2f7bf6, #7c3aed);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-col ul a:hover {
  color: #fff;
  transform: translateX(-4px);
}
.footer-col ul a:hover::after {
  width: 100%;
}
.footer-contact ul {
  gap: 14px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #8b93a1;
  font-size: 12.5px;
  line-height: 1.9;
}
.footer-contact li svg {
  width: 16px;
  height: 16px;
  color: #7eb3f9;
  flex-shrink: 0;
  margin-top: 4px;
  transition:
    transform 0.3s,
    color 0.3s;
}
.footer-contact li:hover svg {
  transform: scale(1.2) rotate(-8deg);
  color: #a5c8ff;
}
.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -0.14em;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(126, 179, 249, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: -webkit-text-stroke-color 0.5s;
}
.tk-footer:hover .footer-watermark {
  -webkit-text-stroke-color: rgba(126, 179, 249, 0.22);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #5b6472;
  font-size: 12px;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #5b6472;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom-links a:hover {
  color: #7eb3f9;
}
.to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
}
.to-top:hover {
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  border-color: transparent;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 14px 30px -10px rgba(47, 123, 246, 0.7);
}
.to-top svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-contact ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px 32px;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 46px;
  }
  .footer-top-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-news-form {
    width: 100%;
    max-width: 100%;
  }
  .footer-contact ul {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tk-footer::before {
    animation: none;
  }
  .footer-social a,
  .to-top,
  .footer-col ul a,
  .footer-news-form button,
  .footer-news-form input {
    transition: none;
  }
  .footer-social a:hover,
  .to-top:hover {
    transform: none;
  }
}
.tk-footer {
  direction: rtl;
}
.tk-footer {
  position: relative;
  direction: rtl;
  margin-top: 60px;
  padding-top: 62px;
  background:
    radial-gradient(
      900px 340px at 85% 0%,
      rgba(47, 123, 246, 0.07),
      transparent 60%
    ),
    radial-gradient(
      760px 320px at 12% 100%,
      rgba(124, 58, 237, 0.07),
      transparent 60%
    ),
    #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.tk-footer .container {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1.1fr 1.3fr;
  gap: 44px 30px;
  padding: 0 0 50px;
  border-bottom: none;
}
.footer-news h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.footer-news h3 span {
  color: #7eb3f9;
}
.footer-news p {
  margin: 0 0 18px;
  color: #8b93a1;
  font-size: 12.5px;
  line-height: 1.9;
}
.footer-news-form {
  flex-direction: column;
  max-width: 100%;
  min-width: 0;
}
.footer-news-form button {
  justify-content: center;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #5b6472;
  font-size: 12px;
}
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand,
  .footer-news {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
.footer-bottom p {
  margin: 0;
}
.tk-footer {
  display: block;
}
.tk-footer .footer-grid {
  width: 95%;
}
.tk-footer .footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: 95%;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #5b6472;
  font-size: 12px;
}
.tk-footer .footer-grid > .footer-bottom {
  grid-column: 1 / -1;
}
/* ===== آیکون‌های سوشال فوتر — دقیقاً مثل کارت uiverse ===== */
.footer-social {
  display: flex;
  align-items: center;
  column-gap: 1em;
}
.footer-social a {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: 0.4s ease-in-out;
}
.footer-social a:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  transition: 0.3s ease-in-out;
}
.footer-social a svg path {
  stroke: #808080;
  transition: 0.4s ease-in-out;
}
.footer-social a::after {
  content: "";
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  left: 0;
  background-color: white;
  box-shadow:
    0 0 10px rgba(233, 233, 233, 0.5),
    0 0 10px rgba(192, 192, 192, 0.5);
  border-radius: 50%;
  z-index: -1;
  transition: 0.3s ease-in-out;
}
.footer-social a:hover::after {
  scale: 5.5;
  transform: translateX(0.09em) translateY(0.09em);
}
.footer-social .whatsapp:hover svg {
  scale: 1.25;
}
.footer-social .telegram:hover svg {
  scale: 1.25;
}
.footer-social .instagram:hover svg {
  scale: 1.4;
}
.footer-social .whatsapp:hover svg path {
  stroke: #25d366;
}
.footer-social .telegram:hover svg path {
  stroke: #2aabee;
}
.footer-social .instagram:hover svg path {
  stroke: #cc39a4;
}

/* ستاره دنباله‌دار */
.footer-social a::before {
  content: "";
  position: absolute;
  rotate: -45deg;
  width: 5em;
  height: 1px;
  background: linear-gradient(90deg, #ffffff, transparent);
  animation: 4s footer-star ease-in-out infinite;
}
.footer-social .instagram::before {
  top: -700%;
  left: 1050%;
  animation-delay: 1s;
}
.footer-social .whatsapp::before {
  top: -1300%;
  left: 850%;
  animation-delay: 3s;
}
.footer-social .telegram::before {
  top: -2100%;
  left: 850%;
  animation-delay: 5s;
}
@keyframes footer-star {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-55em) translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateX(-70em) translateY(0);
    opacity: 0;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-social a::before {
    animation: none;
    opacity: 0;
  }
}
/* ============ CLIENTS — لوگوها + ماه ============ */
.tk-clients {
  position: relative;
  z-index: 1;
  padding: 110px 20px 0;
  text-align: center;
}
.tk-clients-moon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5e6a3, #e8c84a);
  box-shadow:
    0 0 40px rgba(245, 230, 163, 0.35),
    0 0 80px rgba(232, 200, 74, 0.15);
  margin-bottom: 16px;
  position: relative;
}
.tk-clients-moon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(200, 170, 50, 0.6);
  top: 8px;
  left: 10px;
}
.tk-clients-title {
  margin: 0 0 52px;
  color: #8b93a1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.tk-clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 34px 72px;
}
.tk-client {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  opacity: 0.92;
  cursor: default;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}
.tk-client svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.tk-client span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  direction: ltr;
}
.tk-client:hover {
  opacity: 1;
  transform: translateY(-3px);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}

/* ============ SOCIAL CARD — پایین صفحه ============ */
.tk-social-card {
  position: relative;
  z-index: 1;
  padding: 60px 20px 40px;
  display: flex;
  justify-content: center;
}
.tk-social-card .social-inner {
  position: relative;
  width: min(420px, 90vw);
  padding: 32px 28px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  text-align: center;
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.5),
    0 40px 80px -40px rgba(124, 58, 237, 0.2);
}
.tk-social-card .social-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      320px 200px at 70% 20%,
      rgba(124, 58, 237, 0.15),
      transparent 60%
    ),
    radial-gradient(
      280px 180px at 25% 75%,
      rgba(47, 123, 246, 0.12),
      transparent 60%
    );
}
.tk-social-card .social-inner > * {
  position: relative;
  z-index: 1;
}
.tk-social-card .social-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
  border: 2px solid rgba(126, 179, 249, 0.3);
  box-shadow: 0 8px 30px -8px rgba(124, 58, 237, 0.4);
}
.tk-social-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}
.tk-social-card .social-desc {
  color: #9aa3b2;
  font-size: 13px;
  line-height: 2;
  margin: 0 0 22px;
}
.tk-social-card .social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.tk-social-card .social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: #cbd5e1;
  text-decoration: none;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.tk-social-card .social-icons a:hover {
  background: rgba(47, 123, 246, 0.2);
  border-color: rgba(126, 179, 249, 0.5);
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px -6px rgba(47, 123, 246, 0.5);
}
.tk-social-card .social-icons a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 680px) {
  .tk-clients-logos {
    gap: 26px 40px;
  }
  .tk-client span {
    font-size: 16px;
  }
  .tk-client svg {
    width: 24px;
    height: 24px;
  }
}
/* ============ اسکرول‌بار رنگی — هم‌خوان با تم TAKRAN ============ */
:root {
  color-scheme: dark;
} /* باعث می‌شه اسکرول‌بار و فرم‌های بومی در iOS هم تیره/تم‌دار بشن */

html {
  scrollbar-width: thin;
  scrollbar-color: #2f7bf6 #070a12;
} /* Firefox + Chrome 121+ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #070a12;
}
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid #070a12;
  background: linear-gradient(180deg, #2f7bf6, #7c3aed 70%, #22d3ee 140%);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5b96ff, #8b5cf6);
}
::-webkit-scrollbar-corner {
  background: #070a12;
}

/* رنگ انتخاب متن هم با تم سایت */
::selection {
  background: rgba(124, 58, 237, 0.55);
  color: #fff;
}
/* ---------- لوگوی بدون عکس — هرگز خراب نمی‌شود ---------- */
.tk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tk-logo-mark {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  box-shadow:
    0 8px 20px -8px rgba(47, 123, 246, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tk-logo-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}
.tk-logo-text {
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 2.5px;
  direction: ltr;
}
.tk-logo-text i {
  font-style: normal;
  color: #7eb3f9;
}

/* نسخه کوچک‌تر برای فوتر */
.footer-brand .tk-logo {
  margin-bottom: 14px;
}
.footer-brand .tk-logo-mark {
  width: 30px;
  height: 30px;
  font-size: 14px;
  border-radius: 8px;
}
.footer-brand .tk-logo-text {
  font-size: 15px;
}
/* ═══════════ ویدجت پشتیبانی آنلاین ═══════════ */
.tk-support-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 290px;
  height: 290px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.tk-support-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: fatileh-fall 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tk-support-fab:has(input:checked) {
  z-index: 99999;
}
.tk-support-fab:has(input:checked)::before {
  display: none;
}
.tk-support-fab::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(145, 71, 255, 0.35);
  animation: widget-pulse 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes widget-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
@keyframes fatileh-fall {
  0% {
    transform: translateY(-90px) scale(0.85);
  }
  55% {
    transform: translateY(10px) scale(1.03);
  }
  72% {
    transform: translateY(-6px) scale(0.99);
  }
  86% {
    transform: translateY(3px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.tk-support-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}
.tk-support-fab:hover .tk-support-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tk-support-fab:has(input:checked) .tk-support-label {
  opacity: 0 !important;
}

.tk-support-fab .container-ai-input {
  --perspective: 1000px;
  --translateY: 45px;
  position: relative;
  left: auto;
  right: auto;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  transform-style: preserve-3d;
}
.tk-support-fab .area {
  cursor: default;
}
.tk-support-fab .container-wrap {
  display: flex;
  align-items: center;
  justify-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 9;
  transform-style: preserve-3d;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
}
.tk-support-fab .container-wrap:hover {
  padding: 0;
}
.tk-support-fab .container-wrap:active {
  transform: translateX(-50%) translateY(-50%) scale(0.95);
}
.tk-support-fab .container-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-55%);
  width: 12rem;
  height: 11rem;
  background-color: #dedfe0;
  border-radius: 3.2rem;
  transition: all 0.3s ease;
}
.tk-support-fab .container-wrap:hover::after {
  transform: translateX(-50%) translateY(-50%);
  height: 12rem;
}
.tk-support-fab .container-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.tk-support-fab .container-wrap input:checked + .card .eyes {
  opacity: 0;
}
.tk-support-fab .container-wrap input:checked + .card .content-card {
  width: 260px;
  height: 160px;
}
.tk-support-fab .container-wrap input:checked + .card .background-blur-balls {
  border-radius: 20px;
}
.tk-support-fab .container-wrap input:checked + .card .container-ai-chat {
  opacity: 1;
  visibility: visible;
  z-index: 99999;
  pointer-events: visible;
}
.tk-support-fab .card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: all 0.6s ease;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  transform: translateZ(50px);
  justify-content: center;
}
.tk-support-fab .card:hover {
  box-shadow:
    0 10px 40px rgba(0, 0, 60, 0.25),
    inset 0 0 10px rgba(255, 255, 255, 0.5);
}
.tk-support-fab .background-blur-balls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  height: 100%;
  z-index: -10;
  border-radius: 3rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.tk-support-fab .balls {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  animation: rotate-background-balls 10s linear infinite;
}
.tk-support-fab .container-wrap:hover .balls {
  animation-play-state: paused;
}
.tk-support-fab .background-blur-balls .ball {
  width: 6rem;
  height: 6rem;
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.tk-support-fab .background-blur-balls .ball.violet {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #9147ff;
}
.tk-support-fab .background-blur-balls .ball.green {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #34d399;
}
.tk-support-fab .background-blur-balls .ball.rosa {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #ec4899;
}
.tk-support-fab .background-blur-balls .ball.cyan {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #05e0f5;
}
.tk-support-fab .content-card {
  width: 12rem;
  height: 12rem;
  display: flex;
  border-radius: 3rem;
  transition: all 0.3s ease;
  overflow: hidden;
}
.tk-support-fab .background-blur-card {
  width: 100%;
  height: 100%;
  backdrop-filter: blur(50px);
  position: relative;
}
.tk-support-fab .eyes {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  gap: 2rem;
  transition: all 0.3s ease;
}
.tk-support-fab .eyes .eye {
  width: 26px;
  height: 52px;
  background-color: #fff;
  border-radius: 16px;
  animation: animate-eyes 10s infinite linear;
  transition: all 0.3s ease;
}
.tk-support-fab .eyes.happy {
  display: none;
  color: #fff;
  gap: 0;
}
.tk-support-fab .eyes.happy svg {
  width: 60px;
}
.tk-support-fab .container-wrap:hover .eyes .eye {
  display: none;
}
.tk-support-fab .container-wrap:hover .eyes.happy {
  display: flex;
}
.tk-support-fab .container-ai-chat {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
}
.tk-support-fab .card .chat {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  padding: 4px;
  overflow: hidden;
  background-color: #ffffff;
}
.tk-support-fab .card .chat .chat-bot {
  position: relative;
  display: flex;
  height: 100%;
  transition: all 0.3s ease;
}
.tk-support-fab .card .chat .chat-bot textarea {
  background-color: transparent;
  border-radius: 16px;
  border: none;
  width: 100%;
  height: 100%;
  color: #8b8b8b;
  font-family: "Vazirmatn", sans-serif;
  font-size: 12px;
  font-weight: 400;
  padding: 10px;
  resize: none;
  outline: none;
  direction: rtl;
}
.tk-support-fab .card .chat .chat-bot textarea::-webkit-scrollbar {
  width: 6px;
}
.tk-support-fab .card .chat .chat-bot textarea::-webkit-scrollbar-track {
  background: transparent;
}
.tk-support-fab .card .chat .chat-bot textarea::-webkit-scrollbar-thumb {
  background: #dedfe0;
  border-radius: 5px;
}
.tk-support-fab .card .chat .chat-bot textarea::placeholder {
  color: #dedfe0;
  transition: all 0.3s ease;
}
.tk-support-fab .card .chat .chat-bot textarea:focus::placeholder {
  color: #8b8b8b;
}
.tk-support-fab .card .chat .options {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
}
.tk-support-fab .card .chat .options button {
  transition: all 0.3s ease;
}
.tk-support-fab .card .chat .options .btns-add {
  display: flex;
  gap: 8px;
}
.tk-support-fab .card .chat .options .btns-add button {
  display: flex;
  color: rgba(0, 0, 0, 0.1);
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tk-support-fab .card .chat .options .btns-add button:hover {
  transform: translateY(-5px);
  color: #8b8b8b;
}
.tk-support-fab .card .chat .options .btn-submit {
  display: flex;
  padding: 2px;
  background-image: linear-gradient(to top, #ff4141, #9147ff, #3b82f6);
  border-radius: 10px;
  box-shadow: inset 0 6px 2px -4px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  outline: none;
  opacity: 0.7;
  transition: all 0.15s ease;
}
.tk-support-fab .card .chat .options .btn-submit i {
  width: 30px;
  height: 30px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(3px);
  color: #cfcfcf;
}
.tk-support-fab .card .chat .options .btn-submit svg {
  transition: all 0.3s ease;
}
.tk-support-fab .card .chat .options .btn-submit:hover {
  opacity: 1;
}
.tk-support-fab .card .chat .options .btn-submit:hover svg {
  color: #f3f6fd;
  filter: drop-shadow(0 0 5px #ffffff);
}
.tk-support-fab .card .chat .options .btn-submit:focus svg {
  color: #f3f6fd;
  filter: drop-shadow(0 0 5px #ffffff);
  transform: scale(1.2) rotate(45deg) translateX(-2px) translateY(1px);
}
.tk-support-fab .card .chat .options .btn-submit:active {
  transform: scale(0.92);
}
.widget-time {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.32);
  font-family: "Vazirmatn", monospace;
  direction: ltr;
  z-index: 5;
  pointer-events: none;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}
.tk-support-fab:has(input:checked) .widget-time {
  opacity: 0;
}

.tk-support-fab .area:nth-child(15):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(15):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(-15deg) rotateY(15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(14):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(14):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(-15deg) rotateY(7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(13):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(13):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(-15deg) rotateY(0)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(12):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(12):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(-15deg) rotateY(-7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(11):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(11):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(-15deg) rotateY(-15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(10):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(10):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(0) rotateY(15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(9):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(9):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(0) rotateY(7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(8):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(8):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(0) rotateY(0)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(7):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(7):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(0) rotateY(-7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(6):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(6):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(0) rotateY(-15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(5):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(5):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(15deg) rotateY(15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(4):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(4):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(15deg) rotateY(7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(3):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(3):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(15deg) rotateY(0)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(2):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(2):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(15deg) rotateY(-7deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab .area:nth-child(1):hover ~ .container-wrap .card,
.tk-support-fab .area:nth-child(1):hover ~ .container-wrap .eyes .eye {
  transform: perspective(var(--perspective)) rotateX(15deg) rotateY(-15deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}

.tk-support-fab
  .area:nth-child(15):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(15):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(-10deg) rotateY(8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(14):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(14):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(-10deg) rotateY(4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(13):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(13):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(-10deg) rotateY(0deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(12):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(12):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(-10deg) rotateY(-4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(11):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(11):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(-10deg) rotateY(-8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(10):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(10):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(0deg) rotateY(8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(9):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(9):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(0deg) rotateY(4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(8):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(8):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(0deg) rotateY(0deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(7):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(7):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(0deg) rotateY(-4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(6):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(6):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(0deg) rotateY(-8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(5):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(5):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(10deg) rotateY(8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(4):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(4):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(10deg) rotateY(4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(3):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(3):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(10deg) rotateY(0deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(2):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(2):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(10deg) rotateY(-4deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}
.tk-support-fab
  .area:nth-child(1):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .options
  button,
.tk-support-fab
  .area:nth-child(1):hover
  ~ .container-wrap
  .card
  .container-ai-chat
  .chat
  .chat-bot {
  transform: perspective(var(--perspective)) rotateX(10deg) rotateY(-8deg)
    translateZ(var(--translateY)) scale3d(1, 1, 1);
}

@keyframes rotate-background-balls {
  from {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
  to {
    transform: translateX(-50%) translateY(-50%) rotate(0);
  }
}
@keyframes animate-eyes {
  46% {
    height: 52px;
  }
  48% {
    height: 20px;
  }
  50% {
    height: 52px;
  }
  96% {
    height: 52px;
  }
  98% {
    height: 20px;
  }
  100% {
    height: 52px;
  }
}
@media (max-width: 480px) {
  .tk-support-fab {
    bottom: 16px;
    right: 16px;
    width: 240px;
    height: 240px;
  }
}
/* ============ ویجت پشتیبانی — نسخه جمع‌وجور ============ */
.tk-support-fab {
  width: 200px;
  height: 200px;
}
.tk-support-fab::before {
  inset: 12px;
}
.tk-support-fab .container-wrap::after {
  width: 8.75rem;
  height: 7.75rem;
  border-radius: 2.4rem;
}
.tk-support-fab .container-wrap:hover::after {
  height: 8.75rem;
}
.tk-support-fab .content-card {
  width: 8.75rem;
  height: 8.75rem;
  border-radius: 2.4rem;
}
.tk-support-fab .card {
  border-radius: 2.4rem;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.6s ease;
}
.tk-support-fab .background-blur-balls {
  border-radius: 2.4rem;
}
.tk-support-fab .background-blur-balls .ball {
  width: 4.5rem;
  height: 4.5rem;
  filter: blur(22px);
}
.tk-support-fab .eyes {
  height: 40px;
  gap: 1.4rem;
}
.tk-support-fab .eyes .eye {
  width: 18px;
  height: 40px;
  border-radius: 12px;
  transition: transform 0.25s ease-out;
}
.tk-support-fab .eyes.happy svg {
  width: 46px;
}
@keyframes animate-eyes {
  46% {
    height: 40px;
  }
  48% {
    height: 14px;
  }
  50% {
    height: 40px;
  }
  96% {
    height: 40px;
  }
  98% {
    height: 14px;
  }
  100% {
    height: 40px;
  }
}
@media (max-width: 480px) {
  .tk-support-fab {
    width: 170px;
    height: 170px;
  }
  .tk-support-fab .container-wrap::after {
    width: 7.5rem;
    height: 6.75rem;
  }
  .tk-support-fab .content-card {
    width: 7.5rem;
    height: 7.5rem;
  }
}
/* سایز چت باز — بیرون نمیره */
.tk-support-fab .container-wrap input:checked + .card .content-card {
  width: min(280px, calc(100vw - 40px));
  height: min(400px, calc(100dvh - 120px));
}
/* چت باز از گوشه راست‌پایین fab باز میشه، نه مرکز */
.tk-support-fab .container-wrap:has(input:checked) {
  left: auto;
  top: auto;
  right: 0;
  bottom: 0;
  transform: none;
}
.tk-support-fab .card .chat .options {
  justify-content: flex-end;
}
/* پیام‌ها */
.tk-support-fab .chat-messages {
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding: 8px;
  direction: rtl;
}
.tk-support-fab .chat.has-chat .chat-messages {
  display: flex;
  flex: 1;
}
.tk-support-fab .chat.has-chat .chat-bot {
  height: 64px;
  flex: none;
}
.tk-support-fab .msg {
  max-width: 82%;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Vazirmatn", sans-serif;
}
.tk-support-fab .msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #9147ff, #3b82f6);
  color: #fff;
}
.tk-support-fab .msg.admin {
  align-self: flex-start;
  background: #eef0f3;
  color: #555;
}
.tk-support-fab .chat-messages::-webkit-scrollbar {
  width: 5px;
}
.tk-support-fab .chat-messages::-webkit-scrollbar-thumb {
  background: #dedfe0;
  border-radius: 5px;
}
/* ===== باکس ورودی پیام — واضح و معلوم ===== */
.tk-support-fab .card .chat .chat-bot {
  margin: 6px 8px 0;
  padding: 2px;
  background: #f4f5f7;
  border: 1.5px solid #e1e3e8;
  border-radius: 14px;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

.tk-support-fab .card .chat .chat-bot:focus-within {
  border-color: #9147ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(145, 71, 255, 0.12);
}

.tk-support-fab .card .chat .chat-bot textarea {
  color: #3d4147;
}

.tk-support-fab .card .chat .chat-bot textarea::placeholder {
  color: #8b9096;
}

/* دکمه ارسال هم همیشه واضح باشه */
.tk-support-fab .card .chat .options .btn-submit {
  opacity: 1;
}
/* ═══ فیکس: ویجت روی فوتر رو نگیره ═══ */
.tk-support-fab.is-visible {
  pointer-events: none;
}
.tk-support-fab .container-wrap {
  pointer-events: auto;
}
.tk-support-fab .area {
  pointer-events: none;
}
/* ═══ ویجت جمع‌وجورتر ═══ */
.tk-support-fab {
  width: 160px;
  height: 160px;
  bottom: 22px;
  right: 22px;
}
.tk-support-fab::before {
  inset: 10px;
}
.tk-support-fab .container-wrap::after {
  width: 7rem;
  height: 6.25rem;
  border-radius: 2rem;
}
.tk-support-fab .container-wrap:hover::after {
  height: 7rem;
}
.tk-support-fab .content-card {
  width: 7rem;
  height: 7rem;
  border-radius: 2rem;
}
.tk-support-fab .card,
.tk-support-fab .background-blur-balls {
  border-radius: 2rem;
}
.tk-support-fab .background-blur-balls .ball {
  width: 3.8rem;
  height: 3.8rem;
  filter: blur(18px);
}
.tk-support-fab .eyes {
  height: 32px;
  gap: 1.1rem;
}
.tk-support-fab .eyes .eye {
  width: 14px;
  height: 32px;
  border-radius: 10px;
}
.tk-support-fab .eyes.happy svg {
  width: 38px;
}
.tk-support-fab .widget-time {
  bottom: 10px;
  right: 10px;
  font-size: 8px;
}
@keyframes animate-eyes {
  46% {
    height: 32px;
  }
  48% {
    height: 11px;
  }
  50% {
    height: 32px;
  }
  96% {
    height: 32px;
  }
  98% {
    height: 11px;
  }
  100% {
    height: 32px;
  }
}
@media (max-width: 480px) {
  .tk-support-fab {
    width: 140px;
    height: 140px;
    bottom: 16px;
    right: 16px;
  }
  .tk-support-fab .content-card {
    width: 6.25rem;
    height: 6.25rem;
  }
  .tk-support-fab .container-wrap::after {
    width: 6.25rem;
    height: 5.5rem;
  }
}
/* ============ TOAST — نوتیفیکیشن موفقیت (بالای صفحه، RTL) ============ */
.tk-toast {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translate(-50%, -250%);
  z-index: 100000;
  width: 330px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  padding: 10px 15px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  direction: rtl;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.tk-toast.is-show {
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.tk-toast .wave {
  position: absolute;
  transform: rotate(-90deg);
  right: -31px;
  top: 32px;
  width: 80px;
  fill: #04e4003a;
  pointer-events: none;
}
.tk-toast .icon-container {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #04e40048;
  border-radius: 50%;
  margin-right: 8px;
}
.tk-toast .icon {
  width: 17px;
  height: 17px;
  color: #269b24;
}
.tk-toast .message-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  min-width: 0;
}
.tk-toast .message-text,
.tk-toast .sub-text {
  margin: 0;
  cursor: default;
}
.tk-toast .message-text {
  color: #269b24;
  font-size: 15px;
  font-weight: 700;
}
.tk-toast .sub-text {
  font-size: 12.5px;
  color: #555;
  margin-top: 2px;
}
.tk-toast .cross-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #555;
  cursor: pointer;
}
/* نوار ۵ ثانیه‌ای زیر نتیف */
.tk-toast .toast-bar {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(270deg, #269b24, #04e400);
  transform-origin: right center;
  transform: scaleX(0);
}
.tk-toast.is-show .toast-bar {
  animation: tk-toast-bar 5s linear forwards;
}
@keyframes tk-toast-bar {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tk-toast {
    transition-duration: 0.01s;
  }
}
.form-field input::placeholder {
  text-align: right;
}
@media (max-width: 1024px) {
  .testi-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}
@media (max-width: 680px) {
  .testi-card {
    flex: 0 0 100%;
  }
  .testi-wrap {
    gap: 8px;
  }
  .testi-arrow {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 760px) {
  .p-stage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: min(620px, 86vh);
  }
  .p-face {
    border-radius: 16px !important;
  }
  .p-front {
    background-size:
      100% 300%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%;
  }
  .slice-r {
    --bp: 50% 0%;
  }
  .slice-c {
    --bp: 50% 50%;
  }
  .slice-l {
    --bp: 50% 100%;
  }
  .p-back h3 {
    font-size: 15px;
  }
  .p-back p {
    display: block;
    font-size: 11px;
  }
  .p-glass {
    width: 96px;
    padding: 6px;
    border-radius: 14px;
  }
  .p-glass img {
    font-size: 0;
    color: transparent;
  }
}

/* ۳) فرآیند کار — تراز خط و دایره‌ها */
@media (max-width: 640px) {
  .tk-process {
    padding: 70px 0;
  }
  .process-timeline::before {
    right: 20px;
  }
  .process-step {
    padding-right: 58px;
  }
  .step-content p {
    font-size: 13px;
  }
}
/* ═══ ۱) اصول بنیادین موبایل — عنوان و متن کامل دیده شود ═══ */
@media (max-width: 760px) {
  .principles-sticky {
    padding: 80px 16px 24px;
    gap: 3vh;
  }
  .p-line,
  .p-media {
    display: none;
  }
  .p-back {
    padding: 16px 18px;
  }
  .p-back h3 {
    margin: 12px 0 8px;
    font-size: 15px;
  }
  .p-back p {
    display: block;
    font-size: 11px;
    line-height: 2;
  }
}

/* ═══ ۲) منوی همبرگری موبایل ═══ */
.tk-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0 11px;
}
.tk-burger span {
  height: 2px;
  border-radius: 2px;
  background: #e5e7eb;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

@media (max-width: 720px) {
  .tk-burger {
    display: flex;
  }
  .tk-cta {
    margin-right: auto;
  }
  .tk-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    overflow-y: auto;
    background: rgba(8, 8, 10, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - 96px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s,
      transform 0.3s,
      visibility 0.3s;
  }
  .tk-navbar.menu-open .tk-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .tk-link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 14px;
  }
  .tk-navbar.menu-open .tk-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .tk-navbar.menu-open .tk-burger span:nth-child(2) {
    opacity: 0;
  }
  .tk-navbar.menu-open .tk-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* ═══ باکس‌ها: هم متن، هم تصویر (شیشه‌ای کنار متن) — ته style.css ═══ */
@media (max-width: 760px) {
  .p-back {
    padding: 14px 16px;
  }
  .p-line {
    display: none;
  }
  .p-media {
    display: grid;
    position: absolute;
    left: 14px;
    top: 40px;
    bottom: 14px;
    margin: 0;
    align-content: center;
    justify-items: center;
  }
  .p-glass {
    width: 84px;
    aspect-ratio: 1 / 1;
    padding: 8px;
    border-radius: 16px;
  }
  .p-glass img {
    border-radius: 10px;
  }
  .p-back h3 {
    margin: 10px 0 6px 100px;
    font-size: 14px;
  }
  .p-back p {
    margin-left: 100px;
    font-size: 10.5px;
    line-height: 1.9;
  }
}

/* ═══ اگر فایل عکس نبود، جایگزین تمیز ═══ */
.p-glass {
  position: relative;
}
.p-glass img.is-broken {
  opacity: 0;
}
.p-glass.no-img::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='M21 15l-5-5-11 11'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.75;
}
/* ═══ PROCESS — سلکت با اسکرول، بدون هاور — ته style.css ═══ */
.process-step .step-num,
.process-step .step-content h3,
.process-step .step-meta {
  transition:
    background 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease,
    color 0.4s ease;
}
/* هاور خاموش */
.process-step:hover .step-num {
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.2),
    rgba(124, 58, 237, 0.2)
  );
  transform: none;
}
/* حالت سلکت */
.process-step.is-active .step-num,
.process-step.is-active:hover .step-num {
  background: linear-gradient(135deg, #2f7bf6, #7c3aed);
  transform: scale(1.08);
  box-shadow:
    0 10px 30px -6px rgba(47, 123, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.process-step.is-active .step-content h3 {
  color: #a5c8ff;
}
.process-step.is-active .step-meta {
  border-color: rgba(126, 179, 249, 0.5);
  color: #a5c8ff;
}
/* ═══ خطا: توست قرمز + فیلد نامعتبر ═══ */
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: rgba(244, 63, 94, 0.65);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
  background: rgba(244, 63, 94, 0.06);
}
.tk-toast.is-error .icon-container {
  background-color: rgba(244, 63, 94, 0.14);
}
.tk-toast.is-error .icon {
  color: #f43f5e;
}
.tk-toast.is-error .message-text {
  color: #f43f5e;
}
.tk-toast.is-error .wave {
  fill: rgba(244, 63, 94, 0.22);
}
.tk-toast.is-error .toast-bar {
  background: linear-gradient(270deg, #f43f5e, #fb7185);
}
/* ═══ تماس سریع — همیشه جلوی چشم، بالای ویجت ═══ */
.tk-quick-contact {
  position: fixed;
  right: 22px;
  bottom: 194px;
  z-index: 9997;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.qc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}
.qc-btn:hover {
  transform: translateY(-3px);
}
.qc-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.qc-ico svg {
  width: 18px;
  height: 18px;
}
.qc-whatsapp .qc-ico {
  background: rgba(37, 211, 102, 0.16);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.qc-call .qc-ico {
  background: rgba(47, 123, 246, 0.16);
  color: #7eb3f9;
  border: 1px solid rgba(126, 179, 249, 0.4);
}
.qc-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.45);
}
.qc-call:hover {
  border-color: rgba(126, 179, 249, 0.55);
  box-shadow: 0 12px 30px -8px rgba(47, 123, 246, 0.45);
}
.qc-txt b {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.qc-txt small {
  display: block;
  color: #8b93a1;
  font-size: 11px;
  margin-top: 2px;
}
/* وقتی چت ویجت باز شد، جا رو بهش بده */
.tk-support-fab:has(input:checked) ~ .tk-quick-contact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
@media (max-width: 480px) {
  .tk-quick-contact {
    right: 16px;
    bottom: 170px;
  }
  .qc-txt small {
    font-size: 10px;
  }
}
/* ═══ ویجت برگشت به راست + دو دکمه تماس رفتن به چپ ═══ */
.tk-support-fab {
  left: auto;
  right: 22px;
}
.tk-support-fab .container-wrap:has(input:checked) {
  left: auto;
  right: 0;
}
.tk-quick-contact {
  right: auto;
  left: 22px;
  bottom: 22px;
  align-items: flex-start;
}
@media (max-width: 480px) {
  .tk-support-fab {
    left: auto;
    right: 16px;
  }
  .tk-quick-contact {
    right: auto;
    left: 16px;
    bottom: 16px;
  }
}

@media (min-width: 1200px) {
    .tk-footer .footer-grid {
        grid-template-columns: 1.6fr .85fr .8fr 1fr 1.1fr 1.3fr;
        gap: 34px;
    }
}

.footer-trust-col .trust-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 6px;
}

/* نشان بزرگ */
.footer-trust-col .enamad-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: 8px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.footer-trust-col .enamad-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.footer-trust-col .enamad-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 123, 246, .6);
    box-shadow: 0 16px 36px rgba(47, 123, 246, .28);
}

.footer-trust-col .trust-txt b {
    display: block;
    font-size: 13px;
    color: #e8ecf5;
    margin-bottom: 4px;
}

.footer-trust-col .trust-txt small {
    display: block;
    font-size: 11px;
    color: #8b93a7;
}