:root {
  --bg: #eef3f9;
  --panel: #ffffff;
  --panel-soft: #f7fafe;
  --text: #1b2a42;
  --muted: #5f6f86;
  --line: #d8e2f0;
  --brand: #1c67d8;
  --brand-deep: #0f4ea8;
  --brand-soft: #e8f1ff;
  --news: #2e7be6;
  --footer: #122034;
  --footer-2: #0d192a;
  --shadow: 0 8px 24px rgba(17, 67, 143, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f3f7fd 0%, var(--bg) 45%, #eaf1f9 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.58;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.top-bar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-cn {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-en {
  margin-top: 0.15rem;
  color: #6a7f9f;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.head-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.main-nav a {
  text-decoration: none;
  color: #2d3f59;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.24rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.hotline {
  border: 1px solid var(--brand);
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  padding: 0.35rem 0.62rem;
  font-size: 0.9rem;
  border-radius: 6px;
  background: #f4f9ff;
}

.hotline:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}

.menu-btn {
  display: none;
  background: var(--panel);
  border: 1px solid #b8c8de;
  padding: 0.38rem 0.76rem;
  border-radius: 6px;
}

.hero {
  padding: 0.6rem 0 1rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid #c9d8ec;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #dce8f7;
}

.slides {
  display: flex;
  transition: transform 0.45s ease;
}

.slides img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 16 / 5.8;
  object-fit: cover;
}

.ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(13, 46, 94, 0.35);
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
}

.ctrl:hover {
  background: rgba(13, 46, 94, 0.55);
}

.prev {
  left: 12px;
}

.next {
  right: 12px;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dots button {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
}

.dots button.active {
  background: #fff;
}

section {
  padding: 0 0 1.15rem;
}

h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.42rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.capability-intro {
  margin: 0;
  font-size: 0.92rem;
  color: #3d516f;
  max-width: 1050px;
}

.product-head {
  color: #fff;
  background: linear-gradient(120deg, #2f73db, #1f5ec3);
  padding: 0.82rem 1rem;
  border-radius: 10px 10px 0 0;
}

.product-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.product-head p {
  margin: 0.22rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 248px;
  gap: 0.72rem;
  margin-top: 0.72rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(22, 77, 164, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 2.05;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 0.72rem 0.78rem 0.82rem;
}

.service-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.99rem;
}

.service-card .date {
  margin: 0 0 0.35rem;
  color: #7f90a8;
  font-size: 0.79rem;
}

.service-card p {
  margin: 0;
  color: #4f6481;
  font-size: 0.86rem;
}

.news-panel {
  background: linear-gradient(180deg, #3a86ea, var(--news));
  color: #fff;
  padding: 0.76rem 0.92rem;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(24, 88, 185, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-panel h3 {
  margin: 0 0 0.48rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.news-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.news-panel li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.32rem;
}

.news-panel li:last-child {
  border-bottom: none;
}

.news-panel a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
}

.news-panel span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.more-link {
  margin-top: auto;
  align-self: flex-end;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-text {
  margin: 0;
  padding: 0.86rem 0.96rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  color: #3f5470;
  font-size: 0.86rem;
}

.modules h2,
.cases h2 {
  margin-bottom: 0.55rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.module-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.78rem 0.82rem;
}

.module-card h3 {
  margin: 0 0 0.28rem;
  color: var(--brand-deep);
  font-size: 0.98rem;
}

.module-card p {
  margin: 0;
  color: #4d6382;
  font-size: 0.84rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.case-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-body {
  padding: 0.7rem 0.78rem 0.82rem;
}

.case-body h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
}

.case-body p {
  margin: 0;
  color: #4f6481;
  font-size: 0.84rem;
}

.site-footer {
  background: linear-gradient(120deg, var(--footer), var(--footer-2));
  color: #c6d2e2;
  margin-top: 0.5rem;
}

.footer-main {
  padding: 1rem 0 0.82rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.2rem;
}

.site-footer h3 {
  margin: 0 0 0.34rem;
  color: #fff;
  font-size: 1.22rem;
}

.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
}

.site-footer a {
  color: #d9e8ff;
  text-decoration: none;
}

.beian-row {
  margin-top: 0.36rem;
}

.beian-link {
  display: inline-block;
  color: #7fc1ff;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.beian-link:hover {
  color: #a8d6ff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.58rem 0 0.72rem;
  font-size: 0.77rem;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-panel {
    grid-column: span 2;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-bar {
    min-height: 66px;
    position: relative;
  }

  .brand-cn {
    font-size: 1rem;
  }

  .brand-en {
    display: none;
  }

  .menu-btn {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
  }

  .head-right {
    position: relative;
  }

  .main-nav {
    position: absolute;
    right: 0;
    top: 40px;
    flex-direction: column;
    align-items: flex-start;
    width: 180px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.6rem;
    display: none;
    box-shadow: 0 8px 20px rgba(15, 57, 124, 0.12);
    z-index: 25;
  }

  .main-nav.open {
    display: flex;
  }

  .hotline {
    display: none;
  }

  .slides img {
    aspect-ratio: 16 / 8;
  }

  .ctrl {
    width: 34px;
    height: 34px;
    font-size: 1.52rem;
  }

  .product-head h2 {
    font-size: 1.18rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .news-panel {
    grid-column: span 1;
  }

  .module-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
