/* ============================================================================
   iFolo 官网样式
   ----------------------------------------------------------------------------
   与 assets/app-panel.css 共存：那份是真机面板样式的原样抽取，这份是站点自身。
   类名刻意避开真机已用到的名字（唯一冲突项 .menu，站点不用它）。

   视觉基调与产品一致：扁平画布 + 白卡片 + iFolo 蓝，不用渐变、不用发光。
   ========================================================================= */

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

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--blue-200); color: var(--blue-900); }
[data-theme="dark"] ::selection { background: #2C4A6E; color: #EAF0F8; }

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

/* ---------- 顶部导航 ---------- */
/* ---------- 顶部悬浮胶囊导航 ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  z-index: 100;
  pointer-events: auto;
}
.nav__pill {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(218, 226, 236, 0.75);
  box-shadow: 0 10px 30px -6px rgba(15, 23, 42, 0.08), 0 2px 8px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(9, 101, 220, 0.05);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.28s ease, border-color 0.28s ease;
}
[data-theme="dark"] .nav__pill {
  background: rgba(24, 28, 36, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(92, 163, 255, 0.12);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-primary);
  transition: color var(--dur-hover);
}
.nav__brand:hover {
  color: var(--accent);
}
.nav__brand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.nav__links {
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 9999px;
  transition: background var(--dur-hover), color var(--dur-hover), transform var(--dur-hover);
}
.nav__links a:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}
.nav__links a.on {
  color: var(--accent);
  font-weight: 650;
  background: var(--accent-subtle);
}
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__right .btn--primary {
  border-radius: 9999px;
  padding: 0 16px;
  height: 34px;
}
.nav__right .btn--icon {
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.nav__right .btn--icon:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}
.nav__github svg {
  width: 16px;
  height: 16px;
}
.nav__toggle {
  display: none;
}
.nav__toggle-close {
  display: none;
}
.nav.is-open .nav__toggle-open {
  display: none;
}
.nav.is-open .nav__toggle-close {
  display: block;
}

/* 移动端浮动下拉菜单 */
.nav__dropdown {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(218, 226, 236, 0.85);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  animation: navDropIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .nav__dropdown {
  background: rgba(24, 28, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(92, 163, 255, 0.12);
}
.nav.is-open .nav__dropdown {
  display: block;
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__mobile-links a {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 10px;
  transition: background var(--dur-hover), color var(--dur-hover);
}
.nav__mobile-links a:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}
.nav__mobile-links a.on {
  color: var(--accent);
  font-weight: 650;
  background: var(--accent-subtle);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 11px;
  font-size: 14px; font-weight: 650; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-hover), box-shadow var(--dur-hover), background var(--dur-hover);
}
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(9, 101, 220, .75); }
.btn--primary:hover { background: var(--blue-800); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(9, 101, 220, .8); }
.btn--ghost { background: var(--surface); color: var(--text-primary); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-sunken); transform: translateY(-1px); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn--icon { width: 34px; height: 34px; padding: 0; }
.btn--icon svg { width: 15px; height: 15px; }

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-tertiary);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); flex: 0 0 auto; }

.h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.16; letter-spacing: -.03em; margin: 0; }
.h3 { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.022em; margin: 0; }
.h4 { font-size: 15.5px; font-weight: 650; line-height: 1.35; letter-spacing: -.012em; margin: 0; }
.lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.68; color: var(--text-secondary); margin: 0; }
.body { font-size: 14.5px; line-height: 1.72; color: var(--text-secondary); margin: 0; }
.small { font-size: 12.5px; line-height: 1.6; color: var(--text-tertiary); }
.mono { font-family: var(--font-mono); font-size: .92em; }

code {
  font-family: var(--font-mono); font-size: .9em;
  background: var(--surface-sunken); color: var(--text-primary);
  padding: 1.5px 5px; border-radius: 5px;
  border: 1px solid var(--border-subtle);
}
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 21px; height: 21px; padding: 0 5px;
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 650;
  color: var(--text-primary); background: var(--surface);
  border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 5px; line-height: 1;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-raised);
}
.card--flat { box-shadow: none; }

