.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: var(--Text-Main);
  background-color: var(--Deep-Navy);
  line-height: 1.6;
}

.page-doi-tac__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--Deep-Navy) 0%, #0c1a30 100%);
}

.page-doi-tac__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.page-doi-tac__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-doi-tac__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-doi-tac__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--Gold);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-doi-tac__hero-description {
  font-size: 1.15rem;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
}

.page-doi-tac__hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
  background: transparent;
  color: var(--Gold);
  border: 2px solid var(--Gold);
}

.page-doi-tac__btn-secondary:hover {
  background: var(--Gold);
  color: var(--Deep-Navy);
  transform: translateY(-2px);
}

.page-doi-tac__section {
  padding: 60px 0;
  background-color: var(--Deep-Navy);
}

.page-doi-tac__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-doi-tac__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--Gold);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}

.page-doi-tac__section-intro {
  font-size: 1.1rem;
  color: var(--Text-Secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-doi-tac__features-grid,
.page-doi-tac__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-doi-tac__feature-card,
.page-doi-tac__step-card {
  background-color: var(--Card-B-G);
  border: 1px solid var(--Divider);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-doi-tac__feature-card:hover,
.page-doi-tac__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-doi-tac__card-title {
  font-size: 1.4rem;
  color: var(--Text-Main);
  font-weight: 600;
  margin-bottom: 15px;
}

.page-doi-tac__card-text {
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-doi-tac__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__image-promo {
  text-align: center;
  margin-top: 40px;
}

.page-doi-tac__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.page-doi-tac__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-doi-tac__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-doi-tac__benefit-item {
  background-color: var(--Card-B-G);
  border: 1px solid var(--Divider);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-doi-tac__benefit-item:hover {
  transform: translateX(5px);
}

.page-doi-tac__list-title {
  font-size: 1.3rem;
  color: var(--Text-Main);
  font-weight: 600;
  margin-bottom: 10px;
}

.page-doi-tac__list-text {
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-doi-tac__faq-section {
  padding-bottom: 80px;
}

.page-doi-tac__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-doi-tac__faq-item {
  background-color: var(--Card-B-G);
  border: 1px solid var(--Divider);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--Text-Main);
  background-color: #10233F;
  border-bottom: 1px solid var(--Divider);
  list-style: none; /* For <details> default marker */
}

.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}

.page-doi-tac__faq-qtext {
  flex-grow: 1;
}

.page-doi-tac__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--Gold);
  transition: transform 0.3s ease;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
  transform: rotate(45deg);
}

.page-doi-tac__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-answer {
  padding-top: 15px;
}

.page-doi-tac__join-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-doi-tac__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Links inside content */
.page-doi-tac__step-card a,
.page-doi-tac__card-text a {
  color: var(--Glow);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-doi-tac__step-card a:hover,
.page-doi-tac__card-text a:hover {
  color: #4FA8FF;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-doi-tac__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-doi-tac__hero-description {
    font-size: 1.05rem;
  }
  .page-doi-tac__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-doi-tac__features-grid,
  .page-doi-tac__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .page-doi-tac__hero-cta-buttons,
  .page-doi-tac__cta-buttons {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-doi-tac__hero-section {
    padding-top: 10px !important; /* Small top padding as per rule */
    padding-bottom: 30px;
  }
  .page-doi-tac__hero-content {
    padding: 0 15px;
  }
  .page-doi-tac__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-doi-tac__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-doi-tac__hero-cta-buttons,
  .page-doi-tac__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* 2. 单栏长文容器 */
  .page-doi-tac__section {
    padding: 40px 0;
  }
  .page-doi-tac__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-doi-tac__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }
  .page-doi-tac__section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* 3. 通用图片与 figure */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-doi-tac__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-doi-tac__image-promo {
    margin-top: 30px;
  }

  /* 4. 按钮与按钮容器 (already covered in top section CTA) */
  /* .page-doi-tac__cta-bottom is a container for buttons */
  .page-doi-tac__cta-bottom {
    margin-top: 40px;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-doi-tac__features-grid,
  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .page-doi-tac__feature-card,
  .page-doi-tac__step-card {
    padding: 25px;
  }
  .page-doi-tac__card-title {
    font-size: 1.2rem;
  }
  .page-doi-tac__card-text {
    font-size: 0.9rem;
  }
  .page-doi-tac__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .page-doi-tac__benefits-list {
    margin-bottom: 30px;
  }
  .page-doi-tac__benefit-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-doi-tac__list-title {
    font-size: 1.15rem;
  }
  .page-doi-tac__list-text {
    font-size: 0.9rem;
  }
  .page-doi-tac__faq-question {
    padding: 18px 20px;
    font-size: 1.1rem;
  }
  .page-doi-tac__faq-toggle {
    font-size: 1.6rem;
  }
  .page-doi-tac__faq-answer {
    padding: 0 20px 18px;
    font-size: 0.9rem;
  }
  .page-doi-tac__faq-item[open] .page-doi-tac__faq-answer {
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .page-doi-tac__hero-section {
    padding-bottom: 20px;
  }
  .page-doi-tac__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-doi-tac__hero-description {
    font-size: 0.9rem;
  }
  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .page-doi-tac__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .page-doi-tac__section-intro {
    font-size: 0.85rem;
  }
  .page-doi-tac__feature-card,
  .page-doi-tac__step-card {
    padding: 20px;
  }
  .page-doi-tac__card-title {
    font-size: 1.1rem;
  }
  .page-doi-tac__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .page-doi-tac__faq-question {
    font-size: 1rem;
  }
  .page-doi-tac__faq-toggle {
    font-size: 1.4rem;
  }
  .page-doi-tac__faq-answer {
    font-size: 0.85rem;
  }
}