:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f8;
  --text: #13242a;
  --muted: #627178;
  --line: #dce6e7;
  --teal: #075f63;
  --teal-2: #0b7a7f;
  --teal-dark: #083c42;
  --amber: #f2a10a;
  --shadow: 0 22px 55px rgba(10, 45, 48, 0.12);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(20px, 6vw, 96px);
  border-bottom: 1px solid rgba(220, 230, 231, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-text {
  max-width: min(44vw, 520px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(17px, 1.7vw, 24px);
}

.desktop-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  color: #253940;
  font-weight: 650;
}

.desktop-nav a,
.site-footer nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transition: width 0.2s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.desktop-nav a:first-child::after {
  width: 100%;
}

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

.language-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-dark);
  cursor: pointer;
}

.language-toggle {
  min-width: 92px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 750;
}

.language-toggle:hover,
.menu-toggle:hover {
  border-color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--teal-dark);
}

.mobile-nav {
  display: none;
}

.section {
  padding: clamp(48px, 5.6vw, 76px) clamp(20px, 6vw, 96px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(600px, 0.96fr) minmax(540px, 1.04fr);
  gap: 36px;
  align-items: center;
  min-height: 650px;
  padding-top: 52px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.services,
.capability,
.process,
.solutions,
.scenarios {
  padding-top: clamp(42px, 4.8vw, 66px);
  padding-bottom: clamp(42px, 4.8vw, 66px);
}

.hero::before {
  position: absolute;
  left: 0;
  bottom: 58px;
  width: 230px;
  height: 210px;
  content: "";
  opacity: 0.55;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 14px 14px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #17282f;
  font-size: clamp(48px, 3.55vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

html[lang="zh-CN"] .hero h1 {
  white-space: nowrap;
}

.hero-accent {
  color: var(--teal);
}

html[lang="en"] .hero h1 {
  font-size: clamp(44px, 3.65vw, 56px);
}

.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.75;
}

.hero-actions,
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-actions {
  margin-top: 30px;
  gap: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 184px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-actions .button::after {
  content: "→";
  margin-left: 22px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 95, 99, 0.18);
}

.button-primary {
  color: #fff;
  background: var(--teal);
}

.button-secondary {
  color: var(--teal-dark);
  background: #fff;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  max-width: 610px;
}

.trust-list div {
  min-width: 0;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.trust-list div:first-child {
  padding-left: 0;
}

.trust-list div:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
}

.trust-list dt {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-weight: 850;
}

.trust-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 560px;
  pointer-events: none;
}

.hero-visual-image {
  display: block;
  width: min(760px, 114%);
  max-width: none;
  height: auto;
  transform: translateX(4px);
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-head small {
  color: var(--muted);
}

.dashboard-head h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.dashboard-head span {
  align-self: start;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--teal);
  background: #e8f5f4;
  font-size: 13px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-grid b {
  display: block;
  margin-bottom: 6px;
  font-size: 27px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.chart {
  display: flex;
  align-items: end;
  gap: 18px;
  height: 150px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, #fff 0 29px, #edf3f3 30px);
}

.chart span {
  flex: 1;
  min-width: 22px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--teal-2), var(--teal-dark));
}

.phone-preview {
  position: absolute;
  left: 0;
  bottom: 58px;
  display: flex;
  flex-direction: column;
  width: 180px;
  min-height: 330px;
  padding: 38px 18px 18px;
  border: 8px solid #111820;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(10, 45, 48, 0.18);
  z-index: 3;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: #101820;
  transform: translateX(-50%);
}

.phone-preview strong {
  color: var(--teal-dark);
}

.phone-preview span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.phone-cards {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.phone-cards i {
  display: block;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e9f4f4, #fff);
  border: 1px solid var(--line);
}

.laptop-preview {
  position: absolute;
  right: -6px;
  bottom: 34px;
  width: min(380px, 54%);
  min-height: 202px;
  overflow: hidden;
  border: 8px solid #111820;
  border-bottom-width: 18px;
  border-radius: 8px 8px 5px 5px;
  background: #101820;
  box-shadow: 0 22px 42px rgba(10, 45, 48, 0.18);
  z-index: 2;
}

.laptop-preview::after {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -28px;
  height: 28px;
  content: "";
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #c9d2d3, #eef2f2);
}

.laptop-bar {
  height: 24px;
  background: #17222a;
}

.code-window {
  display: grid;
  gap: 9px;
  padding: 20px 24px;
  color: #d9e7e8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.35;
}

.code-window span:nth-child(2),
.code-window span:nth-child(3) {
  color: #f2a10a;
}

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

.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  color: #10242b;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}

.section-heading h2::after,
.about h2::after,
.contact h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  content: "";
  background: var(--amber);
}

.section-heading p,
.about-copy p,
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.service-item {
  min-height: 240px;
  padding: 28px;
  background: #fff;
}

.line-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  font-weight: 900;
  font-size: 22px;
}

.service-item h3,
.process-rail h3,
.solution-layout h3,
.capability-list h3,
.scenario-grid h3,
.legal-scope h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  color: #10242b;
}

