:root {
  --red: #e1271d;
  --red-dark: #b91f18;
  --ink: #111517;
  --ink-soft: #242a2e;
  --muted: #646d75;
  --line: #dfe5e8;
  --steel: #f3f5f6;
  --steel-strong: #e8eef1;
  --white: #ffffff;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(20, 27, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    "Source Han Sans SC",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

.section-pad {
  padding: 86px 0;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    var(--steel);
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 21, 23, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 214px;
  min-width: 180px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.header-cta {
  min-width: 138px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
}

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

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

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

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(232, 238, 241, 0.78) 100%),
    radial-gradient(circle at 88% 22%, rgba(225, 39, 29, 0.13), transparent 26%);
}

.hero.section-pad {
  padding: 48px 0 40px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  content: "";
  background: linear-gradient(135deg, transparent 22%, rgba(17, 21, 23, 0.06) 22%, rgba(17, 21, 23, 0.06) 62%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: var(--red-dark);
  background: rgba(225, 39, 29, 0.08);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  font-weight: 900;
}

.hero h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.16;
  font-weight: 950;
}

.hero-lead {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.btn {
  min-width: 148px;
  padding: 0 22px;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(225, 39, 29, 0.22);
}

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

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin-top: 38px;
}

.hero-proof div {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 21, 23, 0.08);
  border-radius: var(--radius);
}

.hero-proof dt {
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.hero-proof dd {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 45%, rgba(17, 21, 23, 0.7) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 24%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: var(--white);
  background: rgba(17, 21, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 34px;
  max-width: none;
  align-items: end;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--ink);
  font-size: 34px;
  line-height: 1.28;
  font-weight: 950;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.inverse h2,
.section-heading.inverse p:not(.eyebrow) {
  color: var(--white);
}

.position-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.position-flow article {
  position: relative;
  min-height: 250px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.position-flow article:last-child {
  border-right: 0;
}

.position-flow article::after {
  position: absolute;
  top: 36px;
  right: -10px;
  z-index: 1;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
}

.position-flow article:last-child::after {
  display: none;
}

.position-flow span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.position-flow h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.position-flow p {
  color: var(--muted);
  font-size: 15px;
}

.position-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 4px solid var(--ink);
  background: var(--ink);
}

.position-matrix div {
  min-height: 112px;
  padding: 22px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.position-matrix div:last-child {
  border-right: 0;
}

.position-matrix strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.position-matrix span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.product-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-item img {
  width: 100%;
  background: var(--steel);
}

.product-body {
  padding: 24px;
}

.product-index {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.product-body h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.28;
}

.product-body p {
  color: var(--muted);
  font-size: 15px;
}

.product-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-body li {
  min-height: 30px;
  padding: 5px 10px;
  color: var(--ink-soft);
  background: var(--steel);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

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

.scenario-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scenario-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.scenario-grid h3 {
  padding: 12px 10px 14px;
  color: var(--white);
  background: var(--red);
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
}

.advantage-band {
  background:
    linear-gradient(135deg, rgba(225, 39, 29, 0.16), transparent 34%),
    linear-gradient(180deg, #111517, #171d20);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.advantage-grid article {
  min-height: 190px;
  padding: 28px;
  background: rgba(17, 21, 23, 0.78);
}

.advantage-grid span {
  color: var(--red);
  font-size: 24px;
  font-weight: 950;
}

.advantage-grid h3 {
  margin: 18px 0 10px;
  color: var(--white);
  font-size: 22px;
}

.advantage-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: flow;
}

.process-list li {
  position: relative;
  min-height: 150px;
  padding: 24px;
  background: var(--steel);
  border-radius: var(--radius);
}

.process-list li::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.process-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.process-list p {
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  padding-bottom: 74px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1fr);
  gap: 44px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 560px;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 950;
}

.contact-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 14px;
  color: var(--muted);
}

.phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.phone-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 950;
}

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

.qr-grid figure {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(17, 21, 23, 0.08);
}

.qr-grid img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  background: var(--white);
}

.qr-grid figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #0d1012;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
  padding: 42px 0 34px;
}

.footer-brand img {
  width: 210px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 6px;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 16px;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
  justify-self: end;
  min-width: 480px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
}

.footer-bottom a {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

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

  .hero-visual {
    max-width: 760px;
  }

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

  .position-flow article:nth-child(2) {
    border-right: 0;
  }

  .position-flow article:nth-child(2)::after {
    display: none;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section-pad {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-link {
    width: 190px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

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

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--red);
    background: rgba(225, 39, 29, 0.08);
  }

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

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

  .hero-proof,
  .product-grid,
  .advantage-grid,
  .process-list,
  .qr-grid,
  .section-heading-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 28px;
  }

  .position-flow {
    grid-template-columns: 1fr;
  }

  .position-flow article,
  .position-flow article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .position-flow article:last-child {
    border-bottom: 0;
  }

  .position-flow article::after {
    display: none;
  }

  .position-matrix {
    grid-template-columns: 1fr;
  }

  .position-matrix div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .position-matrix div:last-child {
    border-bottom: 0;
  }

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

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section-pad {
    padding: 50px 0;
  }

  .brand-link {
    width: 168px;
    min-width: 0;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero.section-pad {
    padding: 42px 0 48px;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof div {
    padding: 16px;
  }

  .hero-visual figcaption {
    position: static;
    padding: 14px;
    background: var(--ink);
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .product-body,
  .advantage-grid article,
  .process-list li {
    padding: 22px;
  }

  .phone-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .phone-list a {
    justify-content: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom a {
    display: block;
    margin: 6px 0 0;
  }
}
