:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #5a667a;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --brand: #376295;
  --brand-deep: #0a1d34;
  --brand-teal: #0f8f95;
  --gold: #d5a34b;
  --shadow: 0 24px 70px rgba(9, 25, 52, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand img.logo-dark {
  display: none;
}

.site-header.is-scrolled .brand img.logo-light,
.site-header.menu-open .brand img.logo-light {
  display: none;
}

.site-header.is-scrolled .brand img.logo-dark,
.site-header.menu-open .brand img.logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-header.is-scrolled .nav-links,
.site-header.menu-open .nav-links {
  color: #4f5f74;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.menu-open .nav-links a:hover,
.site-header.is-scrolled .nav-links a.active,
.site-header.menu-open .nav-links a.active {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #5384be);
  box-shadow: 0 14px 32px rgba(55, 98, 149, 0.28);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #e4bd72);
  box-shadow: 0 14px 32px rgba(213, 163, 75, 0.24);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-light {
  color: var(--brand);
  background: #fff;
  border-color: rgba(55, 98, 149, 0.14);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero-home,
.hero-subpage {
  position: relative;
  overflow: hidden;
}

.hero-home {
  padding: 144px 0 88px;
  min-height: 820px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10, 29, 52, .98), rgba(17, 49, 83, .9) 52%, rgba(12, 84, 104, .82)),
    #0a1d34;
}

.hero-home::before,
.hero-subpage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.18));
}

.hero-home::after,
.hero-subpage::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 143, 149, 0.24), transparent 68%);
}

.hero-subpage {
  padding: 154px 0 74px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 29, 52, .98), rgba(17, 49, 83, .9)),
    #0a1d34;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d5e8ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 820;
}

.hero-home p.lead,
.hero-subpage p.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .88fr);
  align-items: center;
  gap: 58px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.board-frame,
.dashboard-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.board-frame img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  object-position: center;
}

.floating-note {
  position: absolute;
  left: -16px;
  bottom: 26px;
  width: 220px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.floating-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.floating-note strong {
  display: block;
  margin: 6px 0;
  font-size: 30px;
  line-height: 1;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #edf3f9;
}

.section.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 29, 52, .98), rgba(18, 56, 86, .96)),
    #0a1d34;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .8px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.18;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.section.dark .section-head p,
.section.dark .section-kicker,
.section.dark .subtle {
  color: rgba(255, 255, 255, 0.72);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(16, 24, 39, 0.05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(55, 98, 149, 0.18);
}

.card-body {
  padding: 24px;
}

.icon-box {
  width: 46px;
  height: 28px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--brand);
  background: linear-gradient(135deg, rgba(55, 98, 149, 0.12), rgba(15, 143, 149, 0.12));
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.card h3,
.card h4 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.card p,
.card li,
.meta {
  color: var(--muted);
  font-size: 14px;
}

.meta {
  font-size: 13px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-teal));
  box-shadow: 0 0 0 4px rgba(55, 98, 149, 0.08);
}

.split-layout {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 34px;
  align-items: center;
}

.figure-card {
  overflow: hidden;
}

.figure-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-chip {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.info-chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff4fa;
  color: #49596f;
  font-size: 13px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-item .year {
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
}

.solution-hero,
.case-hero {
  min-height: 100%;
}

.solution-card .topline,
.case-card .topline {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 760;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-grid .logo-cell {
  min-height: 78px;
  padding: 12px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: #4c5b6f;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.product-stack {
  display: grid;
  gap: 12px;
}

.stack-layer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.stack-name {
  padding: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), #1a4572);
  font-weight: 760;
}

.case-highlight {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 18px;
  align-items: center;
}

.case-number {
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(55, 98, 149, 0.12), rgba(15, 143, 149, 0.12));
  text-align: center;
}

.case-number strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 32px;
  line-height: 1;
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cert-gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}

.contact-section {
  padding: 86px 0;
  background: linear-gradient(135deg, #f7f9fc, #ffffff);
}

.contact-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 29, 52, .98), rgba(17, 49, 83, .92));
}

.contact-copy p,
.contact-copy li {
  color: rgba(255, 255, 255, 0.74);
}

.qrcode-box {
  margin-top: 24px;
  width: 168px;
}

.qrcode-box img {
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
  padding: 8px;
}

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

.field label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 680;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9e0ea;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(55, 98, 149, 0.64);
  box-shadow: 0 0 0 4px rgba(55, 98, 149, 0.1);
}

.site-footer {
  background: #0a1d34;
  color: rgba(255, 255, 255, 0.68);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}

.footer-title {
  color: #fff;
  font-weight: 760;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  text-align: center;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 40;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 32, 0.62);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 720px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .hero-home,
  .hero-subpage {
    padding-top: 116px;
    padding-bottom: 64px;
    min-height: auto;
  }

  h1 {
    font-size: 36px;
  }

  .hero-home p.lead,
  .hero-subpage p.lead {
    font-size: 16px;
  }

  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .logo-grid,
  .footer-grid,
  .cert-gallery,
  .info-band {
    grid-template-columns: 1fr;
  }

  .stack-layer,
  .timeline-item,
  .case-highlight {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }

  .contact-panel {
    padding: 18px;
  }

  .contact-copy {
    padding: 20px;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .float-contact {
    right: 14px;
    bottom: 16px;
  }
}
