:root {
  color-scheme: light;
  --ink: #111821;
  --muted: #657181;
  --line: #dce5ef;
  --paper: #f5f8fb;
  --white: #ffffff;
  --red: #c91625;
  --red-dark: #8f0d19;
  --blue: #1769ff;
  --cyan: #13a4b8;
  --green: #17a374;
  --graphite: #08111e;
  --shadow: 0 22px 70px rgba(16, 25, 35, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(201, 22, 37, 0.12), transparent 25%),
    radial-gradient(circle at 90% 1%, rgba(19, 164, 184, 0.11), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #edf3f8 48%, #f8fafc 100%);
}

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

.service-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #fff;
  background: rgba(8, 17, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 176px;
  height: 46px;
  object-fit: contain;
  filter: brightness(1.15);
}

.service-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.service-header nav a:hover {
  color: #fff;
}

main {
  overflow: hidden;
}

.hero,
.insight-section,
.services-section,
.diagnosis-section,
.delivery-section,
.package-section,
.case-section,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 76px);
  padding: 78px 0 70px;
}

.eyebrow,
.section-heading p {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.diagnosis-section h2,
.package-copy h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 64px);
}

.lead {
  max-width: 820px;
  margin: 26px 0 0;
  color: #3c4654;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, #f2323f, var(--red) 54%, var(--red-dark));
  box-shadow: 0 16px 38px rgba(201, 22, 37, 0.24);
}

.secondary-action {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.secondary-action.dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-panel,
.diagnosis-card,
.contact-card,
.case-browser {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 17, 30, 0.97), rgba(13, 35, 58, 0.97)),
    var(--graphite);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.panel-top i {
  width: 9px;
  height: 9px;
  background: #19d39a;
  border-radius: 50%;
}

.panel-top b {
  color: #dff7ff;
}

.hero-panel dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.hero-panel div:not(.panel-top) {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.hero-panel dt {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.hero-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.insight-section,
.services-section,
.delivery-section,
.case-section {
  padding: 96px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2,
.diagnosis-section h2,
.package-copy h2,
.contact-section h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.insight-grid,
.services-grid,
.delivery-timeline,
.package-grid {
  display: grid;
  gap: 18px;
}

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

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

.delivery-timeline {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

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

.insight-grid article,
.services-grid article,
.delivery-timeline article,
.package-grid article {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 42px rgba(16, 25, 35, 0.08);
}

.insight-grid article {
  min-height: 250px;
}

.services-grid article {
  min-height: 310px;
}

.delivery-timeline article {
  min-height: 250px;
}

.package-grid article {
  min-height: 220px;
}

.insight-grid b,
.services-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.insight-grid h3,
.services-grid h3,
.delivery-timeline h3,
.package-grid h3 {
  margin: 16px 0 14px;
  font-size: 21px;
  line-height: 1.38;
}

.insight-grid p,
.delivery-timeline p,
.package-grid p,
.case-copy p,
.diagnosis-section p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: 15px;
}

.services-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.services-grid article:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(19, 164, 184, 0.08), rgba(255, 255, 255, 0.9)),
    #fff;
  border-color: rgba(19, 164, 184, 0.28);
}

.services-grid article:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(23, 105, 255, 0.08), rgba(255, 255, 255, 0.9)),
    #fff;
  border-color: rgba(23, 105, 255, 0.24);
}

.diagnosis-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: center;
  gap: 34px;
  min-height: 300px;
  padding: 52px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(20, 164, 184, 0.22), transparent 28%),
    linear-gradient(135deg, #101923, #162c48);
  border-radius: 14px;
}

.diagnosis-section > div {
  display: grid;
  gap: 18px;
}

.diagnosis-section .eyebrow {
  margin-bottom: 0;
}

.diagnosis-section h2,
.diagnosis-section p {
  color: #fff;
}

.diagnosis-section p {
  color: rgba(255, 255, 255, 0.74);
}

.diagnosis-card {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 160px;
  padding: 28px;
  background: #fff;
}

.diagnosis-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.diagnosis-card strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.diagnosis-card small {
  color: var(--blue);
  font-weight: 900;
}

