.page-index {
  font-family: 'Lato', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-index__hero-section {
  padding-top: 10px; /* Small top padding as body has padding-top from shared */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Subtle rounded corners */
  overflow: hidden;
}

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

.page-index__service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.page-index__service-item {
  min-width: 0;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-index__service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-index__service-link {
  display: block;
  text-decoration: none;
}

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

.page-index__page-title {
  text-align: center;
  color: #1F2D3D; /* Text Main */
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__home-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
  font-size: 16px;
}

.page-index__home-content h2 {
  color: #1F2D3D; /* Text Main */
  margin: 28px 0 12px;
  font-weight: bold;
  font-size: 24px;
}

.page-index__home-content h3 {
  color: #1F2D3D; /* Text Main */
  margin: 20px 0 10px;
  font-weight: bold;
  font-size: 20px;
}

.page-index__home-content p {
  margin-bottom: 1em;
}

.page-index__home-content ul,
.page-index__home-content ol {
  margin-left: 20px;
  margin-bottom: 1em;
  padding-left: 0;
}

.page-index__home-content li {
  margin-bottom: 0.5em;
}

.page-index__home-content strong {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-index__home-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.page-index__home-content th,
.page-index__home-content td {
  border: 1px solid #D6E2FF; /* Border */
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  color: #1F2D3D;
}

.page-index__home-content th {
  background-color: #F4F7FB; /* Background */
  font-weight: bold;
}

.page-index__home-content a {
  color: #2F6BFF; /* Main Color */
  text-decoration: none;
  font-weight: 500;
}

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

.page-index__figure {
  margin: 20px 0;
  text-align: center;
}

.page-index__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__figure figcaption {
  font-size: 14px;
  color: #1F2D3D;
  margin-top: 10px;
}

.page-index__button-group {
  text-align: center;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  font-size: 16px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-index__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-index__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
}

.page-index__btn-secondary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__partner-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  text-align: center;
  box-sizing: border-box;
}

.page-index__partner-title {
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
}

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

  .page-index__hero-section {
    padding-top: 10px;
    margin: 0;
  }

  .page-index__hero-image img {
    border-radius: 0; /* Full width image on mobile */
  }

  .page-index__service-section {
    margin: 15px auto;
    padding: 0 10px;
  }

  .page-index__service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-index__service-item {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  }

  .page-index__service-item:hover {
    transform: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  }

  .page-index__page-title {
    font-size: 26px;
    margin: 15px auto;
    padding: 0 10px;
  }

  .page-index__home-content {
    font-size: 15px;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .page-index__home-content h2 {
    font-size: 20px;
    margin: 20px 0 10px;
  }

  .page-index__home-content h3 {
    font-size: 18px;
    margin: 15px 0 8px;
  }

  .page-index__home-content table,
  .page-index__home-content thead,
  .page-index__home-content tbody,
  .page-index__home-content th,
  .page-index__home-content td,
  .page-index__home-content tr {
    display: block;
  }

  .page-index__home-content thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .page-index__home-content tr {
    border: 1px solid #D6E2FF;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
  }

  .page-index__home-content td {
    border: none;
    border-bottom: 1px solid #D6E2FF;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  .page-index__home-content td:last-child {
    border-bottom: none;
  }

  .page-index__home-content td::before {
    position: absolute;
    top: 10px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
  }

  /* Specific labels for table cells */
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(1):before { content: "Giấy phép:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(2):before { content: "Năm thành lập:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(3):before { content: "Sản phẩm chính:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(4):before { content: "Khuyến mãi:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(5):before { content: "Hỗ trợ:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(6):before { content: "Nền tảng:"; }
  .page-index__home-content table tr:nth-of-type(1) td:nth-of-type(7):before { content: "Thanh toán:"; }

  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(1):before { content: "Bảo mật:"; }
  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(2):before { content: "Sản phẩm:"; }
  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(3):before { content: "Giao dịch:"; }
  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(4):before { content: "Khuyến mãi:"; }
  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(5):before { content: "Hỗ trợ:"; }
  .page-index__home-content table tr:nth-of-type(2) td:nth-of-type(6):before { content: "Giao diện:"; }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__home-content,
  .page-index__partner-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-index__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
  }

  .page-index__btn,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__partner-title {
    font-size: 22px;
  }
}