/* f68 homepage - Flatsome light style */
.page-index { color: #1F2D3D; background-color: #F4F7FB; }

/* Hero section: full-width banner, no overlay text */
.page-index__hero-section {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #EAF1FF 0%, #F4F7FB 100%);
}
.page-index__hero-link { display: block; width: 100%; }
.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 17 / 5;
}

/* Logo grid section: 4+2 layout */
.page-index__logo-grid-section {
  max-width: 1200px;
  margin: 16px auto 28px;
  padding: 0 16px;
}
.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
}
.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-index__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.15);
}
.page-index__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.page-index__logo-cta {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__logo-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.5);
}
/* Position 5th and 6th items centered on the second row */
.page-index__logo-item:nth-child(5) { grid-column: 2; }
.page-index__logo-item:nth-child(6) { grid-column: 3; }

/* Guide section: SEO long-form content */
.page-index__guide-section {
  background: #FFFFFF;
  border-top: 1px solid #D6E2FF;
  border-bottom: 1px solid #D6E2FF;
}
.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
.page-index__guide-title {
  text-align: center;
  color: #0477db;
  font-size: 1.9rem;
  margin: 12px 0 20px;
  line-height: 1.3;
}
.page-index__guide-inner h2 {
  color: #2F6BFF;
  font-size: 1.5rem;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 2px solid #D6E2FF;
}
.page-index__guide-inner h3 {
  color: #1F2D3D;
  font-size: 1.15rem;
  margin-top: 24px;
}
.page-index__guide-inner p,
.page-index__guide-inner ul,
.page-index__guide-inner ol {
  line-height: 1.8;
  color: #1F2D3D;
}
.page-index__guide-inner li {
  margin-bottom: 8px;
}
.page-index__guide-inner a {
  color: #2F6BFF;
}
.page-index__guide-figure {
  margin: 24px auto;
  text-align: center;
  max-width: 800px;
}
.page-index__guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.page-index__guide-figure figcaption {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 8px;
  font-style: italic;
}
.page-index__inline-link {
  text-decoration: underline;
  font-weight: 600;
}
/* FAQ styles with details/summary (native toggle handling) */
.page-index__faq-item {
  margin-bottom: 12px;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 0 16px;
  background: #F9FBFF;
}
.page-index__faq-question {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  color: #1F2D3D;
  position: relative;
  list-style: none;
}
.page-index__faq-question::-webkit-details-marker { display: none; }
.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 8px;
  color: #2F6BFF;
  font-size: 1.3rem;
  font-weight: 700;
}
.page-index__faq-item[open] .page-index__faq-question::after {
  content: '−';
}
.page-index__faq-answer {
  padding-bottom: 14px;
  margin: 0;
  color: #4A5568;
  line-height: 1.7;
}
/* CTA button */
.page-index__cta-button {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__cta-button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(47, 107, 255, 0.55);
}

/* Responsive: mobile 2 rows/columns for logo grid, fixed image widths */
@media (max-width: 1024px) {
  .page-index__logo-grid { gap: 16px 12px; }
  .page-index__logo-item { max-width: 220px; }
}

@media (max-width: 768px) {
  .page-index { max-width: 100%; overflow-x: hidden; }
  .page-index__hero-image { aspect-ratio: 2 / 1; }
  .page-index__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .page-index__logo-item:nth-child(5),
  .page-index__logo-item:nth-child(6) { grid-column: auto; }
  .page-index__logo-item { max-width: 100%; }
  .page-index__logo-cta {
    font-size: 0.85rem;
    padding: 8px 16px;
    width: 100%;
    text-align: center;
  }
  .page-index__guide-title { font-size: 1.35rem; }
  .page-index__guide-inner { padding: 12px 16px 36px; }
  .page-index__guide-figure img,
  .page-index__guide-inner img { max-width: 100% !important; height: auto !important; }
  .page-index__cta-button { display: block; width: 100%; text-align: center; }
}