/* 首页专用：深色首屏 + 便当格 + 价格卡。通用组件见 style.css。 */
:root { --night: #0a0c12; --night-2: #11141d; --glow-a: rgba(61, 104, 255, .55); --glow-b: rgba(124, 92, 255, .28); }

/* 导航：深色玻璃 */
.nav-dark { background: rgba(10, 12, 18, .72); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-dark.scrolled { border-bottom-color: rgba(255, 255, 255, .08); }
.nav-dark .brand { color: #fff; }
.nav-dark .nav-links a { color: rgba(255, 255, 255, .62); }
.nav-dark .nav-links a:hover { color: #fff; }
.nav-dark .menu summary { border-color: rgba(255, 255, 255, .18); }
.nav-dark .menu summary i { background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }

/* 按钮 */
.btn-glow { color: #fff; background: linear-gradient(180deg, #4f7dff, #2b5cff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -8px rgba(43, 92, 255, .75); }
.btn-glow:hover { background: linear-gradient(180deg, #6189ff, #3866ff); }
.btn-glow .os { filter: brightness(0) invert(1); }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }
.btn-xl { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.play { width: 0; height: 0; margin-right: 2px; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* 首屏 */
.h-hero { position: relative; overflow: hidden; padding: 88px 0 0; background: var(--night); color: #fff; }
.h-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.h-glow { position: absolute; left: 50%; top: -260px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow-a), var(--glow-b) 55%, transparent); filter: blur(10px); pointer-events: none; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .75; transform: translateX(-50%) scale(1.06); } }
.h-hero-inner { position: relative; text-align: center; }
.h-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); font-size: 14px; color: rgba(255, 255, 255, .86); transition: border-color .2s, background .2s; }
.h-pill:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.h-pill span { padding: 2px 10px; border-radius: 999px; background: #2b5cff; font-size: 12px; font-weight: 700; color: #fff; }
.h-pill b { font-weight: 400; opacity: .55; }
.h-hero h1 { margin: 30px 0 24px; font-size: clamp(46px, 7.6vw, 96px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; text-wrap: initial; }
.grad { background: linear-gradient(92deg, #9db8ff 0%, #ffffff 42%, #c4b2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lead { max-width: 640px; margin: 0 auto; font-size: 20px; line-height: 1.7; color: rgba(255, 255, 255, .64); }
.h-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.h-trust { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.h-trust i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.h-trust .os-row { display: inline-flex; gap: 10px; }
.h-trust .os-row img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: .5; }

/* 首屏主视觉 */
.h-stage { position: relative; max-width: 1040px; margin: 76px auto 0; }
.h-shot { position: relative; height: 560px; overflow: hidden; border-radius: 18px 18px 0 0; border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; box-shadow: 0 -30px 120px -30px rgba(61, 104, 255, .55); }
.h-shot img { width: 100%; }
.h-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--night) 100%); }
.h-card { position: absolute; z-index: 2; padding: 16px 18px; border-radius: 18px; text-align: left; color: #fff; background: rgba(18, 22, 34, .82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65); }
.h-card-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.h-card-foot { margin-top: 10px; font-size: 10px; color: rgba(255, 255, 255, .3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; }
.dot.live { box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(18, 183, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); } }
.h-chat { left: -64px; top: 96px; width: 296px; animation: rise .9s .5s both; }
.h-night { right: -56px; top: 250px; width: 288px; animation: rise .9s .8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.bubbles { min-height: 176px; }
.b { width: fit-content; max-width: 88%; margin: 10px 0 0; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.b.in { background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; }
.b.out { margin-left: auto; background: #2b5cff; border-bottom-right-radius: 4px; }
.b.sys { margin: 10px auto 0; padding: 2px 10px; font-size: 11px; color: #7ee2b0; background: rgba(18, 183, 106, .12); }
.bubbles .b { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.bubbles .b.show { opacity: 1; transform: none; }
.h-night-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.h-night-nums strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.h-night-nums em { font-style: normal; }
.h-night-nums span { font-size: 11px; color: rgba(255, 255, 255, .55); }
.toasts-live { position: absolute; z-index: 3; right: 28px; top: 24px; display: grid; gap: 8px; width: 270px; }
.toast-live { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 12px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); animation: toastIn .45s cubic-bezier(.2, .8, .2, 1); }
.toast-live b { display: block; font-size: 13px; }
.toast-live small { color: var(--ink-3); }
.toast-live.out { animation: toastOut .4s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* 便当格 */
.h-bento-wrap { padding: 120px 0 140px; background: var(--night); color: #fff; }
.h-head { margin-bottom: 56px; }
.h-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.14; font-weight: 800; letter-spacing: -.028em; text-wrap: initial; }
.h-head.light h2 { color: var(--ink); }
.h-head.center { text-align: center; }
.h-sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 24px; min-height: 320px; padding: 28px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, transform .3s; }
.tile:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.tile h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.tile p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .58); }
.t-big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; background: radial-gradient(80% 120% at 100% 0%, rgba(61, 104, 255, .28), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.t-big h3 { font-size: 28px; }
.t-big p { font-size: 15px; }
.tile-chat { padding: 18px; border-radius: 18px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .06); }
.tile-chat .b:first-child { margin-top: 0; }
.order-card { display: grid; gap: 4px; margin-top: auto; padding: 16px 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.oc-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #12b76a; font-weight: 600; }
.oc-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #12b76a; }
.order-card strong { font-size: 16px; }
.oc-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.oc-row em { font-style: normal; color: var(--ink-2); }
.oc-row b { padding: 2px 10px; border-radius: 999px; background: #e7f8ef; color: #0e9f5a; font-size: 12px; }
.tile-img { margin-top: auto; height: 190px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-wide { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.chips li { padding: 10px 16px; border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.chips li::before { content: "✓"; margin-right: 8px; color: #6ee7a8; font-weight: 700; }

/* 案例 */
.h-proof { padding: 120px 0 72px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proof { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform .3s, box-shadow .3s; }
.proof:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(17, 19, 24, .3); }
.proof-img { height: 280px; background: var(--paper-2); }
.proof-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-body { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.proof-body strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.proof-body p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.proof-body span { margin-top: 18px; font-size: 14px; color: var(--accent); }
.fine.center, .more.center { text-align: center; }
.h-proof .fine { margin-top: 18px; }

/* 演示 */
.h-demo { padding: 72px 0 120px; }
#demo-player { max-width: 1120px; margin: 0 auto; }
.h-demo .more { margin-top: 24px; }

/* 价格 */
.h-pricing { padding: 120px 0; background: var(--paper-2); }
.h-download { padding: 120px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.pc-name { font-size: 15px; font-weight: 700; }
.pc-price { margin-top: 18px; font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pc-price span { font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pc-note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.pcard ul { flex: 1; display: grid; align-content: start; gap: 12px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.pcard li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.pcard li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pc-hot { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 40px 80px -40px rgba(43, 92, 255, .6); }
.pc-hot .pc-price span, .pc-hot .pc-note { color: rgba(255, 255, 255, .5); }
.pc-hot ul { border-top-color: rgba(255, 255, 255, .1); }
.pc-hot li { color: rgba(255, 255, 255, .78); }
.pc-hot li b { color: #fff; }
.pc-hot li::before { color: #8aa6ff; }
.pc-badge { position: absolute; top: -13px; right: 24px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, #4f7dff, #8b6bff); color: #fff; font-size: 12px; font-weight: 600; }
.h-pricing .price-foot { margin-top: 32px; }
.h-pricing .price-foot .link { color: var(--accent); }

/* 结尾 */
.h-end { position: relative; overflow: hidden; padding: 140px 0; text-align: center; background: var(--night); color: #fff; }
.h-end .h-glow { top: auto; bottom: -420px; }
.h-end .wrap { position: relative; }
.h-end-logo { width: 84px; height: 84px; margin: 0 auto 32px; filter: drop-shadow(0 20px 40px rgba(43, 92, 255, .5)); }
.h-end h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.03em; }
.h-end p { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .6); }
.h-end .h-actions { margin-top: 36px; }
.home .footer { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .h-glow, .dot.live, .h-chat, .h-night { animation: none; }
  .bubbles .b { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .h-chat { left: 12px; }
  .h-night { right: 12px; }
}
@media (max-width: 980px) {
  .h-hero { padding-top: 56px; }
  .h-lead { font-size: 17px; }
  .h-lead br.pc { display: none; }
  .h-stage { margin-top: 48px; }
  .h-shot { height: 300px; }
  .h-night { display: none; }
  .h-chat { left: 12px; top: auto; bottom: 16px; width: 250px; }
  .bubbles { min-height: 150px; }
  .toasts-live { right: 12px; top: 12px; width: 220px; }
  .h-bento-wrap, .h-pricing, .h-download { padding: 80px 0; }
  .h-proof { padding: 80px 0 48px; }
  .bento { grid-template-columns: 1fr; }
  .t-big, .t-wide { grid-column: auto; }
  .t-big { grid-template-columns: 1fr; }
  .proof-grid, .proof { grid-template-columns: 1fr; }
  .proof-img { height: 220px; }
  .price-grid { grid-template-columns: 1fr; }
  .h-end { padding: 96px 0; }
}
@media (max-width: 560px) {
  .h-actions .btn-xl { width: 100%; }
  .h-trust { flex-wrap: wrap; }
  .toasts-live { display: none; }
  .h-chat { width: calc(100% - 24px); }
}
/* 修正：导航不透白底；案例图完整显示；手机首屏改用成交通知 */
.nav-dark, .nav-dark.scrolled { background: rgba(10, 12, 18, .94); }
.proof-img { padding: 16px; display: grid; place-items: center; }
.proof-img img { object-fit: contain; object-position: center; border-radius: 12px; }
@media (max-width: 560px) {
  .h-chat { display: none; }
  .toasts-live { display: grid; left: 12px; right: 12px; width: auto; top: 12px; }
}
.h-sub.dark { color: rgba(255, 255, 255, .6); }
