/* =====================================================================
   网球伴侣官网 2.0
   颜色、字重、圆角取自 App 设计令牌 design/tokens.json（UI 焕新版）。
   ===================================================================== */

:root {
  --ball: #D7F53E;
  --on-ball: #1A2300;
  --ball-soft: #F1F9CF;
  --on-ball-soft: #2F3B00;
  --green: #235C45;
  --green-soft: #E3EFE8;
  --clay: #B4532A;
  --clay-soft: #FBEDE5;
  --bg: #F4F6F1;
  --surface: #FFFFFF;
  --surface-muted: #EEF2EC;
  --line: #E3E8E3;
  --text: #18211D;
  --text-2: #56625D;
  --text-3: #69756F;
  --court-start: #2E6B50;
  --court-end: #163B2B;
  --court-deep: #0F271D;
  --night: #0F1411;
  --on-court: #F4F8F2;
  --shadow-rgb: 15, 42, 30;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1200px;
  --gutter: 32px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ball); color: var(--on-ball); }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ball); color: var(--on-ball); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 16px; }
.br-m { display: none; }

/* 颗粒质感 */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 按钮 ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.96); transition-duration: 0.12s; }
.btn--sm { --h: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn--ball {
  background: var(--ball); color: var(--on-ball);
  box-shadow: 0 12px 32px -8px rgba(215, 245, 62, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--ball:hover { box-shadow: 0 18px 44px -8px rgba(215, 245, 62, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--glass {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn--light { background: #fff; color: var(--text); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4); }
/* 品牌时刻：主按钮周期扫光 */
.btn--sheen::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: sheen 3.6s var(--ease) infinite 1.8s;
}
.btn--sheen > * { position: relative; }
@keyframes sheen { 0% { left: -60%; } 38%, 100% { left: 130%; } }

/* ---------- 胶囊 ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.3;
}
.pill svg { width: 14px; height: 14px; opacity: 0.8; transition: transform 0.3s var(--spring); }
.pill:hover svg { transform: translateX(3px); }
.pill--glass {
  color: var(--on-court); background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); flex: none; }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ball); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- 顶栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h); color: var(--on-court);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s, transform 0.5s var(--ease);
}
.nav.is-solid {
  background: rgba(15, 20, 17, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -12px rgba(0, 0, 0, 0.4);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(215, 245, 62, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(215, 245, 62, 0.55)); }
}
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: rgba(244, 248, 242, 0.72);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav__links a.is-active { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 20px; height: 4px; margin-left: -10px;
  border-radius: 999px; background: var(--ball); transform: scaleX(0); transition: transform 0.4s var(--spring);
}
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { flex: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  color: var(--on-court);
  background:
    radial-gradient(90% 80% at 68% 62%, #2E6B50 0%, rgba(22, 59, 43, 0.9) 38%, rgba(10, 18, 14, 1) 78%),
    #0A120E;
}
.hero__court { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 11, 0.86) 0%, rgba(8, 14, 11, 0.55) 34%, rgba(8, 14, 11, 0) 62%),
    linear-gradient(0deg, rgba(8, 14, 11, 0.7) 0%, rgba(8, 14, 11, 0) 30%);
}
.hero__inner { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 120px; }
.hero__copy { max-width: 660px; }
.hero__pill { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(54px, 8.6vw, 124px); line-height: 1.04; font-weight: 900; letter-spacing: -0.01em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em {
  font-style: normal; color: var(--ball);
  text-shadow: 0 0 40px rgba(215, 245, 62, 0.45);
}
.hero__lede { margin-top: 28px; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: rgba(244, 248, 242, 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: rgba(244, 248, 242, 0.55); }
.hero__stores i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.hero__stores b { margin-left: 4px; color: var(--ball); font-weight: 700; }

/* 首屏字符入场 */
.char { display: inline-block; will-change: transform; }
.js .char { opacity: 0; transform: translateY(0.5em) rotate(4deg); filter: blur(10px); }
.js .is-ready .char { animation: charIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 250ms); }
@keyframes charIn { to { opacity: 1; transform: none; filter: blur(0); } }
.js [data-intro] { opacity: 0; transform: translateY(24px); }
.js .is-ready [data-intro] { animation: introIn 1s var(--ease) forwards; }
.js .is-ready [data-intro="0"] { animation-delay: 0.1s; }
.js .is-ready [data-intro="2"] { animation-delay: 0.95s; }
.js .is-ready [data-intro="3"] { animation-delay: 1.1s; }
.js .is-ready [data-intro="4"] { animation-delay: 1.25s; }
@keyframes introIn { to { opacity: 1; transform: none; } }

/* 球场上的悬浮卡片 */
.hero__hud { position: absolute; top: 0; bottom: 0; right: var(--gutter); width: 44%; pointer-events: none; }
.hud {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(12, 20, 16, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  font-size: 13px; color: rgba(244, 248, 242, 0.7); line-height: 1.4;
}
.hud strong { display: block; font-size: 15px; color: #fff; font-weight: 700; }
.hud img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ball); }
.hud--a { top: 24%; left: 6%; flex-direction: column; align-items: flex-start; gap: 2px; }
.hud--b { top: 54%; right: 0; }
.hud--c { bottom: 18%; left: 18%; }
.hud__badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.hud__badge--clay { background: rgba(236, 134, 89, 0.2); color: #EC8659; }
.hud__check, .toast__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ball); color: var(--on-ball); flex: none; }
.hud__check svg, .toast__check svg { width: 16px; height: 16px; }
.js .hud { opacity: 0; transform: translateY(20px) scale(0.94); }
.js .is-ready .hud { animation: hudIn 0.9s var(--spring) forwards, bob 6s ease-in-out infinite; }
.js .is-ready .hud--a { animation-delay: 2.0s, 2.9s; }
.js .is-ready .hud--b { animation-delay: 2.4s, 3.3s; }
.js .is-ready .hud--c { animation-delay: 2.8s, 3.7s; }
@keyframes hudIn { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 72px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; color: rgba(244, 248, 242, 0.55);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: rgba(244, 248, 242, 0.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ball); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- 滚动字带 ---------- */
.ticker-wrap { position: relative; z-index: 5; overflow: hidden; padding: 30px 0; margin: -70px 0 -30px; pointer-events: none; }
.ticker {
  position: relative;
  background: var(--ball); color: var(--on-ball);
  transform: rotate(-2deg) scale(1.03);
  box-shadow: 0 20px 50px -20px rgba(var(--shadow-rgb), 0.5);
  overflow: hidden; padding: 16px 0;
}
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.ticker span { font-size: clamp(20px, 2.2vw, 30px); font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; }
.ticker b {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%),
    var(--on-ball);
  box-shadow: inset 0 0 0 2px var(--ball);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--green); letter-spacing: 0.06em;
}
.eyebrow::before { content: ""; width: 24px; height: 4px; border-radius: 999px; background: var(--ball); }
.eyebrow--light { color: var(--ball); }
.eyebrow--light::before { background: var(--ball); }
.display { font-size: clamp(56px, 9.6vw, 148px); line-height: 1.02; font-weight: 900; letter-spacing: -0.01em; margin-top: 22px; }
.display--light { color: #fff; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.35); }
.title { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.14; font-weight: 800; letter-spacing: -0.005em; margin-top: 18px; }
.title--xl { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.1; font-weight: 900; }
.title--light { color: #fff; }
.lede { margin-top: 24px; max-width: 520px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.8; color: var(--text-2); }
.lede--light { color: rgba(244, 248, 242, 0.78); }
.section-head { max-width: 760px; }
.section-head--center { margin: 0 auto; text-align: center; }
.index { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; color: var(--green); }
.index span {
  display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 10px;
  border-radius: 999px; background: var(--text); color: var(--ball); font-size: 14px; font-weight: 800;
}
.index--light { color: var(--ball); }
.index--light span { background: var(--ball); color: var(--on-ball); }

/* ---------- 进入动画 ---------- */
.js [data-reveal], .js [data-stagger] > * {
  opacity: 0; transform: translateY(44px); filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; transform: none; filter: none; }

/* ---------- 宣言 ---------- */
.manifesto { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: #fff; margin-top: -20px; }
.manifesto__media { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.manifesto__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); }
.manifesto__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 22, 16, 0.82) 0%, rgba(10, 22, 16, 0.5) 42%, rgba(10, 22, 16, 0.05) 75%),
    linear-gradient(0deg, rgba(10, 22, 16, 0.5), rgba(10, 22, 16, 0) 40%);
}
.manifesto__inner { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 140px; }
.manifesto__lede { margin-top: 32px; max-width: 520px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; color: rgba(255, 255, 255, 0.86); }

/* ---------- 手机外框 ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #39423d 0%, #121614 40%, #0b0e0c 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #050606,
    0 50px 100px -30px rgba(var(--shadow-rgb), 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
}
.phone__screen {
  position: relative; overflow: hidden; aspect-ratio: 603 / 1311;
  border-radius: calc(var(--w) * 0.135); background: var(--bg);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__status {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: calc(var(--w) * 0.11);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--w) * 0.09) 0 calc(var(--w) * 0.1);
  font-size: calc(var(--w) * 0.046); font-weight: 700; color: var(--text);
}
.phone__island {
  position: absolute; left: 50%; top: calc(var(--w) * 0.03);
  width: 31%; height: calc(var(--w) * 0.088); margin-left: -15.5%;
  border-radius: 999px; background: #000;
}
.phone__icons { display: flex; align-items: center; gap: calc(var(--w) * 0.014); }
.phone__icons b { display: block; height: calc(var(--w) * 0.032); border-radius: 2px; background: var(--text); }
.phone__icons b:nth-child(1) { width: calc(var(--w) * 0.05); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone__icons b:nth-child(2) { width: calc(var(--w) * 0.042); border-radius: 50% 50% 0 0 / 100% 100% 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.phone__icons b:nth-child(3) { width: calc(var(--w) * 0.075); border-radius: calc(var(--w) * 0.012); background: none; box-shadow: inset 0 0 0 1.5px var(--text); position: relative; }
.phone__icons b:nth-child(3)::after { content: ""; position: absolute; inset: 2px 30% 2px 2px; border-radius: 1px; background: var(--text); }
.phone--sm { --w: 220px; }
.phone--tilt, [data-tilt] { transition: transform 0.6s var(--ease); }

/* ---------- 三屏展示 ---------- */
.showcase { position: relative; padding: 150px 0 110px; background: var(--bg); overflow: hidden; }
.showcase::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
  border-radius: 50%; background: radial-gradient(circle, rgba(215, 245, 62, 0.28) 0%, rgba(215, 245, 62, 0) 60%);
  pointer-events: none;
}
.fan { --p: 0; position: relative; height: 700px; margin-top: 64px; display: flex; justify-content: center; perspective: 1800px; }
.fan__item { position: absolute; top: 0; left: 50%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; transform-origin: 50% 90%; }
.fan__item .phone { --w: 290px; }
.fan__item figcaption {
  padding: 8px 18px; border-radius: 999px; background: var(--surface); color: var(--text);
  font-size: 15px; font-weight: 800; box-shadow: 0 10px 30px -12px rgba(var(--shadow-rgb), 0.35);
  opacity: var(--p);
}
.fan__item--c { z-index: 3; transform: translateX(-50%) translateY(calc((1 - var(--p)) * 40px)); }
.fan__item--l { z-index: 2; transform: translateX(calc(-50% - var(--p) * 108%)) translateY(calc(var(--p) * 56px)) rotate(calc(var(--p) * -8deg)) scale(calc(1 - var(--p) * 0.06)); }
.fan__item--r { z-index: 2; transform: translateX(calc(-50% + var(--p) * 108%)) translateY(calc(var(--p) * 56px)) rotate(calc(var(--p) * 8deg)) scale(calc(1 - var(--p) * 0.06)); }

/* ---------- 功能区 ---------- */
.feature { position: relative; padding: 150px 0; overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature__grid--rev .feature__copy { order: 2; }
.feature__grid--rev .feature__visual { order: 1; }
.points { display: grid; gap: 26px; margin-top: 44px; }
.points li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.points__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--surface); color: var(--green);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.06), 0 10px 24px -12px rgba(var(--shadow-rgb), 0.28);
  transition: transform 0.4s var(--spring), background-color 0.3s, color 0.3s;
}
.points__icon svg { width: 24px; height: 24px; }
.points li:hover .points__icon { transform: rotate(-8deg) scale(1.08); background: var(--ball); color: var(--on-ball); }
.points h3 { font-size: 19px; font-weight: 800; line-height: 1.4; }
.points p { margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--text-2); }

