:root {
  --bg: #f4f9ff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --ink: #071b31;
  --muted: #5f7488;
  --primary: #2f80ed;
  --primary-deep: #0b4fa8;
  --cyan: #15b8d8;
  --success: #28bf8b;
  --line: #dbeaf7;
  --dark: #071b31;
  --dark-soft: #0d2945;
  --shadow: 0 24px 70px rgba(47, 128, 237, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

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

.header-inner {
  width: min(1248px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 55, 191, 0.16);
}

.brand-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  white-space: nowrap;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
  color: var(--primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  z-index: 30;
}

.nav-dropdown:not([open]) .nav-dropdown-menu {
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-soft);
}

.mobile-nav-contact {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn:hover {
  border-color: rgba(47, 128, 237, 0.48);
  box-shadow: 0 12px 28px rgba(47, 128, 237, 0.14);
}

.btn.dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: #fff;
  color: var(--primary-deep);
}

.qr-modal[hidden] {
  display: none;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 49, 0.54);
  backdrop-filter: blur(10px);
}

.qr-dialog {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(7, 27, 49, 0.28);
  text-align: center;
}

.qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.qr-dialog h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.qr-dialog p {
  margin: 12px auto 20px;
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.qr-image {
  width: min(300px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

.hero {
  min-height: 742px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 18%, rgba(21, 184, 216, 0.16), transparent 34%),
    radial-gradient(circle at 14% 10%, rgba(47, 128, 237, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
}

.hero-inner,
.section-inner {
  width: min(1248px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(360px, 540px);
  align-items: center;
  gap: 68px;
  padding: 70px 0 78px;
}

.eyebrow,
.badge {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border: 1px solid #fff;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 20%, rgba(21, 184, 216, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(234, 246, 255, 0.84));
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: contain;
  padding: 28px;
}

.visual-card {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 54px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.visual-card strong {
  display: block;
  font-size: 16px;
}

.progress {
  height: 10px;
  margin: 12px 0 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #e6f2ff;
}

.progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
}

.visual-card small {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section.white {
  background: #fff;
}

.section.soft {
  background: var(--surface-soft);
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 430px);
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

#capability .section-head,
#solutions .section-head,
#process .section-head,
#about .section-head {
  display: block;
}

#capability .section-desc,
#solutions .section-desc,
#process .section-desc,
#about .section-desc {
  width: 100%;
  margin: 18px 0 0;
}

.section h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-desc,
.muted {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.dark .section-desc,
.dark .muted {
  color: #b5c6d8;
}

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

.intro-media {
  display: grid;
  gap: 16px;
}

.intro-media img,
.image-strip img,
.process-banner img,
.solution-visual img,
.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-media img {
  height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.meta-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: #eaf6ff;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
}

.copy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--surface-soft);
}

.copy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.copy-card p + p {
  margin-top: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  height: 168px;
  margin-bottom: 20px;
}

.image-strip img,
.process-banner,
.solution-visual,
.trust-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.capability-grid,
.trust-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.capability-card,
.trust-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.capability-card.tint,
.trust-card.tint {
  background: var(--surface-soft);
}

.capability-card.green,
.trust-card.green {
  border-color: #cdefe2;
  background: #f9fffc;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.icon-box.cyan {
  background: var(--cyan);
}

.icon-box.green {
  background: var(--success);
}

.capability-card h3,
.trust-card h3,
.process-card h3 {
  margin: 20px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.capability-card p,
.trust-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.capability-card .meta {
  display: block;
  margin-top: 18px;
  color: var(--primary-deep);
  font-size: 14px;
}

.solution-layout {
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr);
  gap: 24px;
  height: 430px;
}

.solution-visual {
  border-color: var(--line);
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface-soft);
}

.solution-item b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
}

.solution-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.solution-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(47, 128, 237, 0.12);
  color: var(--primary-deep);
  font-weight: 900;
}

.process-banner {
  position: relative;
  height: 220px;
  margin-bottom: 20px;
}

.process-overlay {
  position: absolute;
  left: 28px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-deep);
  font-size: 15px;
  font-weight: 800;
}

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

.process-card strong {
  display: block;
  color: var(--primary);
  font-size: 42px;
  line-height: 1;
}

.trust-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.trust-card h3 {
  margin: 0;
}

.trust-icon {
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
}

.trust-card p {
  flex: 1;
}

.trust-image {
  height: 110px;
  background: #eaf6ff;
}

.cta {
  background: linear-gradient(100deg, #0b3b72, #2f80ed 62%, #15b8d8);
  color: #fff;
}

.cta-inner {
  width: min(1248px, calc(100% - 48px));
  min-height: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) 330px;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 68px 0;
}

