:root {
  --primary: #1268f3;
  --primary-dark: #0753c7;
  --primary-deep: #0a2f68;
  --blue: #3b7ff5;
  --mint: #dceaff;
  --mint-soft: #f3f7ff;
  --ink: #1c2b3f;
  --muted: #68778b;
  --line: #dbe4f0;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(23, 72, 145, 0.1);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(18, 104, 243, 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--primary-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(219, 228, 240, 0.94);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--primary-dark);
  font-size: 19px;
  font-weight: 700;
}

.brand-name strong,
.brand-name small {
  display: block;
}

.brand-name strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand-name small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #36465d;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 24px 0 22px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  opacity: 0;
  background: var(--primary);
  transform: scaleX(0.3);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #082a59;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center 16%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 31, 74, 0.94) 0%, rgba(7, 50, 111, 0.78) 48%, rgba(9, 67, 144, 0.3) 78%),
    linear-gradient(0deg, rgba(4, 28, 67, 0.28), transparent 55%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(96, 166, 255, 0.26), transparent 28%),
    linear-gradient(128deg, #082a59 0%, #0b57c8 62%, #1268f3 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.7));
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.7));
}

.hero-content,
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-content {
  min-height: 500px;
  padding: 86px 0 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-kicker {
  margin: 0 0 18px;
  padding-left: 36px;
  position: relative;
  color: #b9d7ff;
  font-size: 13px;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #7fb4ff;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.14;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.hero .btn.primary {
  color: var(--primary-dark);
  background: var(--white);
}

.hero .btn.primary:hover {
  background: #edf4ff;
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(8, 47, 104, 0.24);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(8, 47, 104, 0.44);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 126px;
}

.section.compact {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  letter-spacing: 0.12em;
}

.section-heading.centered .eyebrow::before {
  display: none;
}

.section-heading.centered h2::after {
  content: "";
  width: 44px;
  height: 3px;
  display: block;
  margin: 16px auto 0;
  background: var(--primary);
}

.section-heading.heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading.heading-row > div {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--primary);
}

.section-heading h2,
.contact-card h2,
.detail-heading h2,
.application-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 650;
  line-height: 1.28;
}

.section-heading p:not(.eyebrow),
.contact-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 650;
}

.text-link:hover {
  color: var(--primary-deep);
}