.feature__visual { position: relative; }
.stage { position: relative; display: grid; place-items: center; min-height: 700px; }
.stage__ring {
  position: absolute; width: 540px; height: 540px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(215, 245, 62, 0.0), rgba(215, 245, 62, 0.85), rgba(46, 107, 80, 0.7), rgba(215, 245, 62, 0.0) 70%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 64%, transparent 65%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 64%, transparent 65%);
  animation: spin 14s linear infinite;
}
.stage::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 245, 62, 0.45), rgba(215, 245, 62, 0) 65%);
  filter: blur(10px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage .phone { z-index: 2; }

.chip, .tag {
  position: absolute; z-index: 3; padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(var(--shadow-rgb), 0.45);
}
.chip--clay { background: var(--clay-soft); color: var(--clay); top: 20%; right: 4%; }
.chip--level { background: var(--green-soft); color: var(--green); bottom: 30%; left: 0; }
.toast {
  position: absolute; z-index: 3; bottom: 12%; right: 0;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--surface); font-size: 15px; font-weight: 700;
  box-shadow: 0 24px 50px -18px rgba(var(--shadow-rgb), 0.5);
}
.float { animation: bob 6s ease-in-out infinite; }
.float--2 { animation-delay: -2s; animation-duration: 7s; }
.float--3 { animation-delay: -4s; animation-duration: 6.5s; }

