/* ============================================================
   CXV 首页 · 深色品牌设计系统
   暖黑底 / 墨白字 / 陶土橙点缀 · Lovart 气质
   ============================================================ */

:root {
  /* —— 深色（默认）· 暖炭灰，非纯黑 —— */
  --page:      #14110F;
  --page-2:    #1A1613;
  --surface:   #211C19;
  --surface-2: #2A2421;
  --surface-3: #352E29;
  --ink:       #F4F2EE;
  --ink-2:     #ADA79E;
  --ink-3:     #797269;
  --line:      rgba(244,242,238,.09);
  --line-2:    rgba(244,242,238,.15);
  --on-glass:  rgba(244,242,238,.06);

  /* 点缀色（品牌陶土橙 #C87358，可被 Tweaks 覆盖） */
  --accent:      #C87358;
  --accent-2:    #DA8E72;
  --accent-soft: rgba(200,115,88,.18);
  --accent-ink:  #241610;

  /* 促销条（品牌橙，独立于点缀色） */
  --promo:     #C2693F;
  --promo-2:   #E08A5C;
  --promo-ink: #FFFFFF;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 8px 30px rgba(0,0,0,.35);
  --shadow-lg:  0 30px 80px rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.4);
  --glow:       0 0 0 1px rgba(244,242,238,.05), 0 40px 120px rgba(0,0,0,.6);

  --r-sm: 10px;  --r: 14px;  --r-lg: 22px;  --r-xl: 30px;  --r-pill: 999px;

  --font: "Inter", "MiSans", -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --maxw: 1680px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);
}

/* —— 浅色主题 —— */
:root[data-theme="light"] {
  --page:      #FBFAF8;
  --page-2:    #F4F2ED;
  --surface:   #FFFFFF;
  --surface-2: #F4F2ED;
  --surface-3: #ECE8E1;
  --ink:       #1A1612;
  --ink-2:     #5C564E;
  --ink-3:     #938C82;
  --line:      rgba(20,18,14,.10);
  --line-2:    rgba(20,18,14,.16);
  --on-glass:  rgba(20,18,14,.04);
  --accent-soft: rgba(200,115,88,.13);
  --accent-ink:  #241610;
  --shadow-sm:  0 1px 2px rgba(20,18,12,.05);
  --shadow-md:  0 10px 34px rgba(20,18,12,.08);
  --shadow-lg:  0 30px 70px rgba(20,18,12,.14), 0 8px 20px rgba(20,18,12,.08);
  --glow:       0 0 0 1px rgba(20,18,14,.06), 0 40px 110px rgba(20,18,12,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7;
       stroke-linecap: round; stroke-linejoin: round; display: block; }
.ico-sm { width: 15px; height: 15px; }
.mono { font-family: var(--mono); }

/* ============================================================
   促销条
   ============================================================ */
.promo {
  position: relative; z-index: 60;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; overflow: hidden;
}
.promo .spark { font-size: 14px; }
.promo b { font-weight: 700; }
.promo .promo-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  margin-left: 4px;
}
.promo-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
:root.promo-off .promo { display: none; }

/* ============================================================
   顶栏
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  background: color-mix(in srgb, var(--page) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 6px; }
.brand .mark {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: -.02em;
  box-shadow: 0 4px 14px var(--accent-soft);
}
.brand .name {
  font-family: "Poppins", var(--font);
  font-weight: 500; font-size: 20px; letter-spacing: 0;
  padding-left: 1px;
}
.wordmark { height: 30px; width: auto; display: block; color: var(--ink); overflow: visible;
  transition: color .4s var(--ease); }
.foot-brand .wordmark { height: 34px; }

/* —— A 形 logo + 悬停睁眼追视 —— */
.logo-mark { width: 37px; height: 37px; flex-shrink: 0; display: inline-block; }
.logo-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-mark .lp { fill: var(--ink); transition: fill .4s var(--ease); }
.logo-mark .eye-ball {
  fill: var(--accent); transform-box: fill-box; transform-origin: center;
  animation: eye-breathe 3.4s var(--ease) infinite;
}
.logo-mark .pupil { fill: #1B1F23; opacity: 0; transition: opacity .28s var(--ease); }
.logo-mark .glint { fill: #FFFFFF; opacity: 0; transition: opacity .28s var(--ease); }
/* 浅色模式：A 形为深色，给橙点更亮的橙 + 细浅环，避免小圆点被深色 A 吞掉 */
:root[data-theme="light"] .logo-mark .eye-ball {
  fill: #D9805E; stroke: var(--surface); stroke-width: 16; paint-order: stroke;
}
@keyframes eye-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
.brand:hover .logo-mark .pupil { opacity: 1; transition-delay: .08s; }
.brand:hover .logo-mark .glint { opacity: 1; transition-delay: .16s; }
.brand:hover .logo-mark .eye-ball { animation-play-state: paused; }
.foot-brand .logo-mark { width: 32px; height: 32px; }
@media (prefers-reduced-motion: reduce) { .logo-mark .eye-ball { animation: none; } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px;
  color: var(--ink-2); font-weight: 500;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--on-glass); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: var(--r-pill); font-weight: 400; font-size: 14px;
  padding: 0 20px; height: 42px; white-space: nowrap;
  transition: transform .14s var(--ease), background-color .25s var(--ease),
              box-shadow .3s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--ink); color: var(--page); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 26px var(--accent-soft); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 14px 36px var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--on-glass); border-color: var(--ink-3); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.nav-burger { display: none; }

/* ============================================================
   通用 section
   ============================================================ */
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-2);
  font-family: var(--mono);
}
.eyebrow.center { justify-content: center; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.16; font-weight: 600;
  letter-spacing: -.01em; margin: 18px 0 0; text-wrap: balance;
}
.section-head p {
  color: var(--ink-2); font-size: 17px; margin: 18px auto 0; max-width: 580px;
  text-wrap: pretty;
}
.u {
  position: relative; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 78px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 1100px; height: 760px; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 50% 40%, var(--accent-soft), transparent 70%);
  filter: blur(20px); opacity: .9;
  animation: glow-drift 16s ease-in-out infinite alternate;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
/* —— 格子随鼠标的橙色光晕 —— */
.hero-grid-hot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .5s var(--ease);
  background-image:
    radial-gradient(240px circle at var(--gx, 50%) var(--gy, 30%), color-mix(in srgb, var(--brand-glow, #C87358) 30%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--brand-glow, #C87358) 95%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand-glow, #C87358) 95%, transparent) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 30%), #000 30%, transparent 75%);
          mask-image: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 30%), #000 30%, transparent 75%);
}
.hero.hot .hero-grid-hot { opacity: 1; }
@keyframes glow-drift {
  from { transform: translateX(-54%) translateY(0); }
  to   { transform: translateX(-46%) translateY(36px); }
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding-bottom: 22px; }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.08; font-weight: 600;
  letter-spacing: -.015em; margin: 22px auto 0; max-width: 16em; text-wrap: balance;
  min-height: 2.16em;
}
.hero .sub {
  color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px);
  margin: 24px auto 0; max-width: none; white-space: nowrap; min-height: 1.6em;
}
.hero .sub .type-caret {
  display: inline-block; width: 2px; height: 1.05em; background: var(--accent);
  vertical-align: -0.15em; margin-left: 3px;
  animation: caret-blink 1.1s steps(1) infinite;
}
@media (max-width: 760px) {
  .hero .sub { white-space: normal; max-width: 540px; }
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 26px; color: var(--ink-3); font-size: 13px;
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.avatars { display: flex; }
.avatars span {
  width: 26px; height: 26px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--page); background: var(--surface-3);
  display: grid; place-items: center; font-size: 11px; color: var(--ink-2); font-weight: 600;
}
.avatars span:first-child { margin-left: 0; }

