/* style/index.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Root variables for consistent colors */
:root {
  --primary-color: #0A2463; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* Body background from shared.css */
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency, though body bg is global */
}

/* Section general styling */
.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 50px;
  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;
}

/* --- 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-color: var(--bg-dark); /* Ensure dark background */
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.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(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.page-index__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.page-index__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  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.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: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8); /* Gold with transparency */
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 1px;
}

.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(--secondary-color); /* Gold background */
  color: var(--primary-color); /* Dark blue text for contrast */
  text-decoration: none;
  border-radius: 35px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-index__play-now-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.6);
}

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

/* --- H1 Title + CTA Buttons Section --- */
.page-index__hero-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--primary-color); /* Dark blue background */
  color: var(--text-light); /* Light text */
}

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

.page-index__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--secondary-color); /* Gold for H1 */
  line-height: 1.2;
}

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

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

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

.page-index__btn-primary {
  background: var(--secondary-color); /* Gold background */
  color: var(--primary-color); /* Dark blue text */
}

.page-index__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__btn-secondary {
  background: transparent;
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color); /* Gold border */
}

.page-index__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-index__faq-list {
  margin-top: 40px;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color); /* Dark blue background */
  border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border with transparency */
  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: #1a3a7a; /* Slightly lighter dark blue */
  border-color: var(--secondary-color);
}

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

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

.page-index__faq-item.active .page-index__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #1a3a7a;
}

.page-index__faq-item.active .page-index__faq-toggle {
  color: var(--text-light); /* White when active */
  transform: rotate(45deg); /* Rotate for minus sign 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;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  color: var(--text-light); /* Light text for answers */
}

.page-index__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light); /* Ensure answer text is light */
}

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

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

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

.page-index__brand-item {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-index__brand-item-image {
  width: 100%;
  max-width: 400px; /* Limit image width in card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-index__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for item titles */
  margin-bottom: 15px;
}

.page-index__brand-item p {
  font-size: 16px;
  color: var(--text-light); /* Light text for paragraphs */
  line-height: 1.7;
  text-align: left;
}

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

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

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

.page-index__blog-item {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__blog-item-image {
  width: 100%;
  height: 220px; /* Fixed height for blog image */
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-index__blog-item-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-index__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color); /* Gold for blog titles */
  line-height: 1.3;
  transition: color 0.3s ease;
}

.page-index__blog-link:hover .page-index__blog-item-title {
  color: #e6c200; /* Slightly darker gold on hover */
}

.page-index__blog-item-excerpt {
  font-size: 15px;
  color: var(--text-light); /* Light text */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__blog-item-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7); /* Lighter white for date */
  margin-top: auto; /* Push date to bottom */
}

.page-index__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-index__view-all-button {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color); /* Gold border */
  text-decoration: none;
  border-radius: 30px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-index__view-all-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-index__main-title {
    font-size: 40px;
  }
  .page-index__hero-description {
    font-size: 18px;
  }
  .page-index__section-title {
    font-size: 32px;
  }
  .page-index__play-now-button {
    padding: 15px 40px;
    font-size: 20px;
  }
  .page-index__cta-button {
    padding: 14px 40px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  /* --- Video Section Mobile --- */
  .page-index__video-section {
    padding-top: var(--header-offset, 120px) !important;
    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;
    border-radius: 8px; /* Smaller border radius for mobile */
  }
  
  .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: 8px;
    overflow: hidden !important;
  }
  
  .page-index__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain; /* Ensure video fits without cropping */
  }
  
  .page-index__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  .page-index__video-cta {
    margin-top: 25px;
    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: 14px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    border-radius: 25px;
  }

  /* --- H1 Title + CTA Buttons Section Mobile --- */
  .page-index__hero-section {
    padding: 60px 15px;
  }
  .page-index__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-index__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container to prevent buttons sticking to edges */
  }
  .page-index__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    border-radius: 25px;
  }

  /* --- FAQ Section Mobile --- */
  .page-index__faq-area {
    padding: 60px 15px;
  }
  .page-index__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-index__faq-question {
    padding: 15px 20px;
  }
  .page-index__faq-question h3 {
    font-size: 16px;
  }
  .page-index__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-index__faq-item.active .page-index__faq-answer {
    padding: 15px 20px !important;
  }
  .page-index__faq-answer p {
    font-size: 15px;
  }

  /* --- Brand Introduction Section Mobile --- */
  .page-index__brand-section {
    padding: 60px 15px;
  }
  .page-index__brand-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-index__brand-item {
    padding: 25px;
    border-radius: 10px;
  }
  .page-index__brand-item-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  .page-index__brand-item-title {
    font-size: 22px;
  }
  .page-index__brand-item p {
    font-size: 15px;
  }

  /* --- Blog List Section Mobile --- */
  .page-index__blog-section {
    padding: 60px 15px;
  }
  .page-index__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-index__blog-item {
    border-radius: 10px;
  }
  .page-index__blog-item-image {
    height: 180px;
    border-radius: 10px 10px 0 0;
  }
  .page-index__blog-item-content {
    padding: 20px;
  }
  .page-index__blog-item-title {
    font-size: 20px;
  }
  .page-index__blog-item-excerpt {
    font-size: 14px;
  }
  .page-index__view-all-button-container {
    margin-top: 40px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .page-index__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    border-radius: 25px;
  }

  /* General image and video responsiveness for mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index video,
  .page-index__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__video-section,
  .page-index__video-container,
  .page-index__video-wrapper,
  .page-index__hero-section,
  .page-index__hero-container,
  .page-index__faq-area,
  .page-index__faq-container,
  .page-index__brand-section,
  .page-index__brand-container,
  .page-index__blog-section,
  .page-index__blog-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no filter on images */
.page-index img {
  filter: none !important;
}