.cta h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.18;
}

.cta p {
  color: #d7f4ff;
  font-size: 17px;
  line-height: 1.7;
}

.cta-card {
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(7, 27, 49, 0.22);
}

.site-footer {
  background: var(--dark);
  color: #b5c6d8;
}

.footer-inner {
  width: min(1248px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 470px) minmax(0, 1fr);
  gap: 80px;
  justify-content: space-between;
}

.footer-brand .brand-title,
.footer-col h4 {
  color: #fff;
}

.footer-brand p {
  max-width: 470px;
  color: #b5c6d8;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 56px;
}

.footer-col {
  display: grid;
  gap: 12px;
}

.footer-col h4 {
  margin: 0 0 2px;
  font-size: 15px;
}

.footer-col a,
.footer-col span {
  color: #b5c6d8;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
  border-top: 1px solid #2e5274;
  padding-top: 18px;
  color: #8ea5ba;
  font-size: 13px;
  text-align: center;
}

.footer-bottom a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.legal-hero {
  padding: 72px 24px 64px;
  text-align: center;
}

.legal-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 1.2;
}

.legal-date {
  margin: 6px 0 0;
  color: var(--primary-deep);
  font-size: 14px;
}

.legal-content {
  padding: 72px 0 92px;
  background: var(--bg);
}

.legal-card {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 56px;
  background: #fff;
}

.legal-card h2 {
  margin: 0 0 24px;
  font-size: 26px;
}

.legal-card h3 {
  margin: 30px 0 10px;
  font-size: 18px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

@media (max-width: 1060px) {
  .hero-inner,
  .intro-grid,
  .solution-layout,
  .cta-inner,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 42px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual img {
    min-height: 480px;
  }

  .solution-layout {
    height: auto;
  }

  .solution-visual {
    height: 360px;
  }

  .cta-inner {
    align-items: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .header-actions .btn {
    display: none;
  }

  .header-inner {
    width: min(100% - 32px, 1248px);
    height: 72px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand > span {
    min-width: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

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

  .site-nav a {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }

  .nav-dropdown {
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .nav-dropdown summary {
    width: 100%;
    padding: 16px 24px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    display: grid;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav.open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 12px 40px;
    border-top: 0;
  }

  .mobile-nav-contact {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 16px 24px;
    background: #fff;
    color: var(--primary);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .brand-title {
    font-size: 14px;
    max-width: calc(100vw - 132px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-sub {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .cta-inner,
  .footer-inner {
    width: min(100% - 32px, 1248px);
  }

  .hero,
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 52px;
  }

  .hero-inner {
    padding: 0;
    gap: 30px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.16;
  }

  .hero p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-stats,
  .capability-grid,
  .trust-grid,
  .process-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
    padding: 14px 12px;
  }

  .stat strong {
    font-size: 20px;
  }

  .stat span {
    font-size: 12px;
    line-height: 1.35;
  }

  .section {
    padding: 56px 0;
  }

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

  .section h2,
  .cta h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.22;
  }

  .section-desc,
  .muted {
    font-size: 15px;
  }

  .copy-card,
  .capability-card,
  .trust-card,
  .process-card,
  .cta-card {
    padding: 22px;
  }

  .copy-card p {
    font-size: 15px;
    line-height: 1.72;
  }

  .meta-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .image-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .image-strip img {
    height: 154px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 318px;
  }

  .hero-visual {
    border-radius: 16px;
  }

  .hero-visual img {
    padding: 18px;
  }

  .visual-card {
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 14px;
    border-radius: 12px;
  }

  .visual-card small {
    font-size: 12px;
  }

  .intro-media img {
    height: 150px;
  }

  .solution-layout {
    gap: 18px;
  }

  .solution-visual {
    height: 210px;
  }

  .solution-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .solution-index {
    width: 38px;
    height: 38px;
  }

  .process-banner {
    height: 172px;
  }

  .process-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: center;
    padding: 12px;
    text-align: center;
  }

  .trust-card {
    min-height: 0;
  }

  .trust-image {
    height: 126px;
  }

  .cta-inner {
    min-height: 0;
    gap: 28px;
    padding: 54px 0;
  }

  .footer-inner {
    padding-top: 44px;
  }

  .legal-card {
    width: min(100% - 32px, 1152px);
    padding: 30px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .qr-modal {
    align-items: end;
    padding: 16px;
  }

  .qr-dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px 20px 22px;
    border-radius: 14px;
  }

  .qr-dialog h2 {
    font-size: 23px;
  }

  .qr-image {
    width: min(270px, 100%);
  }
}