/* ——— 产品大图舞台 ——— */
.stage-wrap { position: relative; z-index: 2; margin-top: 50px; padding-bottom: 40px; }
.stage-bg {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: min(1480px, 96vw); height: 86%; z-index: 0; border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 20% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(60% 80% at 90% 20%, rgba(109,91,214,.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--page));
  filter: blur(6px); opacity: .9;
}
.device {
  position: relative; z-index: 2; width: min(1360px, 94vw); margin: 0 auto;
  border-radius: var(--r-xl); padding: 12px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  box-shadow: var(--glow);
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 8px 10px 12px; }
.device-bar .tl { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.device-bar .addr {
  margin-left: 10px; flex: 1; max-width: 280px; height: 22px; border-radius: var(--r-pill);
  background: var(--page-2); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 12px; gap: 7px;
  color: var(--ink-3); font-family: var(--mono); font-size: 11px;
}
.device-screen {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--page-2); border: 1px solid var(--line);
}
.device-screen image-slot { width: 100%; height: 720px; display: block; }

/* ============================================================
   首屏·CXV 创作台 mock（产品真实形态：浅色 UI）
   ============================================================ */
.studio {
  display: grid; grid-template-columns: 58px 1fr; height: 720px;
  background: #FAF9F7; color: #2A2620; text-align: left; position: relative;
}
.st-rail {
  border-right: 1px solid rgba(20,18,14,.07); background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0;
}
.st-rail .ri {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: #8A847B;
}
.st-rail .ri.on { background: #F1EEE9; color: #2A2620; }
.st-rail .ico { width: 17px; height: 17px; stroke-width: 1.6; }
.st-main { position: relative; overflow: hidden; padding: 18px 22px 0; }
.st-tabs { display: flex; align-items: center; gap: 6px; }
.st-tabs .lbl { font-size: 13px; color: #8A847B; margin-right: 8px; font-weight: 500; }
.st-tabs .tb {
  font-size: 12.5px; font-weight: 500; color: #6B655C; white-space: nowrap;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.st-tabs .tb.on { background: #211C19; color: #fff; font-weight: 600; }
.st-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; align-items: start; }
.st-card {
  position: relative; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(20,18,14,.08); box-shadow: 0 2px 10px rgba(20,18,12,.05);
}
.st-card image-slot { width: 100%; display: block; }
.st-card .ct {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  font-size: 11px; font-weight: 600; color: #fff; background: rgba(20,18,14,.55);
  padding: 3px 9px; border-radius: var(--r-pill); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.st-card .fav {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center; color: #D26A6A;
}
.st-card .fav .ico { width: 13px; height: 13px; }
/* 生成中骨架 */
.st-gen {
  position: relative; border-radius: 14px; overflow: hidden; height: 200px;
  border: 1px solid rgba(20,18,14,.08);
  background: linear-gradient(110deg, #EFECE6 35%, #F8F6F2 50%, #EFECE6 65%);
  background-size: 220% 100%;
  animation: st-shimmer 1.8s linear infinite;
  display: grid; place-items: center;
}
@keyframes st-shimmer { 0% { background-position: 130% 0; } 100% { background-position: -90% 0; } }
.st-gen .gtag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #6B655C; white-space: nowrap;
  background: rgba(255,255,255,.85); padding: 6px 13px; border-radius: var(--r-pill);
  border: 1px solid rgba(20,18,14,.07);
}
.st-gen .gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-sel 1.6s ease infinite; }
/* 底部生成输入条 */
.st-composer {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(640px, 88%); z-index: 5;
  background: #fff; border: 1px solid rgba(20,18,14,.1); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20,18,12,.16), 0 4px 14px rgba(20,18,12,.08);
  padding: 14px 14px 12px;
}
.st-composer .q { font-size: 13.5px; color: #2A2620; padding: 2px 4px 12px; }
.st-composer .q .caret { display: inline-block; width: 1.5px; height: 15px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: caret-blink 1.1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.st-composer .bar { display: flex; align-items: center; gap: 8px; }
.st-composer .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #4A453E;
  border: 1px solid rgba(20,18,14,.12); border-radius: var(--r-pill); padding: 6px 12px;
}
.st-composer .pill.dark { background: #211C19; color: #fff; border-color: #211C19; }
.st-composer .clip { color: #8A847B; display: grid; place-items: center; width: 30px; height: 30px; }
.st-composer .send {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: #18181B; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(24,24,27,.24);
}
.st-composer .send .ico { width: 15px; height: 15px; }
.bar .sp { flex: 1 1 0; min-width: 6px; }
.st-composer .pill.ghost { background: #fff; border-color: #E6E1D8; color: #4A453E; }
.st-composer .sc-credits { font-size: 11px; color: #A8A29A; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 2px; }
.st-composer .sc-refs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.st-composer .sc-refs:empty { display: none; }
.sc-ref { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.sc-ref img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid #E4E4E7; background: #F4F4F5; display: block; }
.sc-ref .x { position: absolute; right: -6px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #18181B; color: #fff; display: grid; place-items: center; }
.sc-ref .x svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.sc-ref.uploading::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: rgba(0,0,0,.42); }
.sc-ref.in { animation: scCardIn .32s var(--ease) both; }
@media (max-width: 760px) {
  .studio { height: 440px; grid-template-columns: 1fr; }
  .st-rail { display: none; }
  .st-cards { grid-template-columns: repeat(2, 1fr); }
  .st-cards .st-card:nth-child(n+4) { display: none; }
}
:root[data-theme="light"] .device-screen image-slot { height: 720px; }

/* 浮动标注 chips */
.chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-md);
  font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .mono { color: var(--ink-3); font-size: 11px; font-weight: 500; }
.chip .dotg { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chip.c1 { top: 64px; left: -34px; animation-delay: -1s; }
.chip.c2 { top: 150px; right: -42px; animation-delay: -3s; }
.chip.c3 { bottom: 70px; left: -28px; animation-delay: -2s; }
.chip.c4 { bottom: 130px; right: -30px; animation-delay: -4.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 选区角标装饰 */
.selbox {
  position: absolute; z-index: 4; border: 1.5px solid var(--accent);
  border-radius: 4px; pointer-events: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse-sel 3.4s var(--ease) infinite;
}
.selbox .h { position: absolute; width: 9px; height: 9px; background: var(--accent); border-radius: 2px; }
.selbox .h.tl { left: -5px; top: -5px; } .selbox .h.tr { right: -5px; top: -5px; }
.selbox .h.bl { left: -5px; bottom: -5px; } .selbox .h.br { right: -5px; bottom: -5px; }
@keyframes pulse-sel { 0%,100% { opacity: .9; } 50% { opacity: .45; } }

.logo-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-top: 56px;
}
.logo-strip .lbl { color: var(--ink-3); font-size: 13px; width: 100%; text-align: center; margin-bottom: 4px; }
.logo-strip .logo-item {
  color: var(--ink-2); font-weight: 700; font-size: 17px; letter-spacing: .02em;
  opacity: .6; transition: opacity .3s var(--ease);
  padding: 6px 16px;
}
.logo-strip .logo-item:hover { opacity: 1; }

/* ============================================================
   工作流程
   ============================================================ */
.flow { padding: 56px 0 40px; }
.flow-steps {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
.flow-line {
  position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}
.flow-line::after {
  content: ""; position: absolute; inset: 0; transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transition: transform 1.4s var(--ease);
}
.flow.in .flow-line::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: left; }
.step .num {
  width: 50px; height: 50px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--accent-2);
  font-family: var(--mono); font-weight: 700; font-size: 17px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 19px; font-weight: 600; margin: 22px 0 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; text-wrap: pretty; }

/* ============================================================
   核心能力 / 功能特性
   ============================================================ */
.features { padding: 44px 0 40px; }
.feat-grid {
  margin-top: 60px; display: grid; gap: 18px;
  grid-template-columns: repeat(6, 1fr);
}
.card {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2); margin-bottom: 20px;
}
.card .ic .ico { width: 22px; height: 22px; stroke-width: 1.7; }
.card h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0; text-wrap: pretty; }
.feat-grid .span-3 { grid-column: span 3; }
.feat-grid .span-2 { grid-column: span 2; }
.feat-grid .span-4 { grid-column: span 4; }
/* 大卡内含占位图 */
.card.feature-hero { display: flex; flex-direction: column; }
.card.feature-hero .ph { margin-top: 22px; flex: 1; min-height: 220px; }

/* 条纹占位图 */
.ph {
  position: relative; border-radius: var(--r); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 11px, var(--surface-3) 11px 22px);
  border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 160px;
}
.ph::after {
  content: attr(data-label); font-family: var(--mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: .04em;
  background: var(--page-2); padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}

/* ============================================================
   案例瀑布流
   ============================================================ */
.gallery { padding: 130px 0 40px; }
.masonry { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.masonry .tile { margin-bottom: 0; }
.tile {
  break-inside: avoid; margin-bottom: 18px; border-radius: var(--r-lg);
  overflow: hidden; position: relative; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: scale(1.025); box-shadow: var(--shadow-lg); z-index: 3; }
.tile .ph { border: none; border-radius: 0; }
.tile-img { width: 100%; height: auto; display: block; }
.tile-meta {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile:hover .tile-meta { opacity: 1; transform: none; }
.tile-meta .tag {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px);
}
.tile-meta .mono { font-size: 10px; color: rgba(255,255,255,.8); font-family: var(--mono); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5));
  transition: opacity .35s var(--ease);
}
.tile:hover::after { opacity: 1; }

/* ============================================================
   评价
   ============================================================ */
.quotes { padding: 130px 0 40px; }
.marquee { margin-top: 56px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote {
  width: 360px; flex-shrink: 0; padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.quote .stars { color: var(--accent-2); letter-spacing: 3px; font-size: 13px; }
.quote p { font-size: 15.5px; line-height: 1.65; margin: 14px 0 20px; color: var(--ink); text-wrap: pretty; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.quote .who .nm { font-weight: 600; font-size: 14px; }
.quote .who .rl { color: var(--ink-3); font-size: 12.5px; }

/* ============================================================
   定价
   ============================================================ */
.pricing { padding: 130px 0 40px; }
.price-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  border-radius: var(--r-lg); padding: 32px; background: var(--surface);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px var(--accent-soft); }
.plan .pname { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.plan .badge {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); letter-spacing: .02em;
}
.plan .price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 46px; font-weight: 700; letter-spacing: -.02em; }
.plan .price .per { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.plan .pdesc { color: var(--ink-2); font-size: 14px; margin: 0 0 22px; min-height: 42px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.plan li .ico { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; }

/* ============================================================
   底部 CTA
   ============================================================ */
.cta { padding: 120px 0; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: 80px 40px; text-align: center;
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
}
.cta-card .glow2 {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0%, var(--accent-soft), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .card-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(110% 110% at 50% 50%, #000 40%, transparent 95%);
          mask-image: radial-gradient(110% 110% at 50% 50%, #000 40%, transparent 95%);
}
.cta-card .card-grid-hot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .5s var(--ease);
  background-image:
    radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--brand-glow, #C87358) 30%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--brand-glow, #C87358) 95%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand-glow, #C87358) 95%, transparent) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), #000 30%, transparent 75%);
          mask-image: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), #000 30%, transparent 75%);
}
.cta-card.hot .card-grid-hot { opacity: 1; }
.cta-card h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.015em; margin: 16px 0 0; }
.cta-card p { color: var(--ink-2); font-size: 17px; margin: 18px auto 0; max-width: 480px; }
.cta-card .hero-cta { margin-top: 34px; }

/* ============================================================
   页脚
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand .name { font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.foot-brand p { color: var(--ink-2); font-size: 14px; margin: 14px 0 0; max-width: 280px; }
.foot-col h4 { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; margin: 0 0 16px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: color .25s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 13px;
}
.foot-bottom .socials { display: flex; gap: 8px; }
.foot-bottom .socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2);
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s;
}
.foot-bottom .socials a:hover { color: var(--ink); border-color: var(--ink-3); background: var(--on-glass); }

/* ============================================================
   人人可用 · 生成演示动画
   ============================================================ */
.demo-tags { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.flow-sub { white-space: nowrap; max-width: none !important; min-height: 1.6em; }
#flowTitle { min-height: 1.16em; }
#flowTitle .type-caret, .flow-sub .type-caret {
  display: inline-block; width: 2px; height: 1.05em; background: var(--accent);
  vertical-align: -0.15em; margin-left: 3px;
  animation: caret-blink 1.1s steps(1) infinite;
}
@media (max-width: 860px) { .flow-sub { white-space: normal; } }
.dtag {
  padding: 8px 18px; border-radius: var(--r-pill); font-size: 14px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink-2);
  transition: border-color .2s, color .2s, background-color .2s;
}
.dtag.has-demo { cursor: pointer; }
.dtag.has-demo:not(.on):hover { border-color: var(--accent); color: var(--accent-2); }
.dtag.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.demo {
  margin: 46px auto 0; max-width: 1240px;
  display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: stretch;
}
/* —— 入场：从上到下切入 + 画布闪黑 —— */
.demo .demo-composer, .demo .demo-canvas {
  clip-path: inset(-40% -40% 100% -40%); opacity: 0;
}
.demo.entered .demo-composer {
  animation: demo-wipe .7s var(--ease) both;
}
/* 画布：等提示词打完发送后才切入 */
.demo.canvas-in .demo-canvas {
  animation: demo-wipe .7s var(--ease) both;
}
@keyframes demo-wipe {
  from { clip-path: inset(-40% -40% 100% -40%); transform: translateY(-16px); opacity: 0; }
  to   { clip-path: inset(-40% -40% -40% -40%); transform: translateY(0);     opacity: 1; }
}
.demo-canvas::after {
  content: ""; position: absolute; inset: 0; z-index: 6;
  background: #0B0908; opacity: 0; pointer-events: none;
}
.demo.canvas-in .demo-canvas::after {
  animation: demo-flash .5s linear .65s both;
}
@keyframes demo-flash {
  0% { opacity: 0; } 25% { opacity: .9; } 55% { opacity: .15; } 70% { opacity: .5; } 100% { opacity: 0; }
}
.demo-composer {
  background: #FAF9F7; color: #2A2620; border-radius: 18px;
  border: 1px solid rgba(20,18,14,.08);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px 16px; display: flex; flex-direction: column; text-align: left;
  position: relative;
}
/* 原图大图预览 → 飞入附件角落 */
.dc-preview {
  position: absolute; left: 50%; top: 50%; z-index: 8;
  width: 168px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(20,18,12,.35), 0 4px 14px rgba(20,18,12,.15);
  opacity: 0; transform: translate(-50%, -50%) scale(.7);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-spring),
              left .55s var(--ease), top .55s var(--ease), width .55s var(--ease);
}
.dc-preview img { display: block; width: 100%; max-width: none; }
.dc-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dc-preview.fly { left: 60px; top: 40px; width: 34px; opacity: 0; transform: translate(-50%, -50%) scale(.9); }
.dc-attach {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: #F7F5F1; border: 1px solid rgba(20,18,14,.1); border-radius: 10px;
  padding: 5px 10px 5px 6px; margin-bottom: 12px;
  font-size: 12.5px; color: #4A453E;
  opacity: 0; transform: scale(.5) translateY(6px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-spring);
}
.dc-attach.in { opacity: 1; transform: scale(1) translateY(0); }
.dc-attach img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; max-width: none; }
.dc-attach i { font-style: normal; color: #A39C92; font-size: 13px; margin-left: 2px; }
.dc-text {
  flex: 1; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap;
  color: #2A2620; min-height: 200px;
}
.dc-text .type-caret { background: var(--accent); }
.dc-bar { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.dc-clip {
  color: #8A847B; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; transition: transform .2s var(--ease-spring), box-shadow .3s, color .25s;
}
.dc-clip.pulse { transform: scale(.78); box-shadow: 0 0 0 7px var(--accent-soft); color: var(--accent); }
.dc-clip .ico { width: 16px; height: 16px; }
.dc-pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 500; color: #4A453E;
  border: 1px solid rgba(20,18,14,.12); border-radius: var(--r-pill); padding: 6px 12px;
}
.dc-pill.dark { background: #211C19; color: #fff; border-color: #211C19; }
.dc-send {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: #1A1613; color: #fff; display: grid; place-items: center;
  transition: transform .2s var(--ease-spring), box-shadow .3s;
}
.dc-send .ico { width: 15px; height: 15px; }
.dc-send.pulse { transform: scale(.82); box-shadow: 0 0 0 8px rgba(26,22,19,.18); }
.demo-canvas {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #F2F0EC, #E6E3DD);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  min-height: 560px;
}
.demo-gen {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px;
  justify-items: center; opacity: 0; transition: opacity .4s var(--ease);
}
.demo-gen .gl { font-size: 13px; color: #6B655C; }
.demo-gen .gl b { font-weight: 600; color: #3A342C; }
.demo-gen .gbar { width: 130px; height: 3px; border-radius: 2px; background: rgba(20,18,14,.12); overflow: hidden; }
.demo-gen .gbar i { display: block; height: 100%; width: 0%; background: #3A342C; border-radius: 2px; }
.demo-canvas[data-state="gen"] .demo-gen { opacity: 1; }
.demo-result {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease);
}
.demo-canvas[data-state="done"] .demo-result { opacity: 1; transform: scale(1); }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .demo-canvas { min-height: 420px; max-width: 320px; margin: 0 auto; width: 100%; }
}

/* ============================================================
   左上角吊灯 · 长线灯：点击切换主题 / 拖拽拉长 / 拉断
   ============================================================ */
.lamp { position: fixed; left: 108px; top: 0; z-index: 70; width: 0; height: 0; transform: scale(.88); transform-origin: 0 0; }
.lamp-rotor {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform-origin: 0 0; will-change: transform;
}
/* 整根电线+灯在一张长图里：拉长 = 沿绳方向往下平移，露出更多电线 */
.lamp-slide { position: absolute; left: -108px; top: 0; width: 216px; will-change: transform; }
.lamp-slide.snap { transition: transform .55s var(--ease-spring); }
.lamp-img {
  display: block; width: 216px; max-width: none; margin-top: -1795px;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
  filter: brightness(1.6) drop-shadow(0 10px 24px rgba(0,0,0,.35));
  transition: filter .4s var(--ease);
}
:root[data-theme="light"] .lamp-img { filter: drop-shadow(0 12px 26px rgba(20,18,12,.25)) drop-shadow(0 0 18px rgba(244,196,120,.45)); }
/* 灯体抓手（只有灯头可抓，电线不挡点击） */
.lamp-grab {
  position: absolute; left: 50%; top: 72px; width: 88px; height: 178px;
  margin-left: -44px; cursor: grab; border-radius: 22px;
}
.lamp.dragging .lamp-grab { cursor: grabbing; }
.lamp-glow {
  position: absolute; top: 227px; left: 50%; transform: translateX(-50%);
  width: 156px; height: 156px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(244,196,120,.5), rgba(244,196,120,.12) 45%, transparent 70%);
  opacity: 0; transition: opacity .6s var(--ease);
}
:root[data-theme="light"] .lamp-glow { opacity: 1; }
/* 断口炸毛电线（断线时替换长图） */
.lamp-fray {
  display: none; position: absolute; left: -108px; top: -1279px; width: 216px; max-width: none;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
  filter: brightness(1.6);
}
:root[data-theme="light"] .lamp-fray { filter: none; }
.lamp.broken .lamp-slide { visibility: hidden; }
.lamp.broken .lamp-fray { display: block; }
.lamp.broken .lamp-tip { opacity: 0 !important; }
/* 断线后的自由灯（跟随鼠标） */
.lamp-free {
  position: fixed; left: 0; top: 0; width: 180px; z-index: 92;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
  filter: brightness(1.6) drop-shadow(0 14px 30px rgba(0,0,0,.4));
}
:root[data-theme="light"] .lamp-free { filter: drop-shadow(0 14px 30px rgba(20,18,12,.3)); }
.lamp-free.returning { transition: transform .65s var(--ease-spring); }
/* 拉断警告气泡 */
.lamp-warn {
  position: fixed; z-index: 96; pointer-events: none;
  display: inline-flex; align-items: center; white-space: nowrap;
  background: #B3402A; color: #FFF7F2;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 8px 14px; border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(179,64,42,.4);
  opacity: 0; transform: translateY(6px) scale(.92);
  transition: opacity .25s var(--ease), transform .3s var(--ease-spring);
}
.lamp-warn.show { opacity: 1; transform: translateY(0) scale(1); }
/* 悬停提示 */
.lamp-tip {
  position: absolute; left: 40px; top: 152px;
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--ink); color: var(--page);
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  padding: 7px 13px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(-6px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease-spring), background-color .4s, color .4s;
}
.lamp-tip::before {
  content: ""; position: absolute; left: -4px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px; background: var(--ink); border-radius: 2px;
  transition: background-color .4s;
}
.lamp-tip::after { content: "点我开灯 ✦"; }
:root[data-theme="light"] .lamp-tip::after { content: "点我关灯"; }
.lamp:hover .lamp-tip { opacity: 1; transform: translateX(0); }
.lamp.dragging .lamp-tip { opacity: 0; }
@media (max-width: 900px) { .lamp { display: none; } }

/* ============================================================
   注册 / 登录弹窗
   ============================================================ */
.auth { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.auth[hidden] { display: none; }
.auth-backdrop {
  position: absolute; inset: 0; background: rgba(8,6,5,.62);
  backdrop-filter: blur(6px);
  animation: auth-fade .3s var(--ease);
}
.auth-card {
  position: relative; z-index: 1; width: min(420px, calc(100vw - 40px));
  background: #F7F5F1; color: #1A1612; border-radius: 22px;
  padding: 40px 36px 30px; text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  animation: auth-pop .38s var(--ease-spring);
}
@keyframes auth-fade { from { opacity: 0; } }
@keyframes auth-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.auth-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border-radius: 50%; display: grid; place-items: center; color: #8A847B;
  transition: background-color .2s, color .2s;
}
.auth-close:hover { background: rgba(20,18,14,.07); color: #1A1612; }
.auth-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.auth-brand .logo-mark { width: 52px; height: 52px; }
.auth-brand .logo-mark .lp { fill: #1A1612; }
.auth-brand .nm { font-weight: 700; font-size: 17px; letter-spacing: .03em; font-family: "Poppins", var(--font); }
.auth-card h3 { font-size: 23px; font-weight: 400; margin: 0 0 8px; }
.auth-card h3 .wm-font { font-family: "Poppins", var(--font); font-weight: 600; letter-spacing: .03em; }
.auth-card .sub { color: #6B655C; font-size: 14px; margin: 0 0 26px; }
.auth-btn {
  width: 100%; height: 46px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(20,18,14,.12); font-size: 14.5px; font-weight: 600; color: #1A1612;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-bottom: 10px; transition: border-color .2s, box-shadow .2s, transform .12s;
}
.auth-btn:hover { border-color: rgba(20,18,14,.3); box-shadow: 0 4px 14px rgba(20,18,12,.07); }
.auth-btn:active { transform: scale(.98); }
.auth-div { display: flex; align-items: center; gap: 12px; color: #A39C92; font-size: 12px; margin: 16px 0; }
.auth-div::before, .auth-div::after { content: ""; flex: 1; height: 1px; background: rgba(20,18,14,.1); }
.auth-input {
  width: 100%; height: 46px; border-radius: 12px; border: 1px solid rgba(20,18,14,.14);
  background: #fff; padding: 0 16px; font: inherit; font-size: 14.5px; color: #1A1612;
  outline: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-input::placeholder { color: #A39C92; }
.auth-pw { position: relative; }
.auth-pw .auth-input { padding-right: 46px; }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; background: transparent; border: 0; color: #A39C92; cursor: pointer; padding: 0; }
.auth-eye svg { width: 19px; height: 19px; }
.auth-eye:hover { color: #6B655C; }
.auth-eye.on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 23px; height: 1.8px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.auth-submit {
  width: 100%; height: 46px; border-radius: 12px; margin-top: 10px;
  background: #1A1612; color: #fff; font-size: 14.5px; font-weight: 600;
  transition: transform .12s, box-shadow .25s;
}
.auth-submit:hover { box-shadow: 0 10px 26px rgba(20,18,12,.3); }
.auth-submit:active { transform: scale(.98); }
.auth-terms { color: #A39C92; font-size: 12px; margin: 18px 0 0; }
.auth-terms a { text-decoration: underline; text-underline-offset: 3px; color: #6B655C; }
body.auth-open { overflow: hidden; }
/* 登录/注册分段切换 */
.auth-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: #ECE8E0; border-radius: var(--r-pill); padding: 4px; margin-bottom: 22px;
}
.auth-tabs[hidden] { display: none; }
.auth-tabs button {
  height: 38px; border-radius: var(--r-pill); font-size: 14px; font-weight: 400;
  color: #8A847B; transition: background-color .25s, color .25s, box-shadow .25s;
}
.auth-tabs button.on { background: #fff; color: #1A1612; box-shadow: 0 2px 8px rgba(20,18,12,.08); }
.auth-pane { display: grid; gap: 10px; }
.auth-pane[hidden] { display: none; }
.auth-input[hidden], .auth-cap[hidden], .auth-sms[hidden] { display: none; }
.auth-pw { position: relative; }
.auth-pw .auth-input { padding-right: 46px; }
.auth-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: #A39C92; transition: color .2s;
}
.auth-eye:hover { color: #1A1612; }
.auth-cap { display: grid; grid-template-columns: 1fr 112px; gap: 10px; }
.auth-captcha {
  height: 46px; border-radius: 12px; border: 1px solid rgba(20,18,14,.14);
  background:
    linear-gradient(105deg, transparent 46%, rgba(20,18,14,.25) 46%, rgba(20,18,14,.25) 47.2%, transparent 47.2%),
    linear-gradient(75deg, transparent 62%, rgba(20,18,14,.18) 62%, rgba(20,18,14,.18) 63.2%, transparent 63.2%),
    #fff;
  display: grid; place-items: center; cursor: pointer; user-select: none;
  font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700;
  letter-spacing: .28em; color: #3A342C; font-style: italic; text-indent: .28em;
}
.auth-meta { display: flex; justify-content: flex-end; margin: -2px 0 0; }
.auth-meta[hidden] { display: none; }
.auth-meta button { font-size: 13px; color: #6B655C; cursor: pointer; }
.auth-meta button:hover { color: #1A1612; text-decoration: underline; text-underline-offset: 3px; }
.auth-switch { color: #A39C92; font-size: 13px; margin: 18px 0 0; }
.auth-switch a { color: #1A1612; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* —— 真实登录弹窗：手机号 + 短信验证码 —— */
.auth-capimg {
  height: 46px; border-radius: 12px; border: 1px solid rgba(20,18,14,.14);
  background: #fff; display: grid; place-items: center; cursor: pointer;
  overflow: hidden; user-select: none; font-size: 12px; color: #8A847B;
}
.auth-capimg svg { width: 100%; height: 100%; display: block; }
.auth-sms { display: grid; grid-template-columns: 1fr 118px; gap: 10px; }
.auth-getcode {
  height: 46px; border-radius: 12px; border: 1px solid var(--accent);
  background: transparent; color: var(--accent); font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background-color .2s, opacity .2s;
}
.auth-getcode:hover:not(:disabled) { background: var(--accent-soft); }
.auth-getcode:disabled { opacity: .55; cursor: not-allowed; border-color: rgba(20,18,14,.14); color: #8A847B; }
.auth-err { color: #C0392B; font-size: 13px; margin: 2px 0 0; text-align: left; }
.auth-err[hidden] { display: none; }
.auth-modeswitch { margin: 14px 0 0; text-align: center; }
.auth-modeswitch a { font-size: 13px; color: var(--accent); cursor: pointer; }
.auth-modeswitch a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 弹窗副标题：轻量、不加粗、作简单提示 */
#authModal .sub { font-weight: 400; color: #938C82; font-size: 13px; margin: 2px 0 20px; }

/* ============================================================
   定价页
   ============================================================ */
.pp-hero { padding: 90px 0 26px; text-align: center; }
.pp-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -.01em; margin: 14px 0 0; }
.pp-hero p { color: var(--ink-2); font-size: 17px; margin: 16px auto 0; max-width: 520px; }
.bill-toggle {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 30px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px;
}
.bill-toggle button {
  padding: 8px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; display: inline-flex; align-items: center;
  transition: background-color .25s, color .25s;
}
.bill-toggle button.on { background: var(--ink); color: var(--page); }
.bill-toggle .save {
  font-size: 11px; font-weight: 700; color: var(--accent-2);
  background: var(--accent-soft); padding: 2px 8px; border-radius: var(--r-pill); margin-left: 6px;
}
.pp-plans { padding: 34px 0 20px; }
.pp-note { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 22px; }
/* FAQ */
.faq { padding: 110px 0 30px; }
.faq-list { max-width: 720px; margin: 50px auto 0; display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-q .ico { flex-shrink: 0; color: var(--ink-3); transition: transform .35s var(--ease); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); color: var(--accent-2); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq-a p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; margin: 0; padding: 0 4px 22px; max-width: 640px; }

/* ============================================================
   滚动渐显
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.reveal.d6 { transition-delay: .48s; }
.reveal.d7 { transition-delay: .56s; }
.reveal.d8 { transition-delay: .64s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .chip, .hero-glow, .promo-shimmer, .marquee-track { animation: none !important; }
  /* 预览开关 ?motion=1：在「减弱动态」下也恢复滚动渐入 */
  html.cxv-force-motion .reveal { opacity: 0 !important; transform: translateY(26px) !important; transition: opacity .8s var(--ease), transform .8s var(--ease) !important; }
  html.cxv-force-motion .reveal.in { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-grid .span-3 { grid-column: span 4; }
  .feat-grid .span-2 { grid-column: span 2; }
  .feat-grid .span-4 { grid-column: span 4; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-line { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid .span-3, .feat-grid .span-2, .feat-grid .span-4 { grid-column: span 2; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chip { display: none; }
  .device-screen image-slot { height: 380px !important; }
}

/* ============================================================
   Tweaks 面板 · 深浅配色跟随主题（浅色用组件默认）
   ============================================================ */
:root[data-theme="dark"] .twk-panel {
  background: rgba(42,36,33,.86); color: #EDE9E2;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 12px 40px rgba(0,0,0,.5);
}
:root[data-theme="dark"] .twk-x { color: rgba(237,233,226,.55); }
:root[data-theme="dark"] .twk-x:hover { background: rgba(255,255,255,.08); color: #EDE9E2; }
:root[data-theme="dark"] .twk-lbl { color: rgba(237,233,226,.75); }
:root[data-theme="dark"] .twk-val { color: rgba(237,233,226,.5); }
:root[data-theme="dark"] .twk-sect { color: rgba(237,233,226,.45); }
:root[data-theme="dark"] .twk-field { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #EDE9E2; }
:root[data-theme="dark"] .twk-seg { background: rgba(255,255,255,.08); }
:root[data-theme="dark"] .twk-seg-thumb { background: #F4F1EC; }
:root[data-theme="dark"] .twk-seg button[aria-checked="true"] { color: #1A1612; }
:root[data-theme="dark"] .twk-slider { background: rgba(255,255,255,.16); }
:root[data-theme="dark"] .twk-toggle { background: rgba(255,255,255,.2); }
:root[data-theme="dark"] .twk-toggle[data-on="1"] { background: #34C759; }
:root[data-theme="dark"] .twk-num { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
:root[data-theme="dark"] .twk-num-lbl { color: rgba(237,233,226,.6); }
:root[data-theme="dark"] .twk-num-unit { color: rgba(237,233,226,.45); }

/* ============================================================
   拉断赔偿卡 + 客服二维码弹层
   ============================================================ */
.lamp-repair {
  position: fixed; left: 36px; top: 200px; z-index: 97;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 12px 12px 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease-spring);
}
.lamp-repair.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lamp-repair .lr-btn {
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: transform .2s var(--ease-spring), filter .2s;
}
.lamp-repair .lr-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lamp-repair .lr-x {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-3); font-size: 15px; line-height: 1;
}
.lamp-repair .lr-x:hover { background: var(--accent-soft); color: var(--ink); }
.lamp-qr { position: fixed; inset: 0; z-index: 130; display: none; }
.lamp-qr.show { display: grid; place-items: center; }
.lq-backdrop {
  position: absolute; inset: 0; background: rgba(8,6,5,.62);
  backdrop-filter: blur(6px);
  animation: auth-fade .3s var(--ease);
}
.lq-card {
  position: relative; z-index: 1;
  background: #F7F5F1; color: #1A1612; border-radius: 22px;
  padding: 36px 44px 26px; text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  animation: auth-pop .38s var(--ease-spring);
}
.lq-card h4 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.lq-card p { margin: 0 0 18px; color: #6B655C; font-size: 13.5px; }
.lq-card img {
  width: 188px; height: 188px; display: block; margin: 0 auto 12px;
  border-radius: 14px; border: 1px solid rgba(20,18,14,.08); background: #fff;
}
.lq-card small { color: #A39C92; font-size: 11.5px; }
.lq-x {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px;
  border-radius: 50%; display: grid; place-items: center;
  color: #8A847B; font-size: 16px; line-height: 1;
}
.lq-x:hover { background: rgba(20,18,14,.07); color: #1A1612; }

/* ============================================================
   功能特性 · Lovart 式编辑部排版（交替行）
   ============================================================ */
.feat-rows { margin-top: 70px; display: flex; flex-direction: column; gap: 96px; }
.feat-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; width: 100%; max-width: 1360px; margin-left: auto; margin-right: auto; }
.feat-row.flip { grid-template-columns: 7fr 5fr; }
.feat-row.flip .feat-copy { order: 2; }
.feat-row.flip .feat-visual { order: 1; }
/* 文案在左的行（从无到有）：文字块靠向视觉区，与 flip 行（模特试穿）的图文间距一致 */
.feat-row:not(.flip) .feat-copy { justify-self: end; }
.feat-num { display: block; font-size: 13px; color: var(--accent-2); letter-spacing: .12em; margin-bottom: 14px; }
.feat-copy h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.01em; margin: 0 0 14px; }
.feat-copy p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; margin: 0 0 22px; max-width: 26em; text-wrap: pretty; }
.feat-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 600; font-size: 15px; }
.feat-link span { transition: transform .25s var(--ease); display: inline-block; }
.feat-link:hover span { transform: translateX(4px); }
.feat-hint { color: var(--ink-3); font-size: 13.5px; }
.feat-rows image-slot { width: 100%; }
/* 同款复刻 · 文案在上 + 全宽大演示 */
.feat-flow { display: flex; flex-direction: column; gap: 36px; }
.feat-flow-head { max-width: none; text-align: center; }
.feat-flow-head p { max-width: none; white-space: nowrap; margin-left: auto; margin-right: auto; }
.feat-flow-head .feat-link { justify-content: center; }
.fv-flow { width: min(1360px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: #FAF9F7; }
.fv-flow iframe { width: 100%; height: 100%; border: 0; display: block; }
/* 模特一键试穿 · Lovart 式拼贴：模特居中放大 + 单品环绕四周 + 对话框，闪光后出上身图 */
.fv-multi { position: relative; aspect-ratio: 1 / 1.04; overflow: visible; }
.fv-multi img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 模特 hero（居中、放大、摆正；原图 / 成图 叠放交叉淡入） */
.mm-hero {
  position: absolute; left: 50%; top: 1%; bottom: 1%; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden; z-index: 2;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  transform: translateX(-50%) scale(.95); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.fv-multi.is-live .mm-hero { transform: translateX(-50%) scale(1); opacity: 1; }
.mm-hero .mm-base { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.mm-hero .mm-result {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.1);
  transition: opacity .55s var(--ease), transform .9s var(--ease);
}
.mm-hero.revealed .mm-base { opacity: 0; }
.mm-hero.revealed .mm-result { opacity: 1; transform: scale(1); }
.mm-badge {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5;
  background: rgba(16,13,11,.7); color: #F2EFE9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill);
  transition: background-color .4s var(--ease), transform .4s var(--ease-spring);
}
.mm-hero.revealed .mm-badge { background: var(--accent); color: #fff; transform: translateX(-50%) scale(1.06); }

/* 闪光 / 发光 / 扫光 —— 上身成图闪现 */
.mm-flash {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 46%, #fff 0%, rgba(255,255,255,.9) 30%, rgba(218,142,114,.35) 66%, transparent 100%);
}
.mm-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.8) 50%, transparent 58%);
  transform: translateX(-120%);
}
.mm-hero.flash .mm-flash { animation: mm-flash .95s var(--ease); }
.mm-hero.flash::after { animation: mm-sweep .85s var(--ease) .1s; }
.mm-hero.flash { animation: mm-glow 1s var(--ease); }
@keyframes mm-flash { 0% { opacity: 0; } 16% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mm-sweep { 0% { opacity: 0; transform: translateX(-120%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(120%); } }
@keyframes mm-glow {
  0%, 100% { box-shadow: var(--shadow-lg); }
  28% { box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.6), 0 0 55px 8px color-mix(in srgb, var(--accent) 55%, transparent); }
}

/* 浮动单品卡（白底平铺图，环绕四周） */
.mm-float {
  position: absolute; margin: 0; background: #fff;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-md);
  opacity: 0; transform: rotate(var(--rot)) translateY(22px) scale(.8);
  transition: transform .6s var(--ease-spring), opacity .5s var(--ease);
}
.mm-float img { object-fit: contain; background: #fff; }
.mm-float.in { opacity: 1; transform: rotate(var(--rot)) translateY(0) scale(1); }
.mm-float.absorb {
  opacity: 0; transform: rotate(var(--rot)) translate(var(--ax,-50%), var(--ay,20%)) scale(.3);
  transition: transform .55s var(--ease), opacity .5s var(--ease);
}
.mm-f1 { --rot: -7deg; left: -1%;  top: -2%;   width: 25%; aspect-ratio: 3/4;     z-index: 4; }
.mm-f2 { --rot: 7deg;  right: -1%; top: -1%;   width: 24%; aspect-ratio: 1/0.92;  z-index: 6; }
.mm-f3 { --rot: 6deg;  left: -1%;  bottom: 3%; width: 24%; aspect-ratio: 3/4;     z-index: 5; }
.mm-float figcaption {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  background: rgba(16,13,11,.82); color: #F2EFE9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill);
}

/* 对话框（右下角） */
.mm-chat {
  position: absolute; right: -1%; bottom: 4%; width: 46%; z-index: 7;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,13,11,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(244,242,238,.13); border-radius: 16px;
  padding: 12px 13px 12px 15px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px);
  transition: transform .6s var(--ease) .2s, opacity .6s var(--ease) .2s;
}
.fv-multi.is-live .mm-chat { opacity: 1; transform: translateY(0); }
.mm-chat-text { margin: 0; flex: 1; font-size: 13.5px; line-height: 1.5; color: #F2EFE9; min-height: 3em; }
.mm-caret { display: inline-block; width: 2px; height: 1em; vertical-align: -2px; margin-left: 1px; background: var(--accent-2); animation: mm-blink 1s steps(1) infinite; }
@keyframes mm-blink { 50% { opacity: 0; } }
.mm-send {
  flex-shrink: 0; width: 34px; height: 34px; border: 1px solid rgba(244,242,238,.22); border-radius: 50%; cursor: pointer;
  background: #14110F; color: #fff; display: grid; place-items: center;
  transition: transform .2s var(--ease-spring), box-shadow .3s;
}
.mm-send .ico { width: 17px; height: 17px; }
.mm-send.pulse { transform: scale(.84); box-shadow: 0 0 0 8px rgba(244,242,238,.12); }
.fv-edit { position: relative; }
.fv-edit image-slot { display: block; height: 420px; border-radius: 18px; overflow: hidden; }
.fv-canvas-demo { position: relative; height: 560px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #FCEFF2, #F6F1EC); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.fcd-head { display: flex; align-items: center; gap: 7px; padding: 10px 14px; font-size: 12px; font-weight: 600; color: #2A2620; background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(20,18,14,.06); }
.fcd-head .fcd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.fcd-head .fcd-st { margin-left: auto; font-size: 10px; font-weight: 500; color: #8A847B; background: #F1EEE9; padding: 2px 9px; border-radius: var(--r-pill); }
.fcd-grid { flex: 1; overflow: hidden; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; align-content: flex-start; }
.fcd-item { position: relative; width: calc((100% - 24px) / 4); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 9px rgba(20,18,12,.12); opacity: 0; transform: scale(.9); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.fcd-item.in { opacity: 1; transform: none; }
.fcd-item img, .fcd-item video { width: 100%; display: block; }
.fcd-item.is-load { aspect-ratio: 3 / 4; background: linear-gradient(110deg, #ECE8E1 35%, #F6F3EE 50%, #ECE8E1 65%); background-size: 220% 100%; animation: st-shimmer 1.8s linear infinite; }
.fcd-vbadge { position: absolute; left: 5px; top: 5px; font-size: 9px; line-height: 1; background: rgba(0,0,0,.55); color: #fff; padding: 3px 6px; border-radius: 7px; }
.fv-dot {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 500; padding: 6px 12px 6px 8px;
  border-radius: var(--r-pill); box-shadow: var(--shadow-md);
}
.fv-dot i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .fv-dot i { animation: fv-pulse 2.2s var(--ease) infinite; }
  .fv-dot:nth-child(3) i { animation-delay: .7s; }
  .fv-dot:nth-child(4) i { animation-delay: 1.4s; }
}
@keyframes fv-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
  50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 10%, transparent); }
}
.fv-brand { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 28px; }
.fvb-palette { display: flex; gap: 10px; margin-bottom: 22px; }
.fvb-chip {
  flex: 1; height: 52px; border-radius: 12px; cursor: pointer; position: relative;
  border: 2px solid transparent;
  transition: transform .2s var(--ease-spring), border-color .2s;
}
.fvb-chip:hover { transform: translateY(-3px); }
.fvb-chip.on { border-color: var(--ink); }
.fvb-chip small {
  position: absolute; left: 8px; bottom: 6px; font-size: 10px; letter-spacing: .04em;
  color: rgba(255,255,255,.85); font-family: var(--mono);
}
.fvb-thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.fvb-thumb {
  position: relative; height: 150px; border-radius: 12px; overflow: hidden;
  background: var(--fvb-bg, #2E2620); padding: 14px;
  transition: background-color .5s var(--ease);
}
.fvb-thumb b { display: block; width: 56%; height: 12px; border-radius: 4px; background: var(--fvb-a, #C87358); transition: background-color .5s; }
.fvb-thumb u { display: block; width: 80%; height: 7px; border-radius: 4px; margin-top: 10px; background: var(--fvb-line, rgba(255,255,255,.25)); transition: background-color .5s; }
.fvb-thumb s { display: block; width: 38%; height: 22px; border-radius: 999px; margin-top: 26px; background: var(--fvb-a, #C87358); transition: background-color .5s; }
.fvb-thumb em { position: absolute; right: 10px; bottom: 8px; font-style: normal; font-size: 11px; color: rgba(255,255,255,.55); }
.feat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) {
  .feat-rows { gap: 64px; }
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .feat-row.flip .feat-copy { order: 1; }
  .feat-row.flip .feat-visual { order: 2; }
  .fv-multi { aspect-ratio: 1 / 1.08; }
  .mm-chat-text { font-size: 12.5px; }
  .fv-edit image-slot { height: 300px; }
  .feat-pair { grid-template-columns: 1fr; }
}

/* ============================================================
   首屏 Hero · 「真实操作模拟」案例动画（showcase.js 驱动）
   ============================================================ */
.studio { position: relative; }
.sc-view { display: none; }
.sc-view.is-active { display: block; }

/* —— 作品流空状态 —— */
.sc-empty {
  position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%);
  text-align: center; pointer-events: none; z-index: 2;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.sc-empty.gone { opacity: 0; transform: translateY(-58%); }
.sc-empty-ic { display: grid; place-items: center; margin: 0 auto 14px; }
.sc-empty-ic svg { width: 42px; height: 42px; fill: none; stroke: #C9C2B8; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.sc-empty-t { font-size: 21px; font-weight: 700; color: #2A2620; letter-spacing: -.01em; }
.sc-empty-t b { color: var(--accent); font-weight: 700; }
.sc-empty-s { font-size: 13px; color: #8A847B; margin-top: 8px; }

/* —— 4 列瀑布流 —— */
.sc-feed-grid { display: flex; gap: 16px; align-items: flex-start; width: 100%; margin: 60px 0 0; }
.sc-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sc-card { width: 100%; }
.sc-card .sc-img { width: 100%; height: auto; display: block; object-fit: cover; }
.sc-ph { aspect-ratio: 3 / 4; height: auto !important; }
.sc-card-in { animation: scCardIn .5s var(--ease) both; }
@keyframes scCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.sc-card.is-hero { box-shadow: 0 4px 16px rgba(200,115,88,.18); }

/* —— 输入框：占位提示 / 打字 —— */
.sc-composer { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sc-composer.gone { opacity: 0; transform: translateX(-50%) translateY(24px); pointer-events: none; }
.sc-composer .q { display: flex; align-items: center; min-height: 19px; }
.sc-composer .q .sc-qph { color: #A8A29A; }
.sc-composer .q.typing .sc-qph { display: none; }
.sc-composer .q .t { color: #2A2620; }

/* —— 黑色指针 —— */
.sc-cursor {
  position: absolute; left: 0; top: 0; width: 23px; height: 23px; z-index: 60;
  pointer-events: none; transform: translate(40%, 80%);
  transition: transform .68s cubic-bezier(.45,.05,.2,1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.sc-cursor svg { width: 100%; height: 100%; fill: #1A1714; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; transition: transform .14s ease; transform-origin: 4px 3px; }
.sc-cursor.press svg { transform: scale(.66); }

/* —— 点击/双击：目标缩小回弹 —— */
.sc-tap { animation: scTap .36s var(--ease); }
@keyframes scTap { 0% { transform: scale(1); } 42% { transform: scale(.93); } 100% { transform: scale(1); } }

/* —— 上传原图预览 → 飞入附件位 —— */
.sc-upload {
  position: absolute; left: 50%; top: 42%; z-index: 55; width: 156px;
  border-radius: 14px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.86);
  box-shadow: 0 24px 60px rgba(20,18,12,.32), 0 0 0 4px rgba(255,255,255,.9);
}
.sc-upload img { width: 100%; display: block; }
.sc-upload.show { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.sc-upload.fly {
  opacity: 0;
  left: var(--fx); top: var(--fy);
  transform: translate(-50%, -50%) scale(.08);
  transition: left .6s var(--ease), top .6s var(--ease), transform .6s var(--ease), opacity .6s var(--ease);
}

/* —— 画布切入黑闪 —— */
.sc-flash { position: absolute; inset: 0; background: #0B0A09; opacity: 0; z-index: 58; pointer-events: none; }
.sc-flash.on { animation: scFlash .95s var(--ease); }
@keyframes scFlash { 0% { opacity: 0; } 22% { opacity: .92; } 100% { opacity: 0; } }

/* ============ 画布视图 ============ */
.sc-canvasview { position: absolute; inset: 0; background: #FAF9F7; }
.sc-cv-top {
  display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 16px;
  font-size: 12px; color: #6B655C; border-bottom: 1px solid rgba(20,18,14,.07); background: #fff;
}
.sc-cv-back { display: inline-flex; align-items: center; gap: 4px; }
.sc-cv-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-cv-title { font-weight: 600; color: #2A2620; }
.sc-cv-zoom { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #8A847B; background: #F1EEE9; padding: 3px 9px; border-radius: var(--r-pill); }
.sc-cv-body { display: grid; grid-template-columns: 1fr 248px; height: calc(100% - 38px); }

.sc-stage {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200,115,88,.06), transparent 60%),
    #F4F1EC;
}
.sc-stage-inner {
  position: absolute; inset: 0; padding: 22px 22px 100px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; align-content: center; justify-content: center;
  transform-origin: center center;
}
.sc-node {
  position: relative; width: 116px; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 3px 12px rgba(20,18,12,.12); opacity: 0; transform: scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease), outline-color .3s var(--ease);
  outline: 2px solid transparent; outline-offset: 2px;
}
.sc-node.in { opacity: 1; transform: none; }
.sc-node img, .sc-node video { width: 100%; display: block; }
.sc-node.is-ref { outline-color: transparent; }
.sc-node.filled { outline-color: var(--accent); transform: scale(1.04); box-shadow: 0 8px 22px rgba(200,115,88,.28); }
.sc-node.is-load {
  display: grid; place-items: center; aspect-ratio: 3 / 4;
  background: linear-gradient(110deg, #ECE8E1 35%, #F6F3EE 50%, #ECE8E1 65%); background-size: 220% 100%;
  animation: st-shimmer 1.8s linear infinite;
}
.sc-node.is-load.is-video, .sc-node.is-load.is-dp { aspect-ratio: 9 / 16; }
.sc-node-load { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #6B655C; }
.sc-node-load .gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-sel 1.6s ease infinite; }
.sc-vbadge {
  position: absolute; left: 7px; bottom: 7px; font-size: 10px; font-weight: 600; color: #fff;
  background: rgba(20,18,14,.6); padding: 2px 8px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.sc-fill-tip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
  background: var(--accent); padding: 4px 11px; border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(200,115,88,.4); animation: scTipPop .3s var(--ease) both;
}
@keyframes scTipPop { from { opacity: 0; transform: translate(-50%,-40%) scale(.8); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }

/* 快捷键提示 */
.sc-kbd {
  position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(10px);
  display: flex; gap: 7px; opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); z-index: 4;
}
.sc-kbd.in { opacity: 1; transform: translateX(-50%); }
.sc-kbd span { font-size: 10.5px; color: #6B655C; background: rgba(255,255,255,.92); border: 1px solid rgba(20,18,14,.08); padding: 4px 10px; border-radius: var(--r-pill); box-shadow: 0 2px 8px rgba(20,18,12,.06); }
.sc-kbd b { font-family: var(--mono); color: #2A2620; font-weight: 600; }

/* 画布内底部生图框 + 双击飞入 */
.sc-cv-composer {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: min(520px, 92%); z-index: 6;
  background: #fff; border: 1px solid rgba(20,18,14,.1); border-radius: 14px;
  box-shadow: 0 14px 36px rgba(20,18,12,.18), 0 3px 10px rgba(20,18,12,.07);
  padding: 10px 12px 9px;
}
.sc-cvc-q { display: flex; align-items: center; gap: 8px; min-height: 18px; font-size: 12px; padding-bottom: 9px; }
.sc-cvc-ph { color: #A8A29A; }
.sc-cvc-q.typing .sc-cvc-ph { display: none; }
.sc-cvc-t { color: #2A2620; }
.sc-cvc-attach { width: 0; height: 0; flex: 0 0 auto; border-radius: 7px; overflow: hidden; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), opacity .3s var(--ease); }
.sc-cvc-attach.on { width: 30px; height: 30px; opacity: 1; box-shadow: 0 1px 5px rgba(20,18,12,.2); }
.sc-cvc-attach img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-cv-composer .bar { display: flex; align-items: center; gap: 7px; }
.sc-cv-composer .clip { color: #8A847B; display: grid; place-items: center; width: 26px; height: 26px; }
.sc-cv-composer .clip .ico { width: 16px; height: 16px; stroke-width: 1.6; }
.sc-cv-composer .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #4A453E; border: 1px solid rgba(20,18,14,.12); border-radius: var(--r-pill); padding: 5px 10px; white-space: nowrap; }
.sc-cv-composer .pill.dark { background: #211C19; color: #fff; border-color: #211C19; }
.sc-cv-composer .pill .ico { width: 13px; height: 13px; }
.sc-cv-composer .send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #18181B; color: #fff; display: grid; place-items: center; box-shadow: 0 5px 14px rgba(24,24,27,.24); }
.sc-cv-composer .send .ico { width: 14px; height: 14px; }
.sc-fly { position: absolute; z-index: 7; border-radius: 9px; overflow: hidden; box-shadow: 0 8px 24px rgba(20,18,12,.3); transition: left .58s var(--ease), top .58s var(--ease), width .58s var(--ease), height .58s var(--ease), opacity .58s var(--ease); }
.sc-fly img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Agent 对话面板 */
.sc-agent { border-left: 1px solid rgba(20,18,14,.07); background: #fff; display: flex; flex-direction: column; min-width: 0; }
.sc-agent-head { display: flex; align-items: center; gap: 7px; padding: 11px 13px; font-size: 12px; font-weight: 600; color: #2A2620; border-bottom: 1px solid rgba(20,18,14,.06); }
.sc-agent-head .ad-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sc-agent-head .ad-st { margin-left: auto; font-size: 10px; font-weight: 500; color: #8A847B; background: #F1EEE9; padding: 2px 8px; border-radius: var(--r-pill); }
.sc-agent-log { flex: 1; overflow: hidden; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.sc-bubble { font-size: 11.5px; line-height: 1.55; padding: 8px 11px; border-radius: 13px; max-width: 92%; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sc-bubble.in { opacity: 1; transform: none; }
.sc-bubble.user { align-self: flex-end; background: #211C19; color: #fff; border-bottom-right-radius: 4px; }
.sc-bubble.bot { align-self: flex-start; background: #F4F1EC; color: #3A352F; border-bottom-left-radius: 4px; }

@media (max-width: 760px) {
  .sc-cv-body { grid-template-columns: 1fr; }
  .sc-agent { display: none; }
  .sc-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-cursor, .sc-card-in, .sc-node, .sc-bubble, .sc-upload, .sc-empty { transition: none !important; animation: none !important; }
}
