/* TEMVIO v1.4.4 HF5 — built directly on HF3. HF4 intentionally not inherited. */
:root{
  --hf5-navy:#0f1629;
  --hf5-indigo:#5b5ce2;
  --hf5-violet:#745cf4;
  --hf5-teal:#17b7a6;
  --hf5-teal-deep:#08786f;
  --hf5-cyan:#5eead4;
  --hf5-ink:#111827;
  --hf5-muted:#68758a;
  --hf5-line:#e2e7ef;
  --hf5-soft:#f7f9fc;
}

/* Typography restoration: keep the original TEMVIO Vazirmatn / Inter system. */
html[lang="fa"] #marketing,html[lang="ar"] #marketing,
html[lang="fa"] .tm-footer-trust,html[lang="ar"] .tm-footer-trust{font-family:"Vazirmatn",Tahoma,Arial,sans-serif!important}
html[lang="en"] #marketing,html[lang="en"] .tm-footer-trust{font-family:"Inter",Arial,sans-serif!important}
#marketing h1,#marketing h2,#marketing h3,#marketing p,#marketing button,
.tm-footer-trust h2,.tm-footer-trust p,.tm-footer-trust b,.tm-footer-trust span{letter-spacing:0!important}

/* Opportunities — teal, professional, still aligned with the TEMVIO brand. */
.tm-opportunities{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%,rgba(94,234,212,.22),transparent 25%),
    radial-gradient(circle at 88% 78%,rgba(91,92,226,.16),transparent 27%),
    linear-gradient(135deg,#073b40 0%,#086c66 48%,#0c8d80 100%)!important;
  color:#fff!important;
}
.tm-opportunities:before,.tm-opportunities:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.tm-opportunities:before{width:360px;height:360px;right:-160px;top:-190px;border:1px solid rgba(255,255,255,.10);box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.02)}
.tm-opportunities:after{width:260px;height:260px;left:-130px;bottom:-150px;background:rgba(94,234,212,.06)}
.tm-opportunities>.tm-section-head,.tm-opportunities>.tm-live-jobs,.tm-opportunities>.tm-section-action{position:relative;z-index:1}
.tm-opportunities .eyebrow{display:inline-flex!important;align-items:center;gap:8px;color:#c9fff7!important;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);padding:7px 11px;border-radius:999px}
.tm-opportunities .eyebrow:before{content:"";width:8px;height:8px;border-radius:99px;background:#5eead4;box-shadow:0 0 0 5px rgba(94,234,212,.13)}
.tm-opportunities .tm-section-head h2{color:#fff!important;max-width:690px}
.tm-opportunities .tm-section-head>p{color:#c8e7e2!important;max-width:490px}
.tm-opportunities .tm-live-job,.tm-opportunities .tm-job-skeleton,.tm-opportunities .tm-jobs-empty{
  border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(160deg,rgba(255,255,255,.115),rgba(255,255,255,.065))!important;
  box-shadow:0 18px 44px rgba(0,36,35,.18)!important;
  backdrop-filter:blur(8px);
}
.tm-opportunities .tm-live-job{transition:transform .2s ease,border-color .2s ease,background .2s ease}
.tm-opportunities .tm-live-job:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.30)!important;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.085))!important}
.tm-opportunities .tm-live-job .tm-job-cat{background:rgba(94,234,212,.13)!important;color:#cffff8!important;border:1px solid rgba(94,234,212,.18)}
.tm-opportunities .tm-live-job h3{color:#fff!important}
.tm-opportunities .tm-live-job p,.tm-opportunities .tm-jobs-empty span{color:#c6dfdb!important}
.tm-opportunities .tm-job-budget{color:#f0fffd!important;font-weight:800}
.tm-opportunities .tm-job-skills span{border-color:rgba(255,255,255,.18)!important;color:#dffaf6!important;background:rgba(255,255,255,.06)}
.tm-opportunities .tm-section-action .btn{
  min-height:48px;padding:11px 20px!important;border-radius:14px!important;
  background:#fff!important;color:#076b64!important;border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 12px 30px rgba(0,41,39,.20)!important;font-weight:850!important;
}
.tm-opportunities .tm-section-action .btn:hover{transform:translateY(-2px);background:#eafffb!important;color:#055b55!important}

/* How it works — category-card DNA, but with a more editorial/process feel. */
.tm-how{position:relative}
.tm-how .tm-section-head{align-items:flex-start!important}
.tm-how-tabs{background:#f0f2f8!important;border:1px solid #e0e4ee!important;border-radius:16px!important;padding:5px!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important}
.tm-how-tabs button{min-height:44px!important;padding:9px 17px!important;border-radius:12px!important;color:#68758a!important;font-weight:850!important;transition:.18s ease}
.tm-how-tabs button.active{background:#fff!important;color:#34378f!important;box-shadow:0 7px 18px rgba(36,45,88,.09)!important}
.tm-how-steps{gap:15px!important;align-items:stretch!important;position:relative}
.tm-how-steps article{
  --how-accent:#5b5ce2;--how-soft:#eff0ff;
  position:relative!important;min-height:220px!important;padding:22px!important;
  display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;grid-template-rows:auto auto 1fr!important;
  column-gap:15px!important;align-content:start!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  border:1px solid #e2e7ef!important;border-radius:22px!important;
  box-shadow:0 10px 30px rgba(21,31,65,.055)!important;overflow:hidden!important;
  transform:none!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.tm-how-steps article:nth-child(2){--how-accent:#17a99c;--how-soft:#e9faf7}
.tm-how-steps article:nth-child(3){--how-accent:#8b5cf6;--how-soft:#f4edff}
.tm-how-steps article:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--how-accent)}
.tm-how-steps article:hover{transform:translateY(-4px)!important;box-shadow:0 18px 40px rgba(21,31,65,.10)!important;border-color:#d3d9e7!important}
.tm-how-steps article>span{
  position:absolute!important;top:16px;left:18px;width:auto!important;height:auto!important;min-width:30px!important;
  padding:4px 8px!important;border-radius:999px!important;background:var(--how-soft)!important;color:var(--how-accent)!important;
  font-size:9px!important;font-weight:900!important;box-shadow:none!important;
}
html[dir="rtl"] .tm-how-steps article>span{left:auto;right:18px}
.tm-how-icon{grid-row:1/4;width:56px;height:56px;border-radius:18px;background:var(--how-soft);color:var(--how-accent);display:grid;place-items:center;margin-top:16px}
.tm-how-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tm-how-steps article>b{grid-column:2!important;margin:23px 0 7px!important;font-size:17px!important;line-height:1.65!important;color:#182033!important}
.tm-how-steps article>p{grid-column:2!important;margin:0!important;font-size:12.5px!important;line-height:1.9!important;color:#6f7b90!important}

/* Why TEMVIO — logo-led benefit system. */
.tm-difference.tm-why-hf5{
  position:relative;overflow:hidden;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:46px!important;
  background:
    radial-gradient(circle at 8% 20%,rgba(91,92,226,.10),transparent 27%),
    radial-gradient(circle at 94% 86%,rgba(23,183,166,.11),transparent 28%),
    linear-gradient(135deg,#f8f9ff 0%,#f5fbfa 100%)!important;
  border-top:1px solid #e5e8f1!important;border-bottom:1px solid #e5e8f1!important;
}
.tm-why-copy p{color:#627086!important;line-height:2!important;max-width:590px}
.tm-why-visual{position:relative;min-height:360px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center}
.tm-why-core{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid rgba(91,92,226,.16);border-radius:22px;background:linear-gradient(135deg,#111a31,#1a2850);box-shadow:0 18px 42px rgba(16,24,48,.16);color:#fff}
.tm-why-core img{width:62px;height:62px;border-radius:18px;filter:drop-shadow(0 10px 20px rgba(0,0,0,.18))}
.tm-why-core b{display:block;font-size:20px;letter-spacing:.06em!important}.tm-why-core span{display:block;color:#bfc9df;font-size:11px;margin-top:4px;line-height:1.7}
.tm-why-benefit{--why-accent:#5b5ce2;--why-soft:#eff0ff;display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:start;padding:16px;border:1px solid #e0e5ef;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(28,39,75,.05)}
.tm-why-benefit:nth-of-type(3){--why-accent:#17a99c;--why-soft:#e9faf7}.tm-why-benefit:nth-of-type(4){--why-accent:#8b5cf6;--why-soft:#f4edff}.tm-why-benefit:nth-of-type(5){--why-accent:#e59b28;--why-soft:#fff6e7}
.tm-why-benefit i{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--why-soft);color:var(--why-accent);font-style:normal}
.tm-why-benefit i svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tm-why-benefit b{display:block;font-size:13px;color:#172033;line-height:1.55}.tm-why-benefit span{display:block;margin-top:4px;font-size:10.5px;line-height:1.75;color:#738095}

/* Pricing / plans — key conversion section, without inventing prices. */
.tm-pricing.tm-pricing-hf5{position:relative;overflow:hidden;padding-top:84px;padding-bottom:84px}
.tm-pricing-hf5:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(91,92,226,.09),transparent 67%);right:-230px;top:-260px;pointer-events:none}
.tm-pricing-hf5 .tm-section-head{position:relative;z-index:1;margin-bottom:38px!important;align-items:flex-start!important}
.tm-pricing-hf5 .tm-section-head>div{max-width:720px}.tm-pricing-hf5 .tm-section-head>p{max-width:480px!important;color:#68758a!important}
.tm-plan-grid.tm-plan-grid-hf5{position:relative;z-index:1;gap:16px!important;align-items:stretch!important;margin-bottom:26px!important}
.tm-plan-grid-hf5 article{
  --plan-accent:#5b5ce2;--plan-soft:#eff0ff;position:relative;overflow:hidden;
  min-height:300px!important;padding:25px!important;border-radius:24px!important;border:1px solid #dfe4ef!important;
  background:linear-gradient(180deg,#fff,#fbfcff)!important;color:#162033!important;
  box-shadow:0 12px 34px rgba(23,34,70,.065)!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.tm-plan-grid-hf5 article:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--plan-accent)}
.tm-plan-grid-hf5 article:nth-child(2){--plan-accent:#17a99c;--plan-soft:#e9faf7}
.tm-plan-grid-hf5 article:nth-child(3){--plan-accent:#745cf4;--plan-soft:#f2edff}
.tm-plan-grid-hf5 article:hover{transform:translateY(-5px)!important;box-shadow:0 22px 48px rgba(23,34,70,.11)!important;border-color:#cfd6e6!important}
.tm-plan-grid-hf5 article.featured{transform:translateY(-8px)!important;background:linear-gradient(155deg,#0f2530,#0b5f5b 100%)!important;color:#fff!important;border-color:rgba(23,169,156,.45)!important;box-shadow:0 24px 52px rgba(8,91,85,.22)!important}
.tm-plan-grid-hf5 article.featured:hover{transform:translateY(-12px)!important}
.tm-plan-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}
.tm-plan-name{display:inline-flex!important;width:auto!important;min-height:0!important;margin:0!important;padding:7px 10px;border-radius:999px;background:var(--plan-soft);color:var(--plan-accent)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.04em!important}
.tm-plan-grid-hf5 .featured .tm-plan-name{background:rgba(94,234,212,.12);color:#a7fff1!important;border:1px solid rgba(94,234,212,.14)}
.tm-plan-badge{font-size:9px;font-weight:850;color:#78849a;background:#f4f6f9;border:1px solid #e4e8ef;padding:6px 8px;border-radius:999px}.featured .tm-plan-badge{color:#d4fff8;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.13)}
.tm-plan-grid-hf5 h3{margin:0 0 10px!important;font-size:25px!important;line-height:1.35!important;color:inherit!important}.tm-plan-grid-hf5 p{margin:0!important;min-height:55px;font-size:12.5px!important;line-height:1.9!important;color:#69768b!important}.tm-plan-grid-hf5 .featured p{color:#c4dbd8!important}
.tm-plan-points{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}.tm-plan-points li{position:relative;padding-inline-start:25px;font-size:11px;line-height:1.7;color:#536075}.tm-plan-points li:before{content:"✓";position:absolute;inset-inline-start:0;top:0;width:18px;height:18px;border-radius:7px;background:var(--plan-soft);color:var(--plan-accent);display:grid;place-items:center;font-size:10px;font-weight:900}.featured .tm-plan-points li{color:#d8e9e7}.featured .tm-plan-points li:before{background:rgba(94,234,212,.13);color:#9ff7e8}
.tm-plan-foot{margin-top:auto!important;padding-top:22px!important;font-size:10px!important;color:#8a94a6!important}.featured .tm-plan-foot{color:#9bc4c0!important}
.tm-pricing-hf5 #landingPricingButton{position:relative;z-index:1;min-height:50px!important;padding:12px 22px!important;border-radius:14px!important;box-shadow:0 12px 30px rgba(91,92,226,.22)!important}

/* Trust — copy on one side, official seal opposite it. */
.tm-footer-trust.tm-footer-trust-hf5{max-width:1192px!important;margin:0 auto 34px!important;padding:28px!important;border:1px solid #dfe5ef!important;border-radius:26px!important;background:linear-gradient(135deg,#fff 0%,#f8fbfb 100%)!important;box-shadow:0 12px 34px rgba(24,36,70,.055)!important}
.tm-trust-layout-hf5{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:34px;align-items:center}
.tm-trust-copy-hf5 h2{font-size:clamp(25px,2.7vw,36px)!important;line-height:1.45!important;margin:9px 0 10px!important;color:#172033}.tm-trust-copy-hf5 p{margin:0;max-width:690px;color:#68758a;font-size:13px;line-height:1.95}
.tm-trust-seal-hf5{min-height:170px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #dfe5ef!important;border-radius:21px!important;background:#fff!important;padding:16px!important;box-shadow:0 10px 28px rgba(24,36,70,.055)!important}
.tm-trust-seal-hf5 img{max-height:90px!important;width:auto!important}.tm-trust-seal-hf5 b{margin-top:9px;font-size:13px!important;color:#172033}.tm-trust-seal-hf5 span{margin-top:4px;font-size:10px!important;color:#78849a!important}

@media(max-width:1050px){
  .tm-difference.tm-why-hf5{grid-template-columns:1fr!important}.tm-why-visual{min-height:0}
  .tm-plan-grid-hf5 article.featured{transform:none!important}.tm-plan-grid-hf5 article.featured:hover{transform:translateY(-5px)!important}
}
@media(max-width:720px){
  .tm-opportunities:before{width:260px;height:260px;right:-150px;top:-130px}
  .tm-how-steps article{min-height:0!important;grid-template-columns:48px minmax(0,1fr)!important;padding:18px!important;border-radius:19px!important}
  .tm-how-icon{width:48px;height:48px;border-radius:15px;margin-top:15px}.tm-how-icon svg{width:24px;height:24px}.tm-how-steps article>b{font-size:15px!important;margin-top:20px!important}.tm-how-steps article>p{font-size:11.5px!important}
  .tm-why-visual{grid-template-columns:1fr;gap:9px}.tm-why-core{grid-column:1}.tm-why-core img{width:52px;height:52px}.tm-why-benefit{padding:14px}
  .tm-pricing.tm-pricing-hf5{padding-top:62px;padding-bottom:62px}.tm-plan-grid.tm-plan-grid-hf5{grid-template-columns:1fr!important}.tm-plan-grid-hf5 article{min-height:0!important;padding:21px!important;border-radius:21px!important}.tm-plan-grid-hf5 h3{font-size:22px!important}.tm-plan-grid-hf5 p{min-height:0}.tm-plan-points{margin-top:18px}
  .tm-trust-layout-hf5{grid-template-columns:1fr;gap:18px}.tm-trust-seal-hf5{width:100%;min-height:150px}.tm-footer-trust.tm-footer-trust-hf5{margin:0 16px 24px!important;padding:20px!important;border-radius:22px!important}
}
