:root {
  --lhf-brand-primary: #25d0e6;
  --lhf-brand-secondary: #19c6c4;
  --lhf-text-primary: #164b57;
  --lhf-bg-base: #f7fdff;
  --lhf-bg-subtle: #eaf4f7;
  --lhf-support-highlight: #67e8f5;
  --lhf-accent-coral: #ff7a59;
  --lhf-accent-apricot: #ffc37a;
  --cloud: var(--lhf-bg-base);
  --mist: var(--lhf-bg-subtle);
  --white: #ffffff;
  --ink: var(--lhf-text-primary);
  --ink-soft: rgba(22, 75, 87, 0.74);
  --cyan: var(--lhf-brand-primary);
  --teal: var(--lhf-brand-secondary);
  --sky: var(--lhf-support-highlight);
  --coral: var(--lhf-accent-coral);
  --apricot: var(--lhf-accent-apricot);
  --line: rgba(22, 75, 87, 0.14);
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(22, 75, 87, 0.12);
  --font-en: "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-cn: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ar: Cairo, "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --font-code: "Noto Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--font-en);
}

html.i18n-pending body {
  visibility: hidden;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--cloud) 0%, #ffffff 42%, #f1fbfd 100%);
  color: var(--ink);
  font-size: 14px;
  line-height: 24px;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 253, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 12rem;
}

.brand-logo {
  display: block;
  width: 216px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.language-label {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 18px;
}

.language-select {
  min-width: 12.5rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 0.65rem;
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: min(680px, calc(100vh - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.6rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  bottom: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--teal), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 5vw, 40px);
  line-height: clamp(40px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 26px;
}

.hero-copy {
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0.78rem 1.1rem;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.button.primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(37, 208, 230, 0.28);
}

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

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 208, 230, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(103, 232, 245, 0.32), transparent 32%),
    linear-gradient(135deg, rgba(234, 244, 247, 0.92), rgba(247, 253, 255, 0.98) 54%, rgba(255, 195, 122, 0.24));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: min(192px, 48%);
  height: auto;
  object-fit: contain;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(25, 198, 196, 0.28);
  border-radius: 999px;
}

.hero-visual::before {
  width: 78%;
  height: 38%;
  transform: rotate(-12deg);
}

.hero-visual::after {
  width: 54%;
  height: 24%;
  transform: rotate(17deg);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(2.8rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: clamp(40px, 6vw, 52px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 26px;
}

.signal-band {
  border-block: 1px solid var(--line);
  background: rgba(234, 244, 247, 0.72);
}

.signal-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.signal-grid div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border-inline-start: 1px solid var(--line);
}

.signal-grid div:last-child {
  border-inline-end: 1px solid var(--line);
}

.signal-grid strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.signal-grid span,
.card p,
.identity-item p,
.product-item p,
.platform-copy p,
.metric-list dd,
.trust-list p,
.contact-copy p,
.site-footer,
.legal-section p {
  color: var(--ink-soft);
}

.section,
.legal-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.identity-grid,
.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.identity-item,
.card,
.product-item {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.identity-item img {
  display: block;
  height: 78px;
  width: 100%;
  margin-bottom: 2rem;
  object-fit: contain;
  object-position: left center;
}

[dir="rtl"] .identity-item img,
.rtl-sample img {
  object-position: right center;
}

.card-icon {
  display: inline-flex;
  min-width: 3.25rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  border: 1px solid rgba(37, 208, 230, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(103, 232, 245, 0.28), rgba(255, 255, 255, 0.6));
  font-family: var(--font-code);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
}

.platform-section {
  border-block: 1px solid var(--line);
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 208, 230, 0.11), transparent 36%),
    var(--white);
  box-shadow: var(--shadow);
}

.platform-logo {
  display: block;
  width: min(420px, 100%);
  margin-bottom: 1.4rem;
}

.platform-copy p {
  margin-top: 0;
  font-size: 16px;
  line-height: 26px;
}

.platform-copy h2 {
  margin-bottom: 1rem;
  font-size: 24px;
  line-height: 34px;
}

.text-link {
  color: var(--ink);
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.metric-list {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.metric-list div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list dt {
  color: var(--teal);
  font-weight: 760;
}

.metric-list dd {
  margin: 0.2rem 0 0;
}

.product-mark {
  display: block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 3.5rem;
  border-radius: 8px;
  position: relative;
}

.product-mark::before,
.product-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.product-mark::before {
  inset: 15px;
  background: var(--white);
}

.product-mark::after {
  width: 18px;
  height: 18px;
  right: 8px;
  top: 8px;
  background: var(--coral);
}

.product-mark.cyan {
  background: var(--cyan);
}

.product-mark.apricot {
  background: var(--apricot);
}

.product-mark.teal {
  background: var(--teal);
}

.trust-section {
  border-top: 1px solid var(--line);
}

.trust-list {
  display: grid;
  gap: 1.2rem;
}

.trust-list article {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 1.5rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
}

.trust-list p {
  margin: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a {
  color: var(--ink);
  font-weight: 650;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 18px;
}

.site-footer p {
  margin: 0;
}

.legal-main {
  min-height: 72vh;
}

.legal-section {
  max-width: 860px;
}

.legal-section h1 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: clamp(40px, 6vw, 52px);
}

.legal-section h2 {
  margin-top: 2rem;
  font-size: 24px;
  line-height: 34px;
}

[lang="zh-CN"] body {
  font-family: var(--font-cn);
}

[dir="rtl"] body {
  font-family: var(--font-ar);
  text-align: right;
}

[dir="rtl"] .brand-logo {
  object-position: right center;
}

[dir="rtl"] .hero {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
}

[dir="rtl"] .hero-content {
  order: 2;
}

[dir="rtl"] .hero-visual {
  order: 1;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 0.9rem 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 190px;
    height: 42px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  [dir="rtl"] .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .hero-content,
  [dir="rtl"] .hero-visual {
    order: initial;
  }

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

  .signal-grid,
  .identity-grid,
  .service-grid,
  .product-grid,
  .platform-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .signal-grid div:last-child {
    border-inline: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-list article {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 540px) {
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .language-select {
    flex: 1;
  }

  h1 {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 42px;
  }

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

  .button {
    padding-inline: 0.8rem;
  }

  .identity-item,
  .card,
  .product-item {
    min-height: 240px;
  }

  .platform-panel {
    padding: 1.25rem;
  }
}

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