:root {
  --ink: #101a2b;
  --ink-soft: #2f415c;
  --muted: #62748d;
  --brand: #215596;
  --brand-dark: #162f54;
  --brand-light: #edf4fe;
  --accent: #d71828;
  --accent-dark: #b50f1f;
  --accent-soft: #fff0f1;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --line: #dce6f2;
  --line-soft: rgba(220, 230, 242, 0.68);
  --gold: #c91624;
  --shadow-sm: 0 12px 26px rgba(16, 26, 43, 0.08);
  --shadow-md: 0 28px 72px rgba(16, 26, 43, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 9% -10%, rgba(33, 85, 150, 0.12), transparent 32%),
    radial-gradient(circle at 92% 6%, rgba(215, 24, 40, 0.1), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(220, 230, 242, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.24s ease, background 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(16, 26, 43, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 155px;
  color: #0f2a4b;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  position: relative;
  background: #fff;
  border: 1px solid rgba(215, 24, 40, 0.18);
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(16, 26, 43, 0.1);
  overflow: hidden;
}

.logo-photo,
.logo-mark svg {
  display: block;
  width: 40px;
  height: 40px;
}

.logo-photo {
  object-fit: contain;
}

.logo-fallback {
  position: absolute;
  inset: 3px;
}

.has-logo-image .logo-fallback {
  display: none;
}

.logo-text {
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 10px;
  color: #3f4f65;
  font-size: 15px;
  font-weight: 700;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--brand-dark);
  background: rgba(33, 85, 150, 0.09);
  outline: 0;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 14px 30px rgba(201, 22, 36, 0.22);
}

.btn-secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

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

.nav-cta:hover,
.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(201, 22, 36, 0.28);
}

.btn-secondary:hover {
  color: var(--brand);
  background: #fff;
  border-color: #bfd4ee;
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-dark);
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 840px;
  padding-top: calc(var(--header-height) + 78px);
  padding-bottom: 58px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.96) 52%, rgba(228, 238, 252, 0.9) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  position: absolute;
  top: 118px;
  right: -120px;
  width: 560px;
  height: 560px;
  content: "";
  background: radial-gradient(circle, rgba(33, 85, 150, 0.2), rgba(33, 85, 150, 0) 64%);
  border-radius: 50%;
}

.hero-bg::after {
  position: absolute;
  left: -180px;
  bottom: 110px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(215, 24, 40, 0.13), rgba(215, 24, 40, 0) 66%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.hero h1,
.section-heading h2,
.contact-content h2 {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(46px, 6vw, 74px);
}

.hero h2 {
  margin: 20px 0 0;
  color: #2f5f97;
  font-size: clamp(22px, 2.8vw, 33px);
  font-weight: 800;
  line-height: 1.35;
}

.hero-desc {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  padding: 8px 13px;
  color: #465870;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: 999px;
}

.hero-panel {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(33, 85, 150, 0.1);
  border-radius: 26px;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 42, 76, 0.98), rgba(24, 60, 108, 0.95)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  border-radius: 24px;
}

.dashboard-top p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.dashboard-top strong {
  display: block;
  max-width: 360px;
  font-size: 27px;
  line-height: 1.32;
}

.dashboard-top span {
  flex: 0 0 auto;
  padding: 6px 12px;
  color: #cde1fb;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.flow-card {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  align-items: center;
  padding: 24px 6px;
}

.flow-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.flow-item b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--brand);
  font-size: 13px;
  background: #eef5ff;
  border: 1px solid #cfe0f5;
  border-radius: 50%;
}

