/* 基础样式和全局变量 */
:root {
  --primary-color: #FF8C42;
  --text-dark: #283747;
  --text-light: #98a3b0;
  --bg-light: #f9f9f9;
  --bg-dark: #283747;
  --border-color: #c6cace;
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  /*max-width: 700px;*/
  margin: 0 auto 40px;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #b01118;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 顶部导航栏 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 32px;
}

.desktop-nav ul {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  padding: 5px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.search-icon, .mobile-menu-toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  background: white;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  padding: 20px;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* Hero区域 */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero-content {
  max-width: 35%;
  padding: 0 20px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  overflow: hidden;
}

.hero-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
  z-index: 1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-btn i {
  font-size: 2rem;
  color: var(--primary-color);
}

.play-btn:hover {
  background-color: rgba(255,255,255,1);
}

/* 核心优势 */
#core-advantages {
  padding: 80px 0;
  background-color: white;
}

.advantages-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

.advantage-item {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-item .icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .icon img {
  max-width: 80%;
  max-height: 80%;
}

.advantage-item h3 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
}

.advantage-item p {
  color: var(--text-light);
  font-size: 14px;
}

/* 价值与收益 */
#value-benefit {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.benefit-content {
  /*max-width: 800px;*/
  margin: 0 auto;
  text-align: center;
}

.benefit-content p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

/* 案例实践 */
#case-studies {
  padding: 80px 0;
  background-color: white;
}

.case-slider-container {
  position: relative;
  margin: 0 -20px 40px;
  padding: 0 20px;
}

.case-slider {
  overflow: visible;
}

.case-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
  height: 220px;
  overflow: hidden;
}

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

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.case-data {
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-item {
  display: flex;
  align-items: baseline;
}

.value {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
}

.unit {
  font-size: 14px;
  color: var(--text-light);
  margin-left: 2px;
}

.data-desc {
  font-size: 14px;
  color: var(--text-light);
}

.swiper-button-next, .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  top: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 18px;
  color: var(--text-dark);
}

.swiper-pagination {
  bottom: -30px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--border-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}

/* 典型产品 */
#products {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.products-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-tag {
  position: absolute;
  top: 20px;
  left: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  font-size: 12px;
  border-radius: 0 20px 20px 0;
}

.product-image {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: translateY(-10px);
}

.product-info {
  flex: 0 0 60%;
}

.product-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 14px;
}

/* 常见问题 */
#faq {
  padding: 80px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.faq-question {
  position: relative;
  padding: 15px 30px 15px 0;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 30px 0 0;
}

.faq-item.active .faq-answer {
  height: auto;
  padding-bottom: 15px;
}

.faq-answer p {
  color: var(--text-light);
}

/* 联系我们 */
#contact-us {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

#contact-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#contact-us .container {
  position: relative;
  z-index: 2;
}

#contact-us .section-title,
#contact-us .section-desc {
  color: white;
}

.contact-form-container {
  max-width: 500px;
  margin: 40px auto 0;
}

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

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.form-group input[type="submit"] {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  cursor: pointer;
}

.form-group input[type="submit"]:hover {
  background-color: #b01118;
}

/* 页脚 */
#footer {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 150px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: white;
}

.contact-info {
  flex: 1.5 1 200px;
}

.hotline {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.social-links a:hover {
  border-color: white;
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-light);
}

.footer-links-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links-bottom a {
  font-size: 12px;
  color: var(--text-light);
}

.footer-links-bottom a:hover {
  color: white;
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#back-to-top.active {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: #b01118;
  transform: translateY(-3px);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* 媒体查询 - 响应式设计 */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 35%;
  }

  .advantages-container {
    flex-wrap: wrap;
  }

  .advantage-item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .footer-column {
    flex: 1 1 200px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  #hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 20px 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: 50vh;
  }

  .hero-video::before {
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
  }

  .advantage-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    flex-direction: column;
  }

  .product-image,
  .product-info {
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-column {
    flex: 0 0 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links-bottom {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .play-btn {
    width: 60px;
    height: 60px;
  }

  .case-slider-container {
    margin: 0 -15px 30px;
    padding: 0 15px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