/* ---------- 找搭子（球场绿） ---------- */
.feature--court {
  color: var(--on-court);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(215, 245, 62, 0.12), rgba(215, 245, 62, 0) 60%),
    linear-gradient(160deg, var(--court-start) 0%, var(--court-end) 55%, var(--court-deep) 100%);
}
.feature--court::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 1300' fill='none' stroke='%23F4F8F2' stroke-width='3'%3E%3Crect x='20' y='20' width='560' height='1260'/%3E%3Cpath d='M90 20v1260M510 20v1260M90 350h420M90 950h420M300 350v600M20 650h560'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 46% auto; background-position: 108% 30%;
  transform: rotate(-12deg) scale(1.2);
}
.feature--court .wrap { position: relative; z-index: 2; }
.dazi { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.dazi__photo { position: relative; }
.dazi__photo-inner { position: relative; overflow: hidden; border-radius: 32px; aspect-ratio: 16 / 11; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.dazi__photo-inner img { width: 100%; height: 118%; object-fit: cover; object-position: 75% 40%; margin-top: -9%; }
.dazi__note {
  position: absolute; right: 20px; bottom: 20px; z-index: 2; max-width: calc(100% - 220px);
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(12, 20, 16, 0.62); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.45;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.dazi__note svg { width: 22px; height: 22px; flex: none; color: var(--ball); }
.dazi__phone { position: absolute; z-index: 3; left: -44px; bottom: -70px; transform: rotate(-6deg); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { position: relative; border-radius: 26px; padding: 28px 26px 30px; transition: transform 0.5s var(--spring), box-shadow 0.4s, background-color 0.3s; }
.card h3 { font-size: 22px; font-weight: 900; line-height: 1.3; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.7; }
.card__num { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 800; opacity: 0.55; letter-spacing: 0.08em; }
.card--glass {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card--glass p { color: rgba(244, 248, 242, 0.76); }
.card--glass:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(215, 245, 62, 0.5), 0 24px 50px -20px rgba(0, 0, 0, 0.5); }
.card--ball { background: var(--ball); color: var(--on-ball); box-shadow: 0 24px 60px -20px rgba(215, 245, 62, 0.55); }
.card--ball p { color: rgba(26, 35, 0, 0.78); }
.card--ball:hover { background: var(--ball); box-shadow: 0 30px 70px -20px rgba(215, 245, 62, 0.7); }

/* ---------- 球圈与发现 ---------- */
.duo { position: relative; display: grid; place-items: center; min-height: 720px; }
.duo::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 107, 80, 0.22), rgba(46, 107, 80, 0) 65%);
}
.duo .phone { position: absolute; --w: 270px; }
.phone--back { transform: translateX(-34%) rotate(-7deg); z-index: 1; }
.phone--front { transform: translateX(30%) translateY(46px) rotate(4deg); z-index: 2; }
.tag { background: var(--surface); color: var(--green); }
.tag--a { top: 8%; left: 2%; }
.tag--b { top: 42%; right: -2%; }
.tag--c { bottom: 6%; left: 10%; }

.wall { margin-top: 110px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall__row { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.wall:hover .wall__row { animation-play-state: paused; }
.wall figure { position: relative; margin: 0; height: 360px; border-radius: 24px; overflow: hidden; flex: none; box-shadow: 0 20px 40px -24px rgba(var(--shadow-rgb), 0.5); }
.wall figure:nth-child(even) { margin-top: 40px; height: 320px; }
.wall img { height: 100%; width: auto; object-fit: cover; transition: transform 1.2s var(--ease); }
.wall figure:hover img { transform: scale(1.06); }
.wall figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 13px; font-weight: 700;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- 守约 ---------- */
.feature--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--green-soft) 100%); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.level { padding: 18px 16px; border-radius: 20px; background: var(--surface); box-shadow: 0 12px 30px -18px rgba(var(--shadow-rgb), 0.35); }
.level i { display: block; height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 14px; overflow: hidden; position: relative; }
.level i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) 0.4s; }
.level:nth-child(1) i::after { background: #9FB3A8; }
.level--top i::after { background: linear-gradient(90deg, var(--green), var(--ball)); }
.levels.is-in i::after { transform: scaleX(1); }
.level strong { display: block; font-size: 17px; font-weight: 800; }
.level span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.level--top { background: var(--text); color: #fff; }
.level--top span { color: rgba(255, 255, 255, 0.6); }
.level--top strong { color: var(--ball); }
.ticks { display: grid; gap: 14px; margin-top: 32px; }
.ticks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231A2300' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.stage--credit::before { background: radial-gradient(circle, rgba(46, 107, 80, 0.25), rgba(46, 107, 80, 0) 65%); }
.dial { position: absolute; width: 560px; height: 560px; transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 10; }
.dial__track { stroke: rgba(35, 92, 69, 0.12); }
.dial__bar { stroke: url(#dialGrad); stroke-linecap: round; stroke-dasharray: 867; stroke-dashoffset: 867; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; }
.is-in .dial__bar { stroke-dashoffset: 156; }
.badge {
  position: absolute; z-index: 3; top: 16%; right: 2%;
  padding: 16px 22px; border-radius: 22px; background: var(--surface);
  box-shadow: 0 24px 50px -18px rgba(var(--shadow-rgb), 0.45);
}
.badge__label { display: block; font-size: 13px; color: var(--text-3); font-weight: 600; }
.badge strong { display: block; font-size: 30px; font-weight: 900; color: var(--green); line-height: 1.2; }

/* ---------- 安心 ---------- */
.safety { position: relative; overflow: hidden; color: #fff; padding: 170px 0 140px; min-height: 100vh; }
.safety__media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.safety__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.safety__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 22, 15, 0.9) 0%, rgba(9, 22, 15, 0.62) 46%, rgba(9, 22, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 22, 15, 0.85) 0%, rgba(9, 22, 15, 0) 55%);
}
.safety__inner { position: relative; z-index: 2; }
.safety__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 200px; }
.card--frost {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
}
.card--frost h3 { font-size: 20px; }
.card--frost p { color: rgba(255, 255, 255, 0.78); }
.card--frost:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.16); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; background: var(--ball); color: var(--on-ball); }
.card__icon svg { width: 24px; height: 24px; }
.safety__tip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.safety__tip b { color: var(--ball); font-weight: 800; }

