:root {
  --ink: #17263f;
  --muted: #66758c;
  --gold: #ffad18;
  --orange: #ff792e;
  --blue: #1574e8;
  --cream: #fff9e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, #fffdf6 0%, var(--cream) 45%, #edf8ff 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.sky { position: fixed; inset: 0; width: 100vw; max-width: 100%; overflow: hidden; pointer-events: none; z-index: -1; contain: paint; }
.sun-glow {
  position: absolute; width: 580px; height: 580px; right: -120px; top: -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,55,.58), rgba(255,213,95,.18) 45%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
.cloud { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud-a { width: 310px; height: 82px; right: 5%; top: 46%; background: rgba(255,255,255,.9); }
.cloud-a::before { width: 140px; height: 140px; left: 46px; bottom: 0; }
.cloud-a::after { width: 180px; height: 180px; right: 28px; bottom: -5px; }
.cloud-b { width: 230px; height: 58px; left: -40px; bottom: 12%; background: rgba(255,255,255,.72); }
.cloud-b::before { width: 100px; height: 100px; left: 38px; bottom: 0; }
.cloud-b::after { width: 120px; height: 120px; right: 20px; bottom: -3px; }
.spark { position: absolute; color: var(--gold); opacity: .55; animation: twinkle 3.8s ease-in-out infinite; }
.spark-a { right: 18%; top: 28%; font-size: 24px; }
.spark-b { left: 8%; top: 31%; font-size: 15px; animation-delay: 1.2s; }

.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 98px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.language { border: 1px solid rgba(23,38,63,.15); background: rgba(255,255,255,.58); color: var(--ink); border-radius: 999px; padding: 9px 15px; font: inherit; font-weight: 700; cursor: pointer; backdrop-filter: blur(10px); transition: .2s ease; }
.language:hover { transform: translateY(-1px); border-color: var(--gold); background: #fff; }

.hero { min-height: calc(100vh - 162px); display: flex; flex-direction: column; justify-content: center; padding: 56px 0 48px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #56657a; font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255,121,46,.12); }
h1 { margin: 0; max-width: 920px; font-size: clamp(50px, 7.2vw, 104px); line-height: .98; letter-spacing: -.065em; font-weight: 850; }
h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--orange), var(--gold) 48%, var(--blue)); background-clip: text; -webkit-background-clip: text; }
.lead { max-width: 720px; margin: 32px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.85; }
.platforms { display: flex; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.platforms > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(23,38,63,.12); border-radius: 999px; background: rgba(255,255,255,.66); color: var(--ink); font-size: 13px; font-weight: 750; box-shadow: 0 8px 24px rgba(51,83,115,.05); }
.platforms i { color: var(--orange); font-size: 10px; font-style: normal; }
.platforms small { margin-left: 4px; color: var(--muted); font-size: 12px; }
.actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.primary { display: inline-flex; align-items: center; gap: 18px; padding: 14px 20px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 800; background: linear-gradient(110deg, var(--orange), var(--gold)); box-shadow: 0 14px 35px rgba(255,140,29,.27); transition: .22s ease; }
.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(255,140,29,.35); }
.email { font-size: 14px; color: var(--muted); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 70px; }
.promise article { display: flex; gap: 14px; padding: 19px; border: 1px solid rgba(255,255,255,.88); border-radius: 20px; background: rgba(255,255,255,.5); box-shadow: 0 12px 38px rgba(51,83,115,.06); backdrop-filter: blur(12px); }
.promise strong { color: var(--orange); font-size: 12px; padding-top: 3px; }
.promise b, .promise small { display: block; }
.promise b { margin-bottom: 6px; font-size: 15px; }
.promise small { color: var(--muted); font-size: 12px; line-height: 1.5; }
footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(23,38,63,.1); color: #7d8898; font-size: 11px; letter-spacing: .04em; }

.lang-en { display: none !important; }
html[data-lang="en"] .lang-zh { display: none !important; }
html[data-lang="en"] .lang-en { display: initial !important; }
html[data-lang="en"] .lead.lang-en, html[data-lang="en"] h1.lang-en { display: block !important; }
html[data-lang="en"] h1 { max-width: 1080px; font-size: clamp(48px, 6.7vw, 96px); letter-spacing: -.058em; line-height: 1.02; }
html[data-lang="en"] .lead { max-width: 780px; line-height: 1.72; }
html[data-lang="en"] .promise article { min-height: 92px; }

@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes twinkle { 50% { transform: scale(1.35) rotate(10deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .site-header { position: relative; z-index: 2; }
  .site-header { height: 78px; }
  .brand img { width: 41px; height: 41px; }
  .hero { min-height: auto; padding: 76px 0 38px; }
  h1 { font-size: clamp(44px, 14.2vw, 67px); }
  html[data-lang="en"] h1 { font-size: clamp(42px, 12.4vw, 60px); line-height: 1.04; letter-spacing: -.052em; }
  html[data-lang="en"] .hero { padding-top: 68px; }
  html[data-lang="en"] .actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  html[data-lang="en"] .email { overflow-wrap: anywhere; }
  .platforms { align-items: flex-start; }
  .platforms small { width: 100%; margin: 2px 0 0; }
  html[data-lang="en"] .promise article { min-width: 0; }
  html[data-lang="en"] .promise b.lang-en, html[data-lang="en"] .promise small.lang-en { display: block !important; }
  html[data-lang="en"] .promise small.lang-en { margin-top: 5px; }
  .lead { margin-top: 26px; line-height: 1.72; }
  .promise { grid-template-columns: 1fr; margin-top: 54px; }
  footer { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .cloud-a { right: -130px; }
}
