/* ==========================================================================
   阿普 408 官网 · 基础层
   深墨底 + 品牌红/芽绿流光，奶油纸区承接产品展示。
   ========================================================================== */

:root {
  --ink: #0f0d0c;
  --ink-2: #14100e;
  --ink-3: #1c1714;
  --paper: #faf8f6;
  --paper-2: #f4efe8;
  --cream: #f7f0e4;
  --brand: #ff6b3d;
  --brand-deep: #c85a3a;
  --brand-soft: #ffb08a;
  --jade: #3fd98a;
  --jade-deep: #2d8a56;
  --gold: #e8c27a;
  --text: #faf8f6;
  --muted: rgba(250, 248, 246, 0.62);
  --faint: rgba(250, 248, 246, 0.38);
  --line: rgba(250, 248, 246, 0.12);
  --line-soft: rgba(250, 248, 246, 0.07);
  --ink-text: #2f2a26;
  --ink-muted: #6b625c;
  --ink-faint: #9a938a;
  --ink-line: #e7e2dd;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --wrap: 1200px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

strong,
b {
  font-weight: 700;
}

::selection {
  background: var(--brand);
  color: #1a0d07;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b0908;
}

::-webkit-scrollbar-thumb {
  background: rgba(250, 248, 246, 0.16);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(250, 248, 246, 0.3);
  background-clip: content-box;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* ---------- 全局质感层 ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.05;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(255, 107, 61, 0.16),
    rgba(255, 107, 61, 0.05) 42%,
    transparent 68%
  );
  transition: opacity 0.5s ease;
  will-change: transform;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 2px;
  background: transparent;
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--gold), var(--jade));
  box-shadow: 0 0 14px rgba(255, 107, 61, 0.6);
}

/* ---------- 通用字级 ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.sec-paper .kicker {
  color: #a94726;
}

.grad {
  background: linear-gradient(
    100deg,
    #ffd0b6 0%,
    var(--brand) 32%,
    var(--gold) 58%,
    var(--jade) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s ease,
    box-shadow 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-brand {
  background: var(--brand);
  color: #1c0c06;
  box-shadow: 0 12px 34px -10px rgba(255, 107, 61, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-brand:hover {
  background: #ff7f57;
  transform: translateY(-2px);
  box-shadow: 0 18px 46px -12px rgba(255, 107, 61, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(255, 107, 61, 0.45), transparent 72%);
  filter: blur(12px);
  z-index: -1;
  opacity: 0.85;
  animation: breathe 3.6s ease-in-out infinite;
}

.btn-ghost {
  border: 1px solid rgba(250, 248, 246, 0.2);
  color: rgba(250, 248, 246, 0.86);
  background: rgba(250, 248, 246, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(250, 248, 246, 0.4);
  background: rgba(250, 248, 246, 0.07);
  transform: translateY(-2px);
}

.btn-line {
  border: 1px solid rgba(250, 248, 246, 0.18);
  color: rgba(250, 248, 246, 0.9);
  background: transparent;
}

.btn-line:hover {
  background: rgba(250, 248, 246, 0.08);
  border-color: rgba(250, 248, 246, 0.34);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: #2a221d;
  transform: translateY(-2px);
}

.arr {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9em;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arr,
.text-btn:hover .arr {
  transform: translateX(4px);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-soft);
  transition: color 0.3s ease;
}

.text-btn:hover {
  color: #fff;
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: var(--nav-h);
  transition: background 0.4s ease, height 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  height: 64px;
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: min(100% - 48px, var(--wrap));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 0;
}

.nav-brand img {
  width: 30px;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.nav-brand:hover img {
  transform: rotate(-6deg) scale(1.06);
}

.nav-brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-brand-text b {
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  color: rgba(250, 248, 246, 0.68);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(250, 248, 246, 0.05);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  place-items: center;
  position: relative;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 23px;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateX(-50%) translateY(3px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateX(-50%) translateY(-3px) rotate(-45deg);
}

/* ---------- 移动菜单 ---------- */

