/* Dentist v2 — 海面与水下世界 · 全屏翻页 */

:root {
  --ink: #0b3d5b;          /* 深海蓝黑：亮处文字 */
  --foam: #f4fbff;         /* 浪花白：暗处文字 */
  --foam-dim: rgba(232, 246, 255, .82);
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease-page: cubic-bezier(.77, 0, .18, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--sans);
  color: var(--foam);
  background: #042136;
  overflow: hidden;
  touch-action: none;
  -webkit-font-smoothing: antialiased;
}

/* 深层水体：固定背景，渐变高度 = 屏数 × 100%，翻页时 background-position 平移 → 下潜加深。
   顶部颜色与首屏海面底部颜色一致，翻页转场无接缝。 */
#water {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(180deg,
    #235e85 0%,
    #17537a 12%,
    #0f4266 26%,
    #0a3450 42%,
    #062a41 60%,
    #042136 78%,
    #021623 100%);
  background-repeat: no-repeat;
  transition: background-position 1s var(--ease-page);
}

/* 水下光影画布：盖在水体上、内容之下（首屏被场景层遮住，下潜后才显现） */
#sea {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ---------- 全屏翻页轨道 ---------- */

.track {
  position: relative;
  z-index: 2;
  transition: transform 1s var(--ease-page);
  will-change: transform;
}

.screen {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen::after {           /* 每屏底部轻微压暗，增强纵深 */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -140px 180px -80px rgba(2, 20, 35, .45);
}

/* ---------- 首屏海面场景（远 → 近分层，data-plx 为视差系数） ---------- */

.scene { position: absolute; inset: 0; z-index: 0; }

.sky {
  position: absolute;
  top: 0; left: -4%; right: -4%;
  height: 48%;
  z-index: 1;
  background: linear-gradient(180deg,
    #6fbbe9 0%, #a2d9f2 55%, #e6f5f9 100%);
}

.sun {
  position: absolute;
  top: 8%; left: 48%;
  width: 200px; height: 200px;
  margin: -100px;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, .95) 0%,
    rgba(255, 246, 220, .7) 24%,
    rgba(255, 244, 210, 0) 62%);
  animation: sun-breathe 7s ease-in-out infinite alternate;
}

@keyframes sun-breathe {
  from { opacity: .82; }
  to   { opacity: 1; }
}

.cloud-pos { position: absolute; z-index: 3; }
.cp1 { top: 13%; left: 12%; }
.cp2 { top: 25%; left: 60%; }

.cloud {
  position: relative;
  width: 124px; height: 34px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  opacity: .85;
  animation: cloud-drift 26s ease-in-out infinite alternate;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before { top: -17px; left: 24px; width: 48px; height: 48px; }
.cloud::after  { top: -11px; left: 60px; width: 34px; height: 34px; }

.cloud.small { opacity: .68; animation: cloud-drift-s 32s ease-in-out infinite alternate; }

@keyframes cloud-drift {
  from { transform: translateX(-14px); }
  to   { transform: translateX(30px); }
}

@keyframes cloud-drift-s {
  from { transform: scale(.66) translateX(-10px); }
  to   { transform: scale(.66) translateX(24px); }
}

/* 海滩：顶对齐海平线，右/底贴齐画框。slice 保半平面不被 letterbox 露出内侧海水。 */
.beach {
  position: absolute;
  top: 46%;
  right: 0;
  bottom: 0;
  width: 64vw;
  z-index: 9;              /* 盖住碎金，避免白痕划上沙滩 */
  overflow: visible;
  pointer-events: none;
}

.palm-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: palm-sway 6.5s ease-in-out infinite alternate;
}

.palm-sway.delay-1 { animation-duration: 7.6s; animation-delay: -2.4s; }
.palm-sway.delay-2 { animation-duration: 8.4s; animation-delay: -4.2s; }
.palm-sway.delay-3 { animation-duration: 5.9s; animation-delay: -1.3s; }

@keyframes palm-sway {
  from { transform: rotate(-1.5deg); }
  to   { transform: rotate(1.7deg); }
}

