/**
 * @file
 * 火彩商城 - 关于我们页面样式
 * 设计风格: Apple Store 简约风格
 */

/* ========== 基础容器 ========== */
.about-us-page {
  min-height: 100vh;
  background: #F5F5F7;
}

.about-container {
  padding: 48px 16px 100px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-container {
    padding: 40px 0 100px;
  }
}

/* ========== Hero 区块 ========== */
/* 使用茶园页面的视频卡片样式 */
.hero-section {
  margin-bottom: 24px;
}

/* ========== 视频卡片样式（参考茶园页面） ========== */
.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 视频加载指示器 */
.video-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;
  transition: opacity 0.3s ease;
}

.video-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: video-spin 0.8s linear infinite;
}

@keyframes video-spin {
  to {
    transform: rotate(360deg);
  }
}

.video-loading-text {
  margin-top: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 移动端优化 */
@media (max-width: 767px) {
  .video-spinner {
    width: 36px;
    height: 36px;
    border-width: 3px;
  }

  .video-loading-text {
    font-size: 12px;
    margin-top: 12px;
  }
}

/* ========== 内容卡片 ========== */
.content-card {
  background: white;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .content-card {
    padding: 40px;
  }
}

/* ========== 章节标题 ========== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1D1D1F;
}

.section-subtitle {
  font-size: 15px;
  color: #6E6E73;
  line-height: 1.6;
  margin-bottom: 24px;
}

.section-content p {
  font-size: 15px;
  color: #6E6E73;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ========== 使命愿景卡片 ========== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.mv-card {
  background: #F5F5F7;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.mv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mv-icon {
  width: 48px;
  height: 48px;
  background: #0066CC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.mv-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1D1D1F;
}

.mv-text {
  font-size: 14px;
  color: #6E6E73;
  line-height: 1.6;
}

/* ========== 价值观 ========== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.value-item {
  text-align: center;
  padding: 20px;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #F0F7FF 0%, #E8F4FD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066CC;
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1D1D1F;
}

.value-text {
  font-size: 13px;
  color: #6E6E73;
}

/* ========== 时间线 ========== */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 102, 204, 0.2);
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: #0066CC;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.timeline-year {
  font-size: 18px;
  font-weight: 700;
  color: #0066CC;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1D1D1F;
}

.timeline-text {
  font-size: 14px;
  color: #6E6E73;
  line-height: 1.6;
}

/* ========== 联系方式 ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 20px;
  background: #F5F5F7;
  border-radius: 10px;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1D1D1F;
}

.contact-text {
  font-size: 14px;
  color: #6E6E73;
  line-height: 1.6;
}

/* ========== 响应式调整 ========== */
@media (max-width: 767px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 暗色模式支持（已隐藏） ========== */
/*
@media (prefers-color-scheme: dark) {
  .about-us-page {
    background: #000000;
  }

  .content-card {
    background: #1C1C1E;
  }

  .section-title,
  .mv-title,
  .value-title,
  .timeline-title,
  .contact-title {
    color: #F5F5F7;
  }

  .section-subtitle,
  .mv-text,
  .value-text,
  .timeline-text,
  .contact-text {
    color: #86868B;
  }

  .mv-card,
  .contact-card {
    background: #2C2C2E;
  }
}
*/

/* ========== 无障碍增强 ========== */
@media (prefers-reduced-motion: reduce) {
  .mv-card:hover {
    transform: none;
    box-shadow: none;
  }

  .timeline-item::before {
    transition: none;
  }
}

/* ========== 聚焦样式 ========== */
.mv-card:focus-visible,
.value-item:focus-visible {
  outline: 2px solid #0066CC;
  outline-offset: 2px;
  border-radius: 12px;
}
