/* Base styles for page-doi-tac */
.page-doi-tac {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-doi-tac__section {
  padding: 60px 0;
  text-align: center;
}

.page-doi-tac__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
  line-height: 1.2;
}

.page-doi-tac__section-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__highlight-text {
  color: #FFD36B; /* Accent Color */
  font-weight: bold;
}

.page-doi-tac__text-link {
  color: #FFD36B;
  text-decoration: underline;
}

/* Hero Section */
.page-doi-tac__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background-color: #0A0A0A;
}

.page-doi-tac__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-doi-tac__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-doi-tac__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #FFD36B; /* Accent Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-doi-tac__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* Introduction Section */
.page-doi-tac__introduction-section {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  background-color: #111111; /* Card BG */
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-doi-tac__benefit-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-doi-tac__benefit-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
}

.page-doi-tac__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-doi-tac__card-text {
  font-size: 16px;
  color: #FFF6D6;
}

/* Requirements Section */
.page-doi-tac__requirements-section {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-doi-tac__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-doi-tac__list-item {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-doi-tac__list-item::before {
  content: '✓';
  color: #FFD36B; /* Accent Color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Process Section */
.page-doi-tac__process-section {
  background-color: #111111; /* Card BG */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-doi-tac__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-doi-tac__step-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #F2C14E; /* Main Color */
  color: #111111;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-doi-tac__process-image {
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-doi-tac__process-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Support Section */
.page-doi-tac__support-section {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-doi-tac__support-list {
  margin-top: 50px;
}

.page-doi-tac__support-list .page-doi-tac__list-item {
  font-weight: normal;
  font-size: 18px;
  color: #FFF6D6;
  text-align: left;
}

.page-doi-tac__support-list .page-doi-tac__list-item strong {
  color: #F2C14E;
}

.page-doi-tac__support-image {
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-doi-tac__support-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* FAQ Section */
.page-doi-tac__faq-section {
  background-color: #111111; /* Card BG */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-doi-tac__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

details.page-doi-tac__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #0A0A0A; /* Background */
  color: #FFF6D6;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
details.page-doi-tac__faq-item[open] .page-doi-tac__faq-qtext {
  color: #F2C14E;
}
.page-doi-tac__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Accent Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  background: #111111; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
.page-doi-tac__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Bottom CTA Section */
.page-doi-tac__cta-bottom-section {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-doi-tac__cta-bottom-button {
  margin-top: 40px;
}

/* Global image responsiveness */
.page-doi-tac img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-doi-tac__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-doi-tac__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-doi-tac__hero-description {
    font-size: 1.1rem;
  }
  .page-doi-tac__section-title {
    font-size: 30px;
  }
  .page-doi-tac__section-text {
    font-size: 17px;
  }
  .page-doi-tac__cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }
  .page-doi-tac__benefits-grid, .page-doi-tac__process-steps {
    gap: 20px;
  }
  .page-doi-tac__benefit-card img {
    height: 200px;
  }
  .page-doi-tac__card-title {
    font-size: 22px;
  }
  .page-doi-tac__list-item {
    font-size: 17px;
  }
  .page-doi-tac__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-doi-tac__hero-section {
    padding-top: 10px;
    min-height: unset;
  }
  .page-doi-tac__hero-image img {
    object-fit: contain !important; /* 强制 contain */
    aspect-ratio: unset !important; /* 禁止裁切 */
    height: auto !important;
    max-height: 300px !important;
  }
  .page-doi-tac__hero-content {
    margin-top: 0;
    padding: 25px 15px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }
  .page-doi-tac__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    font-weight: 700;
  }
  .page-doi-tac__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 产品展示图区域 (Benefits Grid) */
  .page-doi-tac__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    overflow-x: hidden;
  }
  .page-doi-tac__benefit-card {
    padding: 20px;
  }
  .page-doi-tac__benefit-card img {
    
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-doi-tac__card-title {
    font-size: 20px;
  }
  .page-doi-tac__card-text {
    font-size: 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-doi-tac__section {
    padding: 40px 0;
  }
  .page-doi-tac__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-doi-tac__section-title {
    font-size: clamp(24px, 6vw, 28px);
    margin-bottom: 15px;
  }
  .page-doi-tac__section-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-doi-tac__list {
    margin: 20px auto;
  }
  .page-doi-tac__list-item {
    font-size: 15px;
    padding-left: 25px;
    margin-bottom: 10px;
  }
  .page-doi-tac__list-item::before {
    font-size: 16px;
  }

  /* Process Steps */
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-doi-tac__step-card {
    min-height: unset;
    padding: 25px;
  }
  .page-doi-tac__step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-doi-tac__process-image img {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Support Section */
  .page-doi-tac__support-list .page-doi-tac__list-item {
    font-size: 15px;
  }
  .page-doi-tac__support-image img {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ Section */
  details.page-doi-tac__faq-item summary.page-doi-tac__faq-question {
    padding: 15px;
  }
  .page-doi-tac__faq-qtext {
    font-size: 15px;
  }
  .page-doi-tac__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
    padding: 0 15px 15px;
  }

  /* 通用图片与容器 */
  .page-doi-tac img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-doi-tac__hero-image,
  .page-doi-tac__process-image,
  .page-doi-tac__support-image,
  .page-doi-tac__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* 按钮与按钮容器 */
  .page-doi-tac__cta-button,
  .page-doi-tac a[class*="button"],
  .page-doi-tac a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .page-doi-tac__cta-bottom-button {
    margin-top: 30px;
  }
}