:root {
  --bg: #f5f8fc;
  --bg-dark: #07172d;
  --panel: #ffffff;
  --primary: #0b70d9;
  --primary-dark: #004c99;
  --accent: #19c4ff;
  --text: #172033;
  --muted: #64748b;
  --line: #dce5f2;
  --shadow: 0 20px 50px rgba(8, 35, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(8, 35, 67, 0.08);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 72px;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: linear-gradient(155deg, #c5e0ff 0%, #8ec5ff 100%);
  border: 1.5px solid rgba(11, 112, 217, 0.45);
  box-shadow:
    0 6px 18px rgba(11, 112, 217, 0.32),
    0 2px 6px rgba(8, 35, 67, 0.12);
  box-sizing: border-box;
}

.site-header .brand-logo {
  filter: contrast(1.05) saturate(1.12);
}

.site-header .brand strong {
  color: #0a1a33;
  font-weight: 700;
}

.site-header .brand small {
  color: #3d4f66;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0.3px;
}

.brand small {
  color: var(--muted);
  font-size: 16px;
}

.footer-brand .brand-logo {
  background: linear-gradient(155deg, #dcecff 0%, #a8d4ff 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 66px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 24px 12px;
  color: #243249;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(11, 112, 217, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #eef5ff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: #06152a;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 34px rgba(25, 196, 255, 0.22);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 600px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots span.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.section {
  padding: 92px 0;
  background: #fff;
}

.section.muted,
.applications {
  background: var(--bg);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.feature-panel h3,
.faq h2,
.cta-card h2 {
  margin: 0 0 14px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.rich-text,
.product-card p,
.service-card p,
.timeline p,
.news-list p,
.jobs p,
.contact-card p,
.faq p,
.cta-card p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.product-card,
.feature-panel,
.contact-card,
.news-list article,
.jobs article,
.timeline article,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card,
.product-card {
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card {
  min-height: 318px;
  padding: 48px 42px 40px;
  text-align: center;
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(8, 35, 67, 0.16);
}

.service-card h3,
.service-card h2,
.product-card h2 {
  margin: 12px 0;
}

.service-card h3 {
  color: #555b66;
  font-size: 22px;
}

.service-card p {
  max-width: 280px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 1.9;
}

.service-card p.desc-red {
  color: #e60012;
}

.service-icon {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  padding: 14px;
  object-fit: contain;
  border-radius: 18px;
  background: #2f86d6;
}

.card-icon,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  color: var(--primary);
  font-weight: 800;
  border-radius: 999px;
  background: #eaf5ff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.solution-carousel {
  overflow: hidden;
}

.solution-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.solution-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: calc((100% - 56px) / 3);
  padding: 34px 28px 24px;
  text-align: center;
  border: 1px solid #edf1f6;
  background: #fff;
}

.solution-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.solution-card h3 {
  margin: 0;
  color: #606a78;
  font-size: 17px;
  font-weight: 500;
}

.solution-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.solution-dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d6d9dd;
  transition: background 0.2s ease;
}

.solution-dots span.active {
  background: var(--primary);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
}

.page-hero {
  padding: 110px 0 90px;
  color: #fff;
  background: radial-gradient(circle at 75% 30%, rgba(25, 196, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #06152a, #0c3464);
}

.page-hero p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.feature-panel {
  padding: 36px;
}

.about-stack {
  display: grid;
  gap: 36px;
}

.culture-panel {
  align-self: start;
}

.culture-panel h3 {
  margin-bottom: 24px;
  line-height: 1.45;
}

.culture-panel h4 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 18px;
}

.culture-panel p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.9;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline article,
.news-list article,
.jobs article,
.contact-card,
.cta-card {
  padding: 30px;
}

.timeline span {
  color: var(--primary);
  font-weight: 800;
}

.solution-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.solution-gallery article {
  overflow: hidden;
  text-align: center;
  border: 1px solid #e8edf4;
  background: #fff;
}

.solution-gallery img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.solution-gallery h2 {
  margin: 0;
  padding: 18px 12px;
  color: #606a78;
  font-size: 18px;
  font-weight: 500;
  background: #f5f5f5;
}

.news-list,
.jobs {
  display: grid;
  gap: 20px;
}

.news-list time,
.jobs span {
  color: var(--primary);
  font-weight: 700;
}

.faq {
  max-width: 820px;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.download-section {
  background: #fff;
}

.download-group + .download-group {
  margin-top: 48px;
}

.download-group-title {
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 700;
}

.download-list {
  display: grid;
  gap: 24px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 18px 34px 18px 20px;
  border: 1px solid #e3e7ed;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-item:hover {
  border-color: #c9d7e8;
  box-shadow: 0 12px 26px rgba(8, 35, 67, 0.08);
}

.download-item strong,
.download-item small {
  display: block;
}

.download-item strong {
  color: #303743;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.download-item small {
  margin-top: 3px;
  color: #b9bdc4;
  font-size: 17px;
}

.download-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5d5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E");
}

.download-item:hover .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b70d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E");
}

.cta-section {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
  gap: 28px;
}

.contact-map-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-map {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #06152a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr;
  gap: 32px;
  padding: 56px 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.site-footer p {
  margin: 8px 0;
}

.copyright {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright a {
  color: inherit;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.show {
  display: block;
}

@media (max-width: 1024px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(8, 35, 67, 0.12);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 10px;
    border-radius: 10px;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.six,
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero-carousel {
    min-height: 56vh;
  }

  .hero-track {
    height: 56vh;
  }

  .card-grid.six,
  .card-grid.three,
  .card-grid.four,
  .solution-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-track {
    gap: 16px;
  }

  .solution-card {
    flex-basis: 100%;
    min-width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 74px 0 64px;
  }

  .cta-card {
    display: block;
  }

  .cta-card .btn {
    margin-top: 14px;
  }
}
