:root {
  color-scheme: light;
  --green: #58cc02;
  --green-pressed: #46a302;
  --ink: #10141f;
  --text: #313948;
  --muted: #6b7380;
  --line: #e3e8ef;
  --paper: #ffffff;
  --wash: #f7faf8;
  --mint: #e7f8ec;
  --blue: #2097e8;
  --red: #c9413a;
  --yellow: #f3c44f;
  --shadow: 0 22px 60px rgba(30, 43, 36, 0.13);
  --font: "Nunito", "DIN Round Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

body[data-lang="zh"] .lang-en,
body[data-lang="en"] .lang-zh,
body[data-lang="zh"] [data-lang-panel="en"],
body[data-lang="en"] [data-lang-panel="zh"] {
  display: none !important;
}

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

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

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lang-switch button {
  min-width: 42px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.page-main {
  padding-top: 72px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 106px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(243, 253, 247, 0.68) 68%, rgba(232, 248, 237, 0.78) 100%),
    repeating-linear-gradient(0deg, rgba(16, 20, 31, 0.05) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(16, 20, 31, 0.05) 0 1px, transparent 1px 20px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 72px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-pressed);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.section-head .eyebrow,
.feature-copy .eyebrow,
.cta-section .eyebrow {
  color: var(--green);
  font-size: 18px;
}

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

h1,
.display-title {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

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

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 0 var(--green-pressed);
}

.button-primary:hover {
  background: #63d414;
}

.button-secondary {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 0 #cdd5df;
}

.hero-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero-screen {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: -64px;
  width: min(34vw, 330px);
  min-width: 210px;
  filter: drop-shadow(0 34px 46px rgba(22, 37, 28, 0.2));
  transform: rotate(3deg);
  animation: screen-float 8s ease-in-out infinite;
}

.hero-screen.secondary {
  right: max(230px, calc((100vw - 780px) / 2));
  bottom: -128px;
  width: min(28vw, 260px);
  opacity: 0.92;
  transform: rotate(-6deg);
  animation-delay: -3s;
}

.hero-animal {
  position: absolute;
  right: max(26px, calc((100vw - 1170px) / 2));
  top: 84px;
  width: min(24vw, 260px);
  filter: drop-shadow(0 26px 34px rgba(20, 35, 27, 0.18));
  animation: animal-breathe 7s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  right: max(32px, calc((100vw - 1090px) / 2));
  bottom: 62px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 900;
}

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

.section {
  position: relative;
  padding: 94px 0;
  overflow: hidden;
}

.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.language-strip {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.strip-inner {
  display: flex;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.strip-inner::-webkit-scrollbar {
  display: none;
}

.strip-pill {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.strip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.strip-pill:nth-child(2) .strip-dot { background: var(--blue); }
.strip-pill:nth-child(3) .strip-dot { background: var(--red); }
.strip-pill:nth-child(4) .strip-dot { background: var(--yellow); }

.showcase {
  background: var(--wash);
}

.screen-marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 24s ease-in-out infinite alternate;
}

.screen-marquee:hover {
  animation-play-state: paused;
}

.shot {
  width: min(29vw, 245px);
  min-width: 178px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 31, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(27, 44, 33, 0.13);
}

.shot img {
  width: 100%;
  height: auto;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 70px;
  align-items: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.feature-band.reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
}

.feature-band.reverse .feature-copy {
  order: 2;
}

.feature-copy h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 58px;
  font-weight: 900;
  line-height: 1.02;
}

.feature-copy p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

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

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.screen-pair.screen-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-pair.screen-trio .shot {
  width: 100%;
  min-width: 0;
}

.screen-pair .shot:first-child {
  transform: translateY(26px) rotate(-2deg);
}

.screen-pair .shot:last-child {
  transform: rotate(2deg);
}

.screen-pair.screen-trio .shot {
  transform: none;
}

.screen-pair.screen-trio .shot:nth-child(3n+1) {
  transform: translateY(18px) rotate(-2deg);
}

.screen-pair.screen-trio .shot:nth-child(3n+2) {
  transform: translateY(-8px) rotate(1.5deg);
}

.screen-pair.screen-trio .shot:nth-child(3n) {
  transform: translateY(14px) rotate(2deg);
}

.shot-focus-top {
  aspect-ratio: 0.68;
}

.shot-focus-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.comparison-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.comparison-card b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 17px;
}

.comparison-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.service-tile {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.service-tile b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.service-tile p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.service-tile:nth-child(2) {
  border-color: rgba(32, 151, 232, 0.35);
}

.service-tile:nth-child(3) {
  border-color: rgba(201, 65, 58, 0.32);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #10141f 0%, #172018 100%);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 48px;
  align-items: end;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 72px;
}

.cta-section h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 76px;
  font-weight: 900;
  line-height: 0.98;
}

.cta-section p {
  max-width: 650px;
  color: #d8e6dc;
  font-size: 19px;
  font-weight: 700;
}

.cta-animal {
  align-self: end;
  width: min(340px, 86vw);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.36));
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #10141f;
  color: #cbd7ce;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 28px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.footer-inner p {
  max-width: 360px;
  color: #aab7af;
  font-size: 14px;
  font-weight: 700;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 7px 0;
  color: #cbd7ce;
  font-size: 14px;
  font-weight: 800;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.legal-main {
  padding-top: 72px;
  background: var(--wash);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(235, 249, 240, 0.88)),
    repeating-linear-gradient(0deg, rgba(16, 20, 31, 0.04) 0 1px, transparent 1px 18px);
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 30px;
  align-items: end;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 44px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: 72px;
}

