/* style/index.css */

/* Global styles for page-index (main content area) */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF6D6); /* Default text color for dark background */
  background-color: var(--color-background, #0A0A0A); /* Inherit from shared or use default dark */
}

/* Article wrap for content width */
.page-index__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-index__section {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color, #3A2A12); /* Separator for sections */
}

.page-index__section:last-of-type {
  border-bottom: none;
}

/* Titles */
.page-index__page-title {
  font-size: 2.5em; /* Use em for relative sizing, avoid fixed large rem */
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-main, #FFF6D6);
  line-height: 1.2;
  max-width: 900px; /* Prevent H1 from being too wide */
  margin-left: auto;
  margin-right: auto;
}

.page-index__section-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--text-main, #FFF6D6);
}

.page-index__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--text-main, #FFF6D6);
}

/* Paragraphs */
.page-index p {
  margin-bottom: 1em;
  text-align: justify; /* Justify text for long content */
  color: var(--text-main, #FFF6D6);
}

/* Lists */
.page-index ul, .page-index ol {
  margin-bottom: 1em;
  padding-left: 25px;
  color: var(--text-main, #FFF6D6);
}

.page-index ul li, .page-index ol li {
  margin-bottom: 0.5em;
}

/* Links */
.page-index a {
  color: var(--glow-color, #FFD36B); /* Glow color for links */
  text-decoration: none;
}

.page-index a:hover {
  text-decoration: underline;
  color: var(--aux-color, #FFD36B);
}

/* Buttons */
.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-height: 44px; /* Minimum touch target height */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-index__btn--primary {
  background: linear-gradient(180deg, var(--button-gradient-top, #FFD86A) 0%, var(--button-gradient-bottom, #DDA11D) 100%);
  color: #111111; /* Dark text for light button */
  border: none;
}

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

.page-index__btn--secondary {
  background: transparent;
  color: var(--text-main, #FFF6D6); /* Light text for transparent button */
  border: 2px solid var(--border-color, #3A2A12);
}

.page-index__btn--secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index__btn--promo {
  background: #d62828; /* Specific red for promo button */
  color: #ffffff;
  border: none;
}

.page-index__btn--promo:hover {
  background: #ed1c24;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(214, 40, 40, 0.3);
}

/* Module 0: Top H1 + Dual CTA */
.page-index__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 30px;
  text-align: center;
}

.page-index__intro-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index__top-cta .page-index__btn {
  flex-grow: 1;
  max-width: 250px; /* Limit individual button width on desktop */
}

/* Module 1: Announcement / Main Promo Area */
.page-index__announcement-section {
  background-color: var(--card-bg, #111111); /* Card BG for this section */
  padding: 40px 0;
}

.page-index__announcement-title {
  color: var(--glow-color, #FFD36B);
  margin-bottom: 25px;
  font-size: 1.8em;
}

.page-index__selling-points {
  list-style-type: decimal;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 40px;
  color: var(--text-main, #FFF6D6);
}

.page-index__emphasis-text {
  text-align: center;
  font-style: italic;
  font-size: 1.1em;
  color: var(--glow-color, #FFD36B);
}

/* Module 2: Brand Overview + Info Cards */
.page-index__brand-overview-section {
  padding: 40px 0;
}

.page-index__fact-list {
  list-style: none;
  padding-left: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 30px;
}

.page-index__fact-list li {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.page-index__info-card {
  background-color: #f9f9f9; /* Light gray background */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  margin: 30px auto;
  max-width: 800px;
  color: #333333; /* Dark text for light background */
}

.page-index__info-card p, .page-index__info-card ul li {
  color: #333333;
  text-align: left;
}

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

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

.page-index__warning-card {
  background-color: #fff4f4; /* Light red background */
  border-left: 5px solid #ff4141; /* Red left border */
  border-radius: 8px;
  padding: 20px 25px;
  margin: 30px auto;
  max-width: 800px;
  color: #d62828; /* Red text for warning */
  font-weight: bold;
}

.page-index__warning-card strong {
  color: #d62828;
}

/* Module 3: Long SEO Text */
.page-index__seo-content-section {
  padding: 40px 0;
}

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

.page-index__reason-list, .page-index__product-list {
  list-style-type: disc;
  padding-left: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-index__wp-caption {
  margin: 20px auto;
  max-width: 680px; /* Max width for images */
  text-align: center;
  background-color: var(--card-bg, #111111);
  padding: 10px;
  border-radius: 8px;
  box-sizing: border-box;
}

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

.page-index__figcaption {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 10px;
}

.page-index__blockquote {
  border-left: 4px solid var(--glow-color, #FFD36B);
  margin: 30px 0;
  padding: 15px 20px;
  font-style: italic;
  background-color: rgba(255, 211, 107, 0.1); /* Light transparent glow color */
  border-radius: 4px;
  color: var(--text-main, #FFF6D6);
}