.sea-surface {
  position: absolute;
  top: calc(46% - 24px);   /* 上移留出视差余量 */
  bottom: -24px;
  left: -4%; right: -4%;
  z-index: 5;
  background: linear-gradient(180deg,
    rgba(143, 212, 238, 0) 0%,
    #8fd4ee 4%,
    #57a9d4 34%,
    #2e719e 68%,
    #235e85 100%);
}

/* 海平线亮光（只在开阔水面，海滩右侧不收） */
.sea-surface::before {
  content: "";
  position: absolute;
  top: 24px; left: 0; right: 30%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent, rgba(255, 255, 255, .7) 30%, rgba(255, 255, 255, .85) 62%, transparent);
  opacity: .7;
}

.waves {
  position: absolute;
  background-repeat: repeat-x;
  pointer-events: none;
}

.w-mid {
  top: 49.5%;
  height: 22px;
  left: -4%; right: 38%;   /* 只铺在开阔水面，不跨海滩 */
  z-index: 7;
  opacity: .8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='22' viewBox='0 0 140 22'%3E%3Cpath d='M0 11 Q 17.5 3 35 11 T 70 11 T 105 11 T 140 11' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 140px 22px;
  animation: wave-drift 9s linear infinite;
}

.w-front {
  bottom: 3.5%;
  height: 54px;
  left: -4%; right: 28%;   /* 前景浪不压海滩 */
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='54' viewBox='0 0 180 54'%3E%3Cpath d='M0 20 Q 22.5 6 45 20 T 90 20 T 135 20 T 180 20 L180 54 L0 54 Z' fill='rgba(8,52,82,0.28)'/%3E%3C/svg%3E");
  background-size: 180px 54px;
  animation: wave-drift-back 13s linear infinite;
}

@keyframes wave-drift {
  from { background-position-x: 0; }
  to   { background-position-x: 140px; }
}

@keyframes wave-drift-back {
  from { background-position-x: 0; }
  to   { background-position-x: -180px; }
}

/* 阳光碎金画布：铺在海面上、前景浪之下 */
#glitter {
  position: absolute;
  top: 46%;
  left: 0;
  width: 100%;
  height: 54%;
  z-index: 8;
}

/* 近景浪角：压暗两侧下角的景深框架 */
.crest {
  position: absolute;
  bottom: -6%;
  width: 52vw; height: 30vh;
  z-index: 11;
  border-radius: 50%;
  pointer-events: none;
}

.crest-l { left: -14vw; background: radial-gradient(ellipse at 32% 42%, rgba(4, 32, 54, .5), rgba(4, 32, 54, 0) 68%); }
.crest-r { right: -18vw; width: 38vw; height: 22vh; background: radial-gradient(ellipse at 68% 42%, rgba(4, 32, 54, .2), rgba(4, 32, 54, 0) 68%); }

/* ---------- 顶部导航 ---------- */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 15px;
  transition: color .6s;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(4, 32, 52, .25);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: rgba(11, 61, 91, .72);
  text-decoration: none;
  font-size: 14px;
  transition: color .6s;
}

.nav-links a:hover { color: var(--ink); }

/* 深处屏：导航切换为浅色 */
body.deep .brand { color: var(--foam); }
body.deep .nav-links a { color: rgba(232, 246, 255, .75); }
body.deep .nav-links a:hover { color: #fff; }

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}

.btn-solid {
  background: var(--ink);
  color: #fff;
  padding: 9px 22px;
  font-size: 14px;
}

