:root {
  --bg: #f7f8fb;
  --ink: #12141a;
  --ink-soft: #565b66;
  --brand: #0a45c7;
  --brand-deep: #082f8f;
  --hot: #ea580c;
  --warm: #f59e0b;
  --cold: #64748b;
  --success: #16a34a;
  --purple: #7c3aed;
  --line: #e6e8ee;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhHairline.woff2") format("woff2"),
    url("./fonts/YekanBakhHairline.woff") format("woff"),
    url("./fonts/YekanBakhHairline.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhThin.woff2") format("woff2"),
    url("./fonts/YekanBakhThin.woff") format("woff"),
    url("./fonts/YekanBakhThin.ttf") format("truetype");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhLight.woff2") format("woff2"),
    url("./fonts/YekanBakhLight.woff") format("woff"),
    url("./fonts/YekanBakhLight.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhRegular.woff2") format("woff2"),
    url("./fonts/YekanBakhRegular.woff") format("woff"),
    url("./fonts/YekanBakhRegular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhMedium.woff2") format("woff2"),
    url("./fonts/YekanBakhMedium.woff") format("woff"),
    url("./fonts/YekanBakhMedium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhBold.woff2") format("woff2"),
    url("./fonts/YekanBakhBold.woff") format("woff"),
    url("./fonts/YekanBakhBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src:
    url("./fonts/YekanBakhHeavy.woff2") format("woff2"),
    url("./fonts/YekanBakhHeavy.woff") format("woff"),
    url("./fonts/YekanBakhHeavy.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: "YekanBakh", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-weight: 900;
  width: 100px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo img {
  width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(10, 69, 199, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(10, 69, 199, 0.65);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.mobile-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hot);
}
h1 {
  font-size: 47px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
h1 .accent {
  color: var(--brand);
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 34px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Signature visual: temperature spectrum */
.signature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 26, 0.25);
  position: relative;
}
.signature-card .sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sc-head .sc-title {
  font-weight: 700;
  font-size: 14.5px;
}
.sc-head .sc-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(22, 163, 74, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.temp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid #f0f1f5;
}
.temp-row:last-child {
  border-bottom: none;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.temp-info {
  flex: 1;
  min-width: 0;
}
.temp-name {
  font-weight: 600;
  font-size: 14px;
}
.temp-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
}
.temp-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.temp-pill.hot {
  background: rgba(234, 88, 12, 0.12);
  color: var(--hot);
}
.temp-pill.warm {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.temp-pill.cold {
  background: rgba(100, 116, 139, 0.12);
  color: var(--cold);
}

.spectrum-bar {
  margin-top: 22px;
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--cold), var(--warm) 55%, var(--hot));
  position: relative;
}
.spectrum-bar .marker {
  position: absolute;
  top: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ---------- Hero product preview: browser frame + panel recreation ---------- */
.browser-frame {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 26, 0.28);
  border: 1px solid var(--line);
  overflow: hidden;
}
.browser-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
}
.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.browser-addr {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  font-family: monospace;
}
.browser-body {
  background: #f3f4f6;
  padding: 22px;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 69, 199, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.panel-name {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
.panel-phone {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 2px 0 0;
  direction: ltr;
  text-align: right;
}
.panel-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.panel-badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.panel-badge.status {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}
.panel-badge.hot {
  background: rgba(234, 88, 12, 0.12);
  color: var(--hot);
}
.panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.panel-stat {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 12px 14px;
}
.panel-stat .ps-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.panel-stat .ps-value {
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Team management showcase ---------- */
#team {
  padding: 96px 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.team-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 24px 50px -28px rgba(18, 20, 26, 0.18);
}
.team-visual-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.team-rank {
  width: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  flex-shrink: 0;
  text-align: center;
}
.team-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}
.team-info {
  width: 92px;
  flex-shrink: 0;
}
.team-name {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0;
}
.team-meta {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}
.team-bar-track {
  flex: 1;
  height: 8px;
  background: #f0f1f5;
  border-radius: 100px;
  overflow: hidden;
}
.team-bar-fill {
  height: 100%;
  border-radius: 100px;
}
.team-amount {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Section shared ---------- */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  margin-bottom: 18px;
}
h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(18, 20, 26, 0.2);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 9px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Segmentation showcase ---------- */
.seg-section {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  margin: 0 24px;
  padding: 80px 56px;
}
.seg-section .wrap {
  max-width: 1080px;
  padding: 0;
}
.seg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.seg-section .section-head {
  text-align: right;
  margin: 0 0 32px;
  max-width: none;
}
.seg-section h2 {
  color: #fff;
}
.seg-section .section-head p {
  color: rgba(255, 255, 255, 0.65);
}
.seg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.seg-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.seg-tag .sw {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.seg-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 26px;
}
.seg-visual .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.seg-visual .bar-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}
.seg-visual .bar-fill {
  height: 100%;
  border-radius: 100px;
}
.seg-visual .row-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  width: 92px;
  flex-shrink: 0;
}
.seg-visual .row-value {
  font-size: 13px;
  font-weight: 700;
  width: 40px;
  text-align: left;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 24px 50px -24px rgba(10, 69, 199, 0.35);
  position: relative;
}
.price-card.featured::before {
  content: "پیشنهاد ما برای تیم‌های رو به رشد";
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 4px;
}
.plan-price .amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.plan-price .unit {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.plan-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}
.plan-features .check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(10, 69, 199, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card.featured .plan-features .check {
  background: rgba(10, 69, 199, 0.15);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 32px;
  margin: 0 24px;
  padding: 68px 40px;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 30px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}
.cta-band .btn-primary:hover {
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .foot-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
footer .foot-note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 64px;
    text-align: center;
  }
  section {
    padding: 64px 0;
  }
  #team {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .cta-band {
    padding: 56px 32px;
  }
  .hero p.lead {
    margin-inline: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-note {
    justify-content: center;
  }
  h1 {
    font-size: 34px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .seg-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .team-grid .section-head {
    text-align: center !important;
  }
  .seg-section {
    padding: 48px 24px;
    border-radius: 24px;
  }
  .seg-section .section-head {
    text-align: center;
    margin: 0 auto 28px;
  }
  .price-card.featured::before {
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 26px;
  }
  section {
    padding: 44px 0;
  }
  #team {
    padding: 44px 0;
  }
  .hero {
    padding: 36px 0 40px;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .eyebrow {
    margin-bottom: 16px;
  }
  .hero p.lead {
    margin-bottom: 24px;
  }
  .hero-ctas {
    margin-bottom: 22px;
  }
  .feature-card {
    padding: 22px 20px;
  }
  .price-card {
    padding: 26px 22px;
  }
  .cta-band,
  .seg-section {
    margin: 0 12px;
    padding: 40px 20px;
  }
  .team-visual {
    padding: 18px;
  }
  .team-row {
    flex-wrap: wrap;
  }
  .team-bar-track {
    display: none;
  }
  .team-info {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .team-amount {
    flex-basis: 100%;
    white-space: normal;
    padding-right: 68px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--brand);
  }
}
