/* style/index.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-page-color: #F5F7FA;
  --border-color: #E0E0E0;
  --btn-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --promo-box-bg: #fffbe6;
  --promo-box-border: #111;
  --warning-card-bg: #fff4f4;
  --warning-card-border-left: #ff4141;
  --info-card-bg: #f9f9f9;
  --info-card-border: #ddd;
  --btn-promo-color: #d62828;
}

.page-index {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Assuming light body background from shared.css */
  background-color: var(--background-page-color);
  line-height: 1.6;
}

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

.page-index__section {
  padding: 40px 0;
  background-color: var(--card-bg-color);
  margin-bottom: 20px;
}

.page-index__top-section {
  padding-top: 10px;
  text-align: center;
  background-color: var(--background-page-color);
}

.page-index__page-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-index__description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  color: var(--text-main-color);
}

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

.page-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn--primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-index__btn--primary:hover {
  opacity: 0.9;
}

.page-index__btn--secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index__btn--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-index__announcement-section {
  background-color: var(--card-bg-color);
  text-align: center;
}

.page-index__announcement-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
}

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

.page-index__feature-list {
  list-style-type: decimal;
  text-align: left;
  margin: 20px auto;
  max-width: 800px;
  padding-left: 40px;
}

.page-index__feature-list li {
  margin-bottom: 10px;
}

.page-index__highlight-text {
  font-size: 1.1em;
  color: var(--primary-color);
  font-style: italic;
  font-weight: bold;
  margin-top: 20px;
}

.page-index__highlight-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index__brand-overview-section {
  background-color: var(--background-page-color);
}

.page-index__brand-overview-section p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__fact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.page-index__fact-list li {
  background-color: var(--card-bg-color);
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.page-index__info-card {
  background-color: var(--info-card-bg);
  border: 1px solid var(--info-card-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
}

.page-index__info-card p {
  margin-bottom: 15px;
  text-align: left;
}

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

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

.page-index__warning-card {
  background-color: var(--warning-card-bg);
  border-left: 5px solid var(--warning-card-border-left);
  border-radius: 8px;
  padding: 20px 25px;
  font-weight: normal;
}

.page-index__warning-card strong {
  color: var(--warning-card-border-left);
  display: block;
  margin-bottom: 10px;
}

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

.page-index__seo-content-section h2 {
  font-size: 2em;
}

.page-index__seo-content-section h3 {
  font-size: 1.5em;
}

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

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

.page-index__identification-list li {
  margin-bottom: 10px;
  text-align: justify;
}

.page-index__advantages-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index__advantages-list li {
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__advantages-list li::before {
  content: '✔ ';
  color: var(--primary-color);
}

.page-index__product-highlights {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-index__product-highlights li {
  margin-bottom: 10px;
  text-align: justify;
}

.page-index__product-highlights strong {
  color: var(--primary-color);
}

.page-index__product-cta {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
}

.page-index__product-cta a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index__wp-caption {
  margin: 20px auto;
  text-align: center;
  max-width: 680px;
  background-color: var(--info-card-bg);
  border: 1px solid var(--info-card-border);
  border-radius: 8px;
  padding: 10px;
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 0 auto;
}

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

.page-index blockquote {
  background-color: var(--info-card-bg);
  border-left: 4px solid var(--primary-color);
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  border-radius: 8px;
}

.page-index__quote-text {
  margin-bottom: 10px;
  text-align: justify;
}

.page-index__quote-cite {
  display: block;
  text-align: right;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 10px;
}

.page-index__promo-box-section {
  background-color: var(--background-page-color);
  text-align: center;
}

.page-index__promo-box {
  background-color: var(--promo-box-bg);
  border: 2px dashed var(--promo-box-border);
  border-radius: 10px;
  padding: 30px;
  margin: 0 auto;
  max-width: 900px;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index__promo-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 25px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promo-list li {
  margin-bottom: 8px;
}

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

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

.page-index__registration-tutorial-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: 700;
}

.page-index__registration-tutorial-section p {
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__registration-tutorial-section h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.page-index__registration-tutorial-section h3 + p {
  text-align: justify;
  margin-bottom: 20px;
}

.page-index__registration-fields {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__registration-fields li {
  margin-bottom: 8px;
}

.page-index__faq-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 700;
}

.page-index__faq-section h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-index__contact-intro {
  margin-top: 40px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
}

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

.page-index__contact-info li {
  margin-bottom: 10px;
}

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

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

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

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

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

  .page-index__description {
    font-size: 1em;
  }

  .page-index__announcement-title {
    font-size: 1.6em;
  }

  .page-index__seo-content-section h2 {
    font-size: 1.8em;
  }

  .page-index__seo-content-section h3 {
    font-size: 1.4em;
  }

  .page-index__promo-title {
    font-size: 1.6em;
  }

  .page-index__registration-tutorial-section h2 {
    font-size: 1.8em;
  }

  .page-index__registration-tutorial-section h3 {
    font-size: 1.4em;
  }

  .page-index__faq-section h2 {
    font-size: 1.8em;
  }

  .page-index__faq-section h3 {
    font-size: 1.4em;
  }

  .page-index__fact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index__top-section {
    padding-top: 10px !important;
  }

  .page-index__top-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__btn,
  .page-index__btn--primary,
  .page-index__btn--secondary,
  .page-index__btn--promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__page-title {
    font-size: 1.8em;
  }

  .page-index__description {
    font-size: 0.95em;
    padding: 0 10px;
  }

  .page-index__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-index__announcement-title {
    font-size: 1.4em;
    padding: 0 10px;
  }

  .page-index__announcement-section p,
  .page-index__brand-overview-section p,
  .page-index__seo-content-section p,
  .page-index__faq-section p {
    text-align: left;
    padding: 0 15px;
  }

  .page-index__feature-list,
  .page-index__identification-list,
  .page-index__advantages-list,
  .page-index__product-highlights,
  .page-index__registration-fields,
  .page-index__promo-list {
    padding-left: 30px;
    padding-right: 15px;
  }

  .page-index__info-card,
  .page-index__warning-card,
  .page-index__promo-box {
    padding: 20px;
    margin: 0 15px 20px 15px;
    max-width: unset;
    width: auto;
  }

  .page-index__seo-content-section h2,
  .page-index__seo-content-section h3,
  .page-index__registration-tutorial-section h2,
  .page-index__registration-tutorial-section h3,
  .page-index__faq-section h2,
  .page-index__faq-section h3,
  .page-index__promo-title {
    text-align: center;
    padding: 0 15px;
  }

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

  .page-index__wp-caption {
    margin: 20px 15px;
    padding: 5px;
    max-width: unset;
    width: auto;
  }

  .page-index__wp-caption figcaption {
    padding: 0 5px;
  }

  .page-index__contact-intro,
  .page-index__contact-info {
    padding: 0 15px;
  }

  .page-index__promo-box-section .page-index__btn--promo {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .page-index__promo-box .page-index__promo-list {
    padding-left: 30px;
    padding-right: 15px;
  }

  .page-index__registration-tutorial-section h3 + p {
    padding: 0 15px;
  }

  .page-index__registration-fields {
    padding-left: 30px;
    padding-right: 15px;
  }

  .page-index__contact-info {
    text-align: left;
    padding-left: 25px;
  }
}