/* Adieu 官网：浅色、柔和、玻璃质感，和 App 的 B 风格同一套颜色 */
:root {
  --ink: #15233d;
  --ink-2: #4f5e7b;
  --ink-3: #8592ab;
  --brand: #2f5fd0;
  --brand-2: #6f97ee;
  --peach: #ffb86b;
  --sky-1: #f3f7ff;
  --sky-2: #e3ecfc;
  --sky-3: #d2e0f8;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 50px -18px rgba(37, 72, 150, 0.28);
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Songti SC", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 100%) fixed;
  background-color: var(--sky-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 天空里缓慢漂移的两团光 */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -2;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
body::before { left: -20vmax; top: -25vmax; background: radial-gradient(circle, #ffffff 0%, rgba(255,255,255,0) 65%); animation: drift 28s ease-in-out infinite alternate; }
body::after { right: -25vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(255, 205, 150, 0.55) 0%, rgba(255,205,150,0) 60%); animation: drift 34s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.08); } }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer, .nav { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.7; }
.nowrap { white-space: nowrap; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--brand); text-transform: uppercase; }
.eyebrow em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15em; letter-spacing: 0.02em; text-transform: none; }

/* 顶部玻璃导航 */
.nav {
  position: fixed; z-index: 10;
  top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 10px 30px -12px rgba(37, 72, 150, 0.25);
  font-size: 14px;
  width: max-content; max-width: calc(100vw - 32px);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.pill { text-decoration: none; padding: 7px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }

/* 按钮 */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
.button:active { transform: scale(.97); }
.button.primary { color: #fff; background: linear-gradient(180deg, #4a78e6, var(--brand)); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 28px -10px rgba(47, 95, 208, 0.7); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 34px -10px rgba(47, 95, 208, 0.8); }
.button.ghost { color: var(--ink); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.button.ghost:hover { background: var(--glass-strong); }
.button.small { padding: 9px 18px; font-size: 14px; }
.button.large { padding: 17px 34px; font-size: 18px; }

/* 首屏 */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 24px;
  padding: 120px max(32px, 6vw) 60px;
  max-width: 1360px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(56px, 8.4vw, 116px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.045em;
  margin: 18px 0 26px;
  background: linear-gradient(170deg, #1b2c4f 30%, #3a69d6 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(18px); animation: rise 1.2s .25s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero .eyebrow { opacity: 0; animation: rise 1s .1s cubic-bezier(.2,.8,.2,1) forwards; }
.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 27em; text-wrap: pretty; opacity: 0; animation: rise 1.1s .45s cubic-bezier(.2,.8,.2,1) forwards; }
.lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; opacity: 0; animation: rise 1.1s .6s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-flower { position: relative; display: flex; flex-direction: column; align-items: center; }
/* 蒲公英画在全屏 canvas 上，这里只占位，告诉脚本花头在哪、多大 */
.head { width: min(38vw, 470px); aspect-ratio: 1; border-radius: 50%; cursor: crosshair; touch-action: pan-y; }
.blow { margin-top: 8vh; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 92px; }
.hint { font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }
.mic {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 14px var(--sans); color: var(--ink);
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 8px 24px -14px rgba(37,72,150,.35);
}
.mic svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; position: relative; z-index: 1; }
.mic .ring { position: absolute; left: 7px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(47, 95, 208, 0.12); transform: scale(var(--level, 0.6)); transition: transform .08s; }
.mic[aria-pressed="true"] { background: var(--glass-strong); }
.mic[aria-pressed="true"] .label { color: var(--brand); }
.blown { font-size: 13px; color: var(--ink-2); min-height: 1.4em; font-variant-numeric: tabular-nums; }

/* 通用段落标题 */
section { padding: 120px max(24px, 6vw); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.1; margin: 14px 0 20px; text-wrap: balance; }
.section-head p { color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.section-head .eyebrow { color: var(--brand); font-size: 14px; }

/* 被遗忘的文件 */
.desk { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.file {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: 18px; border: 0; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, opacity .9s ease, filter .9s ease;
  will-change: transform;
}
.file:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 50px -18px rgba(37,72,150,.38), inset 0 0 0 1px var(--glass-edge); }
.file:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.file .ext {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font: 700 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--t);
  background: color-mix(in srgb, var(--t) 13%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 20%, transparent);
}
.file .meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.file b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file small { font-size: 12.5px; color: var(--ink-3); }
.file .size { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 15px; }
.file.collapsed { display: none; }
.file.gone { opacity: 0; filter: blur(10px); transform: translate(40px, -24px) scale(.9) rotate(2deg); pointer-events: none; }

.gauge {
  position: sticky; top: 110px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 22px; border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge);
}
.gauge svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge .track { stroke: rgba(47, 95, 208, 0.1); }
.gauge .fill { stroke: var(--brand); stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.gauge-text { position: absolute; top: 28px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-text strong { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gauge-text small { color: var(--ink-3); font-size: 13px; }

/* 功能导览 */
.tour-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .6s; }
.step.on { opacity: 1; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brand); }
.step h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin: 10px 0 14px; }
.step p { color: var(--ink-2); font-size: 17px; }
.inline-shot { display: none; }
.stage { position: relative; }
.frame {
  position: sticky; top: 15vh;
  aspect-ratio: 3020 / 1640;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 40px 90px -30px rgba(30, 60, 130, 0.45), 0 12px 30px -16px rgba(30,60,130,.3);
  background: #eef3fd;
  transform: perspective(1600px) rotateX(var(--tilt, 8deg)) scale(var(--zoom, .96));
  transform-origin: 50% 0;
  transition: transform .2s linear;
}
.frame.flat { transform: none; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.frame img.on { opacity: 1; transform: none; }

/* 原则 */
.cards { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 30px 26px 32px; border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.card:hover { transform: translateY(-4px); }
.card svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin: 20px 0 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* 痛点 */
.pain-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pain { display: flex; flex-direction: column; }
.pain-no { font: 600 13px var(--sans); letter-spacing: .12em; color: var(--ink-3); }
.pain h3 { margin-top: 14px; }
.pain .fix { margin-top: auto; padding-top: 18px; color: var(--brand); font-weight: 500; position: relative; padding-left: 22px; }
.pain .fix::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); opacity: .85; }

/* 对比 */
.table-wrap { max-width: 1080px; margin: 0 auto; border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge); overflow: hidden; }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th, .vs td { padding: 18px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(37,72,150,.08); }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); padding-top: 22px; }
.vs tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.vs td { color: var(--ink-2); }
.vs .us { background: rgba(47,95,208,.07); color: var(--ink); }
.vs thead .us { color: var(--brand); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.vs i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; margin-right: 8px; vertical-align: -3px; position: relative; }
.vs i.yes { background: var(--brand); }
.vs i.yes::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vs i.no { background: rgba(133,146,171,.25); }
.vs i.no::after { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 2px; background: #8592ab; }
.vs i.part { background: conic-gradient(var(--brand-2) 0 50%, rgba(133,146,171,.25) 50% 100%); }
.vs-note { max-width: 1080px; margin: 16px auto 0; font-size: 13px; color: var(--ink-3); text-align: center; }

/* 短片 */
.player { position: relative; max-width: 1120px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 40px 90px -30px rgba(30,60,130,.45); background: #dfe8fa; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.sound { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; border: 0; font: 500 13px var(--sans); color: var(--ink); background: var(--glass-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; }

/* 下载 */
.download { text-align: center; padding-bottom: 140px; display: flex; flex-direction: column; align-items: center; }
.big-icon { width: 200px; height: 200px; border-radius: 46px; box-shadow: 0 30px 70px -20px rgba(37,72,150,.55), 0 0 0 1px rgba(255,255,255,.7); margin-bottom: 40px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.download h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; margin-bottom: 36px; }
.req { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.first-open { margin-top: 28px; max-width: 560px; text-align: left; padding: 16px 20px; border-radius: 16px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.first-open summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.first-open p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px max(24px, 6vw) 40px; color: var(--ink-3); font-size: 13px; border-top: 1px solid rgba(255,255,255,.6); }
.footer span:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.footer img { border-radius: 5px; }
.footer .beian { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; }
.footer .beian a { color: var(--ink-3); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.footer .beian a:hover { color: var(--ink-2); }
.footer .beian img { border-radius: 0; }

/* 窄屏 */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: center; gap: 0; }
  .hero-copy { order: 2; }
  .hero-flower { order: 1; }
  .head { width: min(72vw, 380px); }
  .blow { margin-top: 18px; }
  .lede { margin: 0 auto; }
  .cta { justify-content: center; }
  .desk { grid-template-columns: 1fr; }
  .files { grid-template-columns: 1fr; }
  .gauge { position: relative; top: 0; flex-direction: row; justify-content: center; padding: 18px; }
  .gauge svg { width: 110px; height: 110px; }
  .gauge-text { position: static; height: auto; align-items: flex-start; }
  .tour-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; margin-bottom: 64px; }
  .inline-shot { display: block; margin-top: 22px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 24px 50px -24px rgba(30,60,130,.45); }
  .cards, .pain-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav nav { display: none; }
  section { padding: 88px 16px; }
  .hero { padding: 96px 16px 48px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }
  .cards, .pain-cards { grid-template-columns: 1fr; }
  .vs { font-size: 13px; }
  .vs th, .vs td { padding: 12px 8px; }
  .vs i { display: none; }
  .vs thead th { font-size: 12px; }
  .vs thead .us { font-size: 16px; }
  .vs tbody th { width: 28%; }
  .mic .label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1, .hero .eyebrow, .lede, .cta { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
