.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for dark body background */
  background-color: transparent; /* Body background handled by shared.css Deep Navy #08162B */
}

/* Module 1: HERO主图区域 */
.page-index__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}

.page-index__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-index__hero-image {
  width: 100%;
  margin: 0;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
/* Desktop aspect ratio for HERO */
@media (min-width: 850px) {
  .page-index__hero-image img {
    aspect-ratio: 16/5;
    object-fit: cover;
  }
}
/* Mobile HERO image adaptation */
@media (max-width: 849px) {
  .page-index__hero-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-index__hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: unset !important;
    object-fit: contain !important; /* Prevent cropping on mobile */
    max-height: none !important;
    display: block !important;
  }
}
@media (max-width: 768px) {
  .page-index__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important;
    margin-top: 0;
  }
}

/* Module 2: Sản phẩm nổi bật (Product Showcase) */
.page-index__products-section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: transparent; /* Inherits body background */
}

.page-index__products-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.page-index__products-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr); /* Desktop: 6 columns */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-items: center; /* Center items in the grid */
}

.page-index__product-card {
  width: 100%;
  max-width: 300px; /* Max width for each card */
  border-radius: 0; /* No border-radius */
  overflow: hidden;
  background: transparent; /* No specific card background for this section */
  box-shadow: none; /* No box-shadow */
  transition: transform 0.3s ease;
}

.page-index__product-card:hover {
  transform: translateY(-3px); /* Subtle hover effect */
}

.page-index__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__product-card-image {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
}

.page-index__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  border-radius: 0; /* No border-radius on images */
  box-shadow: none; /* No box-shadow on images */
}

/* Mobile Product Grid adaptation */
@media (max-width: 768px) {
  .page-index__products-section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    box-sizing: border-box;
  }
  .page-index__products-container,
  .page-index__products-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-index__products-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns x 3 rows */
    gap: 15px;
  }
  .page-index__product-card,
  .page-index__product-card-image {
    max-width: 100%;
  }
}

/* Module 3: 居中装饰主标题 */
.page-index__section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 24px 12px;
  box-sizing: border-box;
  text-align: center;
  background-color: transparent;
}
.page-index__section-title {
  margin: 0;
  font-size: clamp(1.1rem, 4.5vw, 1.75rem); /* Responsive font size */
  line-height: 1.35;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
}
.page-index__section-title-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background-color: #1B3357; /* Divider color */
  opacity: 0.6;
}
/* Mobile Main Title adaptation */
@media (max-width: 768px) {
  .page-index__section-title-wrap {
    padding: 20px 10px;
    gap: 10px;
  }
  .page-index__section-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem); /* Adjust font size for mobile */
  }
  .page-index__section-title-line {
    max-width: 40px; /* Shorter lines for mobile */
  }
}

/* Module 4: 长文 SEO 主体 */
.page-index__article-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 48px;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scroll */
  background-color: transparent; /* Inherits body background */
  color: #F3F8FF; /* Text Main */
}
.page-index__article-body h2 {
  margin: 2rem 0 1rem;
  color: #F2C14E; /* Gold for main headings */
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.3;
}
.page-index__article-body h3 {
  margin: 1.25rem 0 0.75rem;
  color: #F3F8FF; /* Text Main */
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  line-height: 1.4;
}
.page-index__article-body p {
  margin-bottom: 1em;
  color: #AFC4E8; /* Text Secondary for paragraphs */
}
.page-index__article-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #AFC4E8; /* Text Secondary */
}
.page-index__article-body li {
  margin-bottom: 0.5em;
  color: #AFC4E8; /* Text Secondary */
}
.page-index__article-body a {
  color: #4FA8FF; /* Glow color for links */
  text-decoration: underline;
}
.page-index__article-figure {
  margin: 1.5rem auto;
  max-width: 800px;
  text-align: center;
}
.page-index__article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px; /* Slight radius for article images */
}
.page-index__article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
}
.page-index__article-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #1D5FD1; /* Auxiliary color for quote border */
  background-color: #10233F; /* Card BG for blockquote */
  color: #F3F8FF; /* Text Main */
  border-radius: 4px;
}
.page-index__article-quote p {
  color: #F3F8FF; /* Text Main for blockquote content */
}

/* Mobile Long SEO Body adaptation */
@media (max-width: 768px) {
  .page-index__article-body {
    padding: 0 12px 32px;
    font-size: 16px;
  }
  .page-index__article-body h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }
  .page-index__article-body h3 {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }
  .page-index__article-figure {
    padding: 0 10px;
  }
  .page-index__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__article-body p, .page-index__article-body li {
    color: #AFC4E8 !important; /* Ensure secondary text color for paragraphs and lists */
  }
}

/* General image responsive rules */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container responsive rules */
.page-index__section,
.page-index__container,
.page-index__products-section,
.page-index__article-body,
.page-index__section-title-wrap {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile general image & container adaptation */
@media (max-width: 768px) {
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__products-section,
  .page-index__article-body,
  .page-index__section-title-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__article-body {
    padding-left: 12px !important; /* Override general padding to match spec */
    padding-right: 12px !important;
  }
}

/* Button styles */
.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff; /* White text for buttons */
  border: none;
}
.page-index__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Button container responsive rules */
.page-index__cta-buttons,
.page-index__button-group,
.page-index__btn-container {
  display: flex; /* Assuming buttons might be in a flex container */
  gap: 15px; /* Space between buttons */
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent horizontal scroll from buttons */
  margin-top: 20px; /* Example spacing */
}

/* Mobile button adaptation */
@media (max-width: 768px) {
  .page-index__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 10px !important;
    align-items: center; /* Center stacked buttons */
  }
}