/* ====================================
   المتغيرات الأساسية - ألوان هادئة وفاخرة تناسب العود
   ==================================== */
:root {
  --primary-color: #8B6914;         /* لون ذهبي غامق */
  --primary-light: #C4A052;
  --primary-dark: #5C4509;
  --gold-highlight: #D4AF37;
  --gold-bg: #FDF6E3;
  --brown-dark: #3E2723;
  --brown-medium: #6D4C41;
  --text-dark: #1a1a1a;
  --text-gray: #5D4037;
  --text-light: #8D6E63;
  --bg-light: #FDF8F0;
  --bg-white: #FFFFFF;
  --border-color: #D7CCC8;
  --shadow-sm: 0 2px 12px rgba(139, 105, 20, 0.08);
  --shadow-md: 0 4px 20px rgba(139, 105, 20, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 105, 20, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ====================================
   إعدادات عامة
   ==================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 3.5rem;
  line-height: 1.3;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}


/* ====================================
   Hero Section
   ==================================== */
.affiliate-hero {
  background: linear-gradient(135deg, #FEFCF8 0%, #FFF8E1 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.affiliate-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 620px;
}

.hero-text h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 1.6rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 16px 38px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cta-button.whatsapp {
  background: #25D366;
  color: white;
  border: 2px solid #25D366;
}

.cta-button.whatsapp:hover {
  background: #20b858;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brown-medium);
}

.cta-button.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
  background: var(--gold-bg);
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ====================================
   Commission Highlight
   ==================================== */
.commission-highlight {
  background: var(--gold-bg);
  padding: 28px 0;
  text-align: center;
  font-size: 1.4rem;
  color: var(--brown-dark);
  border-top: 1px solid var(--gold-highlight);
  border-bottom: 1px solid var(--gold-highlight);
}

.commission-highlight .highlight {
  font-size: 1.6rem;
}

/* ====================================
   Steps - Benefits - How it works
   ==================================== */
.steps-section,
.benefits-section,
.how-it-works,
.faq-section,
.final-cta {
  padding: 90px 0;
}

.steps-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 2rem;
}

.step-card,
.benefit-item {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.step-card:hover,
.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-highlight);
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--gold-highlight);
}

.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.how-content {
  display: flex;
  align-items: center;
  gap: 70px;
}
.how-content .how-image img{
  padding: 2rem;
}

.how-list {
  list-style: none;
  list-style-type: none;
}

.how-list li {
  list-style-type: none;
  font-size: 1.15rem;
  color: var(--text-gray);
  padding: 16px 0 16px 50px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.how-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.how-conten .how-image{
  padding: 3rem;
}
.how-conten .how-image img{
    width: 100%;
  
}

/* ====================================
   FAQ Section
   ==================================== */
.faq-accordion {
  max-width: 920px;
  margin: 0 auto 3rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-header:hover {
  background: var(--bg-light);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
  flex: 1;
}

.faq-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition);
  width: 35px;
  text-align: center;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  background: var(--bg-light);
  padding: 0 28px;
}

.faq-item.active .faq-body {
  max-height: 800px;
  padding: 0 28px 28px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-contact {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-gray);
}

/* ====================================
   Final CTA
   ==================================== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.6rem;
  line-height: 3.5rem;
}

.cta-text p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-text .cta-button {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.cta-text .cta-button:hover {
  background: var(--gold-bg);
  color: var(--brown-dark);
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 992px) {
  .hero-content,
  .how-content,
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .cta-text {
    max-width: 100%;
  }

  .hero-image img,
  .how-image img,
  .cta-image img {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .cta-button {
    padding: 14px 32px;
  }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 16px;
  }

  .commission-highlight {
    font-size: 1.2rem;
  }
}