/* -------------------------------------------------------------------------- */
/*                            BEM Naming Convention                           */
/* -------------------------------------------------------------------------- */
/* All CSS class names must follow BEM: .page-index__element-name */
/* No descendant selectors (e.g., .page-index .hero-section) */
/* No global selectors (body, html, *) */
/* No modification of shared component styles (.shared-header, .shared-footer) */
/* Styles scoped to .page-index */
/* Avoid !important (except for mobile overrides where specified) */
/* Avoid global reset styles */

/* -------------------------------------------------------------------------- */
/*                                 Base Styles                                */
/* -------------------------------------------------------------------------- */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.page-index p {
  margin-bottom: 1em;
  color: #1F2D3D; /* Text Main */
}

.page-index a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-index a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                              HERO Section Styles                           */
/* -------------------------------------------------------------------------- */
.page-index__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Assuming shared.css handles body padding-top for header offset */
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

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

/* Desktop specific aspect ratio for HERO image */
@media (min-width: 850px) {
  .page-index__hero-image img {
    aspect-ratio: 16/5;
    object-fit: cover;
  }
}

/* -------------------------------------------------------------------------- */
/*                           Product Showcase Section                         */
/* -------------------------------------------------------------------------- */
.page-index__products-section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.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;
}

.page-index__product-card {
  width: 100%;
  max-width: 300px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
}

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

.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;
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                           Decorative H1 Title Section                      */
/* -------------------------------------------------------------------------- */
.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;
}

.page-index__section-title {
  margin: 0;
  font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  line-height: 1.35;
  color: #000000; /* Custom Color_1776249996415 */
  font-weight: bold;
}

.page-index__section-title-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background-color: #D6E2FF; /* Border color */
  opacity: 0.6;
}

/* -------------------------------------------------------------------------- */
/*                              Long SEO Article Body                         */
/* -------------------------------------------------------------------------- */
.page-index__article-body {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 48px;
  box-sizing: border-box;
  overflow-x: hidden;
  color: #1F2D3D; /* Text Main */
}

.page-index__article-body h2 {
  margin: 2rem 0 1rem;
  color: #000000; /* Custom Color_1776249996415 */
  font-size: 1.6rem;
}

.page-index__article-body h3 {
  margin: 1.25rem 0 0.75rem;
  color: #000000; /* Custom Color_1776249996415 */
  font-size: 1.3rem;
}

.page-index__article-body p {
  margin-bottom: 1em;
  color: #1F2D3D; /* Text Main */
}

.page-index__article-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #1F2D3D; /* Text Main */
}

.page-index__article-body li {
  margin-bottom: 0.5em;
}

.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: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index__article-figure figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 0.5em;
}

.page-index__article-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #2F6BFF; /* Primary color */
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
  font-style: italic;
  border-radius: 4px;
}

/* Static FAQ styles (for homepage only) */
.page-index__faq-question-static {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  color: #000000; /* Custom Color_1776249996415 */
  font-weight: bold;
}

.page-index__faq-answer-static {
  margin-bottom: 1em;
  padding-left: 1em;
  border-left: 2px solid #D6E2FF; /* Border color */
  color: #1F2D3D; /* Text Main */
}

/* Buttons */
.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-right: 15px;
  margin-bottom: 15px;
}

.page-index__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: #ffffff;
  color: #2F6BFF;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-bottom: 15px;
}

.page-index__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/*                               Responsive Styles                            */
/* -------------------------------------------------------------------------- */

/* Mobile (max-width: 849px) for HERO image to prevent cropping */
@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;
    max-height: none !important;
    display: block !important;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-index__hero-section {
    padding-top: 10px !important; /* Ensure consistent top padding on mobile */
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box !important;
  }

  /* Product Showcase Section */
  .page-index__products-section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box !important;
  }
  .page-index__products-container,
  .page-index__products-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box !important;
  }
  .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% !important;
    width: 100% !important;
  }

  /* Decorative H1 Title Section */
  .page-index__section-title-wrap {
    padding: 20px 10px;
  }
  .page-index__section-title {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }
  .page-index__section-title-line {
    max-width: 40px;
  }

  /* Long SEO Article Body */
  .page-index__article-body {
    padding: 0 15px 32px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-index__article-body h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }
  .page-index__article-body h3 {
    font-size: clamp(1.1rem, 4.5vw, 1.3rem);
  }
  .page-index__article-figure {
    max-width: 100% !important;
  }
  .page-index__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__article-quote {
    padding: 1rem;
  }
  .page-index__faq-question-static {
    font-size: 1.1rem;
  }
  .page-index__faq-answer-static {
    padding-left: 0.8em;
  }

  /* General Image Responsive */
  .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__products-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons Responsive */
  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index a[class*="button"],
  .page-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__article-body .page-index__btn-primary,
  .page-index__article-body .page-index__btn-secondary {
    display: block;
    width: 100%;
  }
}