/* ---------- 下载 ---------- */
.download { position: relative; overflow: hidden; color: #fff; min-height: 100vh; display: flex; align-items: center; padding: 150px 0 120px; }
.download__media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.download__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.download__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 14, 22, 0.35) 0%, rgba(6, 14, 22, 0.25) 40%, rgba(6, 16, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 14, 22, 0.75) 0%, rgba(6, 14, 22, 0) 70%);
}
.download__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.download__logo { width: 88px; height: 88px; border-radius: 22px; animation: breathe 4s ease-in-out infinite; }
.download__lede { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; color: rgba(255, 255, 255, 0.84); }
.download__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.download__meta { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.channels li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.channels li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ball); }
.qr {
  width: 260px; padding: 24px; border-radius: 30px; background: #fff; color: var(--text); text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.qr__code { position: relative; width: 180px; height: 180px; margin: 0 auto 18px; }
.qr__code > img:first-child { width: 100%; height: 100%; }
.qr__logo { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 4px; border-radius: 12px; background: #fff; }
.qr strong { display: block; font-size: 16px; font-weight: 800; }
.qr span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--text-3); }

/* ---------- 页脚 ---------- */
.footer { background: var(--night); color: rgba(238, 242, 239, 0.66); padding: 80px 0 36px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 14px; color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--ball); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: rgba(238, 242, 239, 0.45); }
.footer__bottom a:hover { color: var(--ball); }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 1100px) {
  .hero__hud { width: 40%; }
  .hud--a { left: 0; }
  .feature__grid { gap: 40px; }
  .safety__grid { grid-template-columns: repeat(2, 1fr); margin-top: 120px; }
  .dazi { grid-template-columns: 1fr; gap: 100px; }
  .dazi__phone { left: 12px; }
}

