:root {
  --primary: #0068ff;
  --primary-2: #00d5ff;
  --navy: #03122e;
  --navy-2: #061b42;
  --text: #0b1f44;
  --muted: #5c6f8e;
  --line: #dce8f8;
  --bg: #f6faff;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(7, 39, 90, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
body.modal-open { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 18, 46, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  color: #fff;
  font-size: 22px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand-text em {
  color: #c4d7f7;
  font-style: normal;
  font-size: 12px;
  margin-top: 3px;
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  color: #e7f0ff;
  font-weight: 600;
  font-size: 15px;
}
.main-nav a { position: relative; padding: 26px 0; opacity: .9; }
.main-nav a:hover, .main-nav a.active { color: #fff; opacity: 1; }
.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 16px;
  width: 32px; height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.nav-cta {
  padding: 11px 21px;
  color: #fff;
  font-weight: 700;
  border-radius: 9px;
  background: linear-gradient(135deg, #0085ff, #0060df);
  box-shadow: 0 12px 28px rgba(0, 104, 255, .32);
  white-space: nowrap;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #fff;
  background: #03122e;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,18,46,.92) 0%, rgba(3,18,46,.72) 34%, rgba(3,18,46,.25) 72%, rgba(3,18,46,.45) 100%),
    url("../assets/images/beij.png") center center/cover no-repeat,
    linear-gradient(180deg, #041631 0%, #03122e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(3,18,46,0) 0%, rgba(3,18,46,.16) 30%, rgba(3,18,46,.5) 100%);
}
.hero-inner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(640px, 100%); padding: 66px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-2);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 13px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -2px;
}
.hero h1 span { color: #19f0ff; }
.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.42;
}
.hero-desc {
  max-width: 620px;
  margin: 20px 0 0;
  color: #d5e7ff;
  font-size: 17px;
}
.hero-actions { display: flex; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 25px;
  border-radius: 9px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #008bff, #005ee8); box-shadow: 0 14px 30px rgba(0, 104, 255, .32); }
.btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-outline-dark { color: var(--primary); border-color: rgba(0,104,255,.22); background: #fff; }
.btn-outline-dark:hover { background: #f3f8ff; }
.btn-light { background: #fff; color: var(--primary); }
.contact-inline-btn { margin-top: 16px; }

.section { padding: 54px 0; background: #fff; }
.section.compact { padding-top: 34px; }
.section-title { text-align: center; margin-bottom: 28px; }
.section-title h2 {
  display: inline-block;
  margin: 0 18px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 1px;
}
.section-title span {
  display: inline-block;
  width: 72px;
  height: 2px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--primary));
}
.section-title span:last-of-type { background: linear-gradient(90deg, var(--primary), transparent); }
.section-title p { margin: 10px auto 0; max-width: 760px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 144px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(7, 39, 90, .05);
}
.product-card img {
  width: 140px; height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f7ff;
}
.product-card h3,
.image-card h3,
.scene-card h3,
.case-card h3,
.process-card h3 { margin: 0 0 8px; color: #05337a; font-size: 18px; }
.product-card p,
.image-card p,
.scene-card p,
.case-card li,
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }

.business-grid, .scene-grid, .case-grid {
  display: grid;
  gap: 22px;
}
.business-grid { grid-template-columns: repeat(4, 1fr); }
.scene-grid { grid-template-columns: repeat(5, 1fr); }
.case-grid { grid-template-columns: repeat(4, 1fr); }
.image-card, .scene-card, .case-card, .info-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 39, 90, .05);
  overflow: hidden;
}
.image-card { padding-bottom: 18px; text-align: center; }
.image-card img { width: 100%; height: 132px; object-fit: cover; }
.image-card h3, .image-card p { padding: 0 16px; }
.image-card h3 { margin-top: 14px; }

.value-section { background: linear-gradient(180deg, #fff 0%, #f6faff 100%); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 39, 90, .05);
}
.value-card img { width: 68px; height: 68px; object-fit: contain; flex: 0 0 auto; }
.value-card strong { display: block; color: var(--primary); font-size: 32px; line-height: 1; }
.value-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.scene-card { text-align: center; padding-bottom: 16px; }
.scene-card img { width: 100%; height: 130px; object-fit: cover; }
.scene-card h3 { margin: 14px 10px 4px; }
.scene-card p { padding: 0 12px; }

.case-card { display: flex; flex-direction: column; }
.case-card img { width: 100%; height: 110px; object-fit: cover; }
.case-card div { padding: 14px 16px 16px; }
.case-card ul { margin: 0 0 10px; padding-left: 18px; }
.case-card a { color: var(--primary); font-weight: 800; font-size: 14px; }

.process-section { background: #fbfdff; padding-top: 34px; }
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process-card {
  position: relative;
  text-align: center;
  padding: 22px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 39, 90, .05);
}
.process-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 52px;
  color: #8ebcff;
  font-size: 24px;
  font-weight: 800;
  z-index: 2;
}
.process-card img { width: 58px; height: 58px; margin: 0 auto 8px; object-fit: contain; }
.process-card strong {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  margin-bottom: 6px;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-size: 13px;
}

.about-contact { padding-top: 30px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-box { padding: 26px; }
.info-box h2 { margin: 0 0 10px; font-size: 26px; color: #07285f; }
.info-box p { margin: 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.stats span { text-align: center; padding: 10px; border-radius: 12px; background: #f6faff; }
.stats img { width: 42px; height: 42px; margin: 0 auto 5px; }
.stats strong { display: block; color: var(--primary); font-size: 18px; }
.stats em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.contact-box { display: flex; justify-content: space-between; gap: 22px; }
.contact-box p { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.contact-box p img { width: 24px; height: 24px; }
.qr-wrap { text-align: center; min-width: 150px; }
.qr-wrap img { width: 132px; height: 132px; border-radius: 10px; }
.qr-wrap span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.cta-soft-wrap {
  padding-top: 8px;
  padding-bottom: 36px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.cta-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(3,18,46,.025), rgba(0,104,255,.045));
  box-shadow: 0 12px 32px rgba(7, 39, 90, .06);
}
.cta-soft-copy { max-width: 960px; }
.cta-soft-copy p:last-child { white-space: nowrap; }
.cta-tag {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
}
.cta-soft h2 {
  margin: 0;
  font-size: 30px;
  color: #07285f;
  line-height: 1.25;
}
.cta-soft p:last-child { margin: 10px 0 0; color: var(--muted); }
.cta-soft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer { background: #03122e; color: #b7c7e4; padding: 28px 0; }
.footer-inner { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: center; }
.brand-footer .brand-icon { width: 52px; height: 52px; }
.brand-footer .brand-text strong { font-size: 20px; }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 28px; color: #fff; font-weight: 600; flex-wrap: wrap; }
.footer-inner p { grid-column: 2; margin: -8px 0 0; text-align: right; font-size: 13px; color: #8ea0bf; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 46, .68);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 12, 41, .26);
  padding: 28px;
}
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: #f0f6ff;
  color: #0b1f44;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.modal-head p {
  margin: 0 0 6px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 12px;
}
.modal-head h2 { margin: 0 0 18px; font-size: 28px; color: #07285f; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form label { display: block; }
.demo-form span {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  color: #17376b;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid #d7e6fa;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: #7ab5ff;
  box-shadow: 0 0 0 4px rgba(0, 104, 255, .08);
}
.full-width { margin-top: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.form-note.success { color: #147c4b; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .main-nav { gap: 20px; }
  .brand-text strong { font-size: 19px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .business-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: repeat(3, 1fr); }
  .process-card:not(:last-child)::after { display: none; }
  .cta-soft { flex-direction: column; align-items: flex-start; }
  .cta-soft-actions { justify-content: flex-start; }
  .cta-soft-copy p:last-child { white-space: normal; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 66px; gap: 16px; }
  .brand-icon { width: 46px; height: 46px; }
  .brand-text strong { font-size: 16px; }
  .brand-text em { font-size: 11px; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
  }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 99px; }
  .main-nav {
    position: absolute;
    top: 66px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(3, 18, 46, .98);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a::after { display: none; }
  .hero, .hero-inner { min-height: 560px; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(3,18,46,.82) 0%, rgba(3,18,46,.86) 40%, rgba(3,18,46,.7) 100%),
      url("../assets/images/beij.png") center center/cover no-repeat,
      linear-gradient(180deg, #041631 0%, #03122e 100%);
  }
  .hero h1 { letter-spacing: -1px; }
  .hero-desc { font-size: 15px; }
  .section { padding: 42px 0; }
  .section-title h2 { font-size: 25px; margin: 0 10px; }
  .section-title span { width: 38px; }
  .product-grid, .business-grid, .scene-grid, .case-grid, .value-grid, .process-flow, .about-grid, .form-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 120px 1fr; }
  .product-card img { width: 120px; height: 90px; }
  .contact-box { flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .brand-footer { justify-content: center; }
  .footer-inner nav { justify-content: center; gap: 14px 22px; }
  .footer-inner p { grid-column: auto; text-align: center; margin: 0; }
  .modal-dialog { padding: 22px 18px; }
}

@media (max-width: 520px) {
  .brand-text strong { font-size: 14px; }
  .brand-text em { font-size: 10px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card img { width: 100%; height: 160px; }
  .value-card { align-items: flex-start; }
  .hero-actions .btn,
  .cta-soft-actions .btn,
  .form-actions .btn,
  .contact-inline-btn { width: 100%; }
}
