/* ----------  Reset + Tokens (scoped)  ---------- */
.tnpl, .tnpl *, .tnpl *::before, .tnpl *::after { box-sizing: border-box; }
.tnpl {
  --tnpl-cyan:#00c3ff;
  --tnpl-blue:#007cf5;
  --tnpl-blue-deep:#0057c2;
  --tnpl-navy:#0b2545;
  --tnpl-body:#5b6b7c;
  --tnpl-line:#dceefb;
  --tnpl-radius:26px;
  --tnpl-shadow:0 18px 50px -22px rgba(0,90,180,.35);
  --tnpl-shadow-hover:0 34px 70px -26px rgba(0,124,245,.45);
  direction: rtl;
  text-align: right;
  font-family: 'dana', 'Vazirmatn', 'IRANSansX', 'IRANSans', Tahoma, Arial, sans-serif;
  color: var(--tnpl-body);
  line-height: 1.9;
  font-size: 15px;
  position: relative;
}
.tnpl h1, .tnpl h2, .tnpl h3, .tnpl h4 { font-family: "aviny", "dana", sans-serif; }
.tnpl a { text-decoration: none; }
.tnpl .tnpl-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
.tnpl .tnpl-grid { display: grid; gap: 26px; }

/* ----------  Section heading  ---------- */
.tnpl-sec { padding: 62px 0; position: relative; }
.tnpl-sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.tnpl-kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 1px; color: #007cf5; background: #eaf6ff; border-radius: 999px; padding: 7px 16px; margin-bottom: 14px; }
.tnpl-sec-head h2 { font-size: clamp(24px, 3.1vw, 36px); color: var(--tnpl-navy); font-weight: 800; margin: 6px 0 12px; line-height: 1.45; }
.tnpl-sec-head p { color: #63788c; margin: 0; }

/* ----------  Buttons  ---------- */
.tnpl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, background .28s ease, color .28s ease;
  -webkit-tap-highlight-color: transparent;
}
.tnpl-btn-primary { background: linear-gradient(95deg,#00c3ff,#007cf5); color: #ffffff !important; box-shadow: 0 16px 34px -14px rgba(0,124,245,.75); }
.tnpl-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -14px rgba(0,124,245,.85); }
.tnpl-btn-ghost { background: #ffffff; color: #007cf5 !important; border-color: #bfe8ff; box-shadow: 0 10px 26px -18px rgba(0,90,180,.6); }
.tnpl-btn-ghost:hover { transform: translateY(-3px); border-color: #00c3ff; color: #0057c2 !important; background: #f4fcff; }

/* ----------  Pricing cards  ---------- */
.tnpl-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tnpl-plan {
  position: relative; background: #fff; border: 1px solid var(--tnpl-line);
  border-radius: var(--tnpl-radius); padding: 34px 26px 30px; box-shadow: var(--tnpl-shadow);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.tnpl-plan:hover { transform: translateY(-10px); box-shadow: var(--tnpl-shadow-hover); border-color: #bfe8ff; }
.tnpl-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tnpl-plan-ico { width: 56px; height: 56px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.tnpl-plan-ico svg { width: 26px; height: 26px; }
.tnpl-plan h3 { font-size: 22px; color: var(--tnpl-navy); font-weight: 800; margin: 20px 0 4px; }
.tnpl-plan .tnpl-plan-sub { font-size: 13.5px; color: #7a8b9c; margin: 0 0 18px; }
.tnpl-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 6px; }
.tnpl-price .amount { font-size: 30px; font-weight: 900; color: #007cf5; letter-spacing: -.5px; }
.tnpl-price .unit { font-size: 13px; color: #7a8b9c; }
.tnpl-delivery {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px;
  color: #0a5f96; background: #eefaff; border: 1px dashed #a9e2ff; border-radius: 12px; padding: 8px 14px; margin: 8px 0 18px;
}
.tnpl-delivery svg { width: 16px; height: 16px; }
.tnpl-feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.tnpl-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #4d6072; }
.tnpl-feats li .ck { width: 21px; height: 21px; min-width: 21px; border-radius: 50%; background: #e9fbff; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.tnpl-feats li .ck svg { width: 12px; height: 12px; }
.tnpl-feats li.off { color: #9aa8b5; }
.tnpl-feats li.off .ck { background: #f3f6f9; }
.tnpl-plan .tnpl-btn { width: 100%; }
.tnpl-plan-label {
  position: absolute; top: 18px; left: 18px; background: linear-gradient(95deg,#ffc24b,#ff8a6b);
  color: #5a3200 !important; font-weight: 800; font-size: 11.5px; padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 10px 22px -10px rgba(255,138,107,.9);
}
.tnpl-plan.featured { border-color: #9fdcff; box-shadow: 0 26px 60px -24px rgba(0,124,245,.5); transform: translateY(-6px); }
.tnpl-plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(140deg,#00c3ff,#007cf5 45%,#8b7cf6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.tnpl-plan.featured:hover { transform: translateY(-14px); }
.tnpl-plan-ico.a { background: linear-gradient(135deg,#00c3ff,#5bd8ff); }
.tnpl-plan-ico.b { background: linear-gradient(135deg,#007cf5,#00c3ff); }
.tnpl-plan-ico.c { background: linear-gradient(135deg,#8b7cf6,#00c3ff); }

/* ----------  Notes / توضیحات قیمت  ---------- */
.tnpl-notes { background: linear-gradient(180deg,#f4fbff,#ffffff); border-top: 1px solid var(--tnpl-line); border-bottom: 1px solid var(--tnpl-line); }
.tnpl-note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 900px; }
.tnpl-note-list li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--tnpl-line);
  border-radius: 18px; padding: 16px 18px; box-shadow: 0 14px 34px -26px rgba(0,90,180,.6);
}
.tnpl-note-num {
  width: 34px; height: 34px; min-width: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; background: linear-gradient(135deg,#00c3ff,#007cf5); font-size: 14px;
}
.tnpl-note-list li p { margin: 0; font-size: 14px; color: #4d6072; }

/* ----------  Responsive  ---------- */
@media (max-width: 991px) {
  .tnpl-plans { grid-template-columns: 1fr; }
  .tnpl-plan.featured { transform: none; }
}
@media (max-width: 560px) {
  .tnpl-sec { padding: 46px 0; }
  .tnpl-btn { width: 100%; }
  .tnpl-plan .tnpl-plan-label { top: 14px; left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tnpl *, .tnpl *::before, .tnpl *::after { animation: none !important; transition: none !important; }
}

/* --- ported wrapper overrides (shared skin alignment) --- */
h3:not(.fixH3) {font-size:1.9rem!important;}
.contact-page-wrapper {padding:0!important;}