.delivery-timeline article {
  overflow: hidden;
}

.delivery-timeline article::before {
  position: absolute;
  top: 32px;
  right: 26px;
  width: 42px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.delivery-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--graphite);
  border-radius: 50%;
  font-weight: 900;
}

.package-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.package-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.package-grid article {
  box-shadow: none;
  background: #f7fafc;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.case-copy {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.fuhai-browser-card {
  --fuhai-blue: #1f6bdb;
  --fuhai-deep: #0f2a4c;
  --fuhai-cream: #f4f8ff;
  overflow: hidden;
  color: var(--fuhai-deep);
  background: var(--fuhai-cream);
  border: 1px solid rgba(15, 42, 76, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.home-fuhai-browser {
  width: 100%;
  min-height: 438px;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  color: rgba(15, 42, 76, 0.54);
  background: #e8eff8;
  border-bottom: 1px solid rgba(15, 42, 76, 0.1);
  font-size: 11px;
}

.browser-chrome span {
  width: 8px;
  height: 8px;
  background: rgba(15, 42, 76, 0.22);
  border-radius: 50%;
}

.browser-chrome span:first-child {
  background: var(--fuhai-blue);
}

.browser-chrome b {
  margin-left: 9px;
  font-weight: 800;
}

.browser-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid rgba(15, 42, 76, 0.08);
}

.browser-site-nav strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.browser-site-nav i {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--fuhai-blue);
  font-size: 12px;
  font-style: normal;
  transform: skew(-8deg);
}

.browser-site-nav span {
  color: rgba(15, 42, 76, 0.62);
  font-size: 11px;
  font-weight: 900;
}

.browser-site-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(270px, 1.1fr);
  min-height: 342px;
}

.browser-site-hero > div:first-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.browser-site-hero small {
  color: var(--fuhai-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.browser-site-hero h3 {
  margin: 16px 0 12px;
  color: var(--fuhai-deep);
  font-size: clamp(27px, 2.5vw, 36px);
  line-height: 1.12;
}

.browser-site-hero h3 span {
  display: block;
  white-space: nowrap;
}

.browser-site-hero p {
  margin: 0;
  color: rgba(15, 42, 76, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.browser-site-hero a {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 16px;
  color: #fff;
  background: var(--fuhai-blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.browser-product-stage {
  position: relative;
  display: grid;
  min-height: 342px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 107, 219, 0.1), rgba(135, 183, 248, 0.24)),
    #edf4ff;
}

.browser-product-stage::before {
  position: absolute;
  inset: 9% 10%;
  content: "";
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(15, 42, 76, 0.1);
}

.browser-product-stage img {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.browser-product-stage em {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 12px;
  color: #fff;
  background: var(--fuhai-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
  padding: 74px 0 90px;
}

.contact-section > div:first-child {
  max-width: 830px;
}

.contact-qr {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.contact-card {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-card img {
  width: 190px;
  height: 190px;
  object-fit: contain;
}

.contact-qr span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1080px) {
  .insight-grid,
  .services-grid,
  .delivery-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .service-header,
  .service-header nav,
  .hero-actions,
  .case-actions {
    align-items: flex-start;
  }

  .service-header {
    flex-direction: column;
  }

  .service-header nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .diagnosis-section,
  .package-section,
  .case-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .browser-site-hero {
    grid-template-columns: 1fr;
  }

  .browser-product-stage {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .hero,
  .insight-section,
  .services-section,
  .diagnosis-section,
  .delivery-section,
  .package-section,
  .case-section,
  .contact-section {
    width: min(100% - 24px, 1180px);
  }

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

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

  .lead {
    font-size: 17px;
  }

  .insight-grid,
  .services-grid,
  .delivery-timeline {
    grid-template-columns: 1fr;
  }

  .diagnosis-section,
  .package-section {
    padding: 24px;
  }

  .browser-site-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px;
  }

  .browser-site-hero > div:first-child {
    padding: 24px;
  }

  .browser-site-hero h3 {
    font-size: 27px;
  }
}
