:root {
  color-scheme: dark;
  --ink: #f8f8ff;
  --muted: #a9b0c8;
  --line: rgba(255,255,255,.12);
  --panel: rgba(15,20,43,.72);
  --violet: #9b5cff;
  --blue: #446bff;
  --cyan: #5ee7ff;
  --pink: #ef6bd8;
  --safe: #5ce0ad;
  --danger: #ff8f9f;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #060816; }
body {
  margin: 0;
  min-width: 300px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(68,107,255,.22), transparent 29rem),
    radial-gradient(circle at 8% 28%, rgba(155,92,255,.18), transparent 30rem),
    #060816;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
body[data-lang="en"] .i18n-zh { display: none !important; }
body[data-lang="zh"] .i18n-en { display: none !important; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(6,8,22,.76);
  backdrop-filter: blur(20px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand span { font-size: 20px; }
.brand small { display: block; color: #a5b4fc; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: #c2c7da; font-size: 14px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.language-menu { position: relative; flex: 0 0 auto; }
.language-trigger { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 13px; color: #eef0ff; background: rgba(255,255,255,.055); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; line-height: 1; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: rgba(155,92,255,.5); background: rgba(124,58,237,.16); }
.language-globe { color: #a78bfa; font-size: 15px; }
.language-chevron { color: #8f98b2; transition: transform .18s ease; }
.language-menu[data-open="true"] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; width: 190px; padding: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(13,16,36,.98); box-shadow: 0 18px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.language-menu[data-open="true"] .language-options { opacity: 1; visibility: visible; transform: none; }
.language-options button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-radius: 11px; padding: 11px 12px; color: #c5cada; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.2; text-align: left; }
.language-options button:hover, .language-options button[aria-checked="true"] { color: #fff; background: linear-gradient(110deg,rgba(124,58,237,.42),rgba(63,99,244,.28)); }
.language-options button span { color: #8f98b2; font-size: 10px; letter-spacing: .08em; }

.hero { min-height: 780px; display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.86fr); align-items: center; gap: clamp(30px,7vw,100px); padding: 90px 0 70px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(54px,7vw,90px); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero .lead { max-width: 660px; margin: 28px 0 0; color: #bec4d7; font-size: clamp(18px,2.1vw,24px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 15px; padding: 0 20px; text-decoration: none; font-weight: 800; }
.button-primary { border: 0; background: linear-gradient(105deg, #a431ff, #3768ff); box-shadow: 0 18px 50px rgba(79,70,229,.28); }
.button-secondary { background: rgba(255,255,255,.05); }
.button-note { display: block; margin-top: 12px; color: #7f879e; font-size: 12px; }
.hero-art { position: relative; min-height: 640px; display: grid; place-items: center; }
.hero-art::before { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(105,89,255,.35), transparent 65%); filter: blur(5px); }
.hero-shot { position: relative; width: min(390px, 85vw); transform: rotate(2deg); filter: drop-shadow(0 40px 60px rgba(0,0,0,.58)); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: rgba(20,25,52,.78); box-shadow: 0 18px 40px rgba(0,0,0,.35); backdrop-filter: blur(16px); font-size: 13px; font-weight: 750; }
.float-card b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: linear-gradient(135deg,#a431ff,#3768ff); }
.float-one { left: -4%; top: 28%; }
.float-two { right: -2%; bottom: 22%; }

.section { padding: 100px 0; }
.section-heading { max-width: 800px; margin-bottom: 46px; }
.section-heading h2 { margin: 0; font-size: clamp(38px,5vw,62px); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step { position: relative; min-height: 270px; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(150deg,rgba(29,36,73,.84),rgba(10,13,31,.88)); }
.step::after { position: absolute; right: -55px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; content: ""; background: radial-gradient(circle, var(--glow), transparent 67%); opacity: .45; }
.step:nth-child(1) { --glow: #a855f7; }
.step:nth-child(2) { --glow: #3b82f6; }
.step:nth-child(3) { --glow: #22d3ee; }
.step-number { color: #a7b1d1; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.step-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 26px 0; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.06); color: #c4b5fd; font: 850 22px/1 ui-monospace, monospace; }
.step h3 { margin: 0 0 10px; font-size: 23px; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.showcase { overflow: hidden; }
.shot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.shot-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #0b0e20; box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.shot-card img { display: block; width: 100%; }
.shot-card:nth-child(2) { transform: translateY(42px); }
.shot-label { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(6,8,22,.76); backdrop-filter: blur(14px); }
.shot-label b { display: block; font-size: 16px; }
.shot-label span { display: block; margin-top: 3px; color: #aeb6cf; font-size: 12px; }

.safety-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; padding: clamp(28px,5vw,60px); border: 1px solid rgba(92,224,173,.24); border-radius: 34px; background: linear-gradient(135deg,rgba(11,53,54,.58),rgba(18,22,51,.86)); }
.safety-panel::after { position: absolute; left: -100px; bottom: -170px; width: 360px; height: 360px; border-radius: 50%; content: ""; background: radial-gradient(circle,rgba(45,212,191,.2),transparent 70%); }
.shield { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(92,224,173,.35); border-radius: 27px; color: var(--safe); background: rgba(45,212,191,.09); font-size: 34px; }
.safety-panel h2 { margin: 24px 0 13px; font-size: clamp(34px,4vw,54px); line-height: 1.05; letter-spacing: -.045em; }
.safety-panel p { color: #b7c6cc; line-height: 1.75; }
.safety-list { display: grid; gap: 12px; align-content: center; }
.safety-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(5,11,25,.45); }
.safety-item i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #b7ffe5; background: rgba(45,212,191,.12); font-style: normal; font-weight: 900; }
.safety-item b { display: block; margin-bottom: 5px; }
.safety-item span { color: #9dacbb; font-size: 14px; line-height: 1.55; }

.cta { padding: 40px 0 110px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(115deg,rgba(89,43,190,.72),rgba(28,55,139,.72)); }
.cta-box h2 { margin: 0 0 8px; font-size: clamp(30px,4vw,48px); letter-spacing: -.04em; }
.cta-box p { margin: 0; color: #d7daf0; }
.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 38px 0; color: #8790aa; font-size: 13px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #c4c9db; text-decoration: none; }

/* Legal documents */
.legal-hero { padding: 72px 0 42px; }
.legal-hero .eyebrow { margin-bottom: 13px; }
.legal-hero h1 { max-width: 900px; margin: 0; font-size: clamp(44px,7vw,78px); line-height: 1; letter-spacing: -.055em; }
.legal-hero p { max-width: 780px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.legal-meta span { max-width: 100%; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c8cde0; background: rgba(255,255,255,.04); font-size: 12px; overflow-wrap: anywhere; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: start; gap: 44px; padding-bottom: 100px; }
.toc { position: sticky; top: 102px; display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15,20,43,.62); }
.toc b { padding: 7px 9px; font-size: 12px; color: #8993ad; text-transform: uppercase; letter-spacing: .12em; }
.toc a { padding: 9px; border-radius: 10px; color: #abb3c8; text-decoration: none; font-size: 13px; }
.toc a:hover { color: #fff; background: rgba(255,255,255,.06); }
.legal-content { min-width: 0; }
.notice { margin-bottom: 20px; padding: 19px 21px; border: 1px solid rgba(94,231,255,.23); border-radius: 18px; color: #c9dce4; background: rgba(22,70,91,.24); line-height: 1.65; }
.legal-section { scroll-margin-top: 100px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.legal-section:first-of-type { padding-top: 8px; }
.legal-section h2 { margin: 0 0 16px; font-size: 25px; letter-spacing: -.025em; }
.legal-section h3 { margin: 22px 0 8px; font-size: 17px; }
.legal-section p, .legal-section li { color: #b8bfd2; line-height: 1.82; }
.legal-section p { margin: 0 0 13px; }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }
.risk-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 !important; list-style: none; }
.risk-grid li { margin: 0 !important; padding: 15px; border: 1px solid rgba(255,143,159,.14); border-radius: 15px; background: rgba(73,23,44,.18); }
.risk-grid b { display: block; margin-bottom: 4px; color: #ffd8de; }
.contact-card { padding: 22px; border: 1px solid rgba(155,92,255,.25); border-radius: 20px; background: rgba(76,29,149,.18); }
.contact-card a { color: #c4b5fd; overflow-wrap: anywhere; }

[data-reveal] { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 590px; }
  .steps, .shot-grid { grid-template-columns: 1fr; }
  .shot-card { width: min(480px,100%); margin: 0 auto; }
  .shot-card:nth-child(2) { transform: none; }
  .safety-panel { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toc b { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px,var(--max)); }
  .header-inner { min-height: 66px; }
  .brand small { display: none; }
  .hero { min-height: 0; padding: 62px 0 45px; }
  .hero h1 { font-size: clamp(46px,15vw,70px); }
  .hero-art { min-height: 500px; }
  .hero-shot { width: min(320px,80vw); }
  .float-card { font-size: 11px; }
  .float-one { left: 0; }
  .float-two { right: 0; }
  .section { padding: 72px 0; }
  .section-heading p { font-size: 16px; }
  .safety-panel { gap: 22px; padding: 25px; }
  .cta-box, .footer-inner { align-items: flex-start; flex-direction: column; }
  .risk-grid { grid-template-columns: 1fr; }
  .toc { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