.legal-hero p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.legal-animal {
  align-self: end;
  width: 180px;
  filter: drop-shadow(0 18px 24px rgba(20, 35, 27, 0.15));
}

.legal-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.legal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-toolbar span,
.legal-toolbar a {
  overflow-wrap: anywhere;
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(25, 41, 31, 0.08);
}

.legal-panel {
  padding: 34px;
}

.legal-panel h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.legal-panel h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.78;
}

.legal-panel a {
  color: var(--blue);
  font-weight: 900;
}

.legal-panel ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.support-item {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.support-item b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

@keyframes screen-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

@keyframes animal-breathe {
  0%, 100% { translate: 0 0; rotate: -1deg; }
  50% { translate: 0 -12px; rotate: 1deg; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(max(-560px, calc(100vw - 100% - 32px))); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-screen,
  .hero-animal,
  .screen-marquee {
    animation: none;
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 56px 0 420px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1,
  .display-title {
    font-size: 70px;
  }

  .lead {
    font-size: 21px;
  }

  .section-title {
    font-size: 54px;
  }

  .feature-copy h2,
  .legal-hero h1 {
    font-size: 50px;
  }

  .cta-section h2 {
    font-size: 60px;
  }

  .hero-screen {
    right: 8vw;
    width: 250px;
  }

  .hero-screen.secondary {
    right: 42vw;
    width: 210px;
  }

  .hero-animal {
    top: auto;
    right: 16px;
    bottom: 218px;
    width: 170px;
  }

  .hero-badge {
    right: 18px;
    bottom: 30px;
  }

  .section-head,
  .feature-band,
  .feature-band.reverse,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse .feature-copy {
    order: 0;
  }

  .screen-pair {
    max-width: 560px;
    margin: 0 auto;
  }

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

  .footer-inner {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    width: min(100% - 22px, 1160px);
    height: 64px;
  }

  .brand-link {
    font-size: 18px;
  }

  .page-main,
  .legal-main {
    padding-top: 64px;
  }

  .hero-inner {
    width: min(100% - 24px, 1160px);
    padding: 42px 0 360px;
  }

  h1,
  .display-title {
    font-size: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .section-title,
  .feature-copy h2,
  .cta-section h2,
  .legal-hero h1 {
    font-size: 38px;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-screen {
    right: -12px;
    bottom: -34px;
    width: 210px;
    min-width: 0;
  }

  .hero-screen.secondary {
    right: 38vw;
    bottom: -70px;
    width: 170px;
    min-width: 0;
  }

  .hero-animal {
    bottom: 190px;
    width: 138px;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 22px;
    max-width: none;
  }

  .section {
    padding: 62px 0;
  }

  .feature-band {
    padding: 62px 0;
    gap: 42px;
  }

  .shot {
    min-width: 150px;
    border-radius: 8px;
  }

  .screen-pair {
    gap: 10px;
  }

  .screen-pair.screen-trio {
    gap: 8px;
  }

  .legal-hero-inner {
    grid-template-columns: 1fr;
    padding: 44px 0 32px;
  }

  .legal-animal {
    width: 132px;
  }

  .legal-panel {
    padding: 22px;
  }

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