body.deep .btn-solid { background: #fff; color: var(--ink); }

.btn-primary {
  background: #fff;
  color: var(--ink);
  padding: 15px 30px;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(2, 24, 40, .3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(2, 24, 40, .36); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  background: rgba(9, 48, 74, .3);
}

.btn-ghost:hover { background: rgba(9, 48, 74, .45); }

/* ---------- 首屏内容区 ---------- */

.hero-inner {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 5vw 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy { position: relative; z-index: 2; }

.hero-copy::before {       /* 文案区压暗，保证任何显示器上的对比度 */
  content: "";
  position: absolute;
  inset: -16% -18%;
  z-index: -1;
  background: radial-gradient(closest-side,
    rgba(3, 26, 43, .5), rgba(3, 26, 43, 0) 74%);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .32em;
  color: #eaf6ff;
  text-shadow: 0 1px 10px rgba(3, 26, 43, .4);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(3, 26, 43, .4);
  margin-bottom: 22px;
}

.lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--foam-dim);
  max-width: 34em;
  text-shadow: 0 1px 12px rgba(3, 26, 43, .35);
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 海獭舞台 ---------- */

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: end;
  padding-bottom: 7vh;
  z-index: 1;
}

.otter-float {
  display: flex;
  justify-content: center;
  animation: bob 7s ease-in-out infinite alternate;
}

@keyframes bob {
  from { transform: translateY(-10px) rotate(-1.6deg); }
  to   { transform: translateY(12px) rotate(1.8deg); }
}

.otter {
  width: min(32vw, 440px);
}

/* 海獭下半身没入水中的水线 */
.waterline {
  position: absolute;
  left: 50%;
  bottom: calc(7vh + 8%);
  transform: translateX(-50%);
  width: 62%;
  height: 22px;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='22' viewBox='0 0 90 22'%3E%3Cpath d='M0 11 Q 11.25 4 22.5 11 T 45 11 T 67.5 11 T 90 11' fill='none' stroke='rgba(235,248,255,0.75)' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 90px 22px;
  animation: waterline-drift 6s linear infinite;
  pointer-events: none;
}

@keyframes waterline-drift {
  from { background-position-x: 0; }
  to   { background-position-x: 90px; }
}

/* 海獭身边荡开的涟漪圈 */
.ripple {
  position: absolute;
  left: 50%;
  bottom: calc(7vh + 4%);
  width: 56%;
  aspect-ratio: 3.2;
  border: 2px solid rgba(230, 246, 255, .55);
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  transform: translateX(-50%) scale(.45);
  animation: ripple 3.6s ease-out infinite;
  pointer-events: none;
}

.ripple.r2 { animation-delay: 1.2s; }
.ripple.r3 { animation-delay: 2.4s; }

@keyframes ripple {
  0%   { transform: translateX(-50%) scale(.45); opacity: .85; }
  100% { transform: translateX(-50%) scale(1.6); opacity: 0; }
}

.chip {
  position: absolute;
  font-family: var(--mono);
  font-size: 12.5px;
  color: #eaf7ff;
  background: rgba(9, 48, 74, .42);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  padding: 9px 14px;
  box-shadow: 0 10px 28px rgba(3, 30, 50, .28);
  animation: drift 6s ease-in-out infinite alternate;
  white-space: nowrap;
  z-index: 3;
}

@keyframes drift {
  from { transform: translateY(-9px); }
  to   { transform: translateY(11px); }
}

.chip-1 { top: -2%; left: -8%; }
.chip-2 { bottom: 22%; right: -6%; animation-duration: 7.5s; animation-delay: -2s; }

/* ---------- 翻页提示 ---------- */

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--foam-dim);
  z-index: 2;
}

.scroll-hint .bubble {
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  animation: rise 2.4s ease-in-out infinite;
}

@keyframes rise {
  0%   { transform: translateY(7px); opacity: 0; }
  30%  { opacity: .95; }
  100% { transform: translateY(-11px); opacity: 0; }
}

/* ---------- 第二屏：工作台 mock + 海獭介绍 ---------- */

.screen-desk {
  justify-content: center;
}

.desk {
  flex: 1;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto 0 2vw;
  padding: 80px 52px 32px 3.5vw;
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(200px, 260px);
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.desk-copy {
  color: var(--foam);
  padding-right: 4px;
}
.desk-copy h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 2px 24px rgba(3, 26, 43, .35);
}
.desk-copy .lead {
  margin-bottom: 0;
  max-width: 22em;
  font-size: 15px;
}

