:root {
  --bg: #ffffff;
  --bg-soft: #f6f8ff;
  --text: #11172a;
  --muted: #5d667c;
  --line: #e4e8f2;
  --blue: #2478ff;
  --violet: #7c4dff;
  --cyan: #11b9ff;
  --shadow: 0 18px 50px rgba(34, 75, 160, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

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

p {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

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

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(228, 232, 242, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  line-height: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #222b45;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: #eef4ff;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faff;
}

.language-option {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
}

.language-option:hover,
.language-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 52px;
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(124, 77, 255, 0.2), rgba(36, 120, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf4ff;
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 .hero-line {
  display: block;
}

.hero h1 .hero-accent {
  background: linear-gradient(120deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: 18px;
  text-wrap: pretty;
}

.lang-zh-cn .hero h1,
.lang-zh-tw .hero h1 {
  max-width: 660px;
  font-size: clamp(44px, 5.7vw, 74px);
  line-height: 1.12;
}

.lang-zh-cn .hero-lede,
.lang-zh-tw .hero-lede {
  max-width: 610px;
  font-size: 17px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 34px rgba(76, 99, 255, 0.26);
}

.button.secondary {
  color: var(--blue);
  background: #edf4ff;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  aspect-ratio: 1.28;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #f9fbff, #eef2ff);
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0.08) 58%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-product-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  width: min(350px, calc(100% - 56px));
  padding: 22px;
  border: 1px solid rgba(228, 232, 242, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(34, 75, 160, 0.14);
  backdrop-filter: blur(16px);
}

.hero-product-card p {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.hero-product-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.08;
}

.hero-product-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.compact-section {
  padding-top: 28px;
  padding-bottom: 34px;
}

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

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-strip div,
.trust-item,
.category-grid div,
.contact-card,
.support-list div,
.link-columns a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-strip div {
  padding: 22px;
}

.value-strip strong,
.trust-item strong,
.category-grid strong,
.support-list strong,
.link-columns strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

.value-strip p,
.trust-item p,
.category-grid p,
.support-list p,
.link-columns span {
  margin-bottom: 0;
  font-size: 14px;
}

.split-section,
.product-detail,
.contact-layout,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 52px;
}

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

.section-lede {
  max-width: 600px;
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  color: var(--muted);
}

.check-list li::marker {
  color: var(--blue);
}

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
  transition: transform 0.18s ease;
}

.product-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.54) 34%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.product-panel img {
  width: 100%;
}

.localized-showcase-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(228, 232, 242, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.localized-showcase-caption strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.localized-showcase-caption span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading p {
  margin-bottom: 0;
}

.trust-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-item,
.category-grid div {
  padding: 24px;
}

.trust-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.link-columns {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.link-columns a {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.page-hero {
  padding: 86px 0 70px;
  background:
    linear-gradient(135deg, rgba(36, 120, 255, 0.08), rgba(124, 77, 255, 0.08)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 18px;
}

.product-detail {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.product-subtitle {
  margin-top: -8px;
  color: var(--blue);
  font-weight: 800;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #2b3654;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 56px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-aside strong {
  display: block;
  margin-bottom: 6px;
}

.legal-aside p {
  margin-bottom: 18px;
  font-size: 14px;
}

.legal-aside p:last-child {
  margin-bottom: 0;
}

.legal-copy h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 26px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy a,
.legal-aside a,
.contact-card a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.support-grid {
  align-items: stretch;
}

.contact-card {
  padding: 30px;
}

.primary-card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(36, 120, 255, 0.75), rgba(124, 77, 255, 0.75)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.support-list div {
  padding: 22px;
}

.text-section {
  text-align: left;
}

.contact-layout {
  grid-template-columns: repeat(2, 1fr);
}

.company-facts {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.company-facts dl {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.company-facts dl div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.company-facts dl div:last-child {
  border-bottom: 0;
}

.company-facts dt {
  color: var(--muted);
  font-weight: 800;
}

.company-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(228, 232, 242, 0.9);
  background:
    radial-gradient(circle at 12% 0%, rgba(36, 120, 255, 0.08), rgba(36, 120, 255, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.55fr) minmax(280px, 0.9fr);
  align-items: start;
  gap: 56px;
  padding: 58px 0;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  width: 60px;
  height: 60px;
}

.site-footer p {
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-record {
  margin-top: 10px;
}

.footer-record a {
  color: var(--muted);
  font-weight: 700;
}

.footer-record a:hover {
  color: var(--blue);
}

.footer-links,
.footer-cta {
  display: grid;
  gap: 10px;
}

.footer-links strong,
.footer-cta strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.footer-links a {
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-cta {
  padding: 24px;
  border: 1px solid rgba(228, 232, 242, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(34, 75, 160, 0.1);
}

.footer-cta p {
  max-width: 340px;
  margin-bottom: 8px;
  line-height: 1.65;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-section,
  .product-detail,
  .support-grid,
  .company-facts,
  .section-heading,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .value-strip,
  .trust-grid,
  .category-grid,
  .link-columns,
  .contact-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-aside {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-cta {
    grid-column: 1 / -1;
  }
}

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-left: 0;
    width: 100%;
  }

  .language-option {
    min-width: 0;
    padding: 0 8px;
  }

  .hero-media {
    aspect-ratio: 1.45;
  }

  .hero-product-card {
    left: 20px;
    bottom: 20px;
    width: min(320px, calc(100% - 40px));
  }
}

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

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

  .hero {
    padding: 52px 0 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-lede,
  .page-hero p,
  .section-lede {
    font-size: 16px;
  }

  .section,
  .page-hero {
    padding: 52px 0;
  }

  .compact-section {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .value-strip,
  .trust-grid,
  .category-grid,
  .link-columns,
  .contact-layout,
  .support-list {
    grid-template-columns: 1fr;
  }

  .product-panel-large {
    order: -1;
  }

  .company-facts dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-cta {
    grid-column: auto;
    width: 100%;
  }

  .localized-showcase-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 12px;
  }

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

  .button {
    width: 100%;
  }

  .hero-product-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -24px 16px 16px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 0.98) 100%);
  }

  .localized-showcase-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -20px 14px 14px;
  }
}
