/* 品范家居官网 - 主样式文件 */

:root {
  --primary-dark: #2C2C2C;
  --accent-brown: #8B6F5C;
  --bg-beige: #F5F3EF;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --border-color: #E0E0E0;
}

/* 全局性能优化 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-beige);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  will-change: scroll-position;
}

/* 硬件加速优化 */
.hero,
.hero-video,
.navbar,
.product-card,
.style-card,
.feature-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* 减少动画重绘 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-brown);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: transform 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
  will-change: transform, background-color;
}

.navbar.scrolled {
  background: rgba(44, 44, 44, 0.98);
  padding: 10px 0;
  transform: translateZ(0);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-brown);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 下拉菜单 */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: var(--bg-beige);
  color: var(--accent-brown);
}

/* Hero 区域 */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: scroll-position;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 20px;
  animation: hero-fade-in 1s ease-out;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.8);
  animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
  0%, 100% {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.8);
  }
  50% {
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8), 0 0 40px rgba(139, 111, 92, 0.5);
  }
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

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

.hero-btn {
  display: inline-block;
  padding: 16px 45px;
  background: var(--accent-brown);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-brown);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn-primary {
  background: var(--accent-brown);
  border-color: var(--accent-brown);
}

.hero-btn-primary:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 0 30px rgba(139, 111, 92, 0.5);
}

.hero-btn-secondary {
  background: transparent;
  border-color: var(--white);
}

.hero-btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* 滚动提示动画 */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--white);
  opacity: 0.8;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator p {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* 数据条 */
.stats-section {
  background: var(--primary-dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-brown);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* 区块标题 */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 产品卡片 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  will-change: auto;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.product-image {
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.product-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.product-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background: var(--accent-brown);
}

/* 风格卡片 */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.style-card {
  position: relative;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.style-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.style-card:hover .style-image {
  transform: scale(1.1);
}

.style-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
}

.style-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.style-desc {
  font-size: 14px;
  opacity: 0.8;
}

/* 核心优势 */
.features-section {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-brown);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* CTA 区域 */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #3d3d3d 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-btn-primary {
  padding: 16px 45px;
  background: var(--accent-brown);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--accent-brown);
  transition: all 0.3s ease;
}

.cta-btn-primary:hover {
  background: transparent;
}

.cta-btn-secondary {
  padding: 16px 45px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--white);
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  font-size: 24px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-brown);
}

.contact-info {
  font-size: 14px;
  opacity: 0.7;
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ========================================
   响应式设计 - 适配所有设备
   ======================================== */

/* 超大屏幕（桌面显示器 1920px+） */
@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
  }
  
  .hero-title {
    font-size: 96px;
  }
}

/* 大屏幕（桌面 1200px-1920px） */
@media (max-width: 1920px) and (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

/* 中等屏幕（小桌面/平板横屏 992px-1200px） */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .stats-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid,
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 56px;
  }
}

/* 平板横屏/竖屏（768px-992px） */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
}

/* 平板竖屏（576px-768px） */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  /* 移动端导航 */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
    margin-top: 10px;
  }
  
  /* 移动端汉堡菜单 */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Hero 区域优化 */
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: 2px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
    font-size: 15px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  /* 数据条 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  /* 区块标题 */
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  /* 产品卡片 */
  .products-grid,
  .styles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* 核心优势 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* 地图区域 */
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .map-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .stat-card {
    flex: 1;
    min-width: auto;
    padding: 10px 15px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .map-box {
    height: 400px;
  }
  
  .map-overlay {
    display: none;
  }
  
  /* 联系表单 */
  .contact-form {
    padding: 30px 20px;
  }
  
  /* CTA 区域 */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* 手机横屏（480px-576px） */
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 30px;
  }
}

/* 手机竖屏（320px-480px） */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .hero-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .product-name {
    font-size: 18px;
  }
  
  .product-desc {
    font-size: 13px;
  }
  
  /* 导航栏优化 */
  .navbar {
    padding: 10px 0;
  }
  
  .logo-text {
    font-size: 22px;
  }
  
  .logo img {
    height: 35px;
  }
}

/* 小屏手机（< 375px） */
@media (max-width: 375px) {
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  .container {
    padding: 0 10px;
  }
}

/* ========================================
   横屏优化
   ======================================== */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* ========================================
   适配苹果设备（iOS）
   ======================================== */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari 特定样式 */
  .navbar {
    backdrop-filter: blur(10px) saturate(180%);
  }
  
  .hero-video {
    object-position: center;
  }
  
  /* 防止 iOS 自动缩放 */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  
  /* iOS 安全区域 */
  .navbar {
    padding-top: env(safe-area-inset-top, 20px);
  }
  
  .footer {
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
}

/* ========================================
   适配鸿蒙系统（HarmonyOS）
   ======================================== */
@supports (-moz-appearance: none) and (not (-webkit-appearance: none)) {
  /* HarmonyOS 特定优化 */
  body {
    font-family: 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
}

/* ========================================
   安卓优化
   ======================================== */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  /* Android Chrome 优化 */
  .hero-video {
    object-fit: cover;
  }
}

/* ========================================
   深色模式支持
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-beige: #1a1a1a;
    --text-dark: #f0f0f0;
    --text-light: #b0b0b0;
  }
  
  body {
    background: #0d0d0d;
  }
  
  .product-card,
  .section[style*="background: var(--white)"] {
    background: #1a1a1a;
  }
}

/* ========================================
   减少动画偏好
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
  .navbar,
  .hero-video,
  .scroll-indicator,
  .cta-section,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    height: auto;
    padding: 40px 0;
  }
  
  .hero-title {
    color: black;
    font-size: 36px;
  }
}

/* ========================================
   触控优化
   ======================================== */
