/* style/affiliate-program-affiliate-platform-intro.css */

/* Variables */
:root {
  --page-affiliate-program-affiliate-platform-intro-primary-color: #1A1A2E;
  --page-affiliate-program-affiliate-platform-intro-secondary-color: #E6B325;
  --page-affiliate-program-affiliate-platform-intro-text-light: #F0F0F0;
  --page-affiliate-program-affiliate-platform-intro-text-dark: #1A1A2E;
  --page-affiliate-program-affiliate-platform-intro-accent-dark: #a17d1a; /* Darker version of secondary for text on secondary background */
}

.page-affiliate-program-affiliate-platform-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-affiliate-program-affiliate-platform-intro__hero {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-affiliate-program-affiliate-platform-intro__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(230, 179, 37, 0.3));
  z-index: 0;
}

.page-affiliate-program-affiliate-platform-intro__hero-title {
  font-size: 3.2em;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  z-index: 1;
  position: relative;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
}

.page-affiliate-program-affiliate-platform-intro__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1;
  position: relative;
}

/* General Section Styling */
.page-affiliate-program-affiliate-platform-intro__section {
  padding: 80px 0;
  background-color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-dark);
}

.page-affiliate-program-affiliate-platform-intro__section:nth-of-type(even) {
  background-color: #f8f8f8; /* Slightly different background for alternating sections */
}

.page-affiliate-program-affiliate-platform-intro__section-title {
  font-size: 2.5em;
  color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-affiliate-program-affiliate-platform-intro__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-affiliate-program-affiliate-platform-intro__description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Buttons */
.page-affiliate-program-affiliate-platform-intro__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-affiliate-program-affiliate-platform-intro__button--primary {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-dark);
}

.page-affiliate-program-affiliate-platform-intro__button--primary:hover {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-accent-dark);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
  transform: translateY(-3px);
}

.page-affiliate-program-affiliate-platform-intro__button--secondary {
  background-color: transparent;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  border: 2px solid var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
}

.page-affiliate-program-affiliate-platform-intro__button--secondary:hover {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-dark);
  transform: translateY(-3px);
}

/* Features Section */
.page-affiliate-program-affiliate-platform-intro__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-affiliate-program-affiliate-platform-intro__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-affiliate-program-affiliate-platform-intro__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-affiliate-program-affiliate-platform-intro__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
}

.page-affiliate-program-affiliate-platform-intro__feature-title {
  font-size: 1.5em;
  color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

/* Platform Features Section */
.page-affiliate-program-affiliate-platform-intro__platform-features .page-affiliate-program-affiliate-platform-intro__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-affiliate-program-affiliate-platform-intro__content-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-affiliate-program-affiliate-platform-intro__content-row--reverse {
  flex-direction: row-reverse;
}

.page-affiliate-program-affiliate-platform-intro__content-text {
  flex: 1;
}

.page-affiliate-program-affiliate-platform-intro__content-subtitle {
  font-size: 1.8em;
  color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__content-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

.page-affiliate-program-affiliate-platform-intro__content-image {
  flex: 1;
  text-align: center;
}

.page-affiliate-program-affiliate-platform-intro__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* How To Join Section */
.page-affiliate-program-affiliate-platform-intro__how-to-join {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
}

.page-affiliate-program-affiliate-platform-intro__how-to-join .page-affiliate-program-affiliate-platform-intro__section-title {
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
}

.page-affiliate-program-affiliate-platform-intro__how-to-join .page-affiliate-program-affiliate-platform-intro__description {
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
}

.page-affiliate-program-affiliate-platform-intro__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-affiliate-program-affiliate-platform-intro__step-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program-affiliate-platform-intro__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 25px;
}

.page-affiliate-program-affiliate-platform-intro__step-title {
  font-size: 1.6em;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
}

.page-affiliate-program-affiliate-platform-intro__center-button {
  text-align: center;
  margin-top: 60px;
}

/* Benefits Section */
.page-affiliate-program-affiliate-platform-intro__benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-affiliate-program-affiliate-platform-intro__benefit-list li {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.page-affiliate-program-affiliate-platform-intro__list-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  margin-top: 2px;
}

/* FAQ Section */
.page-affiliate-program-affiliate-platform-intro__faq-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-affiliate-program-affiliate-platform-intro__faq-question {
  font-size: 1.3em;
  color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-affiliate-program-affiliate-platform-intro__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-affiliate-program-affiliate-platform-intro__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding-top: 0;
}

.page-affiliate-program-affiliate-platform-intro__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* Call to Action Section */
.page-affiliate-program-affiliate-platform-intro__cta {
  background-color: var(--page-affiliate-program-affiliate-platform-intro-primary-color);
  color: var(--page-affiliate-program-affiliate-platform-intro-text-light);
  padding: 80px 0;
  text-align: center;
}

.page-affiliate-program-affiliate-platform-intro__cta-title {
  font-size: 2.8em;
  color: var(--page-affiliate-program-affiliate-platform-intro-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-affiliate-program-affiliate-platform-intro__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-affiliate-program-affiliate-platform-intro__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-affiliate-program-affiliate-platform-intro__hero-title {
    font-size: 2.5em;
  }

  .page-affiliate-program-affiliate-platform-intro__hero-subtitle {
    font-size: 1.1em;
  }

  .page-affiliate-program-affiliate-platform-intro__section-title {
    font-size: 2em;
  }

  .page-affiliate-program-affiliate-platform-intro__content-row {
    flex-direction: column;
  }

  .page-affiliate-program-affiliate-platform-intro__content-row--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-affiliate-program-affiliate-platform-intro__hero {
    padding: 80px 0;
  }

  .page-affiliate-program-affiliate-platform-intro__hero-title {
    font-size: 2em;
  }

  .page-affiliate-program-affiliate-platform-intro__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-affiliate-program-affiliate-platform-intro__section {
    padding: 60px 0;
  }

  .page-affiliate-program-affiliate-platform-intro__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-affiliate-program-affiliate-platform-intro__features {
    grid-template-columns: 1fr;
  }

  .page-affiliate-program-affiliate-platform-intro__steps {
    grid-template-columns: 1fr;
  }

  .page-affiliate-program-affiliate-platform-intro__button {
    width: 100%;
    max-width: 300px;
  }

  .page-affiliate-program-affiliate-platform-intro__cta-title {
    font-size: 2em;
  }

  .page-affiliate-program-affiliate-platform-intro__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-affiliate-program-affiliate-platform-intro__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-affiliate-program-affiliate-platform-intro__hero-title {
    font-size: 1.8em;
  }

  .page-affiliate-program-affiliate-platform-intro__hero-subtitle {
    font-size: 1em;
  }

  .page-affiliate-program-affiliate-platform-intro__section-title {
    font-size: 1.5em;
  }

  .page-affiliate-program-affiliate-platform-intro__feature-title {
    font-size: 1.3em;
  }

  .page-affiliate-program-affiliate-platform-intro__content-subtitle {
    font-size: 1.5em;
  }

  .page-affiliate-program-affiliate-platform-intro__step-title {
    font-size: 1.4em;
  }

  .page-affiliate-program-affiliate-platform-intro__cta-title {
    font-size: 1.8em;
  }
}