.app-window {
  --aw-paper: #ffffff;
  --aw-paper-2: #fafafa;
  --aw-paper-3: #f4f4f5;
  --aw-ink: #1a1a1e;
  --aw-soft: #3f3f46;
  --aw-muted: #71717a;
  --aw-faint: #a1a1aa;
  --aw-rule: #e4e4e7;
  --aw-rule-soft: rgba(16, 18, 24, .08);
  --aw-accent: #20744a;
  --aw-accent-ink: #1b6a42;
  --aw-success: #15803d;
  --aw-warn: #d97706;
  height: min(74vh, 680px);
  display: flex;
  overflow: hidden;
  border-radius: 14px;
  background: var(--aw-paper-3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18),
    0 28px 80px rgba(2, 18, 32, .45);
  font-size: 12.5px;
  color: var(--aw-ink);
  transform-origin: left center;
}

.aw-side {
  width: 176px;
  flex-shrink: 0;
  background: var(--aw-paper-3);
  border-right: 1px solid var(--aw-rule-soft);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aw-side-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 10px;
}

.aw-dots { display: flex; gap: 5px; }
.aw-dots i {
  width: 8px; height: 8px; border-radius: 50%; display: block;
  background: #d4d4d8;
}
.aw-dots i:nth-child(1) { background: #ef4444; }
.aw-dots i:nth-child(2) { background: #eab308; }
.aw-dots i:nth-child(3) { background: #22c55e; }

.aw-side-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--aw-muted);
}

.aw-new {
  border: 0;
  background: #fff;
  color: var(--aw-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.aw-proj {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aw-faint);
  padding: 10px 8px 4px;
}

.aw-thread {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--aw-soft);
  font-size: 12px;
}
.aw-thread.on { background: #e4e4e7; color: var(--aw-ink); font-weight: 600; }
.aw-ago { color: var(--aw-faint); font-size: 10.5px; font-variant-numeric: tabular-nums; }

.aw-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--aw-paper);
  position: relative;
}

.aw-bar {
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--aw-rule);
  font-family: var(--mono);
}

.aw-crumb { font-size: 11px; color: var(--aw-muted); }
.aw-sep { color: var(--aw-faint); font-size: 12px; }
.aw-name { font-size: 13px; font-weight: 700; font-family: var(--sans); }
.aw-pill {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--aw-muted);
  border: 1px solid var(--aw-rule);
  background: var(--aw-paper-2);
  border-radius: 6px;
  padding: 2px 6px;
}

.aw-chat {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-user {
  align-self: flex-end;
  max-width: 82%;
  background: var(--aw-paper-3);
  border-radius: 16px;
  padding: 7px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--aw-ink);
}
.aw-assist {
  align-self: stretch;
  max-width: 92%;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--aw-soft);
  padding: 2px 2px 0;
}

.aw-tools { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.aw-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--aw-soft);
  padding: 3px 0;
}
.aw-tool.run { color: var(--aw-warn); font-weight: 600; }
.aw-spin {
  width: 10px; height: 10px;
  border: 1.6px solid var(--aw-warn);
  border-right-color: transparent;
  border-radius: 50%;
  animation: aw-spin 0.8s linear infinite;
}
@keyframes aw-spin { to { transform: rotate(360deg); } }

.aw-tool-row {
  font-size: 12px;
  color: var(--aw-muted);
  padding: 1px 0 1px 18px;
}
.aw-tool-row b { font-family: var(--mono); font-weight: 500; color: var(--aw-soft); margin-right: 6px; }
.aw-tool-row em { font-style: normal; color: var(--aw-faint); }
.aw-tool-row.on { color: var(--aw-ink); }

.aw-card {
  border: 1px solid var(--aw-rule-soft);
  border-radius: 12px;
  background: var(--aw-paper);
  overflow: hidden;
}
.aw-card-h { padding: 8px 12px 6px; border-bottom: 1px solid var(--aw-rule-soft); }
.aw-eye { font-size: 10.5px; color: var(--aw-muted); margin-bottom: 2px; }
.aw-card-t { font-size: 13px; font-weight: 700; }
.aw-sub { font-size: 11px; color: var(--aw-muted); margin-top: 1px; }

