:root {
  --brand: #0a2647;
  --actived: #5dc9e2;
  --muted: #8fa6bf;
  --bg: #ffffff;
  --card: #ffffff;
  --radius-lg: 20px;
  --swiper-height: 550px;
  --container: 1280px;
  --nav-height: 45px;
  --btn-top: 350px;
  --gutter: 1.5rem;
  --transition: 220ms cubic-bezier(.2, .9, .2, 1);
}

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

/* 字体：Inter优先，系统字体回退 */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1e2b3c;
  line-height: 1.6;
  background-color: var(--bg);
}

a {
  color: inherit
}

button {
  font: inherit
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* 导航栏 */
.navbar {
  background: var(--bg);
  color: white;
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-logo { 
  height: var(--nav-height);
  max-width: 200px;
  object-fit: contain;
}

.nav-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  display: none;
}

.nav-title span {
  color: var(--actived);
}

.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  /* color: #e0edff; */
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
  border-bottom-color: var(--brand);
  color: #081f84;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--brand);
  font-size: 1.6rem;
  cursor: pointer;
}

/* CTA */
.nav-cta .trust-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: .4rem .9rem;
  border-radius: 999px;
  color: var(--brand);
  font-size: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  /* display: none; */
}

.trust-badge i {
  color: #081f84;
  font-size: 1rem
}

.slide-content .btn {
  margin-top: 1.5rem;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-light {
  background: white;
  color: #0f1c2f;
  border: 2px solid transparent;
}

.btn-light:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: scale(1.02);
}

.btn-outline {
  border: 2px solid #0f1c2f;
  color: #0f1c2f;
  background: transparent;
}

.btn-outline:hover {
  background: #0f1c2f;
  color: white;
}

.btn-primary {
  background: #0f1c2f;
  color: white;
  border: 2px solid #0f1c2f;
}
.btn-primary:hover {
  background: #1f3a5f;
  border-color: #1f3a5f;
}

/* 轮播 */
.hero-section {
  height: var(--swiper-height);
}
.heroSwiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.swiper-slide::before {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: linear-gradient(135deg, #0f1c2fcc, #0a2942cc);
}

.slide-content {
  position: absolute;
  text-align: center;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 2;
  color: white;
}

.slide-content .btn {
  position: absolute;
  top: var(--btn-top);
  transform: translateX(-50%);
  width: max-content;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.slide-1 {
  background-image: url('../images/source.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-2 {
  background-image: url('../images/network.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-3 {
  background-image: url('../images/quality.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.swiper-pagination-bullet-active { background: var(--actived) !important; }
.swiper-button-prev, .swiper-button-next { color: white !important; }

/* section通用 */
.section {
  padding: 2rem 0;
}
.bg-light {
  background-color: #f5f9ff;
}
.bg-dark {
  background-color: var(--brand);
  color: white;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.sub-title {
  color: var(--actived);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.section-header h2 {
  font-size: 2.5rem;
  color: #0f1c2f;
}

/* 预览网格 */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.check-list {
  list-style: none;
  margin: 2rem 0;
}
.check-list li {
  margin: 1rem 0;
  font-size: 1.1rem;
}
.check-list i {
  color: var(--actived);
  margin-right: 0.8rem;
}
.stat-badge {
  background: #0f1c2f;
  color: white;
  padding: 1.5rem;
  border-radius: 20px;
  margin: 1rem 0;
  text-align: center;
}
.stat-badge span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--actived);
}

/* 卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.card {
  background: white;
  padding: 2rem;
  border-radius: 30px;
  box-shadow: 0 12px 28px -8px rgba(0,32,64,0.1);
  text-align: center;
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-6px);
}
.card-icon {
  font-size: 3rem;
  color: #0f1c2f;
  margin-bottom: 1rem;
}
.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* 服务小卡片 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 2rem;
}
.service-item, .service-card, .stat-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,30,60,0.05);
  text-align: center;
}
.service-item i, .service-card i {
  font-size: 3rem;
  color: #0f1c2f;
  margin-bottom: 1rem;
}

/*growth卡片*/
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 30, 50, 0.12)
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
}

.future-plan {
  background: white;
  border-radius: 40px;
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.1);
}
.plan-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  background: var(--brand);
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  flex: 1 0 auto;
  text-align: center;
}
.step span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #5dc9e2;
}


/* 新闻卡片 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
}
.news-card {
  background: white;
  padding: 1.8rem;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}
.date {
  color: var(--actived);
  font-weight: 500;
  font-size: 0.9rem;
}
.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #0f1c2f;
  font-weight: 600;
  text-decoration: none;
}

/* 页眉页脚通用 */
.page-header {
  background: #0f1c2f;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

/* ===== Footer 三列布局 ===== */
footer {
  background: #0a1422;
  color: #a5c0e0;
  padding: 3rem 0 1rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: .6rem
}

.footer-social .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none
}

.footer-col.first {
  max-width: 320px;
}

.footer-col p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0c8e5;
}