@media (max-width: 960px) {
  .hero__hud { display: none; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .feature { padding: 110px 0; }
  .feature__grid { grid-template-columns: 1fr; gap: 24px; }
  .feature__grid--rev .feature__copy { order: 1; }
  .feature__grid--rev .feature__visual { order: 2; }
  .stage { min-height: 620px; }
  .download__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  .br-m { display: inline; }
  .hero__glow {
    background: linear-gradient(180deg, rgba(8, 14, 11, 0.88) 0%, rgba(8, 14, 11, 0.55) 50%, rgba(8, 14, 11, 0.1) 75%, rgba(8, 14, 11, 0.6) 100%);
  }
  .hero__inner { align-items: flex-start; padding-top: calc(var(--nav-h) + 36px); padding-bottom: 180px; }
  .hero__title { font-size: clamp(46px, 13.2vw, 64px); }
  .hero__lede { margin-top: 20px; font-size: 16px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .hero__stores { gap: 6px; font-size: 12px; margin-top: 24px; }
  .btn--lg { --h: 54px; padding: 0 22px; font-size: 16px; }
  .ticker-wrap { margin: -60px 0 -30px; }
  .ticker { padding: 12px 0; }
  .manifesto { min-height: 88vh; }
  .manifesto__shade { background: linear-gradient(0deg, rgba(10, 22, 16, 0.9) 0%, rgba(10, 22, 16, 0.55) 55%, rgba(10, 22, 16, 0.2) 100%); }
  .manifesto__inner { align-self: flex-end; padding-top: 120px; padding-bottom: 80px; }
  .manifesto__media img { object-position: 62% 50%; }
  .showcase { padding: 110px 0 70px; }
  .fan { height: 470px; margin-top: 40px; }
  .fan__item .phone { --w: 200px; }
  .fan__item--l { transform: translateX(calc(-50% - var(--p) * 74%)) translateY(calc(var(--p) * 40px)) rotate(calc(var(--p) * -8deg)) scale(calc(1 - var(--p) * 0.1)); }
  .fan__item--r { transform: translateX(calc(-50% + var(--p) * 74%)) translateY(calc(var(--p) * 40px)) rotate(calc(var(--p) * 8deg)) scale(calc(1 - var(--p) * 0.1)); }
  .fan__item figcaption { font-size: 13px; padding: 6px 14px; }
  .feature { padding: 90px 0; }
  .points { margin-top: 32px; gap: 22px; }
  .points li { grid-template-columns: 46px 1fr; gap: 14px; }
  .points__icon { width: 46px; height: 46px; border-radius: 14px; }
  .stage { min-height: 560px; }
  .stage .phone { --w: 236px; }
  .stage__ring { width: 400px; height: 400px; }
  .stage::before { width: 360px; height: 360px; }
  .chip, .tag { font-size: 13px; padding: 8px 14px; }
  .chip--clay { right: 0; top: 14%; }
  .chip--level { left: 0; bottom: 30%; }
  .toast { right: 0; bottom: 8%; font-size: 13px; }
  .dazi { margin-top: 40px; gap: 28px; }
  .dazi__photo-inner { border-radius: 24px; aspect-ratio: 4 / 3.4; }
  .dazi__photo-inner img { object-position: 80% 40%; }
  .dazi__note { left: 12px; right: 12px; bottom: 12px; max-width: none; font-size: 13px; }
  .dazi__phone { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px 22px 26px; }
  .duo { min-height: 560px; }
  .duo .phone { --w: 206px; }
  .duo::before { width: 380px; height: 380px; }
  .tag--b { right: 0; }
  .wall { margin-top: 70px; }
  .wall figure { height: 260px; }
  .wall figure:nth-child(even) { height: 230px; margin-top: 30px; }
  .levels { grid-template-columns: 1fr; }
  .level { display: grid; grid-template-columns: 80px 1fr; column-gap: 14px; align-items: center; }
  .level i { grid-row: span 2; margin: 0; }
  .dial { width: 420px; height: 420px; }
  .badge { right: 0; top: 10%; padding: 12px 16px; }
  .badge strong { font-size: 24px; }
  .safety { padding: 0 0 90px; background: #0B1610; }
  .safety__media { inset: 0 0 auto 0; height: 64vh; }
  .safety__media img { object-position: 70% 22%; }
  .safety__shade { background: linear-gradient(180deg, rgba(11, 22, 16, 0.05) 0%, rgba(11, 22, 16, 0.4) 30vh, #0B1610 60vh, #0B1610 100%); }
  .safety__inner { padding-top: 40vh; }
  .safety__grid { grid-template-columns: 1fr; margin-top: 36px; gap: 12px; }
  .safety__tip { border-radius: 20px; }
  .download { padding: 110px 0 80px; align-items: flex-end; }
  .download__actions .btn { width: 100%; }
  .qr { display: none; }
  .footer { padding: 60px 0 30px; }
  .footer__grid { gap: 32px; }
}

@media (max-width: 380px) {
  .fan__item .phone { --w: 176px; }
  .stage .phone { --w: 214px; }
  .stage__ring { width: 340px; height: 340px; }
  .dial { width: 360px; height: 360px; }
}

/* 减少动态效果：保留最终画面，去掉循环与位移 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-intro], .js .char, .js .hud { opacity: 1 !important; transform: none !important; filter: none !important; }
  .fan { --p: 1 !important; }
  .dial__bar { stroke-dashoffset: 156; }
  .levels i::after { transform: scaleX(1); }
}
