* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazirmatn", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  direction: rtl;
}
html {
  scroll-behavior: smooth;
  background: #0f2027;

}
.container {
  max-width: 700px;
  margin: auto;
  padding: 20px;
}

/* کارت */
.card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* hero */
.hero {
  text-align: center;
}

/* تیتر */
h1 {
  font-size: 20px;
}

h2 {
  color: #00e5ff;
  margin-bottom: 10px;
}

h3 {
  margin-bottom: 8px;
}

/* متن */
p {
  color: #cfd8dc;
  line-height: 1.8;
  font-size: 14px;
}
/* ===== STEPS LIST (بالا) ===== */
.step {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.steps h2 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #00e5ff;
}

/* هر آیتم مرحله */
.step {
  background: rgba(255,255,255,0.05);
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;

  transition: 0.3s;
  cursor: pointer;
}

/* هاور */
.step:hover {
  background: rgba(0,229,255,0.1);
  transform: translateX(5px);
}

/* active */
.step.active {
  background: rgba(0,229,255,0.15);
  border: 1px solid rgba(0,229,255,0.4);
  color: #00e5ff;
  box-shadow: 0 0 15px rgba(0,229,255,0.2);
}
/* ===== DETAILS SECTION ===== */

.steps-details {
  margin-top: 25px;
}
/* کارت توضیحات */
.detail-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);

  padding: 18px;
  border-radius: 18px;
  margin-bottom: 22px;

  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0,229,255,0.1), transparent);
  opacity: 0;
  transition: 0.4s;
}

.detail-card:hover::before {
  opacity: 1;
}

/* hover */
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* تیتر */
.detail-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #00e5ff;
}

/* متن */
.detail-card p {
  font-size: 13.5px;
  line-height: 2;
  color: #cfd8dc;
}

/* هشدار */
.alert {
  margin-top: 15px;
  padding: 14px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255,193,7,0.4);

  border-radius: 12px;

  font-size: 13px;
  color: #ffd54f;

  position: relative;
}

/* آیکون */
.alert::before {
  content: "⚠️";
  margin-left: 3px;
}


/* ===== Result Cards PRO ===== */

.result-box {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 20px;
  border-radius: 20px;
  margin-top: 20px;

  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* hover افکت خفن */
.result-box:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* آیکون */
.result-box .icon {
  font-size: 28px;
  flex-shrink: 0;
}

/* متن */
.result-box h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.result-box p {
  font-size: 14px;
  color: #cfd8dc;
}

/* ❌ منفی */
.result-box.negative {
  border: 1px solid rgba(255,80,80,0.4);
}

.result-box.negative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,0,0,0.15), transparent);
  opacity: 0.6;
}

/* ✅ مثبت */
.result-box.positive {
  border: 1px solid rgba(0,255,150,0.4);
}

.result-box.positive::before {

  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,255,150,0.15), transparent);
  opacity: 0.6;
}

/* Glow آیکون */
.result-box.positive .icon {
  text-shadow: 0 0 10px #00ff9c;
}

.result-box.negative .icon {
  text-shadow: 0 0 10px #ff4d4d;
}

/* ===== Modern Steps ===== */

.steps-modern {
  margin-top: 30px;
}

/* تیتر */
.steps-modern h2 {
  color: #00e5ff;
  margin-bottom: 20px;
  text-align: right;
}

/* کارت */
.step-card {
  display: flex;
  justify-content: space-between;
  text-align: right;
  align-items: center;

  background: rgba(255,255,255,0.05);
  padding: 18px 20px;
  border-radius: 18px;
  margin-bottom: 15px;

  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

/* عنوان */
.step-title {
  font-size: 16px;
  font-weight: bold;
}

/* توضیح */
.step-desc {
  font-size: 13px;
  color: #b0bec5;
}

/* hover */
.step-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.step-card.active {
  border: 1px solid #00e5ff;
  background: rgba(0,229,255,0.1);
}

/* موبایل */
@media (max-width: 600px) {
    .step {
    font-size: 13px;
    padding: 12px;
  }
  .step-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .step-title {
    font-size: 14px;
  }

  .step-desc {
    font-size: 12px;
  }
  .container {
    padding: 12px;
  }

  h1 {
    font-size: 18px;
  }

  p {
    font-size: 13px;
  }
  .result-box {
    padding: 16px;
  }

  .result-box h3 {
    font-size: 14px;
  }

  .result-box p {
    font-size: 13px;
  }
  .detail-card p {
    font-size: 13px;
  }
}