.footer-col .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}
.footer-col .logo span {
  color: var(--actived);
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--actived);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  color: #a5c0e0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-col .contact-item i {
  width: 20px;
  color: var(--actived);
  font-size: 1.1rem;
}
.footer-col .contact-item span {
  color: #b0c8e5;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1f3a5f;
  padding-top: 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #8da3c0;
}

/* 联系表单 */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input, .contact-form textarea {
  padding: 0.8rem 1.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  font-family: inherit;
}
.contact-form textarea {
  border-radius: 24px;
}
.contact-form button {
  width: fit-content;
  padding: 0.8rem 2.5rem;
  cursor: pointer;
}
/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
}
.product-card {
  background: #f5f9ff;
  padding: 2rem 1rem;
  border-radius: 28px;
  text-align: center;
  transition: 0.2s;
}
.product-card i {
  font-size: 2.8rem;
  color: #0f1c2f;
  margin-bottom: 1rem;
}
.news-list article {
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem 0;
}
.news-list h3 {
  margin: 0.5rem 0;
}

/* 质量体系*/
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem
}

.quality-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0
}

.quality-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 3rem
}

.quality-list i {
  color: var(--accent);
  width: 2rem;
}

.quality-desc p {
  letter-spacing: 0.5px;
  line-height: 1.5;
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.contact-info i {
  width: 30px;
  color: var(--brand);
  font-size: 1.3rem;
}
.map-placeholder {
  background: #e7f2f8;
  height: 300px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: 600;
  border: 2px dashed var(--actived);
}
.map-placeholder i {
  margin-right: 12px;
  font-size: 2rem;
}

/* 合作伙伴*/
.brands-show {
  margin-top: 4rem;
  text-align: center;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
}

.brands-show .partners-overlay {
  position: relative;
  z-index: 2;
  background: rgba(10, 38, 71, 0.85);
  padding: 3rem 2rem;
  border-radius: 20px;
  max-width: 800px;
}

.partners-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/partners.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}

/* 品牌网格 */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.brand-item {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,30,60,0.08);
  transition: 0.2s;
}

.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,30,60,0.12);
}

.brand-item i {
  font-size: 2.5rem;
  color: #0f1c2f;
  margin-bottom: 0.75rem;
}

.brand-item span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e2b3c;
}

/* ===== 响应式布局 ===== */

/* 平板端 */
@media (max-width: 1280px) {
  .nav-title, .nav-cta {
    display: none;
  }
}

/* 移动端 */
@media (max-width: 768px) {
  :root {
    --swiper-height: 450px;
    --btn-top: 250px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.show {
    max-height: 300px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .slide-content {
    padding: 1rem;
  }

  .slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .preview-grid,
  .contact-grid,
  .stats-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .footer-content,
  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col.first {
    max-width: 100%;
  }

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

  .slide-1, .slide-2, .slide-3 {
    background-size: cover;
    background-position: center;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .plan-steps {
    flex-direction: column;
  }

  .step {
    padding: 1rem 1.5rem;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .brand-item {
    padding: 1rem 0.5rem;
  }

  .brand-item i {
    font-size: 2rem;
  }

  .brand-item span {
    font-size: 0.8rem;
  }

  .preview-grid {
    direction: ltr !important;
  }

  .brands-show {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .brands-show .partners-overlay {
    padding: 2rem 1.5rem;
  }

  .brands-show .partners-overlay h2 {
    font-size: 1.5rem;
  }

  .brands-show .partners-overlay p {
    font-size: 0.9rem;
  }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
  :root {
    --swiper-height: 380px;
    --btn-top: 220px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .slide-content h2 {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .brands-show {
    min-height: 250px;
    padding: 1.5rem 1rem;
  }

  .brands-show .partners-overlay {
    padding: 1.5rem 1rem;
  }

  .brands-show .partners-overlay h2 {
    font-size: 1.3rem;
  }

  .brands-show .partners-overlay p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}