.mobile-menu {
  position: fixed;
  z-index: 79;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) 28px 32px;
  background: rgba(10, 8, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mobile-menu nav a i {
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  color: var(--brand);
  letter-spacing: 0.1em;
}

.mobile-menu-foot p {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.mobile-menu-foot .btn {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 42px) 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transform: scale(1.06);
  animation: slowzoom 26s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 18% 40%,
      rgba(15, 13, 12, 0.94) 0%,
      rgba(15, 13, 12, 0.72) 38%,
      rgba(15, 13, 12, 0.2) 70%,
      rgba(15, 13, 12, 0.75) 100%
    ),
    linear-gradient(180deg, rgba(15, 13, 12, 0.88) 0%, transparent 26%, transparent 72%, var(--ink) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(250, 248, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 248, 246, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 10%, transparent 78%);
  opacity: 0.5;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-a {
  width: 460px;
  height: 460px;
  right: 6%;
  top: 4%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.55), transparent 68%);
}

.orb-b {
  width: 380px;
  height: 380px;
  left: -6%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(63, 217, 138, 0.32), transparent 68%);
  animation-delay: -6s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
  width: min(100% - 48px, var(--wrap));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(250, 248, 246, 0.14);
  border-radius: 999px;
  background: rgba(250, 248, 246, 0.035);
  font-size: 12.5px;
  color: rgba(250, 248, 246, 0.76);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 0 rgba(63, 217, 138, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line > span {
  display: block;
  transform: translateY(112%);
}

body.is-ready .hero-title .line > span {
  animation: rise 1.05s var(--ease) forwards;
}

body.is-ready .hero-title .line:nth-child(2) > span {
  animation-delay: 0.1s;
}

body.is-ready .hero-title .line:nth-child(3) > span {
  animation-delay: 0.2s;
}

.hero-title .grad {
  background-size: 180% 100%;
  animation: sheen 7s ease-in-out infinite alternate;
}

.lede {
  max-width: 33em;
  margin-top: 20px;
  font-size: clamp(14.5px, 1.18vw, 16.5px);
  line-height: 1.95;
  color: var(--muted);
}

.lede strong {
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 -0.42em 0 rgba(255, 107, 61, 0.18);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 42px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-facts b {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hero-facts span {
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- Hero 舞台 ---------- */

.hero-stage {
  position: relative;
  height: clamp(420px, 46vw, 560px);
  perspective: 1400px;
}

.stage-glow {
  position: absolute;
  inset: 8% -4% 2% 4%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 107, 61, 0.22),
    rgba(232, 194, 122, 0.08) 52%,
    transparent 76%
  );
  filter: blur(26px);
}

.app-shot {
  position: absolute;
  inset: 4% 0 6% 4%;
  transform: rotateY(-9deg) rotateX(3deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
  animation: hovercard 9s ease-in-out infinite;
}

.hero-stage:hover .app-shot {
  animation-play-state: paused;
}

.app {
  --app-bg: #14100e;
  --app-panel: #1a1512;
  --app-text: #f3ede6;
  --app-muted: rgba(243, 237, 230, 0.52);
  --app-line: rgba(250, 248, 246, 0.1);
  --app-brand: #ff7a4d;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(250, 248, 246, 0.13);
  border-radius: 16px;
  background: var(--app-bg);
  color: var(--app-text);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 11px;
  line-height: 1.6;
}

.app-light {
  --app-bg: #fffdfa;
  --app-panel: #f9f6f1;
  --app-text: #2f2a26;
  --app-muted: #8a827a;
  --app-line: #ece6de;
  --app-brand: #c85a3a;
  border-color: #e7e2dd;
  box-shadow: 0 34px 70px -34px rgba(47, 42, 38, 0.42),
    0 2px 6px rgba(47, 42, 38, 0.04), inset 0 1px 0 #fff;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0 14px;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-panel);
}

.dots {
  display: inline-flex;
  gap: 5px;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(250, 248, 246, 0.16);
}

.app-light .dots i {
  background: #ddd5ca;
}

.dots i:first-child {
  background: #e06a4a;
}

.dots i:nth-child(2) {
  background: #d8b25e;
}

.dots i:nth-child(3) {
  background: #6fae82;
}

.app-bar-title {
  color: var(--app-muted);
  font-size: 10.5px;
}

.app-bar-search {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  color: var(--app-muted);
  font-size: 10px;
}

.app-bar-search kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0.8;
}

.app-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  border-right: 1px solid var(--app-line);
  background: var(--app-panel);
}

.app-side .side-item {
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--app-muted);
  font-size: 10.5px;
  white-space: nowrap;
}

