/* style/index.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #000000;
  --bg-light: #f5f5f5;
  --login-button-color: #EA7C07;
}

/* Base styles for page content, ensuring light text on dark body background */
.page-index {
  color: var(--text-light); /* Light text on dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but explicitly set for clarity */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 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); /* Ensure space below fixed header */
  background: linear-gradient(135deg, #000000 0%, #26A9E0 100%); /* Subtle gradient */
  color: var(--text-light);
}

.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: 12px;
  overflow: hidden;
}

.page-index__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(38, 169, 224, 0.4);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Allow click 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(38, 169, 224, 0.4);
  border-radius: 12px;
  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: 22px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50px;
  white-space: nowrap;
  border: 2px solid var(--text-light);
}

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

.page-index__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__play-now-button:hover {
  background: #1e8dc4; /* Slightly darker primary color */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(38, 169, 224, 0.5);
}

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

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

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

.page-index__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 25px;
  color: var(--primary-color);
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-index__title-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 16px 45px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.page-index__cta-button--primary:hover {
  background-color: #1e8dc4;
  border-color: #1e8dc4;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.4);
}

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

.page-index__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.4);
}

/* --- Features Section --- */
.page-index__features-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  padding: 80px 20px;
  color: var(--text-light);
}

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

.page-index__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(38, 169, 224, 0.15);
  box-shadow: 0 8px 25px rgba(38, 169, 224, 0.3);
}

.page-index__feature-card-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.page-index__feature-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index__feature-card-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}