/* ریسپانسیو برای موبایل */
@media (max-width: 600px) {
  .plan-card {
    width: 90%;
  }
}

.section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  font-family: tahoma, sans-serif;
}
.section h2 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 800;
}

.docs-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.doc-card {
  flex: 1;
  min-width: 280px;
  border-radius: 14px;
  padding: 16px;
  color: #fff;
}
.doc-card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
}
.doc-card ul {
  margin: 0;
  padding-left: 20px;
}
.doc-card li {
  margin-bottom: 6px;
  font-size: 14px;
}
.doc-card.nasiba { background: #10b981; }
.doc-card.digipay { background: #3b82f6; }
.doc-card.setareyek { background: #f59e0b; }

.plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.plan-card {
  width: 220px;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  background: #fff;
  text-align: center;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}
.plan-card:hover {
  transform: scale(1.05);
}
.plan-card.active {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.plan-nasiba { background: #10b981; }
.plan-digipay { background: #3b82f6; }
.plan-setareyek { background: #f59e0b; }

.plan-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.plan-desc {
  font-size: 13px;
}
.plan-limit {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px;
  border-radius: 6px;
  margin-top: 10px;
}

.plan-logo {
  height: 28px;
  margin-bottom: 6px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.2s ease;
}
.plan-card:hover .plan-logo {
  transform: scale(1.05);
}

.price-bar {
  background: linear-gradient(90deg, #673AB7, #9C27B0);
  color: #fff;
  font-weight: bold;
  padding: 14px;
  border-radius: 8px;
  margin: 25px 0 15px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.price-label {
  margin-right: 8px;
}

#productPrice {
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
}
#productPrice::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #9C27B0;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.field {
  margin-bottom: 14px;
}
.field label {
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.stats {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  background: #f9fafb;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
}
.stat .label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}
.stat .value {
  font-size: 16px;
  font-weight: 900;
  color: #111827;
}

.cta-btn {
  margin-top: 20px;
  background: #10b981;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.notice {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}
.modal {
  display: none; /* بدون !important */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}
.modal-content {
  background: #fff;
  margin: 6% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.close-btn {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}
.submit-btn {
  background: #3b82f6;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.summary {
  background: #f9fafb;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}
.summary div {
  font-size: 13px;
  color: #374151;
  margin: 4px 0;
}
.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}
.faq-question {
  width: 100%;
  text-align: right;
  background: #f9fafb;
  border: none;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.faq-answer {
  display: none;
  padding: 10px;
  font-size: 14px;
  color: #374151;
}
.faq-question.active {
  background: #10b981;
  color: #fff;
}
.consult-section {
  margin-top: 20px;
  text-align: center;
}

.consult-btn {
  display:inline-block;
  margin:5px;
  background:#28a745;
  color:#fff;
  padding:12px 20px;
  border-radius:8px;
  font-size:16px;
  text-decoration:none;
  transition:background 0.3s;
}

.consult-btn:hover {
  background:#218838;
}

.consult-btn.whatsapp {
  background:#25D366;
}

.consult-btn.whatsapp:hover {
  background:#1ebe5d;
}