/* style/vip-program.css */

/* --- Base Styles --- */
.page-vip-program {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color); /* #FFFFFF */
}

.page-vip-program__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-vip-program__section-title {
  font-size: 36px;
  color: var(--primary-color); /* #26A9E0 */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-vip-program__section-title--light {
  color: #ffffff;
}

.page-vip-program__paragraph {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-program__paragraph--light {
  color: #f0f0f0;
}

.page-vip-program__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color); /* #26A9E0 */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-program__cta-button:hover {
  background: #1e8cb4; /* Darkened primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-vip-program__cta-button--secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-vip-program__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-vip-program__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-program__btn-primary:hover {
  background: #1e8cb4; /* Darkened primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-vip-program__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-program__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-vip-program__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-vip-program__button-group--center {
  text-align: center;
}

/* --- Hero Section --- */
.page-vip-program__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, var(--primary-color), #3498db); /* A slightly darker blue for gradient */
  color: #ffffff;
  overflow: hidden; /* Prevent image overflow */
}

.page-vip-program__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-vip-program__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-vip-program__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-vip-program__hero-image-wrapper {
  width: 100%;
  max-width: 900px; /* Constrain image width within hero */
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-program__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  filter: none; /* Ensure no color filters */
}

/* --- Introduction Section --- */
.page-vip-program__introduction-section {
  padding: 80px 0;
  background-color: var(--secondary-color); /* #FFFFFF */
  color: #333333;
}

.page-vip-program__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-vip-program__feature-item {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-program__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-vip-program__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  padding: 10px;
  background: var(--primary-color);
  filter: none; /* Ensure no color filters */
}

.page-vip-program__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-vip-program__feature-description {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* --- Tiers Section --- */
.page-vip-program__tiers-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* #26A9E0 */
  color: #ffffff;
}

.page-vip-program__tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-vip-program__tier-card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-vip-program__tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-vip-program__tier-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  filter: none; /* Ensure no color filters */
}

.page-vip-program__tier-title {
  font-size: 28px;
  color: var(--primary-color);
  margin: 25px 0 15px;
  padding: 0 20px;
}

.page-vip-program__tier-benefits {
  list-style: none;
  padding: 0 20px 20px;
  margin: 0;
  flex-grow: 1;
}

.page-vip-program__tier-benefits li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #555555;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.page-vip-program__tier-benefits li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-vip-program__tier-card .page-vip-program__cta-button {
  margin: 0 auto 25px;
  width: calc(100% - 40px);
  max-width: 250px;
}

.page-vip-program__call-to-action-text {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
}

/* --- Exclusive Benefits Section --- */
.page-vip-program__exclusive-benefits {
  padding: 80px 0;
  background-color: var(--secondary-color); /* #FFFFFF */
  color: #333333;
}

.page-vip-program__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-vip-program__benefit-item {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-vip-program__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-vip-program__benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: none; /* Ensure no color filters */
}

.page-vip-program__benefit-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-vip-program__benefit-description {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* --- How To Join Section --- */
.page-vip-program__how-to-join {
  padding: 80px 0;
  background-color: var(--primary-color); /* #26A9E0 */
  color: #ffffff;
}

.page-vip-program__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-vip-program__step-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for dark section */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-vip-program__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.page-vip-program__step-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-vip-program__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-vip-program__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color); /* #FFFFFF */
  color: #333333;
}

.page-vip-program__faq-list {
  max-width: 900px;
  margin: 60px auto 0;
}

/* FAQ容器样式 */
.page-vip-program__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-vip-program__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-vip-program__faq-item.active .page-vip-program__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-program__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-vip-program__faq-question:active {
  background: #eeeeee;
}

/* 问题标题样式 */
.page-vip-program__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Increased font size for better readability */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: #333333; /* Ensure dark text for question title */
}

/* 切换图标 */
.page-vip-program__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Use primary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate to form an 'X' or just a minus sign */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-vip-program__main-title {
    font-size: 42px;
  }
  .page-vip-program__section-title {
    font-size: 32px;
  }
}