/* ============================================================
   半糖直播官网 · 共享视觉系统
   风格：新粗野主义 (Neo-Brutalism) + 撞色渐变 + 微动效
   ============================================================ */

:root {
  --ink: #111111;
  --paper: #fffdf4;
  --white: #ffffff;
  --yellow: #ffe45c;
  --pink: #ff6b9d;
  --cyan: #55e6df;
  --blue: #6c63ff;
  --lime: #c9ff5b;
  --orange: #ff9a45;
  --purple: #b06bff;
  --red: #ff4d4d;

  --line: 3px solid var(--ink);
  --line-thin: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 12px;

  --font-display: "Arial Black", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --grad-hot: linear-gradient(105deg, #ff6b9d 0%, #ff9a45 48%, #ffe45c 100%);
  --grad-cool: linear-gradient(105deg, #6c63ff 0%, #b06bff 45%, #55e6df 100%);
  --grad-fresh: linear-gradient(105deg, #c9ff5b 0%, #55e6df 100%);
  --grad-sun: linear-gradient(105deg, #ffe45c 0%, #ff9a45 100%);
}

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

html { scroll-behavior: smooth; }

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

/* 粗野主义底纹：网格 + 波点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border: var(--line); font-weight: 800;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container--narrow { width: min(820px, calc(100% - 40px)); }

/* ---------------- 排版 ---------------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.5rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
strong { font-weight: 800; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 6px 12px;
  border: var(--line-thin); box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
}
.eyebrow--light { background: var(--yellow); color: var(--ink); }

.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.85; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: #fff8e2; border-block: var(--line); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { background: var(--yellow); color: var(--ink); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.section-head p { max-width: 560px; margin: 12px 0 0; }
.section-kicker { display: block; font-family: var(--font-display); color: var(--blue); letter-spacing: .1em; font-size: .85rem; margin-bottom: 10px; }
.section--dark .section-kicker { color: var(--cyan); }

/* 高亮涂抹 */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .36em;
  background: var(--yellow); z-index: -1; transform: rotate(-1.2deg);
}
.mark--pink::after { background: var(--pink); }
.mark--cyan::after { background: var(--cyan); }

.gradient-text {
  background: var(--grad-hot);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------- 按钮 ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 12px 24px;
  font-family: var(--font-display); font-size: .98rem; font-weight: 900;
  background: var(--white); color: var(--ink);
  border: var(--line); border-radius: 8px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-align: center; cursor: pointer;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 4px solid var(--blue); outline-offset: 3px;
}
.btn--yellow { background: var(--yellow); }
.btn--pink { background: var(--pink); }
.btn--cyan { background: var(--cyan); }
.btn--lime { background: var(--lime); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; }
.btn--grad { background: var(--grad-hot); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 7px 14px; font-size: .85rem; box-shadow: var(--shadow-sm); border-width: 2px; }
.btn--block { display: flex; width: 100%; }
.btn--wide { padding-inline: 34px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px max(20px, calc((100% - 1180px) / 2));
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--grad-hot); border: var(--line-thin); border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
}
.brand-text { font-family: var(--font-display); font-size: 1.08rem; font-weight: 900; line-height: 1.05; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .55rem; letter-spacing: .18em; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  padding: 8px 13px; font-weight: 800; font-size: .92rem; border-radius: 6px;
  border: 2px solid transparent; transition: all .15s ease;
}
.desktop-nav a:hover { background: var(--yellow); border-color: var(--ink); transform: rotate(-2deg); }
.desktop-nav a.is-active { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--pink); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 44px; background: var(--yellow);
  border: var(--line-thin); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink);
  padding: 10px; flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav { display: none; }

/* 跑马灯 */
.marquee {
  overflow: hidden; background: var(--ink); color: #fff;
  border-bottom: var(--line); padding: 9px 0;
  white-space: nowrap;
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .06em;
  padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee__track span::after { content: "✳"; color: var(--yellow); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  right: -120px; top: -150px; background: var(--grad-cool); opacity: .22; filter: blur(2px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 span { display: block; }
.hero .lead { max-width: 560px; }
.hero .btn-row { margin-top: 34px; }

.hero-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: .84rem; font-weight: 700;
}
.hero-note b { background: var(--lime); border: var(--line-thin); padding: 2px 8px; border-radius: 20px; }

/* Hero 视觉堆叠 */
.hero-visual { position: relative; min-height: 420px; }
.hero-card {
  position: absolute; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background: var(--white); padding: 16px;
}
.hero-card--main { inset: 12px 26px 44px 0; background: var(--grad-hot); transform: rotate(-3deg); }
.hero-card--main .fake-screen {
  height: 100%; min-height: 320px; border: var(--line-thin); border-radius: 8px;
  background: repeating-linear-gradient(45deg, #111 0 12px, #1a1a1a 12px 24px);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.fake-screen__label {
  font-family: var(--font-display); font-size: 1.8rem; color: #fff; text-align: center;
  text-shadow: 4px 4px 0 var(--pink);
}
.fake-screen__live {
  position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: .72rem; padding: 4px 10px;
  border: 2px solid #fff; border-radius: 4px; animation: blink 1.8s infinite;
}
.fake-screen__bar {
  position: absolute; bottom: 14px; left: 14px; right: 14px; height: 8px;
  background: rgba(255,255,255,.35); border: 2px solid #fff; border-radius: 20px; overflow: hidden;
}
.fake-screen__bar i { display: block; height: 100%; width: 45%; background: var(--yellow); animation: progress 6s ease-in-out infinite alternate; }
@keyframes progress { to { width: 92%; } }
@keyframes blink { 50% { opacity: .55; } }

.hero-card--small {
  right: -6px; bottom: 0; width: 190px; background: var(--cyan);
  transform: rotate(5deg); animation: bob 5s ease-in-out infinite;
}
.hero-card--small b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.hero-card--small span { font-size: .75rem; font-weight: 700; }
.hero-sticker {
  position: absolute; left: -18px; top: -10px; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%; background: var(--yellow);
  border: var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center;
  text-align: center; font-family: var(--font-display); font-size: .78rem; font-weight: 900;
  transform: rotate(-12deg); animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px) rotate(3deg); } }

/* ---------------- 通用卡片 ---------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative; background: var(--white); border: var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow); }
.card--yellow { background: var(--yellow); }
.card--pink { background: var(--pink); }
.card--cyan { background: var(--cyan); }
.card--lime { background: var(--lime); }
.card--blue { background: var(--blue); color: #fff; }
.card--dark { background: var(--ink); color: #fff; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 900; font-family: var(--font-display);
  padding: 4px 10px; border: 2px solid var(--ink); border-radius: 30px;
  background: var(--white); letter-spacing: .02em;
}
.tag--yellow { background: var(--yellow); }
.tag--pink { background: var(--pink); }
.tag--cyan { background: var(--cyan); }
.tag--lime { background: var(--lime); }
.tag--dark { background: var(--ink); color: #fff; }
.tag--live { background: var(--red); color: #fff; }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }

.index-num {
  position: absolute; right: 12px; top: 2px; font-family: var(--font-display);
  font-size: 3.4rem; line-height: 1; opacity: .13; pointer-events: none;
}

/* 分区卡片 */
.zone-card { display: block; padding: 0; overflow: hidden; }
.zone-card__art {
  height: 132px; border-bottom: var(--line); display: grid; place-items: center;
  font-size: 3.2rem; position: relative;
}
.zone-card__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.45), transparent 55%);
}
.zone-card__body { padding: 18px; }
.zone-card__body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.zone-card__body p { font-size: .86rem; margin: 0 0 12px; }
.zone-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 800; }
.zone-card__arrow { font-family: var(--font-display); font-size: 1.3rem; transition: transform .2s ease; }
.zone-card:hover .zone-card__arrow { transform: translateX(6px); }

