:root {
  color-scheme: dark;
  --bg: #070910;
  --bg-soft: #0e1018;
  --panel: #141720;
  --panel-strong: #1a1e2a;
  --text: #f7f7fb;
  --muted: #b9bdc9;
  --faint: #7e8494;
  --line: #2d3344;
  --pink: #e91e63;
  --pink-strong: #ff2e7a;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --green: #22c55e;
  --amber: #f59e0b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 58% 18%, rgba(233, 30, 99, 0.24), transparent 34rem),
    radial-gradient(circle at 18% 72%, rgba(139, 92, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, #080a12 0%, #070910 58%, #05060a 100%);
  color: var(--text);
  letter-spacing: 0;
}

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

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 16, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 760;
  font-size: 20px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(233, 30, 99, 0.22);
}

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

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.language-switcher button {
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.language-switcher button.active {
  background: rgba(233, 30, 99, 0.24);
  color: var(--text);
}

[data-lang] {
  display: block;
}

body[data-language] [data-lang] {
  display: none;
}

body[data-language="en"] [data-lang="en"],
body[data-language="zh"] [data-lang="zh"] {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 760;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button.primary {
  border-color: rgba(233, 30, 99, 0.55);
  background: linear-gradient(135deg, var(--pink), #b91877);
  box-shadow: 0 18px 44px rgba(233, 30, 99, 0.28);
}

.button.secondary {
  color: var(--muted);
}

.hero,
.section,
.page-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 104px;
}

.hero-single {
  display: flex;
  align-items: center;
  max-width: 880px;
  text-align: center;
  justify-content: center;
}

.hero-single h1,
.hero-single .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-single .hero-actions {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.13);
  color: var(--pink-strong);
  border: 1px solid rgba(233, 30, 99, 0.28);
  font-weight: 760;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  margin-top: 28px;
  font-size: clamp(54px, 8vw, 92px);
  max-width: 720px;
  letter-spacing: 0;
}

.hero-copy {
  margin-top: 26px;
  max-width: 620px;
  font-size: 20px;
}

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

.hero-note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 14px;
}

.section {
  padding: 98px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section h2,
.page-section h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 18px;
}

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

.card {
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(20, 23, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 860;
}

.icon.pink { background: rgba(233, 30, 99, 0.24); color: var(--pink-strong); }
.icon.purple { background: rgba(139, 92, 246, 0.22); color: #a78bfa; }
.icon.cyan { background: rgba(6, 182, 212, 0.2); color: #22d3ee; }
.icon.green { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.icon.amber { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.icon.blue { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wide-panel {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26, 30, 42, 0.9), rgba(12, 14, 21, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wide-panel ul,
.page-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.cta {
  margin: 80px auto 0;
  padding: 46px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 30, 99, 0.24), transparent 18rem),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  font-size: 38px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 34px 0;
  color: var(--faint);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.page-section {
  padding: 82px 0 112px;
  max-width: 860px;
}

.page-card {
  margin-top: 28px;
  padding: 34px;
  border-radius: 24px;
  background: rgba(20, 23, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.page-card + .page-card {
  margin-top: 18px;
}

.page-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.contact-line {
  display: inline-flex;
  margin-top: 16px;
  color: var(--pink-strong);
  font-weight: 760;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .workflow,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

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

  .cta {
    display: grid;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .page-section,
  .footer-inner,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 46px;
  }

}
