/* =========================================================
   AFFILIASI PAGE - MODERN STYLES
   ========================================================= */

/* === Base Section === */
.section {
   padding-top: 5px;
   padding-bottom: 5px;
}

/* === Hero Section === */
.affiliasi-hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 2rem;
  position: relative;
}

.affiliasi-hero::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  border-radius: 50% 50% 0 0;
}

.affiliasi-hero h1 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.affiliasi-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Benefits Section === */
.benefits-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.benefit-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.12);
  border-color: var(--color-primary);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem;
}

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

/* === How It Works Section === */
.how-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.how-section h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 2rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  counter-increment: step;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.step-content {
  flex: 1;
  padding-top: 0.25rem;
}

.step-content strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  max-width: 600px;
  border: 1px solid #fef08a;
}

.cta-section p {
  font-size: 1rem;
  color: #713f12;
  margin-bottom: 1.25rem;
}

.btn-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: white;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
  color: white;
}

/* === Terms Section === */
.terms-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.terms-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.terms-section p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.terms-section a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}

/* === Commission Highlight === */
.commission-highlight {
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 400px;
  position: relative;
}

.commission-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.commission-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin: 0.5rem 0;
}

.commission-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* === Responsive === */
@media (max-width: 600px) {
  .affiliasi-hero h1 {
    font-size: 1.4rem;
  }

  .affiliasi-hero p {
    font-size: 0.9rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .commission-amount {
    font-size: 2.5rem;
  }
}
