:root {
  color-scheme: light;
  --ink: #172426;
  --muted: #526668;
  --line: #d9e4e1;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #1d9a94;
  --teal-dark: #0d5f61;
  --coral: #e78978;
  --graphite: #203033;
  --shadow: 0 20px 60px rgba(23, 36, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body::selection {
  color: #071c1d;
  background: #9af0e6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 28, 31, 0.78), rgba(16, 28, 31, 0));
  transition: background 240ms ease, box-shadow 240ms ease, color 240ms ease;
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(23, 36, 38, 0.1);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--graphite);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(29, 154, 148, 0.18);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.language-toggle {
  min-width: 54px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
}

.site-header.scrolled .language-toggle {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 7vw, 96px) 80px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 30, 33, 0.88) 0%, rgba(14, 30, 33, 0.55) 42%, rgba(14, 30, 33, 0.06) 74%),
    linear-gradient(180deg, rgba(14, 30, 33, 0.2), rgba(14, 30, 33, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9af0e6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 8vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.button.primary {
  color: #0d3031;
  background: #9af0e6;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.intro,
.solutions,
.trust,
.contact {
  padding: clamp(64px, 10vw, 112px) clamp(20px, 7vw, 96px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.84fr) minmax(280px, 1.16fr);
  gap: clamp(28px, 7vw, 86px);
  background: var(--white);
  position: relative;
}

.intro::after {
  content: "";
  position: absolute;
  left: clamp(20px, 7vw, 96px);
  right: clamp(20px, 7vw, 96px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.intro > p,
.trust-layout > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.principles article {
  min-height: 300px;
  padding: clamp(30px, 5vw, 54px);
  background: #edf5f2;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.principles article:nth-child(2) {
  background: #f6f0ed;
}

.principles article:nth-child(3) {
  background: #eef2f7;
}

.principles article:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.principles span,
.contact span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.principles p,
.solution-card p {
  color: var(--muted);
}

.solutions {
  background: #f7faf8;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.solution-card {
  min-height: 370px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(23, 36, 38, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 154, 148, 0.46);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-size: 13px;
  font-weight: 800;
}

.trust {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(29, 154, 148, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(231, 137, 120, 0.16), transparent 28%),
    var(--graphite);
}

.trust .eyebrow {
  color: #9af0e6;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(250px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  margin-top: 18px;
}

.trust-layout > p {
  color: rgba(255, 255, 255, 0.78);
}

.trust ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.contact-grid a,
.contact-grid address {
  min-height: 164px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font-style: normal;
  overflow-wrap: anywhere;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.contact-grid a:hover,
.contact-grid address:hover {
  transform: translateY(-5px);
  border-color: rgba(29, 154, 148, 0.42);
  box-shadow: 0 16px 40px rgba(23, 36, 38, 0.08);
}

.contact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics div {
  padding: clamp(28px, 4vw, 46px);
  background: #fbfdfc;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.platform {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 7vw, 86px);
  padding: clamp(64px, 10vw, 112px) clamp(20px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.9), rgba(237, 245, 242, 0.9)),
    #edf5f2;
}

.platform-flow {
  display: grid;
  gap: 14px;
  counter-reset: flow;
}

.platform-flow span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px 14px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--graphite);
  font-weight: 760;
}

.platform-flow span::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.4%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .reveal,
  .button,
  .solution-card,
  .principles article,
  .contact-grid a,
  .contact-grid address {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(23, 36, 38, 0.08);
  }

  .language-toggle {
    color: var(--ink);
    border-color: var(--line);
    background: var(--white);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 860px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(14, 30, 33, 0.12) 0%, rgba(14, 30, 33, 0.88) 64%),
      linear-gradient(90deg, rgba(14, 30, 33, 0.54), rgba(14, 30, 33, 0.12));
  }

  .intro,
  .trust-layout,
  .principles,
  .solution-grid,
  .contact-grid,
  .metrics,
  .platform {
    grid-template-columns: 1fr;
  }

  .principles article,
  .solution-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    font-size: 16px;
  }

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

  .hero {
    min-height: 780px;
    padding: 112px 20px 48px;
  }

  h1 {
    font-size: 58px;
  }

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

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