.section-more {
  margin-top: 28px;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card {
  min-height: 240px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
  background: var(--white);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.solution-card:nth-child(even) {
  background: var(--white);
}

.solution-link:hover {
  transform: translateY(-4px);
  border-color: #a8c7f8;
  box-shadow: var(--shadow);
}

.product-index {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 650;
  line-height: 1;
}

.product-index span {
  color: #8795a8;
  font-size: 10px;
  font-weight: 600;
}

.solution-card h3,
.application-card h3 {
  margin: 30px 0 9px;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

.solution-card p,
.application-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 650;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.application-card {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.application-card:hover {
  color: var(--primary-deep);
  background: var(--mint-soft);
}

.application-card > span {
  color: #8795a8;
  font-size: 12px;
}

.application-card h3 {
  margin-top: 24px;
}

.page-hero-inner {
  min-height: 330px;
  padding: 62px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-hero h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.15;
}

.page-hero-inner > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.section-nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.section-nav > div {
  width: min(1180px, calc(100% - 48px));
  min-width: max-content;
  min-height: 54px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.section-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.section-nav a:hover {
  color: var(--primary-dark);
}

.section-nav a.active {
  color: var(--primary-dark);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 84px;
}

.detail-heading {
  align-self: start;
}

.detail-number {
  display: block;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.detail-heading > p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 42px;
}

.detail-content h3,
.requirement-card h3,
.combination-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 17px;
  color: #4d5d72;
  font-size: 14px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.clean-list.numbered {
  counter-reset: item;
}

.clean-list.numbered li {
  counter-increment: item;
  padding-left: 26px;
}

.clean-list.numbered li::before {
  content: counter(item) ".";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--primary-dark);
  background: transparent;
  font-weight: 700;
}

.status-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  color: var(--muted);
  border-left: 3px solid var(--primary);
  background: rgba(220, 234, 255, 0.62);
  font-size: 13px;
}

.table-card {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--primary-deep);
  background: #eaf2ff;
  font-size: 14px;
  font-weight: 650;
}

td {
  color: #405169;
  font-size: 14px;
}

td:first-child {
  color: var(--ink);
  font-weight: 650;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.spec-note {
  max-width: 960px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.application-title {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  max-width: 820px;
}

.application-title > span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.application-title .eyebrow {
  margin-bottom: 9px;
}

.application-title > div > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.application-body {
  margin: 42px 0 0 92px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.requirement-card,
.combination-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.combination-card > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list a {
  padding: 7px 11px;
  color: var(--primary-deep);
  border: 1px solid #b9d1f8;
  background: var(--mint-soft);
  font-size: 12px;
  font-weight: 600;
}

.chip-list a:hover {
  border-color: var(--primary);
  background: var(--mint);
}

.contact-section {
  color: var(--white);
  background: var(--primary-deep);
  scroll-margin-top: 72px;
}

.contact-card {
  width: min(1180px, calc(100% - 48px));
  min-height: 270px;
  margin: 0 auto;
  padding: 58px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-card > div {
  max-width: 760px;
}

.contact-card .eyebrow {
  color: #bfd9ff;
}

.contact-card .eyebrow::before {
  background: #80b4ff;
}

.contact-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.contact-button {
  flex: 0 0 auto;
  color: var(--primary-deep);
  background: var(--white);
}

.contact-button:hover {
  background: var(--mint);
}

.site-footer {
  color: var(--muted);
  background: #f1f3f6;
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.footer-brand strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.footer-brand span,
.footer-meta {
  font-size: 12px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-meta p {
  margin: 0;
}

.public-security-record a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security-record img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.icp-record a:hover,
.public-security-record a:hover {
  color: var(--primary-dark);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(10, 75, 180, 0.24);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .navbar {
    width: min(100% - 32px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-content,
  .page-hero-inner {
    width: calc(100% - 64px);
  }

  .hero h1 {
    font-size: 48px;
  }

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

  .section,
  .contact-card,
  .footer-inner {
    width: calc(100% - 64px);
  }

  .section.muted {
    width: 100%;
    padding-right: 32px;
    padding-left: 32px;
  }

  .section-heading.heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .application-body {
    margin-left: 0;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 66px;
  }

  .nav-links {
    top: 66px;
  }

  .hero-content,
  .page-hero-inner,
  .section,
  .contact-card,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .hero-content {
    min-height: 500px;
    padding: 62px 0 54px;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
    padding: 0 16px;
  }

  .page-hero-inner {
    min-height: 285px;
    padding: 44px 0 40px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .breadcrumb {
    margin-bottom: 22px;
  }

  .section-nav {
    top: 66px;
  }

  .section-nav > div {
    width: max-content;
    margin-left: 20px;
    padding-right: 20px;
    gap: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section.compact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section.muted {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .contact-card h2,
  .detail-heading h2,
  .application-title h2 {
    font-size: 28px;
  }

  .section-heading p:not(.eyebrow),
  .contact-card p:not(.eyebrow) {
    font-size: 14px;
  }

  .card-grid.four,
  .application-grid,
  .detail-content,
  .application-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-card {
    min-height: 220px;
  }

  .application-card {
    min-height: 165px;
  }

  .application-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .application-body {
    margin-top: 30px;
  }

  .requirement-card,
  .combination-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .contact-card {
    min-height: 320px;
    padding: 48px 0;
  }

  .contact-button {
    width: 100%;
  }

  .footer-inner {
    min-height: 150px;
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