/* 服务卡 */
.service-card { padding: 30px 24px; }
.service-card__icon {
  width: 60px; height: 60px; display: grid; place-items: center;
  border: var(--line); border-radius: 10px; box-shadow: var(--shadow-sm);
  font-size: 1.8rem; margin-bottom: 22px; background: var(--white);
}
.service-card ul { margin: 16px 0 0; padding-left: 18px; font-size: .9rem; }
.service-card li { margin-bottom: 5px; }

/* 数据条 */
.stats { border-block: var(--line); background: var(--yellow); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 18px; text-align: center; border-right: var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.1; }
.stat span { font-size: .82rem; font-weight: 700; }

/* CTA 横幅 */
.cta-band {
  position: relative; overflow: hidden; border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: clamp(34px, 6vw, 64px);
  background: var(--grad-cool); color: #fff;
}
.cta-band--hot { background: var(--grad-hot); color: var(--ink); }
.cta-band::after {
  content: "✳"; position: absolute; right: -10px; bottom: -74px;
  font-size: 220px; opacity: .15; line-height: 1;
}
.cta-band h2 { max-width: 720px; }
.cta-band p { max-width: 620px; margin-top: 14px; }
.cta-band .btn-row { margin-top: 26px; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { border: var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; font-family: var(--font-display); font-size: 1rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: var(--yellow); border-bottom: var(--line-thin); }
.faq-item__body { padding: 18px 22px; font-size: .94rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------------- 筛选 / Tabs ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  padding: 9px 18px; border: var(--line-thin); border-radius: 30px;
  background: var(--white); font-weight: 800; font-size: .88rem;
  box-shadow: 3px 3px 0 var(--ink); transition: all .15s ease;
}
.filter-btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--yellow); }
.filter-btn .count { font-size: .72rem; opacity: .65; margin-left: 4px; }

