/* style/index.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1E90FF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark-card: rgba(255, 255, 255, 0.1);
}

/* Base styles for the page content */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: transparent; /* Inherit from shared body */
}

/* Shared container styling */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Section spacing */
.page-index__section {
  padding: 60px 20px;
  text-align: center;
}

/* Dark background sections */
.page-index__dark-bg {
  background: linear-gradient(135deg, #1E90FF, #0056b3); /* Using auxiliary color for dark background */
  color: var(--text-light);
  padding: 80px 20px;
}

.page-index__dark-section {
  background-color: #1a1a1a; /* A very dark background */
  color: var(--text-light);
  padding: 60px 20px;
}

/* Light background sections */
.page-index__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 60px 20px;
}

/* Headings */
.page-index h1, .page-index h2, .page-index h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index h1 {
  font-size: 48px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index h2 {
  font-size: 38px;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index h3 {
  font-size: 28px;
  color: var(--primary-color);
}

/* Buttons */
.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-index__btn-primary {
  background: var(--primary-color);
  color: #000000; /* Ensure contrast with primary color */
}

.page-index__btn-primary:hover {
  background: #e6c200; /* Darken primary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-index__btn-secondary:hover {
  background: #1977e2; /* Darken secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #0d0d0d; /* Dark background for video section */
}

.page-index__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent <a> */
}

.page-index__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5); /* Darker overlay for better visibility of hint */
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index__video-link:hover .page-index__video-overlay {
  opacity: 1;
}

.page-index__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(30, 144, 255, 0.8); /* Using auxiliary color for hint */
  border-radius: 5px;
  white-space: nowrap;
}

.page-index__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-index__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #000000; /* Ensure contrast with primary color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-index__play-now-button:hover {
  background: #e6c200; /* Darken primary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Module 1: H1 Title + CTA Buttons */
.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1E90FF, #0056b3); /* Auxiliary color for hero background */
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  max-width: 900px;
  z-index: 2;
}

.page-index__main-title {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.15;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) grayscale(100%); /* Darken and grayscale for better text contrast */
}

/* Module 3: Brand Introduction */
.page-index__brand-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-index__brand-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__brand-title {
  font-size: 38px;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-index__brand-intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

.page-index__brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-index__brand-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__brand-item-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index__brand-item-text {
  font-size: 16px;
  color: #555555;
}

.page-index__brand-image-wrapper {
  max-width: 1000px;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index__brand-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Module 2: FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: var(--text-light);
}

.page-index__faq-container {
  max-width: 900px;
  margin: 0 auto;
}