/* Visual direction v2: reference-led soft gradient + 3D hero */
:root {
  --brand: #3973f6;
  --brand-dark: #2458d7;
  --brand-soft: #edf2ff;
  --ink: #171a23;
  --muted: #69768a;
  --line: #e3e8f3;
  --canvas: #f3f6fc;
  --surface: #fff;
  --shadow: 0 22px 70px rgba(55, 73, 124, .10);
  --focus: 0 0 0 4px rgba(57, 115, 246, .22);
}

body { background: var(--canvas); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.container, .site-container { width: min(1280px, calc(100% - 48px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(58, 69, 104, .10);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}
.index .site-header, .demo-index .site-header { position: absolute; inset: 0 0 auto; background: rgba(247, 247, 255, .42); }
.nav, .nav-shell { min-height: 92px; }
.brand, .site-brand { gap: 10px; color: var(--brand); font-size: 22px; font-weight: 850; letter-spacing: -.035em; }
.brand:hover, .site-brand:hover { color: var(--brand-dark); }
.brand-mark {
  width: 48px;
  height: 48px;
  color: var(--brand);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.brand-mark svg { width: 46px; height: 46px; }
.brand small, .brand-copy small { display: none; }
.nav-links, .site-navigation { gap: 18px; }
.nav-toggle { display: none; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 12px; color: var(--brand); background: rgba(255,255,255,.72); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-links a, .site-navigation a {
  min-height: 48px;
  padding: 0 13px;
  color: #181a21;
  font-size: 16px;
  font-weight: 720;
  border-radius: 12px;
}
.nav-links a:hover, .site-navigation a:hover { color: var(--brand); background: rgba(255,255,255,.58); }
.nav-links .language-switch, .site-navigation .language-switch { gap: 8px; padding-inline: 10px; }
.flag-cn { width: 22px; height: 15px; position: relative; display: inline-block; border-radius: 2px; background: #e73331; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.flag-cn::before { content: ""; position: absolute; width: 4px; height: 4px; left: 4px; top: 3px; border-radius: 50%; background: #ffd84d; }
.chevron { width: 16px; height: 16px; }
.nav-links .private-number, .site-navigation .private-number {
  min-height: 54px;
  padding-inline: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(57, 115, 246, .22);
}
.nav-links .private-number:hover, .site-navigation .private-number:hover { color: #fff; background: var(--brand-dark); }
.zblog-nav { display: none !important; }

main { overflow: hidden; }
.hero {
  min-height: 950px;
  padding: 174px 0 48px;
  background:
    radial-gradient(circle at 73% 30%, rgba(183, 159, 255, .28), transparent 34%),
    radial-gradient(circle at 93% 26%, rgba(255, 217, 201, .45), transparent 27%),
    radial-gradient(circle at 10% 4%, rgba(192, 219, 255, .58), transparent 34%),
    linear-gradient(135deg, #e9f2ff 0%, #f1efff 48%, #fff3ef 100%);
}
.hero::before { display: none; }
.hero-grid { grid-template-columns: minmax(0, .96fr) minmax(460px, 1.04fr); gap: 36px; min-height: 520px; }
.hero-content { position: relative; z-index: 2; padding-top: 12px; }
.eyebrow, .hero-actions, .hero-trust, .preview-card { display: none; }
.hero h1 {
  max-width: 650px;
  margin: 0 0 32px;
  color: #181b24;
  font-size: clamp(52px, 5.15vw, 78px);
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 880;
}
.hero-country-picker {
  width: min(100%, 540px);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 14px 28px rgba(57, 115, 246, .20);
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.hero-country-picker:hover { color: #fff; background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(57, 115, 246, .27); }
.hero-country-picker svg { width: 20px; height: 20px; }
.hero-copy { max-width: 620px; margin-top: 30px; color: #252a36; font-size: 18px; line-height: 1.7; }
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(48px); }
.hero-art img { position: relative; z-index: 1; width: min(740px, 115%); height: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(59, 43, 121, .18)); transform: translate(3%, -1%); }
.hero-lower { position: relative; z-index: 3; display: grid; gap: 26px; margin-top: 36px; }
.hero-intro {
  padding: 30px 34px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 24px;
  background: rgba(255,255,255,.89);
  box-shadow: var(--shadow);
}
.hero-intro h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.35; }
.hero-intro p { max-width: 1120px; margin: 0; color: #7b8799; font-size: 17px; line-height: 1.65; }
.hero-country-links {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.80);
  border-radius: 24px;
  background: rgba(255,255,255,.89);
  box-shadow: var(--shadow);
}
.hero-country-links a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #252a35;
  background: #f4f6fb;
  font-size: 16px;
  font-weight: 680;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.hero-country-links a:hover, .hero-country-links a:focus-visible { color: var(--brand); border-color: #cad8ff; background: #edf2ff; transform: translateY(-2px); }

.numbers-section { padding: 86px 0 90px; background: #f6f8fc; }
.numbers-section .section-heading { align-items: start; }
.numbers-section .section-heading h2 { font-size: clamp(34px, 3.4vw, 48px); }
.filter-panel { border-radius: 18px; padding: 18px; box-shadow: 0 10px 34px rgba(48, 67, 116, .06); }
.number-card { border-radius: 22px; box-shadow: 0 12px 35px rgba(48, 67, 116, .07); }
.chip[aria-pressed="true"] { box-shadow: 0 8px 20px rgba(57,115,246,.18); }

@media (max-width: 1100px) {
  .nav-links a, .site-navigation a { padding-inline: 9px; font-size: 14px; }
  .hero { padding-top: 145px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); min-height: 470px; }
  .hero h1 { font-size: clamp(48px, 6vw, 66px); }
  .hero-country-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .container, .site-container { width: min(100% - 32px, 1280px); }
  .index .site-header, .demo-index .site-header { position: absolute; }
  .nav, .nav-shell { min-height: 76px; }
  .brand, .site-brand { font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark svg { width: 38px; height: 38px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; color: var(--brand); }
  .nav-links.open { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .nav-links.open a { width: 100%; }
  .site-navigation { top: calc(100% + 8px); }
  .site-navigation.open { display: block; }
  .site-navigation .primary-nav { display: grid; }
  .site-navigation .private-number { margin-top: 8px; }
  .hero { min-height: auto; padding: 116px 0 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; min-height: auto; }
  .hero-content { padding-top: 8px; }
  .hero h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(40px, 10.5vw, 64px); }
  .hero-country-picker { width: 100%; }
  .hero-copy { margin-top: 22px; font-size: 16px; }
  .hero-art { min-height: 370px; }
  .hero-art img { width: min(680px, 105%); transform: none; }
  .hero-lower { margin-top: 16px; }
  .hero-country-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px; }
}

@media (max-width: 520px) {
  .hero { padding-top: 104px; }
  .hero h1 { font-size: 42px; line-height: 1.14; }
  .hero-art { min-height: 270px; }
  .hero-intro { padding: 24px 22px; border-radius: 20px; }
  .hero-intro h2 { font-size: 21px; }
  .hero-intro p { font-size: 15px; }
  .hero-country-links { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .numbers-section { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .hero-country-picker, .hero-country-links a { transform: none !important; }
}
