#pc-terms {
  position: relative;
}

#pc-terms .bg-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#pc-terms .bg-decor .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
#pc-terms .bg-decor .blob-pink {
  top: -6%;
  right: -8%;
  width: clamp(340px, 34vw, 620px);
  height: clamp(340px, 34vw, 620px);
  background: radial-gradient(
    circle,
    #ff8ecb4d 0%,
    #ff8ecb1f 55%,
    transparent 75%
  );
}
#pc-terms .bg-decor .blob-blue {
  bottom: 4%;
  left: -8%;
  width: clamp(300px, 30vw, 560px);
  height: clamp(300px, 30vw, 560px);
  background: radial-gradient(
    circle,
    #71c3cf40 0%,
    #71c3cf1a 55%,
    transparent 75%
  );
}

#pc-terms .terms-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* ---------- بردکرامب ---------- */
#pc-terms .breadcrumbs {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #666;
  background-color: var(--pc-bg-soft);
  margin-bottom: clamp(28px, 4vw, 44px);
}

#pc-terms .breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#pc-terms .breadcrumb-list li {
  display: flex;
  align-items: center;
  margin: 0;
}

#pc-terms .breadcrumb-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

#pc-terms .breadcrumb-list a:hover {
  color: var(--pc-secondary);
}

#pc-terms .separator svg {
  width: 16px;
  aspect-ratio: 1 / 1;
}
#pc-terms .separator svg path {
  stroke: #999;
}

/* آیتم فعلی */
#pc-terms .current span[aria-current] {
  color: var(--pc-text);
  font-weight: 400;
}

#pc-terms .terms-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(40px, 7vw, 72px);
  flex-wrap: wrap;
  background: linear-gradient(165deg, var(--pc-bg-soft) 0%, #eff3f7 70%);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  z-index: 10;
}
#pc-terms .terms-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--pc-accent) 2.5px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

#pc-terms .terms-hero-text {
  flex: 1 1 380px;
  min-width: 260px;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

#pc-terms .terms-hero h1 {
  font-family: "Pofak", sans-serif;
  font-size: clamp(26px, 3vw + 14px, 40px);
  font-weight: 500;
  line-height: 1.4em;
  color: var(--pc-text);
  margin: 0 0 24px;
}
#pc-terms .terms-hero h1 span {
  color: var(--pc-primary);
}
#pc-terms .terms-hero .terms-hero-lead {
  font-family: "Pofak", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 0.3vw + 12px, 14px);
  line-height: 1.6;
  color: var(--pc-text);
  opacity: 0.85;
  margin: 0 0 28px;
}
#pc-terms .terms-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#pc-terms .terms-hero-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-secondary-soft);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--pc-text);
  box-shadow: var(--pc-shadow-badge);
  margin: 0;
}

#pc-terms .terms-hero-image {
  position: relative;
  flex: 0 0 auto;
  width: clamp(190px, 18vw, 280px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pc-terms .terms-hero-image::before {
  /* دایره پس‌زمینه پشت جوجه */
  content: "";
  position: absolute;
  inset: 6%;
  background: radial-gradient(circle, var(--pc-secondary) 0%, #71c3cf00 72%);
  opacity: 0.35;
  border-radius: 50%;
  z-index: -1;
}
#pc-terms .terms-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 20px #22222222);
}

/* ---------- بدنه‌ی متن ---------- */
#pc-terms .terms-content {
  max-width: 820px;
  margin: 0 auto;
}

#pc-terms .terms-section {
  margin-bottom: clamp(28px, 5vw, 44px);
}

#pc-terms .terms-section h2 {
  position: relative;
  display: block;
  width: fit-content;
  font-family: "Pofak", iransans, sans-serif;
  font-size: clamp(17px, 1.1vw + 13px, 22px);
  font-weight: 500;
  line-height: 1.5em;
  color: var(--pc-primary);
  margin: 0 0 18px;
  padding: 0 4px;
  z-index: 0;
}
#pc-terms .terms-section h2::before {
  content: "";
  bottom: 0;
  left: -5px;
  top: 10px;
  right: -5px;
  position: absolute;
  background-color: var(--pc-primary-soft);
  border-radius: 10px;
  pointer-events: none;
  z-index: -1;
}

#pc-terms .terms-section h3 {
  position: relative;
  display: block;
  width: fit-content;
  font-family: "Pofak", iransans, sans-serif;
  font-size: clamp(14.5px, 0.6vw + 12px, 17px);
  font-weight: 500;
  line-height: 1.5em;
  color: var(--pc-secondary);
  margin: 22px 0 10px;
}

#pc-terms .terms-section p,
#pc-terms .terms-section li {
  font-family: "iransans-dn-fanum", "iransans", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 0.3vw + 12px, 14px);
  line-height: 1.6;
  color: var(--pc-text);
  margin: 0 0 12px;
}

#pc-terms .terms-section ul {
  margin: 0 0 12px;
  padding-right: 20px;
  list-style: disc;
}
#pc-terms .terms-section li {
  margin-bottom: 8px;
  padding-right: 4px;
}
#pc-terms .terms-section li::marker {
  color: var(--pc-primary);
}

#pc-terms .terms-note {
  background: var(--pc-bg-soft);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 10px;
}
#pc-terms .terms-note p {
  margin: 0 0 10px;
  opacity: 0.9;
}
#pc-terms .terms-note p:last-child {
  margin-bottom: 0;
}
#pc-terms .terms-note p strong {
  color: var(--pc-primary-vivid);
  font-weight: 400;
}

#pc-terms .terms-divider {
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    var(--pc-secondary-soft),
    transparent
  );
  border: none;
  margin: clamp(28px, 5vw, 44px) 0;
}

@media (max-width: 640px) {
  #pc-terms .terms-hero {
    justify-content: flex-start;
    text-align: right;
  }
  #pc-terms .terms-hero-image {
    width: 150px;
    margin: 0 auto;
  }
}
