/* style/index.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --page-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --warning-red-bg: #fff4f4;
  --warning-red-border: #ff4141;
  --promo-box-bg: #fffbe6;
  --promo-box-border: #111;
}

.page-index {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--page-bg); /* Fallback if shared.css doesn't define body bg */
}

.page-index__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Module 0: Top Section */
.page-index__top-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--card-bg);
}

.page-index__page-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-black);
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  min-height: 44px; /* Minimum touch target height */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: all 0.3s ease;
  max-width: 100%;
}

.page-index__btn--primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

/* Module 1: Announcement Section */
.page-index__announcement-section {
  padding: 50px 0;
  background-color: var(--page-bg);
}

.page-index__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.2em);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 25px;
  text-align: center;
}

.page-index__section-title--notification {
  color: var(--primary-color);
  font-size: clamp(1.6em, 3vw, 2em);
}

.page-index__announcement-section p {
  text-align: justify;
  margin-bottom: 15px;
}

.page-index__feature-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-index__feature-list li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-index__emphasis-text {
  text-align: center;
  color: var(--warning-red-border);
  font-style: italic;
  font-size: 1.1em;
  margin-top: 30px;
}

.page-index__emphasis-text a {
  color: var(--warning-red-border);
  text-decoration: underline;
}

/* Module 2: Brand Overview Section */
.page-index__brand-overview-section {
  padding: 50px 0;
  background-color: var(--card-bg);
}

.page-index__fact-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-index__fact-list li {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-index__info-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  color: var(--text-main);
}

.page-index__info-card p strong {
  color: var(--primary-color);
}

.page-index__info-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-index__info-card ul li {
  margin-bottom: 5px;
}

.page-index__info-card em {
  font-size: 0.9em;
  color: #666;
}

.page-index__warning-card {
  background-color: var(--warning-red-bg);
  border-left: 5px solid var(--warning-red-border);
  border-radius: 0 8px 8px 0;
  padding: 20px;
  color: var(--text-main);
  font-weight: 500;
}

.page-index__warning-card strong {
  color: var(--warning-red-border);
}

/* Module 3: SEO Content Section */
.page-index__seo-content-section {
  padding: 50px 0;
  background-color: var(--page-bg);
}

.page-index__seo-content-section h2,
.page-index__seo-content-section h3 {
  color: var(--text-black);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index__seo-content-section h2 {
  font-size: clamp(1.7em, 3vw, 2.1em);
  text-align: center;
}

.page-index__seo-content-section h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  margin-left: 20px;
}

.page-index__seo-content-section p {
  text-align: justify;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-index__seo-content-section ol,
.page-index__seo-content-section ul {
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-index__seo-content-section ol li,
.page-index__seo-content-section ul li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-index__wp-caption {
  max-width: 680px;
  margin: 25px auto;
  text-align: center;
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  filter: none; /* Absolutely no filters */
}

.page-index__wp-caption figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-index__blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  font-size: 1.1em;
}

.page-index__blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}

.page-index__seo-content-section a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Module 4: Promo Box Section */
.page-index__promo-box-section {
  padding: 50px 0;
  background-color: var(--card-bg);
}

.page-index__promo-box {
  background-color: var(--promo-box-bg);
  border: 2px dashed var(--promo-box-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--text-black);
}

.page-index__promo-box-title {
  font-size: clamp(1.6em, 3vw, 2em);
  font-weight: 700;
  color: var(--warning-red-border);
  margin-bottom: 25px;
}

.page-index__promo-features {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__promo-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index__btn--promo {
  background-color: var(--warning-red-border);
  color: #ffffff;
  padding: 15px 40px;
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: background-color 0.3s ease;
  max-width: 100%;
}

.page-index__btn--promo:hover {
  background-color: #c71a1a;
}

/* Module 5: Registration Tutorial Section */
.page-index__registration-tutorial-section {
  padding: 50px 0;
  background-color: var(--page-bg);
}

.page-index__registration-tutorial-section h2 {
  font-size: clamp(1.7em, 3vw, 2.1em);
  text-align: center;
  color: var(--text-black);
  margin-bottom: 30px;
}

.page-index__registration-tutorial-section h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-index__registration-tutorial-section p {
  text-align: justify;
  margin-bottom: 15px;
  color: var(--text-main);
}

/* Module 6: FAQ Section */
.page-index__faq-section {
  padding: 50px 0 80px 0;
  background-color: var(--card-bg);
}

.page-index__faq-section h2 {
  font-size: clamp(1.7em, 3vw, 2.1em);
  text-align: center;
  color: var(--text-black);
  margin-bottom: 30px;
}

.page-index__faq-section h3 {
  font-size: clamp(1.3em, 2.2vw, 1.6em);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-index__faq-section p {
  text-align: justify;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-index__contact-intro {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  font-weight: 500;
  color: var(--text-black);
}

.page-index__contact-info {
  list-style-type: none;
  padding: 0;
  text-align: center;
  margin-top: 20px;
}

.page-index__contact-info li {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-index__contact-info li strong {
  color: var(--text-black);
}

.page-index__contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* General Image Styling (ensure no filters) */
.page-index img {
  border: none; /* Ensure no default borders */
  filter: none; /* Absolutely no filters */
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index__article-wrap {
    padding: 0 15px;
  }

  .page-index__page-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }

  .page-index__btn {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-index__section-title {
    font-size: clamp(1.6em, 3.8vw, 2em);
  }

  .page-index__promo-box-title {
    font-size: clamp(1.4em, 2.8vw, 1.8em);
  }

  .page-index__btn--promo {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-index__seo-content-section h2 {
    font-size: clamp(1.5em, 2.8vw, 1.9em);
  }
}