/* 全局基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.8;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.btn.primary {
  background: #722ed1;
  color: #fff;
}
.btn.primary:hover {
  background: #6225c0;
}
.btn.secondary {
  background: #fff;
  color: #722ed1;
  border: 1px solid #722ed1;
}
.btn.secondary:hover {
  background: #f3efff;
}
.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 50px;
  color: #222;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #722ed1;
}

/* 导航栏样式 */
.header {
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.logo span {
  font-size: 24px;
  font-weight: 700;
  color: #722ed1;
}
.nav-list {
  display: flex;
  gap: 36px;
}
.nav-list a {
  font-size: 16px;
  color: #fff;
  position: relative;
}
.nav-list a.active,
.nav-list a:hover {
  color: #722ed1;
}
.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #722ed1;
}
.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* 首页Hero区域 */
.hero {
  height: 580px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  position: relative;
  padding: 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://tse-mm.bing.com/th?q=视频播放器科技背景') no-repeat center center;
  background-size: cover;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
}
.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}
.hero-player {
  position: relative;
  z-index: 1;
  max-width: 45%;
}
.hero-player img {
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(114, 46, 209, 0.3);
}

/* 首页核心优势 */
.advantages {
  padding: 80px 0;
  background: #fff;
}
.advantage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-item {
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}
.advantage-item:hover {
  transform: translateY(-6px);
  border-top-color: #722ed1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.advantage-item img {
  height: 160px;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 8px;
}
.advantage-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
  font-weight: 600;
}
.advantage-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 首页企业简介 */
.intro {
  padding: 80px 0;
  background: #f8f9fa;
}
.intro-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.intro-text h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #222;
  font-weight: 600;
}
.intro-text p {
  font-size: 15px;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.8;
}
.intro-img img {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 12px;
}

/* 页面通用标题 */
.page-header {
  padding: 60px 0;
  background: #f3efff;
  text-align: center;
}
.page-header h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.page-header p {
  font-size: 16px;
  color: #666;
}

/* 关于我们-企业实力 */
.strength {
  padding: 60px 0;
  background: #fff;
}
.strength-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}
.strength-item .num {
  font-size: 32px;
  font-weight: 700;
  color: #722ed1;
  margin-bottom: 8px;
  display: block;
  line-height: 1.2;
}
.strength-item p {
  font-size: 14px;
  color: #666;
}

/* 关于我们-品牌历程 */
.milestone {
  padding: 60px 0;
  background: #f8f9fa;
}
.milestone-list {
  max-width: 800px;
  margin: 0 auto;
}
.milestone-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
  padding-left: 80px;
}
.milestone-item::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 8px;
  bottom: -30px;
  width: 2px;
  background: #722ed1;
}
.milestone-item:last-child::before {
  display: none;
}
.milestone-item .year {
  width: 60px;
  height: 60px;
  background: #722ed1;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}
.milestone-item .content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.milestone-item .content h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}
.milestone-item .content p {
  font-size: 14px;
  color: #666;
}

/* 关于我们-研发团队 */
.team {
  padding: 60px 0;
  background: #fff;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-item {
  text-align: center;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
}
.team-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.team-item h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
}
.team-item p {
  font-size: 14px;
  color: #666;
}

/* 关于我们-企业资质 */
.cert {
  padding: 60px 0;
  background: #f8f9fa;
}
.cert-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cert-item img {
  height: 100px;
  margin: 0 auto 12px;
  object-fit: contain;
}
.cert-item h3 {
  font-size: 15px;
  color: #222;
  font-weight: 500;
}

/* 产品中心-筛选 */
.product-filter {
  padding: 60px 0;
  background: #fff;
}
.filter-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 12px 28px;
  background: #f8f9fa;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: #722ed1;
  color: #fff;
  border-color: #722ed1;
}
.product-list {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.product-list.active {
  display: grid;
}
.product-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.product-item img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.product-info h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.product-info .params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.product-info .params p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.product-info .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 产品中心-功能模块 */
.function {
  padding: 60px 0;
  background: #f8f9fa;
}
.function-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.function-item {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  text-align: center;
}
.function-item h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.function-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 新闻资讯-布局 */
.news-wrap {
  padding: 60px 0;
  background: #fff;
}
.news-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
}
.news-sidebar h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #222;
  font-weight: 600;
}
.news-tags li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
}
.news-tags li.active {
  background: #722ed1;
  color: #fff;
}
.news-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-item {
  display: flex;
  gap: 20px;
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.news-date {
  min-width: 90px;
  color: #722ed1;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.news-detail h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
}
.news-detail p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.7;
}
.read-more {
  font-size: 13px;
  color: #722ed1;
  padding: 8px 18px;
  border: 1px solid #722ed1;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s;
}
.read-more:hover {
  background: #722ed1;
  color: #fff;
}

/* 案例展示-分类 */
.case-category {
  padding: 30px 0;
  background: #f8f9fa;
}
.category-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.category-btn {
  padding: 12px 28px;
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.category-btn.active {
  background: #722ed1;
  color: #fff;
  border-color: #722ed1;
}

/* 案例展示-列表 */
.case-list {
  padding: 60px 0;
  background: #fff;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.case-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.case-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.case-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.case-info {
  padding: 24px 22px;
}
.case-info h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 600;
}
.case-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-tag {
  font-size: 12px;
  color: #999;
  padding-top: 6px;
  border-top: 1px solid #f0f2f5;
}

/* 联系我们-布局 */
.contact-wrap {
  padding: 60px 0;
  background: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info h2,
.contact-form h2 {
  font-size: 24px;
  color: #222;
  margin-bottom: 24px;
  font-weight: 600;
}
.info-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-item h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}
.info-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.info-item .tip {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #f8f9fa;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #722ed1;
}
.form-group textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
}

/* 底部样式 */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-wrap {
  text-align: center;
}
.footer-logo {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
.footer-nav a:hover {
  color: #722ed1;
}
.copyright {
  font-size: 13px;
  color: #999;
  border-top: 1px solid #333;
  padding-top: 18px;
  line-height: 1.7;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  }
  .nav-list.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    height: auto;
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }
  .hero-content h1 {
    font-size: 30px;
  }
  .hero-player {
    max-width: 100%;
  }
  .advantage-list,
  .intro-wrap,
  .strength-list,
  .cert-list,
  .team-list,
  .product-list,
  .function-list,
  .news-inner,
  .case-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .case-box img {
    height: 180px;
  }
  .milestone-item {
    padding-left: 70px;
  }
  .milestone-item .year {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
  .product-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-item img {
    width: 100%;
    height: auto;
  }
}