.page-g {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  overflow-x: hidden;
}

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

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

.page-g__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-g__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-g__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
}

.page-g__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #08160F;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-g__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-g__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly over the image for better flow */
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
  border-radius: 10px;
}

.page-g__main-title {
  font-size: 3.2em;
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-g__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-g__hero-cta-buttons,
.page-g__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-g__btn-primary,
.page-g__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-g__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2E7A4E; /* Border */
}

.page-g__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #57E38D; /* Glow */
  border-color: #57E38D;
  transform: translateY(-2px);
}

.page-g__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-g__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-g__text-block {
  flex: 1;
}

.page-g__image-block {
  flex: 1;
  min-width: 300px; /* Ensure images have a minimum size */
}

.page-g__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-g__types-grid,
.page-g__features-grid,
.page-g__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-g__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-g__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-g__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-g__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

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

.page-g__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-g__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 3px 10px rgba(42, 209, 111, 0.4);
}

.page-g__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-g__step-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-g__safety-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-g__safety-item {
  background-color: #11271B; /* Card BG */
  border-left: 4px solid #2AD16F; /* Button color */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
}

.page-g__safety-item strong {
  color: #57E38D; /* Glow */
}

.page-g__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-g__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-g__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-g__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-g__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-g__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1);
}

.page-g__faq-qtext {
  flex-grow: 1;
}

.page-g__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

.page-g__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.5;
}

.page-g__footer-content {
  background-color: #08160F;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-g__copyright {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  margin: 0;
}

/* Desktop specific styles for content sections */
@media (min-width: 769px) {
  .page-g__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
  }
  .page-g__content-wrapper:nth-child(2n) {
    flex-direction: row-reverse;
  }
  .page-g__text-block, .page-g__image-block {
    flex: 1;
  }
}

/* --- Responsive Styles (Tablet and Mobile) --- */
@media (max-width: 1024px) {
  .page-g__section-title {
    font-size: 2.2em;
  }
  .page-g__main-title {
    font-size: 2.5em;
  }
  .page-g__hero-content {
    margin-top: -100px;
  }
  .page-g__hero-cta-buttons, .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-g__btn-primary, .page-g__btn-secondary {
    width: 100%;
    padding: 12px 25px;
  }
  .page-g__card-image {
    height: 180px;
  }
  .page-g__types-grid, .page-g__features-grid, .page-g__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-g__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-g__hero-section {
    padding-top: 10px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-g__hero-content {
    padding: 30px 15px !important;
    margin-top: -80px !important;
  }
  .page-g__main-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }
  .page-g__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }
  .page-g__hero-image-wrapper {
    max-height: 400px !important;
  }

  /* 其他内容模块 */
  .page-g__section {
    padding: 40px 15px !important;
  }
  .page-g__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }
  .page-g__section-description,
  .page-g__paragraph {
    font-size: 0.95em !important;
  }

  /* 通用图片与容器 */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-g__container,
  .page-g__section,
  .page-g__card,
  .page-g__content-wrapper,
  .page-g__types-grid,
  .page-g__features-grid,
  .page-g__promotions-grid,
  .page-g__guide-steps,
  .page-g__faq-list,
  .page-g__footer-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 产品展示图区域 (通用卡片/网格) */
  .page-g__types-grid,
  .page-g__features-grid,
  .page-g__promotions-grid,
  .page-g__guide-steps {
    grid-template-columns: 1fr !important; /* Single column layout */
    gap: 20px !important;
    overflow-x: hidden !important;
  }
  .page-g__card-image {
    height: auto !important;
    min-height: 200px !important; /* Ensure min size */
  }

  /* 按钮与按钮容器 */
  .page-g__hero-cta-buttons,
  .page-g__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-g__btn-primary,
  .page-g__btn-secondary,
  .page-g a[class*="button"],
  .page-g 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: 12px 15px !important; /* Adjust padding for smaller screens */
  }

  /* Content wrapper for image and text blocks */
  .page-g__content-wrapper {
    flex-direction: column !important;
    gap: 30px !important;
  }
  .page-g__content-wrapper:nth-child(2n) {
    flex-direction: column !important;
  }
  .page-g__text-block,
  .page-g__image-block {
    width: 100% !important;
    min-width: unset !important;
  }
  .page-g__safety-list {
    padding-left: 0 !important;
  }
  .page-g__safety-item {
    padding: 12px 15px !important;
  }
  .page-g__faq-item summary,
  .page-g__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-g__faq-toggle {
    font-size: 1.2em !important;
  }
  .page-g__footer-content {
    padding: 20px 15px !important;
  }
}