
/* 重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #00b4d8;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn:hover {
  background: #0096c7;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
}

.btn-outline:hover {
  background: #00b4d8;
  color: white;
}

/* 头部导航 */
.header {
  background: #0d1b2a;
  color: white;
  padding: 1rem 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  color: #90e0ef;
}

.nav ul {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #90e0ef;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 轮播图 */
.hero {
  height: 100vh;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slide-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.slide-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* 产品区 */
.products-section {
  padding: 5rem 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0d1b2a;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #00b4d8;
  margin: 1rem auto;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
  padding: 1.5rem;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.4rem;
  color: #0d1b2a;
  margin-bottom: 0.8rem;
}

.product-card p {
  color: #555;
  margin-bottom: 1.5rem;
}

/* 客户案例 */
.cases-section {
  padding: 5rem 0;
  background: #f0f4f8;
}

.swiper-container-cards {
  margin-top: 2rem;
}

.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1.5rem;
}

.case-card img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.case-card h3 {
  font-size: 1.4rem;
  color: #0d1b2a;
}

.case-card p {
  color: #555;
  margin-top: 0.5rem;
}

/* 页脚 */
.footer {
  background: #0d1b2a;
  color: #ddd;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #90e0ef;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-col ul li {
  margin: 0.5rem 0;
}

.footer-col a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #90e0ef;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1b263b;
  font-size: 0.9rem;
  color: #888;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0d1b2a;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}