.aw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px;
}
.aw-stats > div {
  background: var(--aw-paper-2);
  border: 1px solid var(--aw-rule-soft);
  border-radius: 10px;
  padding: 6px 8px 3px;
}
.aw-stats span { display: block; font-size: 10px; color: var(--aw-muted); }
.aw-stats strong { display: block; font-size: 16px; letter-spacing: -.02em; margin: 1px 0 2px; }
.aw-stats strong span { display: inline; font-size: 10px; font-weight: 500; color: var(--aw-faint); margin-left: 2px; }
.aw-stats svg { display: block; width: 100%; height: 16px; }

.aw-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--aw-rule);
  border-radius: 12px;
  padding: 8px 10px 8px 12px;
  background: var(--aw-paper-2);
}
.aw-confirm-btns { display: flex; gap: 6px; flex-shrink: 0; }
.aw-confirm-btns span {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}
.aw-confirm-btns .deny {
  color: var(--aw-soft);
  background: #fff;
  border: 1px solid var(--aw-rule);
}
.aw-confirm-btns .allow {
  color: #fff;
  background: var(--aw-accent);
}

.aw-steps { list-style: none; padding: 6px 12px 8px; }
.aw-steps li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
  color: var(--aw-soft);
  border-bottom: 1px solid var(--aw-rule-soft);
}
.aw-steps li:last-child { border-bottom: 0; }
.aw-steps li span { color: var(--aw-faint); font-size: 11px; }
.aw-steps li.done { color: var(--aw-success); }
.aw-steps li.active { color: var(--aw-accent-ink); font-weight: 600; }

.aw-comp {
  flex-shrink: 0;
  margin: 8px 12px 12px;
  border: 1px solid var(--aw-rule);
  border-radius: 12px;
  background: var(--aw-paper-2);
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 14px;
}
.aw-ph { flex: 1; color: var(--aw-faint); font-size: 12.5px; }
.aw-send {
  background: var(--aw-accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.aw-agents {
  width: 248px;
  flex-shrink: 0;
  background: var(--aw-paper-3);
  border-left: 1px solid var(--aw-rule-soft);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.aw-agents-h {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
}
.aw-live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 6px;
  font-size: 11px;
  color: var(--aw-muted);
}
.aw-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aw-success);
  animation: aw-pulse 1.6s ease-in-out infinite;
}
.aw-bots {
  display: flex;
  gap: 1px;
  padding: 0 8px 8px;
  overflow: hidden;
}
.aw-bot {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px 8px;
  border-radius: 10px;
}
.aw-bot.on { background: #e4e4e7; }
.aw-bot b { font-size: 10.5px; font-weight: 600; }
.aw-bot i { font-style: normal; font-size: 9.5px; color: var(--aw-accent-ink); }
.aw-bot i.ok { color: var(--aw-success); }
.aw-bot i.wait { color: var(--aw-faint); }
@keyframes aw-pulse { 50% { opacity: .45; } }

.aw-stage {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 16px 10px;
  position: relative;
}
.aw-halo {
  position: absolute;
  top: 6px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(79, 143, 214, .16);
  animation: aw-pulse 1.6s ease-in-out infinite;
}
.aw-stage svg { position: relative; z-index: 1; }
.aw-stage strong {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}
.aw-stage span {
  margin-top: 2px;
  font-size: 11px;
  color: var(--aw-muted);
}
.aw-stage p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--aw-muted);
}

.aw-dock {
  flex: 1;
  min-height: 0;
  border-top: 1px solid var(--aw-rule-soft);
  padding: 10px 14px 12px;
}
.aw-dock-h {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aw-faint);
  margin-bottom: 8px;
}
.aw-feed { display: flex; flex-direction: column; gap: 5px; }
.aw-feed span { font-size: 11.5px; color: var(--aw-muted); }
.aw-feed .now { color: var(--aw-soft); font-weight: 600; }
.aw-bar-indet {
  margin-top: 10px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--aw-accent), transparent);
  background-size: 40% 100%;
  animation: aw-indet 1.4s ease-in-out infinite;
}
@keyframes aw-indet { 0% { background-position: -40% 0; } 100% { background-position: 140% 0; } }

