:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f9f9f9;
  --border-color: #333; /* Darker border for dark background */
}

/* Base styles for the page content, considering dark body background */
.page-index {
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--bg-dark); /* Ensure explicit dark background for main content */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 80px; /* Space for footer */
}

/* Fixed nav bar spacing for desktop */
.page-index__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust based on fixed header height */
  background-color: var(--bg-dark);
}

.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(255, 215, 0, 0.3); /* Goldish shadow on hover */
}

.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(255, 215, 0, 0.2); /* Goldish shadow */
}

.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 interfering with click event */
}

.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 contrast */
  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: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Primary color for hint background */
  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: var(--text-dark); /* Dark text on gold button for contrast */
  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(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-index__play-now-button:hover {
  background: var(--secondary-color); /* Dark red on hover */
  color: var(--text-light); /* Light text on dark red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.5);
}

.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 {
  background-color: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
}

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

.page-index__main-title {
  font-size: 48px;
  color: var(--primary-color); /* Gold title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-index__hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.page-index__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold button */
}

.page-index__cta-button--primary:hover {
  background: var(--secondary-color);
  color: var(--text-light); /* Light text on dark red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.5);
}

.page-index__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-index__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

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

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

.page-index__brand-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

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

.page-index__brand-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly visible white overlay for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__brand-item-text,
.page-index__brand-item-list {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-index__brand-item-list {
  list-style-type: disc;
  padding-left: 20px;
}

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

.page-index__brand-item-strong {
  color: var(--primary-color); /* Highlight strong text with gold */
}

.page-index__brand-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-index__faq-main-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08); /* Slightly visible white overlay for dark background */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index__faq-question:hover {
  background: rgba(255, 255, 255, 0.15); /* Lighter on hover */
}

.page-index__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-index__faq-question-title {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color); /* Gold text for question */
  pointer-events: none;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index__faq-item.active .page-index__faq-toggle {
  color: var(--secondary-color); /* Dark red when active */
  transform: rotate(45deg); /* A common visual cue for 'x' or 'minus' */
}

.page-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 0 0 5px 5px;
}

.page-index__faq-answer p {
  color: var(--text-light); /* Light text for answer content */
  font-size: 15px;
}


/* Module 4: Blog List */
.page-index__blog-section {
  background-color: var(--bg-dark);
  padding: 80px 20px;
  color: var(--text-light);
}

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

.page-index__blog-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-index__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.page-index__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__blog-item-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index__blog-item-title {
  font-size: 20px;
  color: var(--primary-color);
  margin: 20px 20px 10px;
  font-weight: 600;
  line-height: 1.4;
}

.page-index__blog-item-excerpt {
  font-size: 15px;
  color: var(--text-light);
  margin: 0 20px 15px;
}

.page-index__blog-item-date {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin: 0 20px 20px;
}

.page-index__blog-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__cta-button--outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-index__cta-button--outline:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

/* General text styles for the page */
.page-index h1, .page-index h2, .page-index h3, .page-index h4, .page-index h5, .page-index h6 {
  color: var(--primary-color);
  font-weight: 700;
}

.page-index p {
  color: var(--text-light);
  margin-bottom: 1em;
}

.page-index ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index ul li {
  color: var(--text-light);
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 20px;
}

.page-index ul li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__main-title {
    font-size: 40px;
  }
  .page-index__brand-title,
  .page-index__faq-main-title,
  .page-index__blog-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-index__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-index__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-index__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-index__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-index__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-index__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-index__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-index__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-index__hero-section,
  .page-index__brand-section,
  .page-index__faq-section,
  .page-index__blog-section {
    padding: 40px 15px;
  }

  .page-index__main-title {
    font-size: 32px;
  }

  .page-index__hero-description {
    font-size: 16px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-index__brand-title,
  .page-index__faq-main-title,
  .page-index__blog-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index__brand-content {
    grid-template-columns: 1fr;
  }

  .page-index__brand-item-title {
    font-size: 20px;
  }

  .page-index__brand-item-text,
  .page-index__brand-item-list {
    font-size: 15px;
  }

  .page-index__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index__faq-question-title {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index__faq-answer {
    padding: 0 15px;
  }
  
  .page-index__faq-item.active .page-index__faq-answer {
    padding: 15px !important;
  }

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

  .page-index__blog-item-image {
    height: 180px;
  }

  .page-index__blog-item-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }

  .page-index__blog-item-excerpt,
  .page-index__blog-item-date {
    font-size: 14px;
    margin: 0 15px 15px;
  }
  
  /* Ensure all images are responsive */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__hero-section,
  .page-index__brand-section,
  .page-index__faq-section,
  .page-index__blog-section,
  .page-index__blog-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all images are responsive by default */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button styles for the page */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container styles */
.page-index__cta-buttons,
.page-index__button-group,
.page-index__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure video elements are responsive by default */
.page-index video,
.page-index__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container responsiveness */
.page-index__video-section,
.page-index__video-container,
.page-index__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}