/* =====================================================
   22chat 官网样式（v2 · 青绿品牌体系）
   结构：变量 → 基础 → 头部 → 首屏/聊天窗 → 功能错落网格 →
        增值横版卡 → 下载面板 → 页脚 → 遮罩/Toast → 响应式
   ===================================================== */

/* ---------- 主题变量（主色取自 22chat logo 蓝） ---------- */
:root{
  --brand:#0070f0;
  --brand-strong:#005fcc;
  --accent:#0070f0;
  --brand-soft:rgba(0,112,240,.10);
  --bg:#ffffff;
  --bg-soft:#f3f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --text-2:#475569;
  --text-3:#94a3b8;
  --line:#e3eaf2;
  --shadow:0 10px 32px rgba(15,23,42,.08);
  --shadow-lg:0 24px 64px rgba(15,23,42,.14);
  --gold:#b8860b;
  --radius:18px;
}
[data-theme="dark"]{
  --brand:#2f8dff;
  --brand-strong:#0070f0;
  --accent:#5eaaff;
  --brand-soft:rgba(77,163,255,.15);
  --bg:#0c121c;
  --bg-soft:#101927;
  --card:#15202f;
  --text:#e8eef4;
  --text-2:#a3b2c2;
  --text-3:#74889b;
  --line:#22303f;
  --shadow:0 10px 32px rgba(0,0,0,.4);
  --shadow-lg:0 24px 64px rgba(0,0,0,.55);
  --gold:#e3b341;
}

/* ---------- 基础 ---------- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",Roboto,sans-serif;
  background:var(--bg);color:var(--text);
  line-height:1.65;-webkit-font-smoothing:antialiased;
  transition:background .3s ease,color .3s ease;
}
img,svg{display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
.container{max-width:1140px;margin:0 auto;padding:0 24px}
.icon{width:20px;height:20px;flex:none}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:600;letter-spacing:.06em;
  color:var(--accent);background:var(--brand-soft);
  padding:5px 14px;border-radius:999px;margin-bottom:16px;
}
.accent{color:var(--accent)}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--brand);color:#fff;font-weight:600;font-size:15px;
  padding:11px 24px;border-radius:999px;border:1px solid var(--brand);
  transition:background .2s,transform .15s,box-shadow .2s,color .2s,border-color .2s;
  white-space:nowrap;
}
.btn:hover{background:var(--brand-strong);border-color:var(--brand-strong);transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,112,240,.32)}
.btn:active{transform:translateY(0)}
.btn-lg{padding:14px 30px;font-size:16px}
.btn-outline{background:transparent;color:var(--accent);border-color:var(--line)}
.btn-outline:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.btn-ghost{background:transparent;border-color:transparent;color:var(--text-2)}
.btn-ghost:hover{background:var(--brand-soft);border-color:transparent;color:var(--accent);box-shadow:none}

/* ---------- 头部 ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:color-mix(in srgb,var(--bg) 82%,transparent);
  backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:28px;height:68px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.02em}
.brand-logo{width:34px;height:34px;border-radius:9px}
.nav{display:flex;align-items:center;gap:26px;margin-left:8px}
.nav a{font-size:15px;font-weight:500;color:var(--text-2);transition:color .2s}
.nav a:hover{color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.header-cta{padding:9px 20px;font-size:14px}

.lang-toggle{
  width:42px;height:38px;border-radius:999px;border:1px solid var(--line);
  font-size:13px;font-weight:700;color:var(--text-2);
  display:flex;align-items:center;justify-content:center;
  transition:color .2s,border-color .2s,background .2s;
}
.lang-toggle:hover{color:var(--accent);border-color:var(--accent);background:var(--brand-soft)}
.theme-toggle{
  width:42px;height:38px;border-radius:999px;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--text-2);
  transition:color .2s,border-color .2s,background .2s;
}
.theme-toggle:hover{color:var(--accent);border-color:var(--accent);background:var(--brand-soft)}
.theme-icon-sun{display:none}
[data-theme="dark"] .theme-icon-sun{display:block}
[data-theme="dark"] .theme-icon-moon{display:none}
.menu-toggle{display:none;width:42px;height:38px;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--line);color:var(--text-2)}

/* ---------- 首屏（居中） ---------- */
.hero{position:relative;overflow:hidden;padding:88px 0 96px}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(700px 320px at 50% -8%,var(--brand-soft),transparent 70%);
}
.hero-center{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.18;letter-spacing:-.02em;margin-bottom:20px}
.hero-desc{font-size:17px;color:var(--text-2);max-width:640px;margin-bottom:34px}
.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:22px}
.hero-platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;color:var(--text-3);font-size:13px;font-weight:600;margin-bottom:56px}
.hero-platforms li{padding:4px 12px;border:1px solid var(--line);border-radius:999px}

