@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('https://cdn.shopify.com/s/files/1/0610/6710/0262/files/HarmonyOS_Sans_SC_Regular.ttf?v=1754537054') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* 导航栏样式 */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-small img {
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #aa0424;
}

/* 英雄视频区域 */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  font-family: 'HarmonyOS Sans SC', sans-serif;
}

.hero-video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-video-section .overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  background: rgba(0, 0, 0, 0.5);
}

.hero-video-section .overlay .logo img {
  max-width: 90%;
  width: 800px;
  height: auto;
  margin-bottom: -0.5em;
}

.hero-video-section .overlay .coming {
  margin: 2.5rem 0 3.5rem;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 18px;
}

.hero-video-section .overlay .coming .coming-cn {
  letter-spacing: 0.2em;
  margin-right: 1.5em;
}

.hero-video-section .overlay .coming .coming-en {
  letter-spacing: 0.3em;
  font-weight: bold;
  text-transform: uppercase;
}

.hero-video-section .overlay .subscribe-form {
  display: inline-flex;
  align-items: center;
  border: 2px solid #aa0424;
  border-radius: 4px;
  overflow: hidden;
}

.hero-video-section .overlay .subscribe-form input {
  border: none;
  padding: 0.75em 1em;
  font-size: 1rem;
  width: 320px;
  outline: none;
  background: transparent;
  color: #fff;
}

.hero-video-section .overlay .subscribe-form input::placeholder {
  color: #fff;
  opacity: 0.8;
}

.hero-video-section .overlay .subscribe-form button {
  background: #aa0424;
  border: none;
  padding: 0.75em 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.hero-video-section .overlay .subscribe-form button:hover {
  background: #8a031c;
}

.hero-video-section .overlay .subscribe-form button img {
  width: 24px;
  height: 24px;
}

/* 产品展示区域 */
.products-section {
  padding: 5rem 0;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #aa0424;
  margin: 1rem auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比例 */
  overflow: hidden;
}

.product-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.product-card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

/* 关于我们区域 */
.about-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.about-video-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-video {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* 联系我们区域 */
.contact-section {
  padding: 5rem 0;
  background-color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #666;
}

.contact-form-container {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #aa0424;
}

.contact-form button {
  display: inline-block;
  background-color: #aa0424;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #8a031c;
}

/* 页脚样式 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
}

.footer-links a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #aa0424;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.footer-social a:hover img {
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #aaa;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: #aa0424;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background-color: #8a031c;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-video-section .overlay .logo img {
    width: 100%;
    max-width: 500px;
  }

  .hero-video-section .overlay .coming {
    margin: 2rem 0 3rem;
    font-size: 1rem;
  }

  .hero-video-section .overlay .subscribe-form input {
    width: 260px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .hero-video-section .overlay .subscribe-form {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-video-section .overlay .subscribe-form input {
    width: 100%;
    border-bottom: 2px solid #aa0424;
    border-radius: 0;
  }

  .hero-video-section .overlay .subscribe-form button {
    width: 100%;
    justify-content: center;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* 视频加载动画 */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.8; }
  100% { opacity: 0.6; }
}

.video-loading {
  background-color: #000;
  animation: pulse 1.5s infinite;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 图片加载过渡 */
img {
  transition: opacity 0.3s ease;
}

img.loading {
  opacity: 0;
}