/* ================================================================
   PHAROS 8K — Resellers / Distributors Page Stylesheet
   ================================================================ */


/* ----------------------------------------------------------------
   1. HERO STATS
   ---------------------------------------------------------------- */
.reseller-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.reseller-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 2rem;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.reseller-stat-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
}

.reseller-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}


/* ----------------------------------------------------------------
   2. BENEFITS / WHY BECOME A RESELLER
   ---------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,200,66,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(245,200,66,0.15), rgba(245,200,66,0.05));
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* ----------------------------------------------------------------
   3. PRICING PLANS FOR RESELLERS
   ---------------------------------------------------------------- */
.reseller-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.reseller-plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
}

.reseller-plan.featured {
  border-color: var(--gold);
  background: var(--bg-card2);
}

.reseller-plan.featured::after {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}

.reseller-plan:hover:not(.featured) {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.plan-points {
  display: inline-block;
  background: rgba(245,200,66,0.1);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.plan-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin: 1rem 0 0.3rem;
}

.plan-price sup {
  font-size: 1rem;
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
}

.plan-per-point {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.plan-per-point strong {
  color: var(--green);
  font-weight: 700;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: right;
}

.plan-features li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.plan-features .check { color: var(--green); flex-shrink: 0; }


/* ----------------------------------------------------------------
   4. HOW IT WORKS — STEPS
   ---------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #000;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 15px rgba(245,200,66,0.25);
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   5. PANEL FEATURES
   ---------------------------------------------------------------- */
.panel-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.panel-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.panel-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.panel-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.panel-feature p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   6. FAQ SECTION
   ---------------------------------------------------------------- */
.reseller-faq {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ----------------------------------------------------------------
   7. CTA BANNER
   ---------------------------------------------------------------- */
.reseller-cta {
  background: linear-gradient(135deg, rgba(245,200,66,0.1), rgba(76,201,240,0.06));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.reseller-cta h2 {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.reseller-cta p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}


/* ----------------------------------------------------------------
   8. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .reseller-plans { grid-template-columns: 1fr; }
  .reseller-plan.featured { transform: scale(1); }
  .reseller-stats { gap: 1rem; }
  .reseller-stat { min-width: 110px; padding: 0.75rem 1.25rem; }
  .panel-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .reseller-stat-num { font-size: 1.4rem; }
  .plan-price { font-size: 2.2rem; }
}
