/* style/index.css */

/* Base styles for the page content */
.page-index {
  background-color: transparent; /* Body background is #000000 from shared.css */
  color: #ffffff; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Space above footer */
}

/* 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); /* Fixed header offset */
  background: #000000; /* Ensure this section has a dark background */
  box-sizing: border-box;
}

.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;
  border-radius: 8px;
  overflow: hidden;
}

.page-index__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 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.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; /* Prevents video controls from blocking click event on parent <a> */
  background-color: #000; /* Fallback for video load */
}

.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: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(38, 169, 224, 0.8); /* Using brand color */
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: 1px;
}

.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 45px;
  background: #26A9E0; /* Brand primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
  border: none;
  cursor: pointer;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.page-index__play-now-button:hover {
  background: #1e87c5; /* Slightly darker brand color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.6);
}

.page-index__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

/* Module 1: H1 Title + CTA Buttons */
.page-index__hero-content-section {
  padding: 80px 20px;
  text-align: center;
  background: #000000; /* Dark background from body */
  color: #ffffff; /* Light text */
  box-sizing: border-box;
}

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

.page-index__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for H1 */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}