/* ==========================================================================
   AI 自媒体工作台：视频生成器 · 电影级 Liquid-Glass 两屏官网样式
   零境外 CDN 依赖，适配 Cloudflare 中国大陆直连秒开
   ========================================================================== */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --fg-90: rgba(255, 255, 255, 0.90);
  --fg-72: rgba(255, 255, 255, 0.74);
  --fg-50: rgba(255, 255, 255, 0.52);
  --warm: #e9b47c;
  --serif-en: "Instrument Serif", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --serif-cn: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #000000;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { margin: 0; background: #000000; color: #ffffff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

/* ==================== 精确 Liquid-Glass 液态玻璃规范 ==================== */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.50) 0%,
    rgba(255, 255, 255, 0.20) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.20) 80%,
    rgba(255, 255, 255, 0.50) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ==================== 顶部悬浮液态玻璃胶囊导航 ==================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.navbar > * { pointer-events: auto; }

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-logo:hover { transform: scale(1.06); }
.nav-logo span {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-pill {
  border-radius: 9999px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-link:hover, .nav-link.active { color: #ffffff; background: rgba(255, 255, 255, 0.10); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  padding: 8px 16px;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; }
.nav-spacer { width: 48px; height: 48px; flex-shrink: 0; pointer-events: none; }

/* ==================== 屏容器与 rAF FadingVideo ==================== */
.screen { position: relative; background: #000000; overflow: hidden; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 48px; }

.bg-video {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-video-hero {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bg-video-full { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 入场与 BlurText 动画 */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}
.reveal.in-view { opacity: 1; filter: blur(0px); transform: translateY(0); }

.blur-text { display: flex; flex-direction: column; align-items: center; }
.blur-line { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0.1em; }
.blur-token {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(36px);
}
.blur-text.in-view .blur-token {
  animation: blurWordIn 0.48s ease-out forwards;
  animation-delay: var(--tok-delay, 0ms);
}
@keyframes blurWordIn {
  0% { opacity: 0; filter: blur(10px); transform: translateY(36px); }
  50% { opacity: 0.55; filter: blur(4px); transform: translateY(-4px); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0); }
}

/* ==================== 第一幕：Hero ==================== */
.screen-hero { min-height: 100vh; display: flex; flex-direction: column; }
.hero-layer {
  position: relative;
  z-index: 10;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(192px, 22vh, 218px) 24px 26px;
  text-align: center;
}
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  padding: 4px 15px 4px 4px;
  margin-bottom: 18px;
}
.badge-new {
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  padding: 2px 11px;
  font-size: 11px;
  font-weight: 700;
}
.badge-text { font-size: 12.5px; color: var(--fg-90); }

.hero-title {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.78);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.btn-glass-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-glass-primary:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.btn-primary-size {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  padding: 2px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
}

.btn-play-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 4px;
  transition: opacity 0.18s ease;
}
.btn-play-demo:hover { opacity: 0.78; }
.play-circle {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.play-circle svg { transform: translateX(1px); }

.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-card {
  width: 224px;
  min-height: 112px;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-icon { color: #ffffff; opacity: 0.92; }
.stat-value {
  font-family: var(--serif-en);
  font-size: 32px;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.stat-value em { font-style: italic; font-weight: 400; font-size: 26px; }
.stat-label { margin-top: 6px; font-size: 12px; font-weight: 300; color: var(--fg-90); }

.hero-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.partners-chip {
  border-radius: 9999px;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-90);
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 40px;
}
.partners-row span {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(19px, 2vw, 25px);
  color: rgba(255, 255, 255, 0.94);
}

/* ==================== 第二幕：小学生也能看懂的图文教程 ==================== */
.screen-tutorial {
  min-height: 100vh;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tutorial-layer {
  position: relative;
  z-index: 10;
  padding-top: 96px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
}
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}
.tutorial-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tutorial-heading {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.12;
  color: #ffffff;
  align-items: flex-start;
}
.tutorial-heading .blur-line { justify-content: flex-start; }

.tutorial-right-head { max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tutorial-lead { margin: 0; font-size: 15px; font-weight: 300; color: var(--fg-90); line-height: 1.65; }

.btn-white-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s, opacity 0.16s;
}
.btn-white-pill:hover { transform: translateY(-1px); opacity: 0.9; }

.agent-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  border-radius: 9999px;
  padding: 6px;
  margin-bottom: 26px;
  align-self: flex-start;
}
.agent-tab {
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: var(--fg-90);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.agent-tab:hover { background: rgba(255, 255, 255, 0.10); color: #ffffff; }
.agent-tab.active { background: #ffffff; color: #000000; font-weight: 600; }

/* 3 张图文并茂的大号液态玻璃教程卡 */
.cap-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.cap-card {
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--warm);
}
.zoom-hint { font-size: 11px; color: var(--fg-50); }

.cap-img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: #0c0a09;
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 16 / 9.5;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cap-img-btn:hover { transform: scale(1.015); border-color: rgba(233, 180, 124, 0.72); }
.cap-img-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cap-bottom { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cap-bottom h3 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}
.cap-bottom p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg-90);
}

/* 首次开机口令 */
.starter-command-box {
  border-radius: 22px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.scb-left { flex: 1; min-width: 260px; }
.scb-label { font-family: var(--mono); font-size: 12px; color: var(--warm); margin-bottom: 6px; }
.scb-text { font-size: 16px; color: #ffffff; line-height: 1.6; }

/* 3 张日常玩法卡（无第 4 张同步风格，无页脚） */
.usage-block { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.usage-head { margin-bottom: 20px; }
.usage-tip { margin: 4px 0 0; font-size: 14px; font-weight: 300; color: var(--fg-90); }
.usage-tip code {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 2px 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: #ffffff;
}
.usage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.usage-card {
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.uc-no { font-family: var(--mono); font-size: 12px; color: var(--warm); margin-bottom: 8px; }
.usage-card h3 { font-family: var(--serif-cn); font-size: 20px; margin: 0 0 8px; color: #ffffff; }
.usage-card p { font-size: 14px; font-weight: 300; color: var(--fg-72); margin: 0 0 14px; line-height: 1.65; }
.uc-prompt {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg-90);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.btn-glass-xs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #ffffff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.16s;
}
.btn-glass-xs:hover { background: rgba(255, 255, 255, 0.12); }

/* ==================== 弹窗样式（交互演示 + 教程图放大灯箱） ==================== */
.glass-dialog {
  width: min(860px, 94vw);
  max-height: 92vh;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(28px);
  color: #ffffff;
  overflow: hidden;
}
.lightbox-dialog { width: min(1100px, 95vw); }
.glass-dialog::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); }
.dlg-shell { display: flex; flex-direction: column; max-height: 92vh; }
.dlg-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.dlg-crumb { font-size: 13px; color: var(--warm); font-weight: 600; }
.dlg-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.frame-switch { display: inline-flex; border-radius: 9999px; padding: 3px; gap: 2px; }
.stage-tab {
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: var(--fg-72);
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
}
.stage-tab.active { background: #ffffff; color: #000000; font-weight: 600; }
.dlg-close {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dlg-close:hover { background: rgba(255, 255, 255, 0.14); }

.lb-body { padding: 18px; background: #070606; overflow: auto; }
.lb-body img { width: 100%; height: auto; display: block; border-radius: 14px; }

.demo-dlg-body { padding: 24px; overflow: auto; }
.demo-pane { display: none; }
.demo-pane.active { display: block; }
.demo-dlg-caption { margin: 16px auto 0; max-width: 600px; text-align: center; font-size: 13.5px; color: var(--fg-72); line-height: 1.65; }
.demo-dlg-caption strong { color: #ffffff; }

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 12.4;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #141210;
  user-select: none;
}
.layer-live, .layer-alpha-mask, .overlay-motion { position: absolute; inset: 0; }
.studio-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 65% 26%, rgba(233, 180, 124, 0.28), transparent 46%),
    radial-gradient(circle at 30% 80%, rgba(92, 146, 255, 0.20), transparent 50%),
    linear-gradient(180deg, #24201c 0%, #151210 56%, #0c0a09 100%);
}
.studio-lamp { position: absolute; top: 0; right: 26%; width: 64px; height: 4px; background: var(--warm); box-shadow: 0 6px 32px 10px rgba(233, 180, 124, 0.35); }
.studio-bokeh { position: absolute; border-radius: 50%; filter: blur(10px); opacity: 0.35; }
.studio-bokeh.b1 { width: 54px; height: 54px; left: 16%; top: 46%; background: var(--warm); }
.studio-bokeh.b2 { width: 70px; height: 70px; right: 12%; top: 58%; background: #6488d8; }
.creator-silhouette { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 196px; height: 196px; }
.creator-head { width: 68px; height: 82px; border-radius: 50% 50% 44% 44%; margin: 0 auto 8px; background: linear-gradient(145deg, #4b3d33, #28211c); border: 1px solid rgba(255, 255, 255, 0.16); }
.creator-shoulders { width: 186px; height: 112px; margin: 0 auto; border-radius: 86px 86px 0 0; background: linear-gradient(160deg, #37312c, #1d1916); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.creator-mic { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); width: 10px; height: 20px; border-radius: 5px; background: #100e0d; border: 1px solid var(--warm); }
.layer-alpha-mask { overflow: hidden; border-right: 1.5px solid var(--warm); }
.alpha-checker { position: relative; width: 340px; height: 100%; background: repeating-conic-gradient(#262320 0% 25%, #171513 0% 50%) 0 0 / 16px 16px; }
.layer-tag { position: absolute; bottom: 40px; font-size: 10px; padding: 3px 8px; border-radius: 9999px; background: rgba(0, 0, 0, 0.82); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--fg-90); white-space: nowrap; }
.left-tag { left: 10px; }
.right-tag { right: 10px; }
.overlay-motion { pointer-events: none; padding: 12px 14px; display: flex; flex-direction: column; }
.safe-top-hint, .safe-bottom-hint { font-size: 10px; text-align: center; color: rgba(255, 255, 255, 0.45); border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 9999px; padding: 2px 6px; }
.safe-bottom-hint { margin-top: auto; }
.motion-badge-row { display: flex; gap: 8px; margin-top: 16px; }
.m-chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 9999px; }
.m-c1 { background: #ffffff; color: #000000; }
.m-c2 { background: rgba(0, 0, 0, 0.86); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4); }
.motion-card-float { margin-top: 12px; background: rgba(250, 246, 239, 0.96); color: #14110f; border-radius: 14px; padding: 14px; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45); }
.mc-head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.mc-dot { width: 8px; height: 8px; border-radius: 50%; background: #d96b38; }
.mc-title { font-size: 12px; font-weight: 700; }
.mc-bars { display: grid; gap: 8px; }
.mc-bar-row { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 8px; font-size: 11px; }
.mc-bar-row em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.mc-track { height: 10px; background: rgba(20, 17, 15, 0.1); border-radius: 9999px; overflow: hidden; }
.mc-fill { height: 100%; border-radius: 9999px; }
.fill-old { width: 92%; background: #8c8379; }
.fill-new { width: 18%; background: #d96b38; }
.compare-divider { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--warm); pointer-events: none; z-index: 5; }
.compare-handle { position: absolute; top: 56%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 9999px; background: #ffffff; color: #000000; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 10; margin: 0; }

.wide-frame { width: 100%; max-width: 680px; margin: 0 auto; aspect-ratio: 16 / 9.5; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; background: #f3ede2; position: relative; }
.desk-surface { position: relative; width: 100%; height: 100%; background: radial-gradient(circle at 25% 20%, #fffaf2, #e9dfd0); }
.desk-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 17, 15, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 17, 15, 0.06) 1px, transparent 1px); background-size: 28px 28px; }
.desk-card { position: absolute; background: #ffffff; border-radius: 14px; border: 1px solid rgba(20, 17, 15, 0.12); box-shadow: 0 14px 28px rgba(20, 17, 15, 0.14); color: #161311; width: 42%; }
.dc-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid rgba(20, 17, 15, 0.08); font-size: 11px; color: #6b635a; }
.dc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8cfc4; display: inline-block; }
.dc-bar span { margin-left: 4px; font-weight: 600; }
.dc-body { padding: 12px; }
.dc-line { height: 7px; background: #e8e1d7; border-radius: 9999px; margin-bottom: 7px; }
.dc-line.w80 { width: 82%; }
.dc-line.w60 { width: 58%; }
.dc-pill { display: inline-block; background: #161311; color: #efe7da; border-radius: 9999px; font-size: 10px; padding: 3px 10px; margin-top: 4px; }
.dc-style-tag { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.dc-tokens { display: flex; gap: 6px; }
.dc-tokens span { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.15); }
.dc-metric { font-family: var(--serif-en); font-size: 24px; font-weight: 700; color: #c75b2a; }
.dc-sub { font-size: 11px; color: #6b635a; }
.dc-1 { left: 6%; top: 12%; }
.dc-2 { left: 30%; top: 36%; }
.dc-3 { right: 6%; bottom: 10%; }

.swiss-frame { background: #f4efe6; color: #151210; }
.swiss-canvas { padding: 20px 18px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.swiss-header { border-bottom: 2px solid #151210; padding-bottom: 10px; }
.swiss-header span { display: block; font-size: 10px; letter-spacing: 0.18em; color: #7a7066; }
.swiss-header strong { font-family: var(--serif-cn); font-size: 22px; color: #151210; }
.swiss-tier { display: grid; grid-template-columns: 44px 1fr; border: 1px solid #151210; background: #fff; border-radius: 10px; overflow: hidden; }
.tier-badge { display: flex; align-items: center; justify-content: center; font-family: var(--serif-cn); font-size: 20px; font-weight: 700; color: #fff; }
.t-s .tier-badge { background: #c84228; }
.t-a .tier-badge { background: #d6852a; }
.t-b .tier-badge { background: #2c5b8c; }
.tier-cards { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.t-chip { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; background: #f2ece1; }
.swiss-stamp { margin-top: auto; align-self: flex-end; border: 2px solid #c84228; border-radius: 8px; color: #c84228; padding: 4px 12px; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; transform: rotate(-6deg); }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #ffffff;
  color: #000000;
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 120;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1100px) {
  .navbar { padding: 0 24px; }
  .wrap { padding: 0 24px; }
  .cap-cards-grid, .usage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .navbar { padding: 0 16px; }
  .nav-pill .nav-link { display: none; }
  .nav-spacer { display: none; }
  .hero-layer { padding: 104px 16px 26px; }
  .stat-card { width: 100%; max-width: 320px; min-height: 104px; }
  .partners-row { gap: 10px 22px; }
}