/* 直播 / 视频卡片 */
.media-card { padding: 0; }
.media-card__cover {
  position: relative; aspect-ratio: 16 / 10; border-bottom: var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.media-card__cover .emoji { font-size: 3.6rem; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.25)); transition: transform .25s ease; }
.media-card:hover .media-card__cover .emoji { transform: scale(1.14) rotate(-6deg); }
.media-card__cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.35) 2px, transparent 2px);
  background-size: 18px 18px;
}
.media-card__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.media-card__viewers {
  background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800;
  padding: 4px 9px; border-radius: 4px; border: 2px solid #fff;
}
.media-card__play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  border-radius: 50%; background: var(--yellow); border: var(--line);
  box-shadow: var(--shadow-sm); display: grid; place-items: center;
  font-size: 1.3rem; transition: transform .2s ease; z-index: 2;
}
.media-card:hover .media-card__play { transform: scale(1.12); }
.media-card__body { padding: 16px 18px 18px; }
.media-card__body h3 { font-size: 1.02rem; line-height: 1.4; margin-bottom: 6px; }
.media-card__body p { font-size: .82rem; margin: 0 0 14px; }
.media-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.host { display: flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 800; }
.host__avatar {
  width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: .82rem; background: var(--white);
}
.media-card.is-hidden { display: none; }