.otter-present {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 2vh;
  margin-left: -28%;
  z-index: 3;
}
.otter-present img {
  width: min(26vw, 320px);
  height: auto;
  animation: bob 7s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .aw-spin, .aw-bot.on i, .aw-bar-indet, .otter-present img { animation: none; }
}

/* ---------- 第三屏：口袋里的能力 ---------- */

.screen-pocket { justify-content: stretch; }

.pocket {
  --aw-paper: #ffffff;
  --aw-paper-2: #fafafa;
  --aw-ink: #1a1a1e;
  --aw-soft: #3f3f46;
  --aw-muted: #71717a;
  --aw-faint: #a1a1aa;
  --aw-rule: #e4e4e7;
  --aw-rule-soft: rgba(16, 18, 24, .08);
  --aw-accent: #20744a;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 88px 6vw 12px;
  position: relative;
  z-index: 2;
}

.pocket-copy {
  max-width: 36em;
  color: var(--foam);
  margin-bottom: 8px;
}
.pocket-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(3, 26, 43, .35);
}
.pocket-copy .lead { margin-bottom: 0; }

.pocket-stage {
  flex: 1;
  position: relative;
  min-height: 0;
}

.toss-win {
  position: absolute;
  z-index: 2;
  width: 340px;
  filter: none;
}
.aw-mini {
  height: 250px;
  width: 340px;
  font-size: 11.5px;
  flex-direction: column;
  background: var(--aw-paper);
}
.aw-mini .aw-bar { padding-left: 10px; gap: 6px; }
.aw-mini .aw-chat { padding: 8px 10px; gap: 6px; }
.aw-mini .aw-user { font-size: 11.5px; padding: 6px 10px; max-width: 90%; }
.aw-mini .aw-assist { font-size: 11.5px; }
.aw-mini .aw-stats { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 4px; padding: 6px; }
.aw-mini .aw-stats strong { font-size: 14px; }
.aw-mini .aw-confirm { padding: 6px 8px; }
.aw-mini .aw-confirm-btns span { padding: 4px 8px; font-size: 10.5px; }

.aw-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px 0;
}
.aw-tabs span {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 7px;
  color: var(--aw-muted);
}
.aw-tabs .on { background: var(--aw-paper-3); color: var(--aw-ink); }

.aw-search {
  margin: 8px 10px 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--aw-paper-2);
  border: 1px solid var(--aw-rule);
  color: var(--aw-faint);
  font-size: 11.5px;
}

.aw-mem { padding: 0 8px 8px; }
.aw-mem > div {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--aw-soft);
}
.aw-mem > div.on { background: var(--aw-paper-3); }
.aw-mem b { font-family: var(--mono); font-size: 10px; color: var(--aw-accent); }
.aw-mem p { margin: 0; }
.aw-mem time { color: var(--aw-faint); font-size: 10px; }

.aw-voice {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 12px;
  border-top: 1px solid var(--aw-rule-soft);
}
.aw-orb {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--aw-accent);
  display: grid; place-items: center;
  animation: aw-pulse 1.8s ease-in-out infinite;
}
.aw-orb i {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--aw-accent);
}
.aw-voice b { font-size: 11.5px; color: var(--aw-muted); }
.aw-hang {
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--aw-rule);
  border-radius: 8px;
  padding: 4px 10px;
  color: var(--aw-soft);
}

.tw-memory { left: 4%; top: 10%; animation: card-float-a 4.8s ease-in-out infinite alternate; }
.tw-ui { left: 36%; top: -2%; animation: card-float-b 5.2s ease-in-out infinite alternate; }
.tw-voice { right: 4%; top: 8%; left: auto; animation: card-float-c 4.4s ease-in-out infinite alternate; }

@keyframes card-float-a {
  from { transform: rotate(-8deg) translateY(0); }
  to { transform: rotate(-8deg) translateY(-10px); }
}
@keyframes card-float-b {
  from { transform: rotate(3deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-12px); }
}
@keyframes card-float-c {
  from { transform: rotate(7deg) translateY(0); }
  to { transform: rotate(7deg) translateY(-9px); }
}

