/* --------------------------
   Hero Section
---------------------------*/
.hero-bg {
  position: relative;
  background-image: url('/images/alliance-hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title-container {
  text-align: center;
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.8s ease-out;
}

.hero-title {
  font-style: italic;
  font-weight: bold;
  line-height: 1.218;
}

.hero-subtitle {
  color: #e8e8e8;
}

/* --------------------------
   Simple Introduction Section
---------------------------*/
.section-white {
  background-color: #FFF;
}

.section-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
  line-height: 1.218;
}

.section-subtitle {
  color: rgba(28, 28, 28, 0.7);
  text-align: center;
}

/* Grid & Cards */
.grid-container {
  display: grid;
  justify-content: center;
}

.card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: 700;
  color: #1c1c1c;
}

.card-list ul {
  color: rgba(28, 28, 28, 0.7);
  line-height: 1.625;
  display: flex;
  flex-direction: column;
}

/* Application Card */
.application-card {
  width: 100%;
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.application-card-image {
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.application-button {
  background-color: #be930b;
  border: 1px solid #be930b;
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 300ms;
  cursor: pointer;
  width: 100%;
  max-width: 136px;
}

.application-button:hover {
  background-color: #a67f0a;
}

.application-note {
  color: rgba(28, 28, 28, 0.7);
}

/* --------------------------
   How It Works Steps Section
---------------------------*/
.steps-section {
  background-color: #F4F4F4;
}

.steps-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps-title {
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
}

.steps-flex {
  display: flex;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon-box {
  border: 1px solid rgba(28, 28, 28, 0.1);
  background-color: #fff;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-desc {
  color: rgba(28, 28, 28, 0.7);
  text-align: center;
}

.step-desc strong {
  color: #1C1C1C;
}

.step-arrow {
  margin: auto;
}

.arrow-mobile {
  display: block;
}
.arrow-desktop {
  display: none;
}

/* --------------------------
   Why Affiliate Program Section
---------------------------*/
.benefits-section {
  background-color: #fff;
}

.benefits-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.benefits-title {
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.218;
  text-align: center;
}

.benefits-grid {
  display: grid;
  justify-content: center;
}

.benefit-card {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  border-radius: 6px;
  background: linear-gradient(to bottom right, #f4f4f4, #ffffff);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
}

.benefit-icon-box {
  padding: 12px;
  border-radius: 50px;
  background-color: #fff;
}

.benefit-card-title {
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
}

.benefit-card-text {
  color: rgba(28, 28, 28, 0.7);
  text-align: center;
}

/* --------------------------
   Animation
---------------------------*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: fadeIn 0.8s ease-out forwards;
}

/* --------------------------
   Responsive Breakpoints
---------------------------*/
/* Mobile default (xs) */
.hero-content {
  padding: 110px 16px;
}
.hero-title-container {
  gap: 8px;
}
.hero-title {
  font-size: 36px;
}
.hero-subtitle {
  font-size: 14px;
}

.section-white {
  padding: 30px 20px;
}
.section-container {
  gap: 20px;
}
.section-title {
  font-size: 26px;
}
.section-subtitle {
  font-size: 14px;
}
.grid-container {
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  gap: 4px;
}
.card-title {
  font-size: 16px;
}
.card-list ul {
  font-size: 14px;
  gap: 8px;
}
.application-card-image {
  height: 132px;
}
.application-card-content {
  padding: 16px 20px;
  gap: 10px;
}
.application-button {
  width: 100%;
  max-width: 127px;
  height: 45px;
  font-size: 14px;
}
.application-note {
  font-size: 14px;
}

.steps-section {
  padding-top: 30px;
  padding-bottom: 30px;
}
.steps-container {
  padding: 0 20px;
  gap: 20px;
}
.steps-title {
  font-size: 26px;
}
.steps-flex {
  flex-direction: column;
  gap: 20px;
}
.step-item {
  gap: 8px;
}
.step-desc {
  font-size: 14px;
}

.benefits-section {
  padding-top: 30px;
  padding-bottom: 30px;
}
.benefits-container {
  padding-left: 20px;
  padding-right: 20px;
  gap: 20px;
}
.benefits-title {
  font-size: 26px;
}
.benefits-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.benefit-card {
  gap: 8px;
}
.benefit-card-title {
  font-size: 16px;
}
.benefit-card-text {
  font-size: 14px;
}

/* ≥640px (sm) */
@media (min-width: 640px) {
  .arrow-mobile {
    display: none;
  }
  .arrow-desktop {
    display: block;
  }
}

/* ≥768px (md) */
@media (min-width: 768px) {
  .hero-content {
    padding: 180px 60px;
  }
  .hero-title-container {
    gap: 10px;
  }
  .hero-title {
    font-size: 50px;
  }
  .hero-subtitle {
    font-size: 16px;
  }

  .section-white {
    padding: 50px 0;
  }
  .section-container {
    gap: 30px;
  }
  .section-title {
    font-size: 36px;
  }
  .section-subtitle {
    font-size: 16px;
  }
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .card {
    gap: 10px;
  }
  .card-title {
    font-size: 18px;
  }
  .card-list ul {
    font-size: 16px;
  }
  .application-card-image {
    height: 143px;
  }
  .application-card-content {
    padding: 20px;
  }
  .application-button {
    width: 136px;
    height: 47px;
    font-size: 16px;
  }
  .application-note {
    font-size: 16px;
  }

  .steps-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .steps-container {
    padding: 0;
    gap: 30px;
  }
  .steps-title {
    font-size: 36px;
  }
  .steps-flex {
    flex-direction: row;
    gap: 30px;
  }
  .step-item {
    gap: 12px;
  }
  .step-desc {
    font-size: 16px;
  }

  .benefits-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .benefits-container {
    padding-left: 0;
    padding-right: 0;
    gap: 30px;
  }
  .benefits-title {
    font-size: 36px;
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .benefit-card {
    gap: 10px;
  }
  .benefit-card-title {
    font-size: 18px;
  }
  .benefit-card-text {
    font-size: 16px;
  }
}