:root {
  --primary-color: #26A9E0; /* Main brand color */
  --secondary-color: #EA7C07; /* Login/CTA color */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #111111; /* Body background from shared.css */
  --bg-dark-light: #1a1a1a; /* Slightly lighter dark for content areas */
  --bg-dark-accent: #2a2a2a; /* Accent dark for cards/items */
  --border-color-dark: #444444;
  --text-grey: #e0e0e0;
}

/* General page content styling for dark body background */
.page-index {
  color: var(--text-light); /* Default text color for the main content area */
  background-color: var(--bg-dark); /* Should match body background for consistency */
  min-height: 100vh;
  padding-bottom: 60px; /* Space for footer */
  box-sizing: border-box;
}

/* Fixed header offset */
.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); /* Use CSS variable for header offset */
  background-color: #000; /* Darker background for video section */
}

/* 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.4);
}

.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.3);
}

.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 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);
  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.5);
  padding: 10px 20px;
  background: rgba(38, 169, 224, 0.8); /* Using primary color with transparency */
  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(--secondary-color); /* Use secondary color for "Play Now" button */
  color: var(--text-light);
  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.2);
  border: none;
  cursor: pointer;
  min-width: 180px; /* Ensure button has a decent minimum width */
}

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

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

/* H1 Title + CTA Buttons Section */
.page-index__title-section {
  background-color: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
}

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

.page-index__main-title {
  font-size: 48px;
  color: var(--primary-color); /* Use primary color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-index__title-description {
  font-size: 18px;
  color: var(--text-grey);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  text-align: center;
}

.page-index__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-index__cta-button--primary:hover {
  background: #1e87c0; /* Darken primary color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

/* Main Content Area */
.page-index__content-area {
  background-color: var(--bg-dark-light);
  padding: 80px 20px;
  color: var(--text-grey);
}

.page-index__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.page-index__content-heading {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-index__content-subheading {
  font-size: 28px;
  color: var(--text-light);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-index__content-area p {
  margin-bottom: 15px;
  color: var(--text-grey);
}

.page-index__list,
.page-index__ordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-grey);
}

.page-index__list li,
.page-index__ordered-list li {
  margin-bottom: 10px;
}

.page-index__sub-list {
  list-style-type: disc;
  list-style-position: inside;
  margin-left: 30px;
  margin-top: 10px;
  color: var(--text-grey);
}

.page-index__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 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);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.page-index__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index__faq-item {
  background: var(--bg-dark-accent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #333333; /* Slightly lighter dark for question header */
  color: var(--text-light);
  border: 1px solid var(--border-color-dark);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index__faq-question:hover {
  background: #444444;
  border-color: #555555;
}

.page-index__faq-question:active {
  background: #555555;
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-index__faq-item.active .page-index__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.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 25px;
  opacity: 0;
  color: var(--text-grey);
  background: var(--bg-dark-accent);
  border-radius: 0 0 8px 8px;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-index__faq-answer p {
  margin-bottom: 0;
  color: var(--text-grey);
}


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

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

.page-index__brand-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

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

.page-index__brand-item {
  background: var(--bg-dark-accent);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

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