.otter-toss {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(28vw, 300px);
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
}

/* ---------- 第四屏：更新日志 ---------- */

.screen-log { justify-content: center; }

.log-layout {
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 80px 5vw 36px 5vw;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 8px 32px;
  position: relative;
  z-index: 2;
}

.log-copy { color: var(--foam); max-width: 42em; }
.log-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(3, 26, 43, .35);
}
.log-copy .lead { margin-bottom: 28px; }

.log-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.log-list li {
  display: grid;
  grid-template-columns: 7.2em 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(232, 246, 255, .16);
}
.log-list time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--foam-dim);
  padding-top: 3px;
}
.log-list h3 {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  margin: 0 0 4px;
}
.log-list p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--foam-dim);
  margin: 0;
}
.log-list span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--foam-dim);
  padding-top: 4px;
  white-space: nowrap;
}

.otter-code {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.otter-code img {
  width: 100%;
  max-width: 620px;
  height: auto;
}

/* ---------- 第五屏：下载 ---------- */

.screen-dl { justify-content: center; }

.dl-layout {
  flex: 1;
  width: 100%;
  padding: 80px 6vw 36px 5vw;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 24px 40px;
  position: relative;
  z-index: 2;
}

.otter-bow {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.otter-bow img {
  width: min(46vw, 520px);
  height: auto;
}

.dl-copy { color: var(--foam); max-width: 34em; }
.dl-copy h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  text-shadow: 0 2px 24px rgba(3, 26, 43, .35);
}
.dl-copy .lead { margin-bottom: 28px; }

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.dl-cli-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--foam-dim);
  margin-bottom: 8px;
}
.dl-cli {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(232, 246, 255, .28);
  border-radius: 10px;
  background: rgba(2, 20, 35, .35);
  color: var(--foam);
  font-family: var(--mono);
  font-size: 13px;
  overflow-x: auto;
}

/* ---------- 右侧圆点导航 ---------- */

.dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .65);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}

.dots button.active {
  background: #fff;
  transform: scale(1.25);
}

/* ---------- 响应式 ---------- */

@media (max-width: 920px) {
  .nav-links { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 96px;
    text-align: center;
  }

  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-stage { align-self: center; padding-bottom: 4vh; }
  .otter { width: min(50vw, 300px); }
  .chip-2 { display: none; }
  .beach { width: 100%; top: 50%; right: 0; bottom: 0; }
  .dots { right: 14px; }
  .desk {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 76px 16px 24px;
    align-items: stretch;
    gap: 12px;
  }
  .desk-copy { text-align: center; }
  .desk-copy .lead { margin-left: auto; margin-right: auto; }
  .desk-copy h2 br { display: none; }
  .otter-present { display: none; }
  .app-window { height: 62vh; }
  .aw-side, .aw-agents { display: none; }
  .pocket { padding: 76px 5vw 8px; }
  .pocket-copy { text-align: center; margin: 0 auto 8px; }
  .toss-win { width: 260px; }
  .aw-mini { width: 260px; height: 200px; }
  .tw-memory { left: 0; top: 4%; }
  .tw-ui { left: 22%; top: -4%; }
  .tw-voice { right: 0; top: 6%; }
  .otter-toss { width: min(42vw, 220px); }
  .log-layout {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 76px 20px 24px;
  }
  .log-list li { grid-template-columns: 1fr; gap: 4px; }
  .otter-code img { width: min(48vw, 260px); }
  .dl-layout {
    grid-template-columns: 1fr;
    padding: 76px 20px 28px;
    text-align: center;
  }
  .otter-bow { order: -1; }
  .otter-bow img { width: min(52vw, 260px); }
  .dl-copy { margin: 0 auto; }
  .dl-actions { justify-content: center; }
}

/* ---------- 动效减弱 ---------- */

@media (prefers-reduced-motion: reduce) {
  .track, #water { transition: none; }
  .otter-float, .chip, .sun, .cloud, .palm-sway,
  .scroll-hint .bubble, .waves, .waterline, .ripple,
  .otter-present img, .toss-win, .aw-orb { animation: none; }
}
