.page-aceph-affiliate {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-aceph-affiliate__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-aceph-affiliate__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: #1A1A1A; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-aceph-affiliate__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-aceph-affiliate__hero-title {
  font-size: 3.5em;
  color: #DAA520;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-aceph-affiliate__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-aceph-affiliate__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-aceph-affiliate__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-aceph-affiliate__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-aceph-affiliate__button--primary {
  background-color: #DAA520;
  color: #1A1A1A;
  border: 2px solid #DAA520;
}

.page-aceph-affiliate__button--primary:hover {
  background-color: #e5c063;
  transform: translateY(-2px);
}

.page-aceph-affiliate__button--secondary {
  background-color: transparent;
  color: #DAA520;
  border: 2px solid #DAA520;
}

.page-aceph-affiliate__button--secondary:hover {
  background-color: #DAA520;
  color: #1A1A1A;
  transform: translateY(-2px);
}

.page-aceph-affiliate__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-aceph-affiliate__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #DAA520;
  margin: 10px auto 0;
}

.page-aceph-affiliate__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-aceph-affiliate__why-partner-section,
.page-aceph-affiliate__commission-section,
.page-aceph-affiliate__how-to-join-section,
.page-aceph-affiliate__tools-section,
.page-aceph-affiliate__faq-section,
.page-aceph-affiliate__cta-section {
  padding: 80px 0;
}

.page-aceph-affiliate__why-partner-section {
  background-color: #f9f9f9;
}

.page-aceph-affiliate__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-aceph-affiliate__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #DAA520;
}

.page-aceph-affiliate__feature-card:hover {
  transform: translateY(-10px);
}

.page-aceph-affiliate__feature-icon {
  width: 200px; /* Min size 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-aceph-affiliate__feature-title {
  font-size: 1.5em;
  color: #1A1A1A;
  margin-bottom: 15px;
}

.page-aceph-affiliate__feature-description {
  color: #666666;
  font-size: 0.95em;
}

.page-aceph-affiliate__commission-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-aceph-affiliate__commission-section .page-aceph-affiliate__section-title {
  color: #DAA520;
}

.page-aceph-affiliate__commission-section .page-aceph-affiliate__section-title::after {
  background-color: #ffffff;
}

.page-aceph-affiliate__commission-section .page-aceph-affiliate__section-intro {
  color: #f0f0f0;
}

.page-aceph-affiliate__commission-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-aceph-affiliate__tier-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  border: 1px solid #DAA520;
}

.page-aceph-affiliate__tier-title {
  font-size: 1.8em;
  color: #DAA520;
  margin-bottom: 15px;
}

.page-aceph-affiliate__tier-description {
  color: #cccccc;
}

.page-aceph-affiliate__commission-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #aaaaaa;
}

.page-aceph-affiliate__how-to-join-section {
  background-color: #ffffff;
}

.page-aceph-affiliate__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-aceph-affiliate__step-item {
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-aceph-affiliate__step-item::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #DAA520;
  color: #1A1A1A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #1A1A1A;
}

.page-aceph-affiliate__step-item:nth-child(1)::before { content: '1'; }
.page-aceph-affiliate__step-item:nth-child(2)::before { content: '2'; }
.page-aceph-affiliate__step-item:nth-child(3)::before { content: '3'; }
.page-aceph-affiliate__step-item:nth-child(4)::before { content: '4'; }

.page-aceph-affiliate__step-title {
  font-size: 1.6em;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.page-aceph-affiliate__step-description {
  color: #666666;
}

.page-aceph-affiliate__tools-section {
  background-color: #f9f9f9;
}

.page-aceph-affiliate__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-aceph-affiliate__tool-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border-bottom: 5px solid #DAA520;
}

.page-aceph-affiliate__tool-icon {
  width: 200px; /* Min size 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-aceph-affiliate__tool-title {
  font-size: 1.5em;
  color: #1A1A1A;
  margin-bottom: 15px;
}

.page-aceph-affiliate__tool-description {
  color: #666666;
}

.page-aceph-affiliate__faq-section {
  background-color: #ffffff;
}

.page-aceph-affiliate__accordion {
  margin-top: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-aceph-affiliate__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-aceph-affiliate__accordion-item:last-child {
  border-bottom: none;
}

.page-aceph-affiliate__accordion-header {
  background-color: #f5f5f5;
  color: #1A1A1A;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-aceph-affiliate__accordion-header:hover {
  background-color: #eaeaea;
}

.page-aceph-affiliate__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #DAA520;
}

.page-aceph-affiliate__accordion-header.active::after {
  content: '-';
}

.page-aceph-affiliate__accordion-content {
  padding: 0 25px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-aceph-affiliate__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #555555;
}

.page-aceph-affiliate__cta-section {
  background-color: #DAA520;
  color: #1A1A1A;
  text-align: center;
  padding: 80px 0;
}

.page-aceph-affiliate__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.page-aceph-affiliate__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-aceph-affiliate__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-aceph-affiliate__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
    padding-bottom: 40px;
  }

  .page-aceph-affiliate__hero-title {
    font-size: 2.2em;
  }

  .page-aceph-affiliate__hero-description {
    font-size: 1em;
  }

  .page-aceph-affiliate__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-aceph-affiliate__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-aceph-affiliate__section-title {
    font-size: 2em;
  }

  .page-aceph-affiliate__section-intro {
    font-size: 0.95em;
  }

  .page-aceph-affiliate__features-grid,
  .page-aceph-affiliate__commission-tiers,
  .page-aceph-affiliate__steps-list,
  .page-aceph-affiliate__tools-grid {
    grid-template-columns: 1fr;
  }

  .page-aceph-affiliate__feature-card,
  .page-aceph-affiliate__tier-card,
  .page-aceph-affiliate__tool-card {
    padding: 25px;
  }

  .page-aceph-affiliate__feature-icon,
  .page-aceph-affiliate__tool-icon {
    width: 250px; /* Ensure images are not too small */
    height: auto;
  }

  .page-aceph-affiliate__cta-title {
    font-size: 2.5em;
  }

  .page-aceph-affiliate__cta-description {
    font-size: 1em;
  }

  .page-aceph-affiliate__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-aceph-affiliate img {
    max-width: 100%;
    height: auto;
  }
  .page-aceph-affiliate__hero-section .page-aceph-affiliate__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-aceph-affiliate__feature-card .page-aceph-affiliate__feature-icon {
    max-width: 100%;
    height: auto;
  }
  .page-aceph-affiliate__tool-card .page-aceph-affiliate__tool-icon {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-aceph-affiliate__hero-title {
    font-size: 1.8em;
  }

  .page-aceph-affiliate__section-title {
    font-size: 1.8em;
  }

  .page-aceph-affiliate__cta-title {
    font-size: 2em;
  }

  .page-aceph-affiliate__container {
    padding: 0 15px;
  }
}