@media (hover: none) and (pointer: coarse) {
  /* 触控设备优化 */
  .product-card:hover {
    transform: none;
  }
  
  .hero-btn:active {
    transform: scale(0.98);
  }
  
  /* 增大触控区域 */
  a,
  button,
  .product-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========================================
   高 DPI 屏幕优化
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-video,
  .product-image img,
  .style-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
  
  .section-title {
    font-size: 36px;
  }
  
  .stats-grid,
  .products-grid,
  .styles-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* 页面标题栏 */
.page-header {
  background: var(--primary-dark);
  padding: 180px 0 80px;
  text-align: center;
  color: var(--white);
}

/* 高德地图电子科幻风格 */
.map-section {
  background: linear-gradient(180deg, #000428 0%, #004e92 50%, #000428 100%);
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0, 150, 255, 0.1) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px);
  pointer-events: none;
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.map-container {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 科技光晕效果 */
.map-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.map-header {
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.8) 0%, rgba(0, 20, 60, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -10px 40px rgba(0, 255, 255, 0.2), inset 0 0 60px rgba(0, 255, 255, 0.1);
  position: relative;
}

.map-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  animation: scan-line 3s ease-in-out infinite;
}

@keyframes scan-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.map-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.pulse-dot {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #00ffff 0%, #0088ff 100%);
  border-radius: 50%;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.5);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00ffff 0%, #0088ff 100%);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.5);
  }
  50% { 
    opacity: 0.7;
    box-shadow: 0 0 30px #00ffff, 0 0 60px rgba(0, 255, 255, 0.8);
  }
}

@keyframes pulse-ring {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 400%;
    height: 400%;
    opacity: 0;
  }
}

.map-stats {
  display: flex;
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 15px 25px;
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.3) 0%, rgba(0, 50, 100, 0.4) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  min-width: 120px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 30px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffff 0%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.stat-label {
  font-size: 11px;
  color: rgba(0, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.map-box {
  height: 650px;
  background: linear-gradient(180deg, rgba(0, 20, 60, 0.95) 0%, rgba(0, 10, 40, 0.98) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-top: none;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(0, 255, 255, 0.05);
}

.map-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, #0088ff, #00ffff, transparent);
  animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 20px #00ffff; }
}

/* 3D 地球容器 */
.earth-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#earth-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: grab;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

#earth-canvas:active {
  cursor: grabbing;
}

/* 优化 3D 渲染性能 */
.map-box {
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.map-box {
  height: 650px;
  background: linear-gradient(180deg, rgba(0, 20, 60, 0.95) 0%, rgba(0, 10, 40, 0.98) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-top: none;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(0, 255, 255, 0.05);
}

.map-box {
  height: 650px;
  background: linear-gradient(180deg, rgba(0, 20, 60, 0.95) 0%, rgba(0, 10, 40, 0.98) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-top: none;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(0, 255, 255, 0.05);
}

.map-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, #0088ff, #00ffff, transparent);
  animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 20px #00ffff; }
}

/* 地球覆盖层 */
.earth-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
}

.earth-overlay .overlay-item {
  pointer-events: auto;
}

.map-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.overlay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.9) 0%, rgba(0, 20, 60, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  min-width: 220px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.1);
}

.overlay-item:hover {
  transform: translateX(5px);
  border-color: #00ffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.3);
}

.overlay-icon {
  font-size: 24px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 136, 255, 0.2) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.overlay-text {
  flex: 1;
}

.overlay-title {
  font-size: 14px;
  font-weight: 600;
  color: #00ffff;
  margin-bottom: 3px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.overlay-subtitle {
  font-size: 11px;
  color: rgba(0, 255, 255, 0.7);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .map-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .stat-card {
    flex: 1;
    min-width: auto;
    padding: 10px 15px;
  }
  
  .stat-value {
    font-size: 24px;
  }
  
  .map-box {
    height: 400px;
  }
  
  .map-overlay {
    display: none;
  }
}

.page-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.page-subtitle {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* 联系表单 */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-brown);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent-brown);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

/* ========================================
   视频宣传页面
   ======================================== */
.video-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 20px;
  animation: video-fade-in 1s ease-out;
}

@keyframes video-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.8);
}

.video-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.video-btn {
  display: inline-block;
  padding: 16px 45px;
  background: var(--accent-brown);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-brown);
  text-decoration: none;
}

.video-btn-primary {
  background: var(--accent-brown);
  border-color: var(--accent-brown);
}

.video-btn-primary:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 0 30px rgba(139, 111, 92, 0.5);
}

.video-btn-secondary {
  background: transparent;
  border-color: var(--white);
}

.video-btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.video-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-hero:hover .video-controls {
  opacity: 1;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.video-info-section {
  padding: 80px 0;
  background: var(--bg-beige);
}

.video-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.video-stat-item {
  text-align: center;
}

.video-stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-brown);
  margin-bottom: 10px;
}

.video-stat-label {
  font-size: 16px;
  color: var(--text-light);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .video-title {
    font-size: 36px;
  }
  .video-subtitle {
    font-size: 16px;
  }
  .video-buttons {
    flex-direction: column;
    align-items: center;
  }
  .video-btn {
    width: 100%;
    max-width: 300px;
  }
  .video-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .video-title {
    font-size: 28px;
  }
  .video-stats-grid {
    grid-template-columns: 1fr;
  }
}
