:root{
  --bg:#f4f5fb;--panel:#fdfdff;--line:#dfe2ec;--line2:#cfd4e3;--txt:#1f2437;--mut:#626b7f;
  --brand:#3f46d9;--brand-soft:#eceeff;--ok:#087a55;--warn:#9a5b08;--danger:#b4233f;
  --ink:#121526;--ink-muted:#9ca3af;
  --ease:cubic-bezier(0.16, 1, 0.3, 1);
  --shadow:0 1px 2px rgba(31,36,55,.04),0 12px 32px rgba(31,36,55,.06)
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:linear-gradient(145deg,#f4f5fb,#eceeff);color:var(--txt);font-size:14px;line-height:1.5}
button,input{font:inherit}
button{min-height:40px;cursor:pointer;border:1px solid var(--line2);background:var(--panel);color:var(--txt);padding:8px 14px;border-radius:9px;font-weight:650}
button.primary{background:var(--brand);border-color:var(--brand);color:#fff}
button.ghost{background:transparent}
button:disabled{opacity:.5;cursor:not-allowed}
input{width:100%;min-height:40px;border:1px solid var(--line2);border-radius:9px;padding:9px 11px;background:#fff}
.top{display:flex;justify-content:space-between;align-items:center;padding:18px 24px}
.brand{font-weight:780;font-size:17px;display:inline-flex;gap:10px;align-items:center;color:inherit;text-decoration:none}
.brand-mark{width:28px;height:28px;border-radius:7px;display:block;flex:none}
.brand-text{letter-spacing:-.02em}
.wrap{max-width:960px;width:100%;margin:0 auto;padding:0 20px 48px;display:flex;flex-direction:column;gap:16px;flex:1}
.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:22px}
.hero h1{margin:0 0 8px;font-size:26px;letter-spacing:-.02em}
.muted{color:var(--mut);font-size:13px}
.tip{margin-top:12px;padding:10px 12px;background:#fff8f0;border:1px solid #ffe5bf;border-radius:8px;color:#7a5a2f;font-size:13px}

/* 宣传：能力 + 使用方法 */
.promo{padding:26px 24px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{padding:4px 2px}
.feature-icon,.howto-icon{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:var(--brand-soft);color:var(--brand);margin-bottom:12px
}
.feature-icon svg,.howto-icon svg{width:22px;height:22px}
.feature h3{margin:0 0 8px;font-size:16px}
.feature p{margin:0;color:var(--mut);font-size:13px;line-height:1.65}
.howto .eyebrow{margin:0 0 6px;color:var(--brand);font-size:13px;font-weight:700}
.howto h2{margin:0 0 18px;font-size:22px;letter-spacing:-.02em}
.howto-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.howto-grid li{margin:0}
.howto-step{display:block;margin:0 0 6px;color:var(--brand);font-size:12px;font-weight:700}
.howto-grid strong{display:block;margin-bottom:6px;font-size:15px}
.howto-grid p{margin:0;color:var(--mut);font-size:13px;line-height:1.6}
.drop{display:grid;place-items:center;gap:8px;min-height:140px;border:1.5px dashed var(--line2);border-radius:12px;background:#fafaff;cursor:pointer}
.drop.drag{border-color:var(--brand);background:var(--brand-soft)}
.row{display:flex;gap:10px}
.row>*{flex:1}
.hide{display:none!important}
.progress{height:10px;background:#e9ebf3;border-radius:999px;overflow:hidden}
#bar{height:100%;width:0;background:var(--brand);transition:width .3s}
.kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}
.modal-bg{position:fixed;inset:0;background:rgba(31,36,55,.42);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}
.modal{width:min(560px,100%);max-height:88vh;overflow:auto}
.modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
#pay-modal{z-index:920}
.pay-modal{width:min(420px,100%);text-align:center}
.pay-modal header{text-align:left}
.pay-box{display:flex;flex-direction:column;align-items:center;gap:8px}
.pay-box .kv{width:100%}
.qr{width:240px;height:240px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff;margin:8px auto}
#toast{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px;z-index:960}
.toast{background:#1f2437;color:#fff;padding:10px 14px;border-radius:10px;font-size:13px}
.toast.err{background:var(--danger)}

/* Footer — LiteVideo 风格 */
.site-footer{
  margin-top:auto;border-top:1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  background:var(--ink);color:var(--ink-muted);padding:20px 24px;font-size:.84rem
}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-legal{margin:0;display:flex;flex-wrap:wrap;gap:8px 14px}
.footer-legal a,.footer-links a,.linkish{color:#c9cedb;text-decoration:none}
.footer-legal a:hover,.footer-links a:hover,.linkish:hover{color:#fff}
.footer-links{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.footer-meta{opacity:.55;font-size:.8rem}
.linkish{border:0;background:none;padding:0;min-height:auto;font-weight:500;cursor:pointer}
.cookie-dialog{border:1px solid var(--line);border-radius:14px;padding:20px 22px;max-width:min(420px,92vw);box-shadow:var(--shadow)}
.cookie-dialog::backdrop{background:rgba(18,21,38,.45)}
.cookie-dialog h3{margin:0 0 8px;font-size:16px}

/* 右挂联系栏 — LiteVideo */
.site-float-bar{
  position:fixed;right:0;top:50%;z-index:880;display:flex;flex-direction:column;width:4.25rem;
  transform:translateY(-50%);border-radius:12px 0 0 12px;background:#fff;
  box-shadow:-4px 0 24px rgba(28,32,51,.12);border:1px solid var(--line);border-right:none
}
.site-float-item{position:relative;border-bottom:1px solid color-mix(in srgb, var(--line) 80%, white)}
.site-float-item:last-child{border-bottom:none}
.site-float-trigger{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;
  width:100%;min-height:4.6rem;padding:.65rem .35rem;border:none;background:transparent;
  cursor:pointer;color:var(--mut);transition:color .18s var(--ease),background .18s var(--ease)
}
.site-float-trigger:hover,
.site-float-item.is-open .site-float-trigger,
.site-float-item:focus-within .site-float-trigger{color:var(--brand);background:var(--brand-soft)}
.site-float-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.site-float-icon{display:flex;width:1.65rem;height:1.65rem}
.site-float-icon svg{width:100%;height:100%}
.site-float-label{font-size:.68rem;line-height:1.25;text-align:center;font-weight:600}
.site-float-panel{
  position:absolute;right:calc(100% + 10px);top:50%;z-index:1;width:11.5rem;
  padding:.85rem .85rem .75rem;transform:translateY(-50%);border-radius:12px;background:#fff;
  border:1px solid var(--line);box-shadow:0 12px 32px rgba(28,32,51,.14);text-align:center;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s var(--ease),visibility .18s var(--ease),transform .18s var(--ease)
}
.site-float-panel img{display:block;width:8.5rem;height:8.5rem;margin:0 auto;object-fit:contain;border-radius:8px}
.site-float-panel-title{margin:.55rem 0 0;font-size:.82rem;font-weight:700;color:var(--txt)}
.site-float-panel-hint{margin:.25rem 0 0;font-size:.72rem;line-height:1.45;color:var(--mut)}
.site-float-panel--phone{width:10.5rem;padding-top:1rem;padding-bottom:1rem}
.site-float-phone{display:inline-block;margin-top:.35rem;font-size:1.05rem;font-weight:800;letter-spacing:.02em;color:var(--brand);text-decoration:none}
.site-float-phone:hover{text-decoration:underline}
.site-float-item.is-open .site-float-panel{opacity:1;visibility:visible;pointer-events:auto}
@media (hover:hover) and (pointer:fine){
  .site-float-item:hover .site-float-panel{opacity:1;visibility:visible;pointer-events:auto}
}
@media (max-width:860px){
  .feature-grid{grid-template-columns:1fr}
  .howto-grid{grid-template-columns:1fr 1fr}
  body{padding-bottom:4.5rem}
  .site-float-bar{
    top:auto;right:0;left:0;bottom:0;width:100%;max-width:none;transform:none;flex-direction:row;
    border-radius:14px 14px 0 0;border:1px solid var(--line);border-bottom:none;
    box-shadow:0 -8px 28px rgba(28,32,51,.12)
  }
  .site-float-item{flex:1;border-bottom:none;border-right:1px solid color-mix(in srgb, var(--line) 80%, white)}
  .site-float-item:last-child{border-right:none}
  .site-float-trigger{min-height:44px;height:4.25rem;padding:.45rem .35rem;gap:.2rem}
  .site-float-panel{
    right:50%;left:auto;top:auto;bottom:calc(100% + 8px);width:min(12rem,calc(100vw - 2rem));transform:translateX(50%)
  }
  .site-float-item.is-open .site-float-panel,
  .site-float-item:focus-within .site-float-panel,
  .site-float-item:hover .site-float-panel{transform:translateX(50%)}
  .site-float-panel img{width:7.5rem;height:7.5rem}
  .site-footer{padding-bottom:5.5rem}
}
@media (max-width:640px){
  .row{flex-direction:column}
  .hero h1{font-size:22px}
  .howto-grid{grid-template-columns:1fr}
  .howto h2{font-size:18px}
}

/* 简页（关于/隐私/条款） */
.legal-wrap{max-width:720px;margin:0 auto;padding:8px 20px 48px;flex:1}
.legal-wrap h1{font-size:24px;margin:0 0 12px}
.legal-wrap h2{font-size:16px;margin:22px 0 8px}
.legal-wrap p,.legal-wrap li{color:var(--mut);font-size:14px;line-height:1.7}
.legal-wrap ul{padding-left:1.2em}
