/* ============================================================
   庄家统计软件官网 · 简洁浅色风格
   主色：墨黑 #14181f    强调：暖金 #c08a3e    背景：暖白 #fbfaf7
   ============================================================ */

:root{
  --ink:        #14181f;
  --ink-soft:   #4a5262;
  --ink-mute:   #7b8494;
  --line:       #e8e4dc;
  --bg:         #fbfaf7;
  --surface:    #ffffff;
  --gold:       #c08a3e;
  --gold-deep:  #a4702a;
  --gold-soft:  #f6ecda;
  --radius:     16px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(20,24,31,.04), 0 6px 18px -8px rgba(20,24,31,.12);
  --shadow-md:  0 2px 4px rgba(20,24,31,.04), 0 20px 44px -20px rgba(20,24,31,.20);
  --header-h:   70px;
  --container:  1140px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 12px);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

h1,h2,h3{ margin:0; line-height:1.25; font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
button{ font:inherit; color:inherit; }

::selection{ background:rgba(192,138,62,.22); }

.skip-link{
  position:fixed; top:-100px; left:16px; z-index:200;
  background:var(--ink); color:#fff; padding:10px 16px; border-radius:10px;
  transition:top .2s;
}
.skip-link:focus{ top:12px; }

.container{
  width:100%; max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

/* ---------------- 按钮 ---------------- */
.btn{
  --btn-bg:var(--ink);
  --btn-fg:#fff;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px;
  border:1px solid transparent;
  border-radius:999px;
  background:var(--btn-bg); color:var(--btn-fg);
  font-size:15px; font-weight:600; line-height:1.2;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }
.btn:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.btn-primary{
  background:linear-gradient(135deg,#d3a054,#b87f31);
  color:#fff;
  box-shadow:0 10px 24px -12px rgba(184,127,49,.85), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover{ box-shadow:0 16px 32px -14px rgba(184,127,49,.95), inset 0 1px 0 rgba(255,255,255,.3); }

.btn-ghost{
  background:transparent; color:var(--ink);
  border-color:var(--line);
}
.btn-ghost:hover{ background:#fff; border-color:#d8d2c6; box-shadow:var(--shadow-sm); }

.btn-outline{
  background:#fff; color:var(--ink);
  border-color:#ddd7cb;
}
.btn-outline:hover{ border-color:var(--gold); color:var(--gold-deep); box-shadow:var(--shadow-sm); }

.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-block{ display:flex; width:100%; }

/* ---------------- 顶部导航 ---------------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  height:var(--header-h);
  background:rgba(251,250,247,.82);
  border-bottom:1px solid transparent;
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
  transition:border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled{
  border-bottom-color:var(--line);
  background:rgba(251,250,247,.94);
  box-shadow:0 8px 24px -22px rgba(20,24,31,.4);
}

.header-inner{
  height:100%;
  display:flex; align-items:center; gap:32px;
}

.brand{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.brand-mark{
  display:grid; place-items:center;
  width:38px; height:38px;
  border-radius:11px;
  background:linear-gradient(140deg,#1c222c,#0e1218);
  color:#e8c88b;
  font-size:19px; font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 6px 14px -8px rgba(20,24,31,.7);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-size:16.5px; letter-spacing:.02em; }
.brand-text small{ font-size:11px; color:var(--ink-mute); letter-spacing:.14em; }

.nav{ display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav-link{
  position:relative;
  padding:9px 16px;
  border-radius:999px;
  font-size:15px; color:var(--ink-soft);
  transition:color .2s, background .2s;
}
.nav-link:hover{ color:var(--ink); background:rgba(20,24,31,.045); }
.nav-link.is-active{ color:var(--ink); font-weight:600; }
.nav-link.is-active::after{
  content:""; position:absolute; left:50%; bottom:2px;
  width:16px; height:2px; border-radius:2px;
  background:var(--gold);
  transform:translateX(-50%);
}

.header-actions{ display:flex; align-items:center; gap:10px; }

.nav-toggle{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--line); border-radius:12px;
  background:#fff;
  padding:0; cursor:pointer;
  align-items:center; justify-content:center; flex-direction:column; gap:4px;
}
.nav-toggle span{
  display:block; width:17px; height:1.7px; border-radius:2px;
  background:var(--ink);
  transition:transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.7px) rotate(-45deg); }

/* ---------------- 通用区块 ---------------- */
.screen{ position:relative; }
.section{ padding:96px 0; }
.section + .section{ padding-top:0; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:.08em;
  color:var(--gold-deep);
  text-transform:uppercase;
}
.eyebrow .dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(192,138,62,.14);
}

.section-head{ text-align:center; max-width:660px; margin:0 auto 56px; }
.section-head h2{ margin-top:16px; font-size:clamp(27px,3.3vw,40px); }
.section-sub{ margin-top:14px; color:var(--ink-soft); font-size:16px; }

/* ---------------- 第一屏 ---------------- */
.hero{
  min-height:100svh;
  display:flex; align-items:center;
  padding:calc(var(--header-h) + 56px) 0 88px;
  overflow:hidden;
}
.hero-glow{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(58% 60% at 78% 22%, rgba(192,138,62,.16), transparent 70%),
    radial-gradient(46% 50% at 8% 78%, rgba(20,24,31,.06), transparent 72%);
}
.hero-glow::after{
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(to right, rgba(20,24,31,.035) 1px, transparent 1px),
                   linear-gradient(to bottom, rgba(20,24,31,.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image:radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
}

.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.08fr .92fr;
  align-items:center; gap:64px;
}

.hero h1{
  margin-top:22px;
  font-size:clamp(34px,4.6vw,56px);
  letter-spacing:-.025em;
}
.hero h1 em{
  display:block;
  margin-top:8px;
  font-style:normal;
  color:var(--gold-deep);
  background:linear-gradient(100deg,#b87f31,#d8ab63 60%,#a4702a);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.lead{
  margin-top:22px;
  max-width:34em;
  font-size:16.5px; color:var(--ink-soft);
}

.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }

.hero-points{
  display:flex; flex-wrap:wrap; gap:10px 26px;
  margin-top:32px;
  font-size:14px; color:var(--ink-soft);
}
.hero-points li{ display:flex; align-items:center; gap:8px; }
.hero-points li::before{
  content:""; width:15px; height:15px; flex-shrink:0;
  border-radius:50%;
  background:var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.5' stroke='%23a4702a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* 右侧示意卡片 */
.hero-visual{ position:relative; }
.mock-card{
  position:relative;
  background:linear-gradient(175deg,#1a2029,#10151c);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:26px;
  color:#eef1f6;
  box-shadow:0 40px 80px -44px rgba(16,21,28,.9), inset 0 1px 0 rgba(255,255,255,.08);
  transform:rotate(.6deg);
}
.mock-card::after{
  content:""; position:absolute; inset:auto -8% -14% -8%; height:60%;
  background:radial-gradient(50% 100% at 50% 100%, rgba(192,138,62,.30), transparent 70%);
  filter:blur(20px); z-index:-1;
}
.mock-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.mock-label{ font-size:12.5px; color:#8b95a6; letter-spacing:.06em; }
.mock-value{ margin-top:4px; font-size:34px; font-weight:700; letter-spacing:-.02em; line-height:1.1; }
.mock-value span{ font-size:13px; font-weight:500; color:#8b95a6; margin-left:4px; }
.mock-badge{
  font-size:11.5px; color:#f0cf95;
  padding:5px 11px; border-radius:999px;
  background:rgba(192,138,62,.16);
  border:1px solid rgba(192,138,62,.34);
  white-space:nowrap;
}
.mock-chart{
  display:flex; align-items:flex-end; gap:6px;
  height:104px; margin-top:24px;
}
.mock-chart span{
  flex:1; height:var(--h); min-height:8px;
  border-radius:5px 5px 3px 3px;
  background:linear-gradient(to top, rgba(192,138,62,.20), rgba(226,181,113,.92));
  opacity:.9;
}
.mock-chart span:nth-child(4n){ background:linear-gradient(to top, rgba(255,255,255,.10), rgba(255,255,255,.34)); }
.mock-rows{ margin-top:22px; display:grid; gap:9px; }
.mock-row{
  display:flex; align-items:center; gap:11px;
  padding:10px 12px;
  border-radius:11px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.05);
  font-size:13px;
}
.mock-row .avatar{
  display:grid; place-items:center;
  width:26px; height:26px; flex-shrink:0;
  border-radius:8px;
  background:rgba(192,138,62,.16); color:#e8c88b;
  font-size:12px;
}
.mock-row .line{ color:#c3cbd8; }
.mock-row b{ margin-left:auto; font-weight:500; font-size:12px; color:#8fd6a8; }
.mock-row:last-child b{ color:#f0b775; }

/* ---------------- 第二屏：版本 ---------------- */
.plans{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; align-items:stretch;
}

.plan{
  position:relative;
  display:flex; flex-direction:column;
  padding:34px 30px 30px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.plan:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#ded7ca; }

.plan-tag{
  font-size:12px; font-weight:600; letter-spacing:.1em;
  color:var(--ink-mute);
  text-transform:uppercase;
}
.plan-name{ margin-top:8px; font-size:24px; }
.plan-name a{ transition:color .2s; }
.plan-name a:hover{ color:var(--gold-deep); }
.plan-desc{ margin-top:12px; font-size:14.5px; color:var(--ink-soft); min-height:3.2em; }
.plan-more{ display:inline-block; margin-bottom:14px; font-size:13px; font-weight:600; color:var(--gold-deep); }
.plan-more:hover{ text-decoration:underline; }

.plan-price{
  display:flex; align-items:baseline; gap:2px;
  margin:26px 0 24px;
  padding-bottom:24px;
  border-bottom:1px dashed var(--line);
  color:var(--ink);
}
.plan-price .cur{ font-size:19px; font-weight:600; color:var(--gold-deep); }
.plan-price strong{
  font-size:52px; font-weight:800; line-height:1; letter-spacing:-.03em;
  color:var(--gold-deep);
}
.plan-price .unit{ font-size:14px; color:var(--ink-mute); margin-left:4px; }

.plan-list{ display:grid; gap:13px; margin-bottom:30px; }
.plan-list li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14.5px; color:var(--ink-soft);
}
.plan-list li::before{
  content:""; flex-shrink:0;
  width:17px; height:17px; margin-top:3px;
  border-radius:50%;
  background:var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.5' stroke='%23a4702a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan .btn{ margin-top:auto; }

.plan-featured{
  background:linear-gradient(180deg,#fffdf9,#fff);
  border-color:rgba(192,138,62,.42);
  box-shadow:0 26px 60px -34px rgba(164,112,42,.55), var(--shadow-sm);
}
.plan-featured:hover{ border-color:rgba(192,138,62,.6); }
.plan-flag{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  padding:5px 16px;
  font-size:12px; font-weight:700; letter-spacing:.06em;
  color:#3a2603;
  background:linear-gradient(135deg,#f2cd8a,#dfae60);
  border-radius:999px;
  box-shadow:0 8px 18px -10px rgba(164,112,42,.9);
  white-space:nowrap;
}

.plans-note{
  margin-top:34px;
  text-align:center;
  font-size:13px; color:var(--ink-mute);
}

/* ---------------- 第三屏：联系 ---------------- */
.section-contact{
  background:linear-gradient(180deg,transparent, #f5f2ea 32%, #f5f2ea);
  border-top:1px solid var(--line);
  padding-top:88px;
}

.contact-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:20px; align-items:start;
}
.contact-card{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:28px 24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.contact-icon{
  display:grid; place-items:center;
  width:40px; height:40px;
  border-radius:12px;
  background:var(--gold-soft);
  color:var(--gold-deep);
  font-size:15px; font-weight:700;
}
.contact-card h3{ margin-top:16px; font-size:16px; }
.contact-value{
  margin-top:6px;
  font-size:15px; font-weight:600;
  color:var(--ink);
  word-break:break-all;
}
.contact-tip{ margin-top:2px; font-size:12.5px; color:var(--ink-mute); }
.contact-card .btn{ margin-top:16px; }

/* ---------------- 常见问题 ---------------- */
.faq{
  max-width:820px;
  margin:44px auto 0;
}
.faq-title{
  font-size:15px; font-weight:700; letter-spacing:.04em;
  color:var(--ink-mute);
  margin-bottom:6px;
}
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-item summary{
  position:relative;
  padding:16px 34px 16px 0;
  font-size:15px; font-weight:600; color:var(--ink);
  cursor:pointer;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"";
  position:absolute; right:6px; top:50%;
  width:10px; height:10px;
  border-right:1.8px solid var(--ink-mute);
  border-bottom:1.8px solid var(--ink-mute);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .25s var(--ease);
}
.faq-item[open] summary::after{ transform:translateY(-30%) rotate(-135deg); }
.faq-item summary:hover{ color:var(--gold-deep); }
.faq-item p{
  padding:0 30px 18px 0;
  font-size:14px; line-height:1.85; color:var(--ink-soft);
}

.notice{
  margin-top:40px;
  padding:18px 22px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  border-radius:10px;
  font-size:13.5px; line-height:1.8; color:var(--ink-soft);
}
.notice strong{ color:var(--ink); }

/* ---------------- 页脚 ---------------- */
.site-footer{
  background:#10151c;
  color:#a9b3c2;
  padding:46px 0 34px;
}
.footer-inner{ display:grid; gap:26px; }
.footer-brand{ display:flex; align-items:center; gap:13px; }
.footer-brand .brand-mark{ background:linear-gradient(140deg,#242c38,#161b22); }
.footer-brand strong{ color:#fff; font-size:16px; }
.footer-brand p{ margin-top:2px; font-size:13px; color:#7d8797; }

.footer-nav{ display:flex; flex-wrap:wrap; gap:24px; font-size:14px; }
.footer-nav a{ color:#c3cbd8; transition:color .2s; }
.footer-nav a:hover{ color:#e8c88b; }

.copyright{
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:12.5px; color:#8f99a9;
  display:flex; flex-wrap:wrap; gap:10px;
}
.copyright a{ color:#8d97a7; }
.copyright a:hover{ color:#e8c88b; }
.copyright .sep{ opacity:.5; }

/* ---------------- 提示条 ---------------- */
.toast{
  position:fixed; left:50%; bottom:32px; z-index:200;
  transform:translate(-50%,16px);
  padding:11px 22px;
  border-radius:999px;
  background:rgba(20,24,31,.94);
  color:#fff; font-size:14px;
  box-shadow:0 18px 40px -18px rgba(20,24,31,.8);
  opacity:0; pointer-events:none;
  transition:opacity .25s, transform .25s var(--ease);
}
.toast.is-show{ opacity:1; transform:translate(-50%,0); }

/* ---------------- 滚动出现 ---------------- */
.reveal{
  opacity:0; transform:translateY(18px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay:var(--d,0s);
}
.reveal.is-in{ opacity:1; transform:none; }

/* ---------------- 响应式 ---------------- */
@media (max-width:1024px){
  .hero-inner{ gap:40px; }
  .plan{ padding:30px 24px 26px; }
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px){
  .hero{ min-height:0; padding:calc(var(--header-h) + 48px) 0 72px; }
  .hero-inner{ grid-template-columns:1fr; gap:48px; }
  .hero-visual{ max-width:520px; width:100%; }
  .lead{ max-width:none; }
  .mock-card{ transform:none; }

  .plans{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; }
  .plan-desc{ min-height:0; }
  .plan-featured{ order:-1; }

  .nav{
    position:absolute; top:calc(var(--header-h) - 4px); left:16px; right:16px;
    flex-direction:column; align-items:stretch; gap:2px;
    padding:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow-md);
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .22s, transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open{ opacity:1; visibility:visible; transform:none; }
  .nav-link{ padding:12px 14px; border-radius:10px; font-size:15px; }
  .nav-link.is-active{ background:rgba(192,138,62,.09); }
  .nav-link.is-active::after{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions{ margin-left:auto; }
  .header-actions .btn{ display:none; }
}

@media (max-width:640px){
  .container{ padding-inline:18px; }
  .section{ padding:68px 0; }
  .section + .section{ padding-top:0; }
  .section-head{ margin-bottom:36px; }
  .section-head h2{ font-size:26px; }
  .section-sub{ font-size:14.5px; }

  .hero h1{ font-size:32px; }
  .lead{ font-size:15.5px; }
  .hero-cta{ gap:10px; }
  .hero-cta .btn{ flex:1 1 auto; }
  .hero-points{ gap:8px 18px; font-size:13px; }

  .mock-card{ padding:20px; border-radius:20px; }
  .mock-value{ font-size:28px; }
  .mock-chart{ height:84px; }

  .plan-price strong{ font-size:44px; }
  .contact-grid{ grid-template-columns:1fr; }
  .contact-card{ padding:22px 20px; }
  .site-footer{ padding:36px 0 28px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }
  .reveal{ opacity:1; transform:none; }
}

/* ============================================================
   浮动客服窗口（微信 / Telegram / QQ / 在线客服 + 二维码）
   与全站一致的浅色暖白 + 墨黑 + 暖金风格
   ============================================================ */
.kefu-widget{
  position:fixed; top:50%; right:64px;
  transform:translateY(-50%);
  z-index:300;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:12px 10px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
  touch-action:none;
}
.kefu-widget[hidden]{ display:none; }
.kefu-title{
  width:100%; padding-bottom:9px;
  text-align:center; white-space:nowrap;
  font-size:.66rem; font-weight:700; letter-spacing:.08em;
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
.kefu-close{
  position:absolute; top:-12px; right:-12px;
  width:20px; height:20px; padding:0;
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; line-height:1; cursor:pointer;
  color:var(--ink-soft);
  background:#fff; border:1px solid var(--line); border-radius:50%;
  box-shadow:var(--shadow-sm);
  transition:background .2s, color .2s, border-color .2s, transform .2s;
}
.kefu-close:hover{ background:var(--ink); color:#fff; border-color:var(--ink); transform:scale(1.08); }
.kefu-items{ display:flex; flex-direction:column; gap:9px; }
.kefu-item{
  width:44px; height:44px; padding:0;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  border:1px solid rgba(255,255,255,.18); border-radius:12px;
  font-family:inherit; font-size:1.15rem; line-height:1; cursor:pointer;
  transition:transform .2s, border-color .2s, box-shadow .2s, filter .2s;
}
.kefu-item-wechat{ background:linear-gradient(135deg,#07C160,#1AAD19); box-shadow:0 8px 18px -10px rgba(7,193,96,.75); }
.kefu-item-telegram{ background:linear-gradient(135deg,#26A5E4,#1d7fc0); box-shadow:0 8px 18px -10px rgba(38,165,228,.75); }
.kefu-item-qq{ background:linear-gradient(135deg,#12B7F5,#0099FF); box-shadow:0 8px 18px -10px rgba(0,153,255,.75); }
.kefu-item-service{ background:linear-gradient(135deg,#d3a054,#b87f31); box-shadow:0 8px 18px -10px rgba(184,127,49,.85); }
.kefu-item:hover{
  transform:translateY(-2px) scale(1.05);
  filter:brightness(1.08);
  border-color:rgba(255,255,255,.4);
}
.kefu-item-wechat:hover{ box-shadow:0 10px 22px -8px rgba(7,193,96,.85); }
.kefu-item-telegram:hover{ box-shadow:0 10px 22px -8px rgba(38,165,228,.85); }
.kefu-item-qq:hover{ box-shadow:0 10px 22px -8px rgba(0,153,255,.85); }
.kefu-item-service:hover{ box-shadow:0 10px 22px -8px rgba(184,127,49,.9); }
.kefu-item-group{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.kefu-item-caption{ font-size:.62rem; line-height:1; white-space:nowrap; color:var(--ink-mute); }

/* 移动端客服按钮：默认隐藏，仅移动端显示 */
.kefu-trigger{
  display:none;
  align-items:center; justify-content:center;
  width:44px; height:44px; padding:0;
  color:#fff; cursor:pointer;
  border:1px solid rgba(255,255,255,.28); border-radius:12px;
  background:linear-gradient(135deg,#d3a054,#b87f31);
  box-shadow:0 10px 24px -12px rgba(184,127,49,.85), inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .2s, filter .2s;
}
.kefu-trigger:hover{ transform:translateY(-2px) scale(1.05); filter:brightness(1.05); }
.kefu-trigger-group{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.kefu-trigger-grid{
  display:grid; grid-template-columns:repeat(2,auto);
  gap:2px; justify-items:center; align-items:center;
}
.kefu-trigger-chevron{ display:none; align-items:center; justify-content:center; }
.kefu-trigger-caption{ font-size:.62rem; line-height:1; white-space:nowrap; color:var(--ink-soft); }
.kefu-widget--expanded .kefu-trigger-grid,
.kefu-widget--expanded .kefu-trigger-caption{ display:none; }
.kefu-widget--expanded .kefu-trigger-chevron{ display:flex; }
.kefu-item-service,
.kefu-trigger{ position:relative; }
.kefu-badge{
  position:absolute; top:-6px; right:-6px; z-index:4;
  min-width:18px; height:18px; padding:0 5px;
  display:flex; align-items:center; justify-content:center;
  border:2px solid #fff; border-radius:999px;
  background:#ef4444; color:#fff;
  font-size:10px; font-weight:800; line-height:1;
  box-shadow:0 2px 8px rgba(239,68,68,.55);
  pointer-events:none;
}
.kefu-badge[hidden]{ display:none; }
.kefu-widget--expanded .kefu-trigger .kefu-badge{ display:none; }

/* 微信图标点击弹出的二维码卡片 */
.kefu-qr-pop{
  position:absolute; top:50%; right:calc(100% + 12px);
  transform:translateY(-50%);
  width:128px; padding:8px;
  background:#fff; border:1px solid var(--line); border-radius:12px;
  box-shadow:var(--shadow-md);
}
.kefu-qr-pop[hidden]{ display:none; }
.kefu-qr-pop img{ width:100%; height:auto; display:block; border-radius:6px; }
.kefu-qr-pop span{
  display:block; margin-top:5px; text-align:center;
  font-size:.66rem; font-weight:600; color:var(--ink-soft);
}

/* 移动端：客服按钮固定，标题与项由 .kefu-panel 浮层向上滑出 */
@media (max-width:768px){
  .kefu-widget{
    top:auto; right:10px;
    bottom:calc(20px + env(safe-area-inset-bottom,0px));
    transform:none;
  }
  .kefu-close--collapse,
  .kefu-close--expand{ top:-10px; left:-10px; right:auto; }
  .kefu-close--collapse{ z-index:3; }
  .kefu-widget--expanded .kefu-close--collapse{ display:none; }
  .kefu-title{ font-size:.6rem; padding-bottom:7px; }
  .kefu-items{ gap:7px; }
  .kefu-item{ width:38px; height:38px; border-radius:11px; font-size:1rem; }
  .kefu-item-caption,
  .kefu-trigger-caption{ font-size:.58rem; }
  .kefu-qr-pop{ width:110px; }
  .kefu-trigger{ display:flex; width:38px; height:38px; border-radius:11px; }
  .kefu-trigger-group{ z-index:1; }
  .kefu-panel{
    position:absolute; bottom:calc(100% + 8px); left:50%; z-index:2;
    display:flex; flex-direction:column; align-items:center; gap:8px;
    padding:10px 8px;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow-md);
    backdrop-filter:blur(14px) saturate(120%); -webkit-backdrop-filter:blur(14px) saturate(120%);
    transform-origin:bottom center;
    transform:translateX(-50%);
    transition:transform .24s ease, opacity .24s ease;
  }
  .kefu-widget--collapsed .kefu-panel{
    opacity:0; visibility:hidden; pointer-events:none;
    transform:translateX(-50%) translateY(10px) scale(.96);
    transition:transform .24s ease, opacity .24s ease, visibility 0s linear .24s;
  }
}

/* 仅真·移动端（无 hover）：脱离卡片外壳，卡片样式由 .kefu-panel 承载 */
@media (max-width:768px) and (hover:none){
  .kefu-widget{
    gap:0; padding:0;
    background:none; border:none; box-shadow:none;
    backdrop-filter:none; -webkit-backdrop-filter:none;
  }
}

/* 客服新消息提示条 */
.kefu-msg-toast{
  position:fixed; top:calc(var(--header-h) + 12px); right:20px; z-index:300;
  width:min(320px, calc(100vw - 32px));
  border:1px solid var(--line); border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:var(--shadow-md);
  animation:kefu-toast-in .24s ease;
}
.kefu-msg-toast[hidden]{ display:none; }
.kefu-msg-toast-btn{
  width:100%; padding:11px 14px;
  display:flex; flex-direction:column; gap:3px;
  border:0; background:transparent; color:inherit;
  font:inherit; text-align:left; cursor:pointer;
}
.kefu-msg-toast-title{ color:var(--gold-deep); font-size:.76rem; font-weight:800; letter-spacing:.02em; }
.kefu-msg-toast-text{
  color:var(--ink-soft);
  font-size:.76rem; line-height:1.45;
  white-space:pre-line; word-break:break-word;
  overflow:hidden; display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
@keyframes kefu-toast-in{
  from{ opacity:0; transform:translateY(-8px) scale(.98); }
  to{ opacity:1; transform:none; }
}
@media (max-width:768px){
  .kefu-msg-toast{
    left:10px; right:10px; width:auto;
    top:calc(var(--header-h) + 8px);
  }
}

/* 客服复制提示 */
.kefu-copy-tip{
  position:fixed; left:50%; bottom:32px; z-index:300;
  transform:translateX(-50%);
  max-width:calc(100vw - 32px);
  padding:9px 16px;
  font-size:.8rem; font-weight:600; color:#fff; text-align:center;
  background:rgba(20,24,31,.94);
  border:1px solid transparent;
  border-radius:100px;
  box-shadow:0 18px 40px -18px rgba(20,24,31,.8);
  word-break:break-all; pointer-events:none;
}
.kefu-copy-tip[hidden]{ display:none; }

/* 在线客服聊天弹窗 */
.kefu-chat-modal{
  position:fixed; right:20px; bottom:20px; z-index:300;
}
.kefu-chat-modal[hidden]{ display:none; }
.kefu-chat-modal-box{
  position:relative;
  width:360px; max-width:calc(100vw - 40px);
  height:min(448px, 64vh);
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.kefu-chat-modal-head{
  flex:0 0 auto; height:48px; padding:0 56px 0 16px;
  display:flex; align-items:center; gap:8px;
  color:var(--ink); font-size:.92rem; font-weight:700;
  background:linear-gradient(90deg, rgba(192,138,62,.14), rgba(255,255,255,0));
  border-bottom:1px solid var(--line);
}
.kefu-chat-modal-head-icon{
  flex:0 0 auto; width:26px; height:26px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#d3a054,#b87f31);
}
.kefu-chat-modal-countdown{
  margin-left:auto; flex:0 0 auto;
  font-size:.78rem; font-weight:600;
  color:var(--ink-mute); white-space:nowrap;
}
.kefu-chat-modal-countdown[hidden]{ display:none; }
.kefu-chat-modal-box iframe{ flex:1 1 auto; min-height:0; width:100%; height:auto; border:0; display:block; background:#fff; }
.kefu-chat-modal-close{
  position:absolute; top:10px; right:10px; z-index:2;
  width:36px; height:36px; padding:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; line-height:1; color:var(--ink-soft); cursor:pointer;
  background:#fff;
  border:1px solid var(--line); border-radius:10px;
  box-shadow:var(--shadow-sm);
  transition:background .2s, color .2s, border-color .2s, transform .2s;
}
.kefu-chat-modal-close:hover{
  color:var(--gold-deep);
  background:var(--gold-soft);
  border-color:var(--gold);
  transform:scale(1.05);
}
@media (max-width:768px){
  .kefu-chat-modal{ left:50%; right:auto; transform:translateX(-50%); bottom:calc(8px + env(safe-area-inset-bottom,0px)); }
  .kefu-chat-modal-box{ max-width:calc(100vw - 24px); height:47vh; border-radius:14px; }
  .kefu-chat-modal-head{ height:48px; padding:0 52px 0 12px; gap:6px; font-size:.85rem; }
  .kefu-chat-modal-countdown{ font-size:.72rem; }
}
@media (prefers-reduced-motion:reduce){
  .kefu-msg-toast{ animation:none; }
}

/* 联系区：微信二维码 */
.contact-qr{
  margin-top:16px;
  width:100%;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  padding:10px;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:12px;
}
.contact-qr img{ width:132px; height:132px; border-radius:6px; }
.contact-qr span{ font-size:12px; color:var(--ink-mute); }

/* ============================================================
   首页补充：核心功能
   ============================================================ */
.feats{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
  max-width:1000px; margin:0 auto;
}
.feat{
  position:relative;
  padding:30px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feat:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:#ded7ca; }
.feat-icon{
  display:grid; place-items:center;
  width:42px; height:42px;
  border-radius:12px;
  background:var(--gold-soft); color:var(--gold-deep);
  font-size:16px; font-weight:700;
}
.feat h3{ margin-top:18px; font-size:18px; }
.feat p{ margin-top:8px; font-size:14px; line-height:1.85; color:var(--ink-soft); }
.feat-num{
  position:absolute; top:30px; right:28px;
  font-size:11px; font-weight:700; letter-spacing:.12em;
  color:#c9c1b2;
}

/* ============================================================
   子页面：通用版式
   ============================================================ */
.page-hero{
  position:relative;
  padding:calc(var(--header-h) + 64px) 0 54px;
  background:
    radial-gradient(60% 120% at 82% 0, rgba(192,138,62,.14), transparent 70%),
    linear-gradient(180deg,#fdfbf7,#fbfaf7);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(20,24,31,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,24,31,.03) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(70% 80% at 70% 30%, #000 10%, transparent 78%);
  -webkit-mask-image:radial-gradient(70% 80% at 70% 30%, #000 10%, transparent 78%);
}
.page-hero .container{ position:relative; z-index:1; }
.breadcrumb{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  font-size:12.5px; color:var(--ink-mute);
}
.breadcrumb a{ transition:color .2s; }
.breadcrumb a:hover{ color:var(--gold-deep); }
.breadcrumb .sep{ opacity:.45; }
.page-hero h1{ margin-top:18px; font-size:clamp(30px,4.2vw,46px); }
.page-hero .lead{ max-width:720px; margin-top:14px; font-size:16px; color:var(--ink-soft); }
.page-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.7);
  font-size:12.5px; color:var(--ink-soft);
  white-space:nowrap;
}
.pill.gold{
  border-color:rgba(192,138,62,.34);
  background:var(--gold-soft);
  color:var(--gold-deep);
  font-weight:600;
}

.page-wrap{ padding:64px 0 92px; }
.page-layout{
  display:grid; grid-template-columns:minmax(0,1fr) 310px;
  gap:34px; align-items:start;
}
.page-content{ display:grid; gap:20px; min-width:0; }

.panel{
  padding:34px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.panel h2{ font-size:22px; }
.panel h3{ margin-top:26px; font-size:17px; }
.panel h3:first-child{ margin-top:0; }
.panel p{ margin-top:10px; font-size:14.5px; line-height:1.9; color:var(--ink-soft); }
.panel p strong{ color:var(--ink); }
.panel .btn{ margin-top:22px; }

.checks{ display:grid; gap:11px; margin-top:16px; }
.checks li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; color:var(--ink-soft);
}
.checks li::before{
  content:""; flex:none;
  width:17px; height:17px; margin-top:3px;
  border-radius:50%;
  background:var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.5' stroke='%23a4702a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.steps{ counter-reset:s; display:grid; gap:13px; margin:16px 0 0; padding:0; list-style:none; }
.steps li{
  counter-increment:s;
  position:relative;
  padding:17px 20px 17px 54px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fdfcf9;
  font-size:14px; line-height:1.8; color:var(--ink-soft);
}
.steps li::before{
  content:counter(s,decimal-leading-zero);
  position:absolute; left:17px; top:17px;
  display:grid; place-items:center;
  width:27px; height:27px;
  border-radius:8px;
  background:var(--gold-soft); color:var(--gold-deep);
  font-size:11px; font-weight:700;
}
.steps b{ color:var(--ink); }

.price-line{
  display:flex; align-items:baseline; gap:3px;
  margin-top:12px; color:var(--gold-deep);
}
.price-line .cur{ font-size:18px; font-weight:600; }
.price-line strong{ font-size:50px; font-weight:800; line-height:1; letter-spacing:-.03em; }
.price-line .unit{ margin-left:5px; font-size:13px; color:var(--ink-mute); }
.price-note{ margin-top:6px; font-size:12.5px; color:var(--ink-mute); }

.table-wrap{ margin-top:16px; overflow:auto; border:1px solid var(--line); border-radius:12px; }
table.cmp{ width:100%; min-width:560px; border-collapse:collapse; font-size:13.5px; }
.cmp th,.cmp td{ padding:13px 16px; text-align:left; border-bottom:1px solid var(--line); }
.cmp th{ background:#fbf8f2; color:var(--ink); font-weight:600; font-size:13px; }
.cmp td{ color:var(--ink-soft); }
.cmp tr:last-child td{ border-bottom:0; }
.cmp td b{ color:var(--ink); }

.page-side{
  position:sticky; top:calc(var(--header-h) + 20px);
  display:grid; gap:16px;
}
.side-card{
  padding:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.side-card h3{ font-size:15px; }
.side-card p{ margin-top:8px; font-size:13px; line-height:1.8; color:var(--ink-soft); }
.side-contact{
  background:linear-gradient(160deg,#fffdf9,#fff);
  border-color:rgba(192,138,62,.34);
}
.side-eyebrow{
  font-size:11px; font-weight:700; letter-spacing:.12em;
  color:var(--gold-deep); text-transform:uppercase;
}
.side-kv{ display:grid; gap:9px; margin-top:12px; font-size:13px; color:var(--ink-soft); }
.side-kv b{ color:var(--ink); }
.side-card .btn{ margin-top:14px; }
.side-links{ display:grid; margin-top:10px; }
.side-links a{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  font-size:13.5px; color:var(--ink-soft);
  transition:color .2s;
}
.side-links a:last-child{ border-bottom:0; }
.side-links a:hover{ color:var(--gold-deep); }
.side-links span{ font-size:11px; color:#b9b1a3; }

.panel .faq{ margin-top:8px; }
.panel .faq-item:last-child{ border-bottom:0; }
.panel .notice{ margin-top:22px; }
.panel .feats{ margin-top:20px; }

/* 客服窗口在中等屏幕上贴右下角，避免遮住右侧栏 */
@media (max-width:1280px) and (min-width:769px){
  .kefu-widget{
    top:auto; right:16px;
    bottom:calc(24px + env(safe-area-inset-bottom,0px));
    transform:none;
  }
}

/* 子页面响应式 */
@media (max-width:1024px){
  .page-layout{ grid-template-columns:1fr; }
  .page-side{ position:static; grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .feats{ grid-template-columns:1fr; }
  .page-hero{ padding:calc(var(--header-h) + 44px) 0 40px; }
  .page-wrap{ padding:44px 0 68px; }
  .panel{ padding:24px; }
  .page-side{ grid-template-columns:1fr; }
  .price-line strong{ font-size:42px; }
}