.app-side .side-item.is-on {
  background: rgba(255, 122, 77, 0.14);
  color: var(--app-brand);
  font-weight: 600;
}

.app-light .app-side .side-item.is-on {
  background: #fbeee8;
  color: #b2472a;
}

.app-main {
  min-width: 0;
  padding: 18px 18px 16px;
  overflow: hidden;
}

.app-kicker {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--app-brand);
}

.app-main .app-h {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.app-sub {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10.5px;
}

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.app-chips span {
  padding: 2.5px 8px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  color: var(--app-muted);
  font-size: 9.5px;
}

.app-chips span.is-on {
  border-color: rgba(255, 122, 77, 0.5);
  background: rgba(255, 122, 77, 0.12);
  color: var(--app-brand);
}

.app-light .app-chips span.is-on {
  border-color: #f0cbbb;
  background: #fdf1ec;
  color: #b2472a;
}

.app-lines {
  margin-top: 14px;
}

.app-lines i {
  display: block;
  width: var(--w, 90%);
  height: 5px;
  margin: 7px 0;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.13;
}

.app-quiz {
  margin-top: 14px;
  padding: 11px 12px 12px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-panel);
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--app-muted);
  font-size: 9.5px;
}

.quiz-top b {
  color: var(--app-text);
  font-size: 10px;
}

.app-quiz p {
  margin: 7px 0 9px;
  font-size: 10.5px;
  line-height: 1.6;
}

.app-quiz code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.app-light .app-quiz code {
  background: #f3ede6;
}

.quiz-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.quiz-opts span {
  padding: 4px 7px;
  border: 1px solid var(--app-line);
  border-radius: 5px;
  color: var(--app-muted);
  font-size: 9.5px;
}

.quiz-opts.col {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.quiz-opts span.is-pick {
  border-color: rgba(255, 122, 77, 0.5);
  background: rgba(255, 122, 77, 0.1);
  color: var(--app-brand);
}

.stage-apu {
  position: absolute;
  left: -80px;
  bottom: -4px;
  width: clamp(160px, 17vw, 216px);
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55));
  animation: bob 6.5s ease-in-out infinite;
  pointer-events: none;
}

.float-chip {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(250, 248, 246, 0.16);
  border-radius: 999px;
  background: rgba(20, 16, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11.5px;
  color: rgba(250, 248, 246, 0.82);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
  animation: bob 7s ease-in-out infinite;
  white-space: nowrap;
}

.chip-a {
  top: 2%;
  right: -2%;
  animation-delay: -1.2s;
}

.chip-b {
  top: 40%;
  right: -6%;
  color: var(--jade);
  border-color: rgba(63, 217, 138, 0.28);
  animation-delay: -3.4s;
}

.chip-c {
  bottom: 10%;
  right: 2%;
  animation-delay: -2.2s;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(250, 248, 246, 0.42);
}

.mouse {
  position: relative;
  width: 20px;
  height: 30px;
  border: 1px solid rgba(250, 248, 246, 0.3);
  border-radius: 12px;
}

.mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 2px;
  height: 6px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--brand);
  animation: wheel 1.8s ease-in-out infinite;
}

/* ---------- 跑马灯 ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, #e0562f, var(--brand) 45%, #f08b50);
  color: #1c0b05;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  font-size: 12px;
  opacity: 0.55;
}

/* ---------- 滚动进入 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 动画 ---------- */

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

@keyframes sheen {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 217, 138, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(63, 217, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 217, 138, 0);
  }
}

@keyframes slowzoom {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, 6%, 0) scale(1.12);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(9px);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes hovercard {
  0%,
  100% {
    transform: rotateY(-9deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotateY(-7deg) rotateX(2deg) translateY(-8px);
  }
}