/* ---------- 首屏 ---------- */
.hero { padding: 94px 0 0; }
.hero__head { text-align: center; }
.hero h1 { margin: 18px auto 0; max-width: 17ch; font-size: clamp(30px, 3.8vw, 48px); }
.hero .lead { margin: 20px auto 0; max-width: 600px; }
.hero__cta { display: flex; gap: 11px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.hero__meta { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero__meta span { font-size: 12.5px; color: var(--text-tertiary); display: inline-flex; align-items: center; gap: 6px; }
.hero__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); flex: 0 0 auto; }

/* 一整块「屏幕」，面板停靠在它右边缘 */
.screen {
  position: relative;
  width: 100%;
  margin: 40px auto 0;
  height: clamp(520px, 50vw, 680px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 50px 100px -50px rgba(16, 24, 40, .5);
  background: linear-gradient(172deg, #7FC4EE 0%, #A6D6EE 46%, #CFE9F4 100%);
}
[data-theme="dark"] .screen { background: linear-gradient(172deg, #16233D 0%, #1B2A44 52%, #0F1728 100%); }
/* 壁纸：单场景，一层远山 + 一层光晕，不跨色系 */
.screen__wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 32% at 78% 12%, rgba(255, 249, 224, .85), transparent 62%),
    radial-gradient(70% 40% at 10% 112%, rgba(78, 154, 142, .85), transparent 60%),
    radial-gradient(104% 50% at 55% 132%, rgba(42, 96, 112, .9), transparent 64%);
}
[data-theme="dark"] .screen__wall {
  background:
    radial-gradient(38% 28% at 80% 12%, rgba(168, 196, 240, .28), transparent 62%),
    radial-gradient(70% 40% at 10% 112%, rgba(27, 42, 68, .9), transparent 60%),
    radial-gradient(104% 50% at 55% 132%, rgba(8, 13, 24, .95), transparent 64%);
}
/* 屏幕内菜单栏 */
.screen__menu {
  position: absolute; inset: 0 0 auto 0; height: 24px; z-index: 3;
  display: flex; align-items: center; gap: 9px; padding: 0 10px;
  font-size: 11px; font-weight: 550; color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}
[data-theme="dark"] .screen__menu { background: rgba(14, 18, 26, .4); border-bottom-color: rgba(255, 255, 255, .1); color: rgba(233, 237, 243, .9); }
.screen__menu .sp { flex: 1; }
/* 面板停靠在屏幕右侧 */
.screen__panel {
  position: absolute; top: 34px; right: 12px; bottom: 14px; z-index: 4;
  display: flex;
  width: min(442px, calc(100% - 24px));
  /* 默认完全藏在屏幕右缘外，进入视口后滑出 —— 复刻真机的 320ms 曲线 */
  transform: translateX(calc(100% + 24px));
  transition: transform 460ms cubic-bezier(.32, .72, 0, 1);
  will-change: transform;
}
.screen.is-in .screen__panel { transform: translateX(0); }
.screen.is-retracted .screen__panel { transform: translateX(calc(100% - 10px)); }

/* 收起时露出的把手 */
.screen__grip {
  position: absolute; right: 0; top: 50%; z-index: 6;
  width: 10px; height: 96px; border-radius: 6px 0 0 6px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(16, 24, 40, .07); border-right: none;
  box-shadow: -6px 0 16px -8px rgba(20, 22, 40, .34);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.screen__grip i { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.screen__grip i:first-child { background: var(--blue-500); }
.screen.is-retracted .screen__grip { opacity: 1; pointer-events: auto; }

/* 呼出前的边缘提示线：面板滑出后就消失 */
.screen__edge {
  position: absolute; right: 0; top: 50%; z-index: 5;
  width: 3px; height: 120px; border-radius: 3px 0 0 3px;
  transform: translateY(-50%);
  background: var(--blue-500);
  animation: edgePulse 2.6s ease-out infinite;
  transition: opacity 300ms var(--ease-out);
}
.screen.is-in .screen__edge { opacity: 0; }
@keyframes edgePulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 163, 255, .45) }
  70% { box-shadow: 0 0 0 12px rgba(92, 163, 255, 0) }
  100% { box-shadow: 0 0 0 0 rgba(92, 163, 255, 0) }
}
.screen__panel .ifp-shell {
  width: 100%; height: 100% !important;
  box-shadow: -20px 0 50px -22px rgba(20, 22, 40, .4), 0 20px 44px -24px rgba(20, 22, 40, .3);
}
/* ============================================================================
   左侧：功能轮播卡
   ----------------------------------------------------------------------------
   原来是一扇静态的代码窗，现在改成会自动轮播的能力介绍卡。
   保留 macOS 窗口外观（红绿灯 + 标题栏），让它仍然读作「桌面上的一扇窗」。
   ========================================================================= */
.tour {
  position: absolute; left: 3.2%; top: 50%; z-index: 3;
  width: min(420px, calc(100% - 490px));
  max-width: 420px;
  transform: translateY(-50%);
  border-radius: 12px; overflow: hidden;
  background: rgba(24, 28, 36, .9);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tour__bar {
  height: 27px; display: flex; align-items: center; gap: 6px; padding: 0 11px;
  background: rgba(40, 45, 55, .92); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.tour__bar i { width: 9px; height: 9px; border-radius: 50%; display: block; flex: 0 0 auto; }
.tour__bar .t {
  margin-left: 7px; font-size: 10.5px; color: #9AA5B4;
  font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 200ms var(--ease-out);
}
/* 幻灯片区：所有 slide 叠在一起做淡入淡出 */
.tour__stage { position: relative; height: 208px; }
.tour__slide {
  position: absolute; inset: 0; padding: 20px 20px 0;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(10px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  pointer-events: none;
}
.tour__slide.on { opacity: 1; transform: none; pointer-events: auto; }
.tour__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tour__ic {
  width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(92, 163, 255, .18); color: #8FBFFF;
}
.tour__ic svg { width: 15px; height: 15px; }
.tour__h {
  margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3;
  letter-spacing: -.02em; color: #F0F4FA;
}
.tour__p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.66; color: #9AA5B4; }
/* 每张 slide 的小视觉 */
.tour__viz { margin-top: auto; padding-bottom: 16px; min-height: 54px; display: flex; align-items: flex-end; }
.tour__viz .edge {
  position: relative; width: 100%; height: 34px; border-radius: 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.tour__viz .edge .l {
  position: absolute; right: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px 0 0 3px;
  background: #5CA3FF; animation: edgePulse 2.4s ease-out infinite;
}
.tour__viz .edge .p {
  position: absolute; right: 10px; top: 5px; bottom: 5px; width: 58px; border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  animation: edgeIn 2.4s cubic-bezier(.32,.72,0,1) infinite;
}
@keyframes edgeIn {
  0%, 22% { transform: translateX(64px); opacity: .2 }
  46%, 88% { transform: none; opacity: 1 }
  100% { transform: translateX(64px); opacity: .2 }
}
.tour__viz .st { display: flex; gap: 5px; flex-wrap: wrap; }
.tour__viz .st span {
  font-size: 9.5px; font-weight: 700; padding: 2.5px 8px; border-radius: 999px;
}
.tour__viz .path {
  width: 100%; font-family: var(--font-mono); font-size: 10.5px; color: #8FBFFF;
  background: rgba(92, 163, 255, .1); border: 1px solid rgba(92, 163, 255, .2);
  border-radius: 7px; padding: 8px 10px; word-break: break-all; line-height: 1.5;
}
.tour__viz .tools { display: flex; gap: 5px; flex-wrap: wrap; }
.tour__viz .tools span {
  font-family: var(--font-mono); font-size: 9.5px; color: #A4E08A;
  background: rgba(105, 207, 61, .12); border: 1px solid rgba(105, 207, 61, .22);
  border-radius: 5px; padding: 2.5px 7px;
}
.tour__viz .searchbox {
  width: 100%; height: 30px; border-radius: 8px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  font-size: 11px; color: #8B95A3; overflow: hidden;
}
.tour__viz .searchbox svg { width: 12px; height: 12px; flex: 0 0 auto; }
.tour__viz .searchbox .typed {
  color: #E9EDF3; white-space: nowrap; overflow: hidden;
  border-right: 1.5px solid #5CA3FF; padding-right: 1px;
  animation: typeCaret 1.1s steps(1) infinite;
}
@keyframes typeCaret { 0%, 50% { border-color: #5CA3FF } 50.01%, 100% { border-color: transparent } }

/* 底部：进度点 */
.tour__foot {
  display: flex; align-items: center; gap: 6px; padding: 0 20px 16px;
}
.tour__dot {
  width: 5px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .22);
  transition: width 260ms var(--ease-out), background 260ms var(--ease-out);
  cursor: pointer; border: none; padding: 0;
}
.tour__dot.on { width: 16px; background: #5CA3FF; }
.tour__pause {
  margin-left: auto; font-size: 9.5px; color: #6E7A8C; letter-spacing: .04em;
}

/* 屏幕左下的提示：这里就是「你的工作」 */
/* 提示做成半透明小卡 —— 壁纸左下的颜色不确定，白字直接放上去对比度不够 */
.screen__hint {
  position: absolute; left: 3.2%; bottom: 7%; z-index: 3;
  padding: 10px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px -16px rgba(10, 16, 26, .4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 11.5px; line-height: 1.6; color: var(--ink-600);
}
.screen__hint b { display: block; font-size: 13px; color: var(--ink-900); margin-bottom: 3px; font-weight: 650; }
[data-theme="dark"] .screen__hint { background: rgba(20, 26, 36, .8); border-color: rgba(255, 255, 255, .12); color: #A8B2C0; }
[data-theme="dark"] .screen__hint b { color: #E9EDF3; }

/* ---------- 区块 ---------- */
.sec { padding: 96px 0; }
.sec--tight { padding: 72px 0; }
.sec__head { max-width: 640px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head h2 { margin-top: 16px; }
.sec__head .lead { margin-top: 16px; }

/* ---------- 三段核心 ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.trio__item { padding: 28px 26px 30px; position: relative; overflow: hidden; }
.trio__no { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--text-tertiary); }
.trio__item h3 { margin: 14px 0 10px; }
.trio__item p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--text-secondary); }
.trio__tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.trio__tag--b { background: var(--accent-subtle); color: var(--accent); }
.trio__tag--o { background: var(--warn-soft); color: var(--warn); }
.trio__tag--g { background: var(--success-soft); color: var(--success); }
.trio__item::after { content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px; border-radius: 50%; opacity: .09; }
.trio__item:nth-child(1)::after { background: var(--blue-500); }
.trio__item:nth-child(2)::after { background: var(--orange-500); }
.trio__item:nth-child(3)::after { background: var(--green-500); }

/* ---------- 功能网格 ---------- */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.feat { padding: 26px 26px 28px; display: flex; gap: 16px; }
.feat__ic {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-subtle); color: var(--accent);
}
.feat__ic svg { width: 17px; height: 17px; }
.feat h3 { margin: 0 0 7px; }
.feat p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-secondary); }
.feat__meta { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.feat__meta span {
  font-size: 10.5px; font-weight: 650; padding: 2px 8px; border-radius: 5px;
  background: var(--surface-sunken); color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ---------- 快捷键 ---------- */
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin-top: 34px; }
.keys__item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--border-subtle); }
.keys__item .kb { display: flex; gap: 3px; flex: 0 0 auto; }
.keys__item .nm { font-size: 13px; color: var(--text-primary); font-weight: 550; }
.keys__item .ds { margin-left: auto; font-size: 12px; color: var(--text-tertiary); text-align: right; }

/* ---------- 功能详述行（左文右图，交替） ---------- */
.frow { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 64px; align-items: center; }
.frow + .frow { margin-top: 96px; }
.frow--flip .frow__txt { order: 2; }
.frow__txt { max-width: 440px; }
.frow__no { font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.frow__txt h2 { margin: 14px 0 14px; }
.frow__txt p { margin: 0; }
.frow__list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
/* 注意：li 不能用 flex —— 那样里面的 <b> 会变成独立弹性项，文字被打散成几段。
   项目符号改用绝对定位。 */
.frow__list li {
  position: relative; padding-left: 25px;
  font-size: 13.5px; line-height: 1.68; color: var(--text-secondary);
}
.frow__list li:before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px; border-radius: 5px;
  background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230965DC' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3.6 8.4l3 3 5.8-6.4'/%3E%3C/svg%3E") center/10px no-repeat;
}
.frow__list li b { color: var(--text-primary); font-weight: 650; }

/* 功能页里的面板容器 */
.panelbox {
  position: relative; border-radius: 16px; padding: 12px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
}
.panelbox .ifp-shell {
  width: 442px; max-width: 100%;
  box-shadow: 0 2px 4px rgba(16,24,40,.05), 0 24px 50px -26px rgba(16,24,40,.3);
}
.panelbox__cap { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--text-tertiary); }

/* 数据路径卡片 */
.pathcard { padding: 20px 22px; border-radius: 12px; background: var(--surface-sunken); border: 1px solid var(--border-subtle); }
.pathcard .p { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-primary); word-break: break-all; }
.pathcard .d { margin-top: 8px; font-size: 12px; color: var(--text-tertiary); }

/* ---------- 对比表 ---------- */
.cmp { margin-top: 40px; overflow: hidden; border-radius: 14px; border: 1px solid var(--border-subtle); background: var(--surface); }
.cmp table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.cmp thead th { font-size: 11.5px; font-weight: 700; color: var(--text-tertiary); background: var(--surface-sunken); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { font-weight: 600; color: var(--text-primary); }
.cmp .mine { background: var(--accent-subtle); }
.cmp .mine strong { color: var(--accent); }
.cmp .yes { color: var(--success); font-weight: 650; }
.cmp .no { color: var(--text-tertiary); }
.cmp .part { color: var(--warn); font-weight: 650; }
.cmp th.mine { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { padding: 96px 0 104px; }
.cta__card {
  padding: 60px 44px 64px; text-align: center; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-raised);
}
.cta__card h2 { margin: 0 auto; max-width: 18ch; }
.cta__card .lead { margin: 18px auto 0; max-width: 460px; }
.cta__row { display: flex; gap: 11px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cta__note { margin-top: 16px; font-size: 12.5px; color: var(--text-tertiary); }

/* ---------- 页脚 ---------- */
.foot {
  padding: 68px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}
.foot__brand-col {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--dur-hover);
}
.foot__brand:hover {
  color: var(--accent);
}
.foot__brand svg {
  width: 22px;
  height: 22px;
}
.foot__tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.foot__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
  font-weight: 550;
  color: var(--text-secondary);
  width: fit-content;
}
.foot__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(105, 207, 61, 0.22);
}
.foot__cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.foot__col h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .08em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.foot__col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--dur-hover);
}
.foot__col a:hover {
  color: var(--accent);
}
.foot__bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.foot__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.foot__copy a {
  color: inherit;
  transition: color var(--dur-hover);
}
.foot__copy a:hover {
  color: var(--text-primary);
  border-bottom: 1px dotted var(--text-secondary);
}
.foot__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot__social-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  transition: all var(--dur-hover);
}
.foot__social-btn:hover {
  color: var(--accent);
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.foot__social-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- 子页头 ---------- */
.pagehead { padding: 118px 0 8px; }
.pagehead h1 { margin-top: 18px; }
.pagehead .lead { margin-top: 18px; max-width: 660px; }

/* ---------- 更新日志 ---------- */
.log { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.log__item { padding: 26px 28px 28px; }
.log__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.log__ver { font-family: var(--font-mono); font-size: 14px; font-weight: 800; color: var(--accent); }
.log__date { font-size: 12.5px; color: var(--text-tertiary); }
.log__tag { margin-left: auto; font-size: 10.5px; font-weight: 750; padding: 2px 9px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.log__list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.log__list li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.68; color: var(--text-secondary); }
.log__list li:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); flex: 0 0 auto; margin-top: 9px; }
.log__list li b { color: var(--text-primary); font-weight: 650; }

/* ---------- 下载页 ---------- */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.dl__card { padding: 30px 30px 32px; display: flex; flex-direction: column; }
.dl__card.on { border-color: var(--accent-border); }
.dl__os { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.dl__os svg { width: 20px; height: 20px; }
.dl__ver { margin-top: 8px; font-size: 12.5px; color: var(--text-tertiary); font-family: var(--font-mono); }
.dl__req { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dl__req li { font-size: 12.5px; color: var(--text-secondary); display: flex; gap: 7px; }
.dl__req li:before { content: "·"; color: var(--text-tertiary); }
.dl__card .btn { margin-top: 22px; width: 100%; }
.dl__soon { margin-top: 22px; font-size: 12.5px; color: var(--text-tertiary); text-align: center; padding: 11px 0; border: 1px dashed var(--border); border-radius: 10px; }

/* ---------- 隐私页 ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose h3 { font-size: 15.5px; font-weight: 650; margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.78; color: var(--text-secondary); }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { font-size: 14.5px; line-height: 1.78; color: var(--text-secondary); margin-bottom: 6px; }
.prose strong { color: var(--text-primary); font-weight: 650; }
.prose .note {
  padding: 16px 18px; border-radius: 12px; background: var(--accent-subtle);
  border: 1px solid var(--accent-border); margin: 20px 0;
}
.prose .note p { margin: 0; color: var(--blue-900); font-size: 13.5px; }
[data-theme="dark"] .prose .note p { color: #CFE0F5; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero h1 { max-width: none; }
  .screen { height: clamp(480px, 58vw, 620px); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .keys { grid-template-columns: minmax(0, 1fr); }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .cmp { overflow-x: auto; }
  .cmp table { min-width: 680px; }
  .frow { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .frow--flip .frow__txt { order: 0; }
  .frow__txt { max-width: none; }
  .frow + .frow { margin-top: 64px; }
}
@media (max-width: 900px) {
  .tour { display: none; }
}
@media (max-width: 760px) {
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav__pill { height: 50px; padding: 0 8px 0 14px; gap: 8px; }
  .nav__brand { font-size: 14.5px; gap: 7px; }
  .nav__brand svg { width: 20px; height: 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
  .nav__right { gap: 6px; }
  .nav__right .btn--primary { padding: 0 12px; height: 32px; font-size: 12.5px; }
  .nav__right .btn--icon { width: 32px; height: 32px; }
  .nav__dropdown { margin-top: 6px; border-radius: 14px; }
  .hero { padding-top: 86px; }
  .sec { padding: 68px 0; }
  .cta { padding: 68px 0 76px; }
  .cta__card { padding: 44px 24px 48px; }
  .screen { height: 480px; margin-top: 30px; border-radius: 14px; }
  .screen__win { display: none; }
  .screen__hint { display: none; }
  .screen__panel { top: 30px; right: 8px; bottom: 8px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .foot { padding: 48px 0 32px; }
  .foot__top { flex-direction: column; gap: 36px; padding-bottom: 36px; }
  .foot__brand-col { max-width: none; }
  .foot__cols { gap: 36px 48px; width: 100%; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; }
}