/* 排期表 */
.schedule { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--white); }
.schedule__row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: var(--line-thin); }
.schedule__row:last-child { border-bottom: 0; }
.schedule__row:nth-child(even) { background: #fffbe8; }
.schedule__time { font-family: var(--font-display); font-size: 1.05rem; }
.schedule__row p { margin: 0; font-size: .86rem; }
.schedule__row .btn { min-height: 36px; font-size: .78rem; padding: 5px 12px; }

/* ---------------- 表单 ---------------- */
.form-card { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--white); padding: clamp(22px, 4vw, 38px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: .88rem; margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; background: var(--paper);
  border: var(--line-thin); border-radius: 8px; box-shadow: 3px 3px 0 rgba(17,17,17,.18);
  transition: box-shadow .15s ease, transform .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: var(--shadow-sm); transform: translate(-1px,-1px); }
.field textarea { min-height: 110px; resize: vertical; }
.field__hint { font-size: .75rem; margin: 6px 0 0; opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-error { color: #c62828; font-size: .78rem; font-weight: 800; margin-top: 6px; display: none; }
.field.is-error input, .field.is-error textarea { border-color: #c62828; background: #fff0f0; }
.field.is-error .field-error { display: block; }

.cover-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.cover-pick {
  width: 54px; height: 42px; border: var(--line-thin); border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(17,17,17,.2); position: relative; transition: transform .15s ease;
}
.cover-pick:hover { transform: translateY(-3px); }
.cover-pick.is-active { outline: 4px solid var(--ink); outline-offset: 2px; }
.cover-pick.is-active::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; }

/* 步骤 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px 24px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -18px; left: 20px; width: 44px; height: 36px;
  display: grid; place-items: center; background: var(--yellow);
  border: var(--line); border-radius: 6px; font-family: var(--font-display); font-size: .95rem;
}
.step h3 { margin: 8px 0; }
.step p { font-size: .88rem; margin: 0; }

/* ---------------- AI 工具区 ---------------- */
.ai-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.ai-output { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); padding: 24px; min-height: 280px; }
.ai-output__empty { display: grid; place-items: center; text-align: center; height: 230px; opacity: .6; font-weight: 700; }
.ai-scene { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 0; border-bottom: var(--line-thin); }
.ai-scene:last-child { border-bottom: 0; }
.ai-scene__n { width: 34px; height: 34px; display: grid; place-items: center; background: var(--cyan); border: 2px solid var(--ink); border-radius: 50%; font-family: var(--font-display); font-size: .85rem; }
.ai-scene p { margin: 0; font-size: .9rem; }
.ai-scene small { display: block; font-weight: 800; color: var(--blue); font-size: .73rem; margin-bottom: 2px; }
.is-loading { position: relative; pointer-events: none; opacity: .6; }

/* ---------------- 下载页 ---------------- */
.phone-wrap { display: flex; align-items: center; justify-content: center; min-height: 460px; position: relative; }
.phone {
  width: 250px; height: 500px; background: var(--ink); border: 4px solid var(--ink);
  border-radius: 36px; box-shadow: 12px 12px 0 var(--pink); padding: 12px;
  transform: rotate(-4deg); animation: bob 6s ease-in-out infinite;
}
.phone__screen {
  height: 100%; border-radius: 26px; overflow: hidden; background: var(--paper);
  display: flex; flex-direction: column;
}
.phone__top { background: var(--grad-hot); padding: 24px 14px 16px; border-bottom: var(--line-thin); }
.phone__top small { font-size: .58rem; letter-spacing: .16em; font-weight: 900; }
.phone__top strong { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.phone__feed { padding: 10px; display: grid; gap: 8px; flex: 1; }
.phone__item { height: 76px; border: 2px solid var(--ink); border-radius: 8px; display: flex; align-items: flex-end; padding: 8px; font-size: .62rem; font-weight: 900; color: #fff; text-shadow: 1px 1px 0 #111; }
.phone__nav { display: flex; border-top: var(--line-thin); background: var(--white); }
.phone__nav span { flex: 1; text-align: center; padding: 8px 0; font-size: .6rem; font-weight: 800; border-right: 1px solid rgba(0,0,0,.15); }
.phone__nav span:last-child { border-right: 0; background: var(--yellow); }

.qr-box { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; text-align: center; }
.qr-box svg { width: 160px; height: 160px; margin: 0 auto 10px; image-rendering: pixelated; }
.qr-box p { font-size: .76rem; margin: 0; font-weight: 700; }

.platform-buttons { display: grid; gap: 14px; }
.platform-btn {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  border: var(--line); border-radius: 10px; box-shadow: var(--shadow-sm);
  background: var(--white); padding: 16px 18px; transition: all .16s ease;
}
.platform-btn:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); }
.platform-btn__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; font-size: 1.25rem; flex-shrink: 0; }
.platform-btn b { display: block; font-family: var(--font-display); font-size: .98rem; }
.platform-btn small { display: block; font-size: .76rem; }
.platform-btn__arrow { margin-left: auto; font-size: 1.3rem; }

/* ---------------- 弹窗 / Toast ---------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.72); }
.modal__panel {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto;
  background: var(--paper); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px; animation: pop .22s cubic-bezier(.2,1.4,.5,1);
}
@keyframes pop { from { transform: scale(.9) translateY(16px); opacity: 0; } }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.modal__head h3 { font-size: 1.4rem; }
.modal__close { width: 38px; height: 38px; flex-shrink: 0; border: var(--line-thin); border-radius: 6px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font-size: 1.1rem; font-weight: 900; }
.modal__body { font-size: .94rem; }
.modal__body p:last-child { margin-bottom: 0; }

.fake-player {
  aspect-ratio: 16 / 9; border: var(--line); border-radius: 8px; background: var(--grad-cool);
  display: grid; place-items: center; position: relative; margin-bottom: 18px; overflow: hidden;
}
.fake-player .emoji { font-size: 4rem; }
.fake-player__controls { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 10px; background: rgba(17,17,17,.8); padding: 8px 12px; border-radius: 6px; color: #fff; }
.fake-player__track { flex: 1; height: 6px; background: rgba(255,255,255,.3); border-radius: 10px; overflow: hidden; }
.fake-player__track i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .4s linear; }
.fake-player__btn { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; padding: 2px 10px; font-weight: 900; font-size: .75rem; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  z-index: 400; background: var(--ink); color: #fff; border: var(--line);
  border-radius: 8px; box-shadow: var(--shadow); padding: 12px 20px;
  font-weight: 800; font-size: .9rem; transition: transform .28s cubic-bezier(.2,1.3,.4,1);
  max-width: calc(100% - 40px); text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); }

/* 返回顶部 / 移动底栏 */
.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border: var(--line); border-radius: 8px;
  background: var(--yellow); box-shadow: var(--shadow-sm);
  font-size: 1.2rem; font-weight: 900; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

.bottom-nav { display: none; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink); color: #fff; border-top: var(--line); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.footer-brand .brand-mark { box-shadow: 3px 3px 0 var(--cyan); }
.footer-brand p { font-size: .86rem; opacity: .8; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 16px; color: var(--yellow); }
.footer-col a { display: block; font-size: .85rem; padding: 4px 0; opacity: .82; }
.footer-col a:hover { opacity: 1; color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .76rem; opacity: .7; }

/* ---------------- 动效：滚动进入 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.9,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav {
    display: grid; gap: 6px; padding: 14px 20px 20px;
    background: var(--paper); border-bottom: var(--line);
    position: sticky; top: 69px; z-index: 99;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a {
    display: block; padding: 12px 14px; border: var(--line-thin); border-radius: 8px;
    background: var(--white); font-weight: 800; box-shadow: 3px 3px 0 var(--ink);
  }
  .mobile-nav a.is-active { background: var(--yellow); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; max-width: 520px; width: 100%; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-demo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container, .container--narrow { width: min(100% - 28px, 1180px); }
  body { padding-bottom: 64px; font-size: 15px; }
  .site-header { padding: 10px 14px; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.15rem; }
  .brand-text { font-size: .95rem; }
  .header-actions .btn { display: none; }
  .mobile-nav { top: 59px; padding: 12px 14px 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .grid--3, .grid--4, .grid--5, .steps, .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid .stat:nth-child(2) { border-right: 0; }
  .stats__grid .stat:nth-child(-n+2) { border-bottom: var(--line); }
  .hero { padding-top: 44px; }
  .hero-visual { min-height: 340px; }
  .hero-card--main { inset: 10px 14px 34px 0; }
  .hero-card--main .fake-screen { min-height: 250px; }
  .hero-card--small { width: 150px; padding: 12px; }
  .hero-sticker { width: 74px; height: 74px; font-size: .64rem; left: -8px; }
  .fake-screen__label { font-size: 1.25rem; }
  .cta-band { padding: 28px 20px; }
  .cta-band::after { font-size: 130px; bottom: -50px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .schedule__row { grid-template-columns: 84px 1fr; }
  .schedule__row .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .modal { padding: 12px; }
  .modal__panel { padding: 20px 16px; max-height: 90vh; }

  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: var(--white); border-top: var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav a {
    display: grid; place-items: center; gap: 1px; padding: 4px 6px;
    font-size: .62rem; font-weight: 800; line-height: 1.1; text-align: center;
    border-radius: 6px; min-width: 56px;
  }
  .bottom-nav a span { font-size: 1.15rem; line-height: 1; }
  .bottom-nav a.is-active { background: var(--yellow); }
  .to-top { bottom: 76px; right: 12px; width: 42px; height: 42px; }
}

@media (max-width: 460px) {
  .grid--3, .grid--4, .grid--5, .steps, .stats__grid { grid-template-columns: 1fr; }
  .stats__grid .stat { border-right: 0; border-bottom: var(--line); }
  .stats__grid .stat:last-child { border-bottom: 0; }
  h1 { font-size: 2.65rem; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-card--small { display: none; }
  .phone { width: 215px; height: 430px; }
  .platform-btn { padding: 12px; }
}

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