.service-item p,
.process-rail p,
.solution-layout p,
.capability-list p,
.scenario-grid p,
.legal-scope p {
  color: var(--muted);
  line-height: 1.7;
}

.service-item a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
}

.process {
  background: var(--bg-soft);
}

.capability {
  background: linear-gradient(180deg, #fff 0%, #f7faf9 100%);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.capability-list article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.capability-list span {
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.capability-list h3 {
  margin-top: 20px;
}

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

.process-rail div {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-rail span {
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.solutions {
  padding-bottom: clamp(48px, 5.6vw, 76px);
}

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

.solution-layout article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 95, 99, 0.08), transparent 42%),
    #fff;
}

.solution-layout article::before {
  display: block;
  width: 100%;
  height: 86px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 95, 99, 0.16) 0 24%, transparent 24%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(220, 230, 231, 0.72) 19px),
    #fff;
}

.scenarios {
  background: var(--bg-soft);
}

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

.scenario-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scenario-grid article::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 24px;
  content: "";
  border-radius: 999px;
  background: var(--teal);
}

.scenario-grid h3 {
  margin-top: 0;
  font-size: 20px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: linear-gradient(135deg, #f6faf9 0%, #fff 48%, #eef6f6 100%);
}

.about,
.contact {
  padding-top: clamp(52px, 5.8vw, 82px);
  padding-bottom: clamp(52px, 5.8vw, 82px);
}

.about h2::after,
.contact h2::after {
  margin-left: 0;
}

.legal-scope {
  margin-top: 22px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.74);
}

.legal-scope h3 {
  margin-top: 0;
  font-size: 20px;
}

.identity-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.identity-panel div {
  min-height: 132px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.identity-panel span,
.contact-card span,
.contact-form span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.identity-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(32px, 6vw, 82px);
}

.contact-card {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card a {
  color: var(--teal);
  font-weight: 850;
}

.contact-card p {
  margin: 0;
  color: var(--text);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form .full,
.contact-form .form-status,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--text);
  background: #fbfdfd;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(7, 95, 99, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  padding: 46px clamp(20px, 6vw, 96px) 28px;
  color: #d6e5e6;
  background: linear-gradient(135deg, #062f35, #101820);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 40px;
}

.site-footer strong {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  max-width: 440px;
  color: #b8ccce;
  line-height: 1.7;
}

.site-footer nav {
  align-items: start;
  color: #d6e5e6;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8ccce;
}

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

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

  .menu-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .mobile-nav a {
    padding: 14px 8px;
    color: var(--text);
    font-weight: 750;
  }

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

  .hero {
    min-height: auto;
  }

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

  .service-grid,
  .capability-list,
  .process-rail,
  .solution-layout,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 74px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    max-width: 190px;
    font-size: 16px;
  }

  .language-toggle {
    min-width: 72px;
    padding: 0 10px;
  }

  .mobile-nav.is-open {
    top: 74px;
  }

  .section {
    padding: 54px 18px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.4vw, 46px);
  }

  html[lang="zh-CN"] .hero h1 {
    white-space: normal;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(33px, 9.4vw, 40px);
  }

  .hero p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .trust-list div {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .desktop-preview {
    width: 100%;
    border-width: 7px;
  }

  .preview-layout {
    grid-template-columns: 94px 1fr;
    min-height: 300px;
  }

  .preview-layout aside {
    padding: 16px 10px;
    font-size: 11px;
  }

  .dashboard {
    padding: 16px;
  }

  .dashboard-head {
    display: block;
  }

  .dashboard-head h2 {
    font-size: 19px;
  }

  .dashboard-head span {
    display: inline-flex;
    margin-top: 10px;
  }

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

  .metric-grid div:nth-child(n + 2) {
    display: none;
  }

  .chart {
    height: 96px;
    gap: 10px;
    padding: 14px;
  }

  .phone-preview {
    right: 12px;
    left: auto;
    bottom: 0;
    width: 140px;
    min-height: 250px;
    padding: 34px 14px 14px;
  }

  .service-grid,
  .capability-list,
  .process-rail,
  .solution-layout,
  .scenario-grid,
  .identity-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    padding: 28px;
  }

  .capability-list article,
  .scenario-grid article {
    min-height: auto;
    padding: 26px;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