/* ---------- 首屏双端配图（桌面窗口 + 手机） ---------- */
.hero-visual{position:relative;width:min(960px,100%);margin:0 auto}
.chatwin{
  width:calc(100% - 132px);border-radius:20px;overflow:hidden;text-align:left;
  background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow-lg);
}
.chatwin-bar{
  display:flex;align-items:center;gap:8px;padding:12px 16px;
  background:var(--bg-soft);border-bottom:1px solid var(--line);
}
.dot{width:11px;height:11px;border-radius:50%}
.dot.red{background:#ff5f57}.dot.yellow{background:#febc2e}.dot.green{background:#28c840}
.chatwin-title{margin:0 auto;font-size:13px;font-weight:700;color:var(--text-3);transform:translateX(-22px)}
.chatwin-body{display:grid;grid-template-columns:250px 1fr;min-height:380px}

.chatwin-side{border-right:1px solid var(--line);padding:14px 12px;display:flex;flex-direction:column;gap:6px}
.side-search{
  display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-3);
  background:var(--bg-soft);border-radius:9px;padding:7px 10px;margin-bottom:6px;
}
.side-search .icon{width:13px;height:13px}
.side-conv{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:11px;position:relative}
.side-conv.active{background:var(--brand-soft)}
.side-conv-body{flex:1;min-width:0;display:flex;flex-direction:column}
.side-conv-body strong{font-size:13px;font-weight:600;display:flex;align-items:center;gap:5px}
.side-conv-body span{font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.avatar{width:38px;height:38px;border-radius:11px;flex:none;background:linear-gradient(135deg,var(--c1),var(--c2))}
.avatar.sm{width:30px;height:30px;border-radius:9px}
.badge{
  min-width:17px;height:17px;padding:0 5px;background:#f04438;color:#fff;
  font-size:10.5px;font-weight:700;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
}
.vip-tag{font-style:normal;font-size:9.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,#f5a623,#e08600);padding:1px 5px;border-radius:5px}

.chatwin-main{display:flex;flex-direction:column}
.chat-head{
  display:flex;align-items:baseline;gap:10px;padding:14px 18px;
  border-bottom:1px solid var(--line);font-size:15px;
}
.chat-head span{font-size:12px;color:var(--text-3)}
.chat-flow{flex:1;padding:18px;display:flex;flex-direction:column;gap:12px}
.msg{display:flex;align-items:flex-end;gap:8px;max-width:78%}
.msg.out{align-self:flex-end;flex-direction:row-reverse}
.bubble{
  background:var(--bg-soft);border-radius:4px 14px 14px 14px;
  padding:9px 13px;font-size:13.5px;line-height:1.5;
  display:flex;flex-direction:column;gap:2px;
}
.msg.out .bubble{background:var(--brand);color:#fff;border-radius:14px 4px 14px 14px}
.bubble .read{font-size:10.5px;color:var(--text-3);align-self:flex-end}
.bubble.file{flex-direction:row;align-items:center;gap:10px}
.bubble.file .icon{width:26px;height:26px;color:var(--accent)}
.bubble.file strong{font-size:13px}
.bubble.file span{font-size:11px;color:var(--text-3)}
.bubble.voice{flex-direction:row;align-items:center;gap:8px;padding:10px 18px}
.bubble.voice .icon{width:16px;height:16px}
.msg.out .bubble.voice{color:#fff}
.bubble.redpacket{
  flex-direction:row;align-items:center;gap:10px;color:#fff;
  background:linear-gradient(135deg,#e8523f,#d63a2a);border-radius:14px 4px 14px 14px;
  padding:10px 14px;
}
.bubble.redpacket .icon{width:26px;height:26px}
.bubble.redpacket strong{font-size:13px}
.bubble.redpacket span{font-size:11px;opacity:.85}
.chat-input{
  display:flex;align-items:center;gap:10px;margin:0 18px 16px;
  border:1px solid var(--line);border-radius:999px;padding:9px 16px;color:var(--text-3);
}
.chat-input .icon{width:18px;height:18px}
.chat-input-ph{flex:1;font-size:13px}

/* ---------- 手机端示意（浮动在桌面窗右下角） ---------- */
.phone-float{
  position:absolute;right:0;bottom:-34px;width:196px;z-index:2;
  transform:rotate(2.5deg);filter:drop-shadow(0 24px 40px rgba(15,23,42,.22));
}
.phone2{
  background:var(--card);border:1px solid var(--line);border-radius:28px;
  padding:10px 10px 8px;display:flex;flex-direction:column;gap:8px;
}
.p-status{display:flex;justify-content:space-between;font-size:10px;font-weight:600;color:var(--text-2);padding:2px 8px 0}
.p-title{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:800;padding:2px 8px}
.p-title .icon{width:15px;height:15px;color:var(--text-2)}
.p-search{
  display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-3);
  background:var(--bg-soft);border-radius:8px;padding:6px 9px;margin:0 4px;
}
.p-search .icon{width:11px;height:11px}
.p-conv{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;position:relative}
.p-conv.active{background:var(--brand-soft)}
.p-conv .avatar{width:32px;height:32px;border-radius:9px}
.p-conv-body{flex:1;min-width:0;display:flex;flex-direction:column}
.p-conv-body strong{font-size:11.5px;font-weight:600;display:flex;align-items:center;gap:4px}
.p-conv-body span{font-size:10px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.p-conv .badge{min-width:15px;height:15px;font-size:9.5px}
.p-tabbar{
  display:flex;justify-content:space-around;border-top:1px solid var(--line);
  padding:7px 2px 4px;font-size:8.5px;color:var(--text-3);
}
.p-tabbar>span{display:flex;flex-direction:column;align-items:center;gap:2px}
.p-tabbar .icon{width:15px;height:15px}
.p-tabbar .active{color:var(--accent)}

/* ---------- 区块 ---------- */
.section{padding:88px 0}
.section-soft{background:var(--bg-soft)}
.section-intro{text-align:center;max-width:680px;margin:0 auto 52px}
.section-intro h2{font-size:clamp(26px,3.4vw,38px);letter-spacing:-.02em;margin-bottom:14px}
.section-intro p{color:var(--text-2);font-size:16px}

/* ---------- 功能卡片（示意图 + 文案） ---------- */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ft-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 22px 26px;transition:transform .2s,box-shadow .2s,border-color .2s;
}
.ft-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--brand) 40%,var(--line))}
.ft-card h3{font-size:17px;margin:0 4px 8px}
.ft-card p{font-size:14px;color:var(--text-2);margin:0 4px}
.ft-art{
  height:132px;border-radius:14px;background:var(--bg-soft);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  margin-bottom:18px;position:relative;overflow:hidden;padding:14px;
}

/* 聊天气泡 */
.art-chat{justify-content:center;align-items:stretch;gap:10px}
.abub{
  max-width:82%;padding:8px 14px;font-size:13px;border-radius:4px 14px 14px 14px;
  background:var(--card);border:1px solid var(--line);display:flex;align-items:center;gap:6px;
}
.abub.out{
  align-self:flex-end;background:var(--brand);color:#fff;border:none;
  border-radius:14px 4px 14px 14px;
}
.abub-read{font-style:normal;font-size:10px;opacity:.85}

/* 通话界面 */
.art-call{background:linear-gradient(150deg,#123a7d,#0070f0);gap:5px}
.acall-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#f59e0b,#fcd34d);
  border:2px solid rgba(255,255,255,.5);
}
.art-call strong{color:#fff;font-size:14px}
.acall-time{font-size:11px;color:rgba(255,255,255,.75)}
.acall-eq{display:flex;align-items:flex-end;gap:3px;height:16px;margin:2px 0}
.acall-eq i{width:3px;border-radius:2px;background:rgba(255,255,255,.85)}
.acall-eq i:nth-child(1){height:7px}.acall-eq i:nth-child(2){height:13px}
.acall-eq i:nth-child(3){height:16px}.acall-eq i:nth-child(4){height:11px}
.acall-eq i:nth-child(5){height:6px}
.acall-btns{display:flex;gap:14px;margin-top:4px}
.acall-btn{
  width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;
}
.acall-btn .icon{width:15px;height:15px}
.acall-btn.up{background:#22c55e}
.acall-btn.down{background:#ef4444}

/* 朋友圈 */
.art-moments{gap:10px}
.amom-photo{
  width:100%;height:64px;border-radius:10px;
  background:linear-gradient(135deg,#7db9ff 0%,#0070f0 55%,#7c5cff 100%);
  position:relative;
}
.amom-photo::after{
  content:"";position:absolute;right:12px;top:10px;width:16px;height:16px;border-radius:50%;
  background:rgba(255,255,255,.85);
}
.amom-row{display:flex;gap:18px;width:100%;padding:0 6px}
.amom-item{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--text-2)}
.amom-item .icon{width:15px;height:15px}
.amom-item i{font-style:normal;font-weight:600}
.amom-item:first-child{color:#e04438}

/* 文件传输 */
.art-file{gap:12px;padding:14px 20px}
.afile-row{
  display:flex;align-items:center;gap:12px;width:100%;
  background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px;
}
.afile-row .icon{width:28px;height:28px;color:var(--accent)}
.afile-meta{display:flex;flex-direction:column;line-height:1.4}
.afile-meta strong{font-size:13px}
.afile-meta span{font-size:11px;color:var(--text-3)}
.afile-bar{width:100%;height:7px;border-radius:99px;background:var(--line);overflow:hidden}
.afile-bar i{display:block;width:72%;height:100%;border-radius:99px;background:linear-gradient(90deg,#66c2ff,var(--brand))}

/* 红包 */
.art-red{background:linear-gradient(150deg,#fdeaea,#fdd9d3)}
[data-theme="dark"] .art-red{background:linear-gradient(150deg,#3d1a16,#4a1f1a)}
.ared-packet{
  width:150px;border-radius:12px;padding:14px 12px 12px;text-align:center;color:#fff;
  background:linear-gradient(160deg,#f0604a,#d63a2a);
  display:flex;flex-direction:column;align-items:center;gap:2px;
  box-shadow:0 10px 22px rgba(214,58,42,.3);
}
.ared-coin{
  width:34px;height:34px;border-radius:50%;font-size:15px;font-weight:800;
  background:linear-gradient(135deg,#ffd98a,#f0a830);color:#8a4d00;
  display:flex;align-items:center;justify-content:center;margin-bottom:4px;
  border:2px solid rgba(255,255,255,.5);
}
.ared-packet strong{font-size:13px}
.ared-packet span{font-size:10.5px;opacity:.85}

/* 安全加密 */
.art-sec{gap:10px}
.asec-ring{
  width:62px;height:62px;border-radius:50%;color:var(--accent);
  border:2px dashed color-mix(in srgb,var(--brand) 45%,transparent);
  display:flex;align-items:center;justify-content:center;background:var(--card);
}
.asec-ring .icon{width:28px;height:28px}
.asec-text{font-size:12px;font-weight:600;color:var(--text-2)}

/* ---------- 增值卡片（克制浅色） ---------- */
.value-rows{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1024px;margin:0 auto}
.value-card{
  position:relative;overflow:hidden;
  background:var(--card);border:1px solid var(--line);border-radius:22px;
  padding:34px 32px;display:flex;flex-direction:column;gap:20px;
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.value-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--brand) 35%,var(--line))}
.v-icon{
  width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.v-icon .icon{width:23px;height:23px}
.value-card.vip .v-icon{color:#a2790d;background:#f7edd6}
.value-card.num .v-icon{color:#6d5ae0;background:#ece8ff}
[data-theme="dark"] .value-card.vip .v-icon{color:#e3b341;background:rgba(227,179,65,.14)}
[data-theme="dark"] .value-card.num .v-icon{color:#a795ff;background:rgba(124,92,255,.16)}
.value-copy h3{font-size:19px;margin-bottom:8px;display:flex;align-items:center;gap:10px}
.v-sub{font-size:10.5px;font-weight:700;letter-spacing:.08em;color:var(--text-3)}
.value-copy p{font-size:14.5px;color:var(--text-2);max-width:420px}
.value-tags{display:flex;flex-wrap:wrap;gap:10px}
.value-tags li{
  font-size:13px;font-weight:600;color:var(--text-2);white-space:nowrap;
  background:var(--bg-soft);border:1px solid var(--line);
  border-radius:999px;padding:8px 18px;
}
.num-deco{
  position:absolute;right:4px;bottom:-30px;z-index:0;
  font-size:110px;font-weight:800;letter-spacing:-.02em;line-height:1;
  color:var(--text);opacity:.045;pointer-events:none;user-select:none;
}
.value-card>*:not(.num-deco){position:relative}

/* ---------- 下载面板（清爽浅蓝渐变） ---------- */
.dl-panel{
  position:relative;overflow:hidden;
  background:linear-gradient(130deg,#eef5ff 0%,#deedff 55%,#cfe4ff 100%);
  border:1px solid #d3e5fb;border-radius:26px;
  padding:56px 48px;box-shadow:0 24px 56px rgba(30,100,200,.12);color:var(--text);
}
.dl-panel::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(480px 240px at 85% -10%,rgba(255,255,255,.7),transparent 65%),
    radial-gradient(420px 220px at 8% 110%,rgba(255,255,255,.5),transparent 65%);
}
.dl-panel>*{position:relative}
.dl-panel-head{text-align:center;max-width:620px;margin:0 auto 44px}
.dl-panel-head h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.02em;margin-bottom:12px}
.dl-panel-head p{color:var(--text-2)}
.dl-list{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(0,80,180,.14);
}
.dl-item{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;
  padding:32px 16px 4px;border-left:1px solid rgba(0,80,180,.14);
}
.dl-item:first-child{border-left:none}
.d-icon{
  width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  color:var(--accent);background:#fff;box-shadow:0 6px 16px rgba(30,100,200,.12);margin-bottom:10px;
}
.d-icon .icon{width:26px;height:26px}
.dl-item h3{font-size:15.5px}
.dl-item p{font-size:12.5px;color:var(--text-3);margin-bottom:16px}
.dl-item .btn{width:100%;padding:10px 10px;font-size:13.5px;margin-top:auto}
[data-theme="dark"] .dl-panel{
  background:linear-gradient(130deg,#0f1f3d 0%,#133061 55%,#144a9e 100%);
  border-color:#1d3f7d;color:#fff;box-shadow:0 24px 56px rgba(0,10,40,.45);
}
[data-theme="dark"] .dl-panel::before{
  background:
    radial-gradient(480px 240px at 85% -10%,rgba(255,255,255,.1),transparent 65%),
    radial-gradient(420px 220px at 8% 110%,rgba(255,255,255,.06),transparent 65%);
}
[data-theme="dark"] .dl-panel-head p{color:rgba(255,255,255,.75)}
[data-theme="dark"] .dl-list{border-top-color:rgba(255,255,255,.18)}
[data-theme="dark"] .dl-item{border-left-color:rgba(255,255,255,.18)}
[data-theme="dark"] .dl-item p{color:rgba(255,255,255,.65)}
[data-theme="dark"] .d-icon{background:rgba(255,255,255,.14);box-shadow:none;color:#fff}

/* ---------- 页脚 ---------- */
.site-footer{border-top:1px solid var(--line);background:var(--bg);padding:56px 0 28px}
.footer-main{display:grid;grid-template-columns:1.2fr 2fr;gap:48px;padding-bottom:40px;border-bottom:1px solid var(--line)}
.footer-brand-row{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;margin-bottom:14px}
.footer-brand p{font-size:14px;color:var(--text-2);max-width:320px}
.footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.footer-links h4{font-size:14px;margin-bottom:14px;color:var(--text)}
.footer-links li{margin-bottom:10px}
.footer-links a{font-size:14px;color:var(--text-2);transition:color .2s}
.footer-links a:hover{color:var(--accent)}
.footer-contact .footer-addr{font-size:13px;color:var(--text-3);line-height:1.7}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;
  padding-top:22px;font-size:13px;color:var(--text-3);
}
.footer-legal{display:flex;align-items:center;gap:14px}
.footer-legal a{color:var(--text-3);transition:color .2s}
.footer-legal a:hover{color:var(--accent)}

/* ---------- 协议 / 隐私子页面 ---------- */
.legal-main{max-width:820px;margin:0 auto;padding:64px 24px 88px}
.legal-main h1{font-size:clamp(26px,3.4vw,34px);letter-spacing:-.02em;margin-bottom:10px}
.legal-meta{font-size:13px;color:var(--text-3);margin-bottom:36px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.legal-body h2{font-size:19px;margin:34px 0 10px}
.legal-body p,.legal-body li{font-size:15px;color:var(--text-2);line-height:1.85}
.legal-body p{margin-bottom:10px}
.legal-body ul{list-style:disc;padding-left:22px;margin:6px 0 12px}
.legal-body li{margin-bottom:6px}
.legal-body strong{color:var(--text);font-weight:600}
.legal-body a{color:var(--accent)}
.legal-back{
  display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;
  color:var(--text-2);margin-bottom:28px;transition:color .2s;
}
.legal-back:hover{color:var(--accent)}

/* ---------- 微信内打开提示条 ---------- */
.wx-bar{
  display:flex;align-items:center;gap:10px;
  max-width:1140px;margin:0 auto;
  padding:9px 20px;font-size:13px;line-height:1.5;
  color:#0b4ea8;background:#eaf3ff;border:1px solid #cfe3ff;border-radius:10px;
  margin-top:12px;
}
.wx-bar[hidden]{display:none}
.wx-bar-icon{display:flex;flex:0 0 auto}
.wx-bar-icon .icon{width:16px;height:16px}
.wx-bar-text{flex:1;min-width:0}
.wx-bar-close{
  flex:0 0 auto;width:24px;height:24px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#0b4ea8;opacity:.6;transition:opacity .2s,background .2s;
}
.wx-bar-close:hover{opacity:1;background:rgba(11,78,168,.1)}
.wx-bar-close .icon{width:14px;height:14px}
[data-theme="dark"] .wx-bar{
  color:#cfe4ff;background:rgba(47,141,255,.14);border-color:rgba(47,141,255,.35);
}
[data-theme="dark"] .wx-bar-close{color:#cfe4ff}
[data-theme="dark"] .wx-bar-close:hover{background:rgba(255,255,255,.12)}

/* ---------- Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:36px;transform:translate(-50%,20px);
  background:var(--text);color:var(--bg);font-size:14px;font-weight:500;
  padding:12px 22px;border-radius:999px;box-shadow:var(--shadow-lg);
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:1000;
  max-width:86vw;text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .dl-list{grid-template-columns:repeat(3,1fr)}
  .dl-item:nth-child(4){border-left:none}
  .dl-item{border-top:1px solid rgba(0,80,180,.14)}
  .dl-item:nth-child(-n+3){border-top:none}
  [data-theme="dark"] .dl-item{border-top-color:rgba(255,255,255,.18)}
  .chatwin-body{grid-template-columns:210px 1fr}
}
@media (max-width:900px){
  .phone-float{display:none}
  .chatwin{width:100%}
  .value-rows{grid-template-columns:1fr}
}
@media (max-width:768px){
  .header-inner{gap:14px;height:62px}
  .nav{
    display:none;position:absolute;top:62px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--bg);border-bottom:1px solid var(--line);padding:8px 24px 14px;
    box-shadow:var(--shadow);
  }
  .nav.open{display:flex}
  .nav a{padding:13px 0;font-size:16px;border-bottom:1px solid var(--line)}
  .nav a:last-child{border-bottom:none}
  .menu-toggle{display:flex}
  .header-cta{display:none}
  .hero{padding:56px 0 72px}
  .wx-bar{margin:10px 16px 0;padding:9px 14px;font-size:12.5px;border-radius:9px}
  .section{padding:60px 0}
  .chatwin-side{display:none}
  .chatwin-body{grid-template-columns:1fr;min-height:0}
  .dl-panel{padding:40px 22px}
  .dl-list{grid-template-columns:repeat(2,1fr)}
  .dl-item:nth-child(3){border-left:none}
  .dl-item:nth-child(n+3){border-top:1px solid rgba(0,80,180,.14)}
  .dl-item:nth-child(-n+2){border-top:none}
  .footer-main{grid-template-columns:1fr;gap:32px}
  .footer-links{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .feat-grid{grid-template-columns:1fr}
  .value-card{padding:28px 24px}
  .num-deco{font-size:88px;bottom:-20px}
  .hero-actions{flex-direction:column;width:100%}
  .hero-actions .btn{width:100%}
  .dl-list{grid-template-columns:1fr}
  .dl-item{border-left:none;border-top:1px solid rgba(0,80,180,.14)}
  .dl-item:first-child{border-top:none}
  .msg{max-width:92%}
}