.flow-item span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.flow-line {
  height: 1px;
  background: linear-gradient(90deg, #ced8e8, #9db8da);
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.dashboard-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.dashboard-row strong {
  color: var(--brand-dark);
  font-size: 15px;
  text-align: right;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 74px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.proof-strip div {
  padding: 24px 28px;
  border-right: 1px solid var(--line-soft);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.3;
}

.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section-layout,
.cooperation-wrap,
.sample-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 58px;
}

.section-heading {
  max-width: 520px;
}

.section-heading.center {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.contact-content h2 {
  font-size: clamp(32px, 4.2vw, 48px);
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pain-section,
.cooperation-section {
  background: #fff;
}

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

.info-card,
.service-card,
.cooperation-card,
.sample-card,
.wechat-card,
.sample-board {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.info-card {
  position: relative;
  min-height: 172px;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.service-card:hover,
.sample-card:hover {
  border-color: #b9cde8;
  box-shadow: 0 22px 48px rgba(16, 26, 43, 0.12);
  transform: translateY(-4px);
}

.info-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.info-card h3,
.service-card h3,
.cooperation-card h3,
.sample-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.35;
}

.info-card p,
.service-card p,
.cooperation-card p,
.sample-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.services-section {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card::after {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  content: "";
  background: radial-gradient(circle, rgba(215, 24, 40, 0.08), rgba(215, 24, 40, 0));
  border-radius: 50%;
}

.service-index {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 54px;
  padding: 7px 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  background: var(--accent-soft);
  border: 1px solid #f2c2c7;
  border-radius: 999px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.service-card li {
  padding: 5px 10px;
  color: #42536b;
  font-size: 12px;
  font-weight: 800;
  background: #f5f8fc;
  border: 1px solid #e4ecf6;
  border-radius: 999px;
}

.cooperation-wrap {
  align-items: center;
}

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

.cooperation-card {
  position: relative;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
}

.cooperation-card::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--accent), var(--brand));
  border-radius: 0 999px 999px 0;
}

.cooperation-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.samples-section {
  background: #f7f9fc;
}

.sample-board {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.board-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 22px;
  background: linear-gradient(90deg, #152e52, #1e4a83);
}

.board-header span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.board-header strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background: #fff;
}

.sample-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 18px;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sample-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 11px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  background: var(--accent-soft);
  border-radius: 999px;
}

.contact-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 38, 68, 0.98), rgba(28, 70, 126, 0.92)),
    #142e52;
}

.contact-section::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 70px;
}

.contact-content .eyebrow,
.contact-content h2,
.contact-lead {
  color: #fff;
}

.contact-content .eyebrow::before {
  background: var(--accent);
}

.contact-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.contact-list strong {
  color: rgba(255, 255, 255, 0.62);
}

.wechat-card {
  padding: 28px;
  text-align: center;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.qr-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
  background:
    linear-gradient(45deg, rgba(31, 95, 173, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(31, 95, 173, 0.06) 25%, transparent 25%),
    #f6f9fd;
  background-size: 22px 22px;
  border: 1px dashed #a8c3e6;
  border-radius: 22px;
}

.wechat-label {
  margin: 22px 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.wechat-id {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  word-break: break-all;
}

.copy-btn {
  width: 100%;
  border: 0;
}

.copy-tip {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #10233d;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px 14px;
  }

  .hero-grid,
  .section-layout,
  .cooperation-wrap,
  .sample-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .section-heading,
  .wechat-card {
    max-width: 720px;
  }

  .section-heading.center {
    text-align: left;
  }

  .section-heading.center .eyebrow {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .logo {
    min-width: 0;
    font-size: 18px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 44px;
  }

  .hero-grid {
    gap: 36px;
  }

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

  .hero h2 {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .dashboard-top {
    padding: 20px;
  }

  .dashboard-top strong {
    font-size: 22px;
  }

  .flow-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .flow-line {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }

  .dashboard-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .dashboard-row strong {
    text-align: left;
  }

  .proof-strip,
  .pain-grid,
  .service-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section-layout,
  .cooperation-wrap,
  .sample-layout,
  .contact-grid {
    gap: 30px;
  }

  .section-heading h2,
  .contact-content h2 {
    font-size: 31px;
  }

  .service-card {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 34px;
  }

  .sample-grid {
    padding: 16px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
