/* 淘气工作室 · 官网视觉系统 */

:root {
  --ink: #101728;
  --ink-soft: #5f6879;
  --ink-faint: #8992a2;
  --night: #0a1020;
  --night-2: #101a30;
  --paper: #f7f7f4;
  --white: #fff;
  --line: #e3e5e9;
  --blue: #3c82ff;
  --blue-bright: #5e9dff;
  --cyan: #4ed3d0;
  --mint: #1ca67c;
  --gold: #e5a73b;
  --radius: 20px;
  --radius-lg: 30px;
  --shell: 1160px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.04em; }
p { margin: 0; }
::selection { color: var(--white); background: var(--blue); }

.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
body > main, body > footer { position: relative; z-index: 1; }

/* 背景 */
.page-aura {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 790px;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(600px 460px at 77% 24%, rgba(42, 122, 255, .23), transparent 68%),
    radial-gradient(500px 380px at 17% 8%, rgba(41, 74, 141, .32), transparent 66%),
    linear-gradient(125deg, #080e1d 0%, #0c1528 52%, #0e1b31 100%);
}
.page-aura::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .24;
  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: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
#aura-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }

/* 导航 */
.nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(10,16,32,.94);
  color: rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(4,10,24,.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav.is-stuck {
  color: rgba(255,255,255,.7);
  background: rgba(10,16,32,.94);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(4,10,24,.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 64px), var(--shell));
  height: 100%;
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--blue); background: rgba(60,130,255,.1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #071225;
  background: var(--cyan);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(78,211,208,.2);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.nav-cta svg { width: 15px; height: 15px; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(78,211,208,.3); }
.nav-progress { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* 通用 */
.kicker, .hero-eyebrow {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, border-color .22s;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%); box-shadow: 0 15px 28px rgba(60,130,255,.26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px rgba(60,130,255,.36); }
.btn-gold { color: #352302; background: linear-gradient(135deg, #f4c15a, var(--gold)); box-shadow: 0 14px 25px rgba(229,167,59,.2); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(229,167,59,.3); }
.btn-ghost { background: var(--white); border-color: var(--line); box-shadow: 0 8px 18px rgba(16,23,40,.05); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #b7c7e8; }
section { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* 首屏 */
.hero { position: relative; min-height: 790px; padding: calc(var(--nav-h) + 110px) 0 88px; color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 72px; }
.hero-copy { position: relative; z-index: 2; max-width: 520px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cyan); }
.hero-eyebrow span { color: rgba(255,255,255,.3); }
.hero h1 { margin-top: 24px; font-size: clamp(50px, 6.3vw, 88px); letter-spacing: -.075em; line-height: 1.03; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-sub { max-width: 430px; margin-top: 28px; color: rgba(232,239,250,.72); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hero-text-link { color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; transition: color .2s; }
.hero-text-link span { display: inline-block; margin-left: 6px; color: var(--cyan); font-size: 18px; transition: transform .2s; }
.hero-text-link:hover { color: #fff; }
.hero-text-link:hover span { transform: translate(2px, -2px); }
.hero-footnote { display: flex; align-items: center; gap: 9px; margin-top: 76px; color: rgba(255,255,255,.46); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(78,211,208,.1), 0 0 16px rgba(78,211,208,.8); }
.hero-footnote-line { width: 36px; height: 1px; margin: 0 3px; background: rgba(255,255,255,.2); }

/* 首屏产品舞台 */
.hero-stage { position: relative; min-height: 480px; overflow: hidden; isolation: isolate; }
.stage-grid { position: absolute; inset: 7% 2% 8% 2%; z-index: -1; border: 1px solid rgba(126,166,232,.13); border-radius: 50%; transform: rotate(-13deg); background-image: linear-gradient(rgba(135,178,246,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(135,178,246,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse, #000 28%, transparent 70%); }
.stage-orbit { position: absolute; z-index: -1; border: 1px solid rgba(91,162,255,.26); border-radius: 50%; transform: rotate(-24deg); }
.stage-orbit-one { width: 470px; height: 190px; top: 17%; left: 2%; }
.stage-orbit-two { width: 420px; height: 190px; top: 37%; left: 11%; transform: rotate(35deg); border-color: rgba(78,211,208,.18); }
.stage-window { position: absolute; border: 1px solid rgba(255,255,255,.16); background: rgba(16,28,51,.83); box-shadow: 0 30px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.09); backdrop-filter: blur(18px); }
.stage-window-main { top: 58px; right: 7%; width: min(100%, 410px); overflow: hidden; border-radius: 18px; transform: rotate(3deg); }
.window-bar { display: flex; align-items: center; gap: 5px; height: 35px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.3); font-family: var(--mono); font-size: 8px; }
.window-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
.window-bar span:first-child { background: #ff7770; }
.window-bar span:nth-child(2) { background: #f4c15a; }
.window-bar span:nth-child(3) { background: #60d39b; }
.window-bar b { margin-left: 11px; font-weight: 400; opacity: .7; }
.window-content { padding: 26px 26px 30px; }
.window-brand { display: flex; align-items: center; gap: 10px; }
.window-brand img { width: 36px; height: 36px; }
.window-brand strong { display: block; font-size: 17px; letter-spacing: -.04em; }
.window-brand small { display: block; margin-top: 2px; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.window-brand i { margin-left: auto; color: #61daa3; font-family: var(--mono); font-size: 8px; font-style: normal; }
.window-prompt { margin-top: 38px; color: #edf3ff; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.window-answer { display: grid; gap: 6px; margin-top: 22px; padding: 15px 16px; border: 1px solid rgba(78,211,208,.2); border-radius: 10px; background: rgba(78,211,208,.07); }
.window-answer span { color: var(--cyan); font-family: var(--mono); font-size: 9px; }
.window-answer b { font-size: 13px; font-weight: 600; }
.window-answer em { color: rgba(255,255,255,.36); font-family: var(--mono); font-size: 9px; font-style: normal; }
.stage-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 13px; color: #fff; background: rgba(22,36,62,.82); box-shadow: 0 18px 42px rgba(0,0,0,.25); backdrop-filter: blur(15px); }
.stage-float-pay { right: 1%; bottom: 73px; transform: rotate(-4deg); }
.stage-float img { width: 34px; height: 34px; padding: 4px; border-radius: 9px; background: #fff4d7; }
.stage-float strong, .stage-float small { display: block; }
.stage-float strong { font-size: 12px; }
.stage-float small { margin-top: 1px; color: rgba(255,255,255,.46); font-size: 9px; }
.stage-float > b { margin-left: 16px; color: #f4c15a; font-family: var(--mono); font-size: 12px; }
.stage-sticker { position: absolute; top: 4px; right: 4%; display: grid; place-items: center; width: 86px; height: 86px; color: #0c1730; background: var(--cyan); border-radius: 50%; font-size: 11px; font-weight: 800; line-height: 1.35; text-align: center; transform: rotate(12deg); box-shadow: 0 14px 30px rgba(78,211,208,.2); }
.stage-sticker b { color: #fff; font-size: 15px; }
.stage-caption { position: absolute; bottom: 12px; left: 5%; color: rgba(255,255,255,.35); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.stage-caption span { margin-right: 9px; color: var(--cyan); }
.hero-scroll { display: flex; align-items: center; gap: 14px; position: absolute; right: max(32px, calc((100% - var(--shell)) / 2)); bottom: 34px; color: rgba(255,255,255,.35); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); }

/* 关于我们 */
.about { padding: 116px 0 90px; background: var(--paper); }
.about-card { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); column-gap: 86px; padding: 0; }
.about-card h2 { margin-top: 15px; font-size: clamp(30px, 4vw, 52px); }
.about-body { display: grid; gap: 18px; align-self: end; padding-top: 8px; }
.about-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; gap: 0; margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.about-points li { padding: 22px 24px 0 0; border-right: 1px solid var(--line); }
.about-points li + li { padding-left: 24px; }
.about-points li:last-child { border-right: 0; }
.about-points b { display: block; font-size: 15px; }
.about-points b::before { display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; content: ""; border-radius: 50%; background: var(--blue); }
.about-points span { display: block; margin: 8px 0 0 16px; color: var(--ink-faint); font-size: 13px; }

/* 产品 */
.products { padding: 110px 0 120px; background: #eef0f3; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 52px); }
.section-head > p:not(.kicker) { max-width: 280px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; min-height: 420px; padding: 30px; border: 1px solid rgba(16,23,40,.08); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 12px 26px rgba(16,23,40,.05); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-7px); border-color: rgba(60,130,255,.28); box-shadow: 0 24px 42px rgba(16,23,40,.11); }
.pcard:nth-child(1) { color: #fff; border-color: transparent; background: linear-gradient(145deg, #152b50 0%, #0d1a32 100%); box-shadow: 0 20px 42px rgba(11,24,49,.2); }
.pcard:nth-child(1) .pcard-desc { color: rgba(255,255,255,.63); }
.pcard:nth-child(1) .pcard-meta { color: rgba(255,255,255,.36); }
.pcard-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 17px; }
.pcard-icon img { width: 44px; height: 44px; }
.pcard-icon svg { width: 25px; height: 25px; }
.pcard-icon-mint { background: #e4faf2; box-shadow: inset 0 0 0 1px #c5ebdd; }
.pcard-icon-gold { background: #fff3d8; box-shadow: inset 0 0 0 1px #f3dfad; }
.pcard-icon-soon { color: var(--blue); background: #edf3ff; box-shadow: inset 0 0 0 1px #d9e6ff; }
.pcard-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard-head h3 { font-size: 23px; }
.pcard-kind { padding: 4px 9px; color: #4e6fae; border: 1px solid #d8e4fb; border-radius: 999px; background: #eff4fd; font-size: 10px; font-weight: 700; }
.pcard-kind-mint { color: var(--mint); border-color: #ccefe1; background: #eafaf4; }
.pcard-kind-gold { color: #a87015; border-color: #f3dfb0; background: #fff6e2; }
.pcard:nth-child(1) .pcard-kind { color: #8ae2cf; border-color: rgba(138,226,207,.22); background: rgba(138,226,207,.1); }
.pcard-desc { flex: 1; margin-top: 15px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.pcard-btn { width: 100%; margin-top: 28px; padding-block: 12px; }
.pcard-meta { margin-top: 13px; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; text-align: center; }
.pcard:nth-child(1) .pcard-btn { color: #071d2b; background: var(--cyan); box-shadow: 0 12px 24px rgba(78,211,208,.17); }
.pcard-soon { min-height: 270px; align-self: end; border-style: dashed; background: rgba(255,255,255,.5); box-shadow: none; }
.pcard-soon:hover { border-color: rgba(60,130,255,.35); box-shadow: 0 15px 30px rgba(16,23,40,.06); }

/* 联系 */
.contact { padding: 0 0 120px; background: #eef0f3; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 60px; padding: 56px 64px; color: #fff; border-radius: var(--radius-lg); background: linear-gradient(125deg, #0b1426, #14284a); box-shadow: 0 24px 50px rgba(11,24,49,.18); }
.contact-copy h2 { margin-top: 15px; font-size: clamp(32px, 4vw, 50px); }
.contact-copy > p { max-width: 450px; margin-top: 18px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.9; }
.contact-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: baseline; gap: 15px; color: rgba(255,255,255,.7); font-size: 13px; }
.contact-list li > span { flex: 0 0 64px; color: var(--cyan); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.contact-list a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.32); }
.qr { display: grid; justify-items: center; gap: 12px; margin: 0; padding: 15px 15px 13px; border-radius: 16px; background: #fff; }
.qr img { width: 172px; height: 172px; border-radius: 7px; }
.qr figcaption { color: var(--ink-soft); font-size: 11px; }

/* 页脚 */
.foot { padding: 25px 0; color: var(--ink-faint); background: var(--paper); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; }
.icp { color: var(--ink-faint); transition: color .2s; }
.icp:hover { color: var(--blue); }
.foot-links { display: inline-flex; gap: 20px; }
.foot-links a:hover { color: var(--blue); }

/* 滚动揭示 */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal[data-delay="1"] { --d: 1; }
.js .reveal[data-delay="2"] { --d: 2; }
.js .reveal[data-delay="3"] { --d: 3; }
.js .reveal[data-delay="4"] { --d: 4; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 620px; }
  .hero-stage { min-height: 390px; max-width: 650px; width: 100%; margin-inline: auto; }
  .stage-window-main { right: 12%; }
  .about-card { column-gap: 42px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard:nth-child(3) { grid-column: 1 / -1; min-height: 240px; }
}

@media (max-width: 700px) {
  :root { --nav-h: 62px; }
  .shell, .nav-inner { width: min(calc(100% - 40px), var(--shell)); }
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 9px 13px; }
  .nav-cta svg { display: none; }
  .hero { min-height: 830px; padding: calc(var(--nav-h) + 68px) 0 60px; }
  .hero h1 { margin-top: 18px; font-size: clamp(48px, 15vw, 70px); }
  .hero-sub { margin-top: 22px; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-text-link { align-self: center; }
  .hero-footnote { flex-wrap: wrap; margin-top: 38px; font-size: 9px; }
  .hero-footnote-line { display: none; }
  .hero-stage { min-height: 350px; margin-top: 2px; transform: scale(.94); transform-origin: top center; }
  .stage-window-main { top: 44px; right: 0; width: 94%; }
  .stage-float-pay { right: -3%; bottom: 53px; }
  .stage-sticker { top: 2px; right: -2%; width: 72px; height: 72px; font-size: 9px; }
  .stage-caption { left: 1%; font-size: 8px; }
  .hero-scroll { display: none; }
  .about { padding: 78px 0 72px; }
  .about-card { display: block; }
  .about-card h2 { margin-bottom: 30px; font-size: 36px; }
  .about-points { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .about-points li, .about-points li + li { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-points li:last-child { border-bottom: 0; }
  .products { padding: 78px 0 80px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > p:not(.kicker) { margin-top: 14px; }
  .grid { grid-template-columns: 1fr; }
  .pcard, .pcard:nth-child(3) { grid-column: auto; min-height: 370px; }
  .pcard-soon { min-height: 250px !important; }
  .contact { padding-bottom: 78px; }
  .contact-card { grid-template-columns: 1fr; gap: 34px; padding: 38px 28px; }
  .qr { justify-self: start; }
  .contact-list li { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .page-aura { display: none; }
  body, .products, .contact { background: #fff; }
}
