 :root{
    --green:#2F7D46;
    --green-light:#EDF6EF;
    --green-border:#D6E8DA;
    --text:#1c1f23;
    --muted:#5b6166;
    --muted-2:#9aa0a6;
    --border:#e6e9ec;
    --border-strong:#d7dbe0;
    --radius:12px;
    --radius-lg:14px;
    --shadow:0 8px 24px rgba(0,0,0,.08);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  body{
    background:#ffffff;color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",
                "PingFang SC","Microsoft YaHei",Roboto,Helvetica,Arial,sans-serif;
    line-height:1.6;font-size:16px;
  }
  a{color:inherit;text-decoration:none}
  button{font:inherit;cursor:pointer;background:none;border:none;color:inherit}
  img{max-width:100%;display:block}
  .container{max-width:1140px;margin:0 auto;padding:0 20px}

  /* ---------- Header ---------- */
  header{
    border-bottom:1px solid var(--border);
    position:sticky;top:0;z-index:100;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(12px);
  }
  .header-inner{
    display:flex;align-items:center;justify-content:space-between;
    height:64px;gap:24px;
  }
  .logo{
    font-weight:800;font-size:20px;letter-spacing:-.5px;
    display:flex;align-items:center;gap:8px;color:var(--text);
  }
  .logo span{color:var(--green)}
  .logo-dot{
    width:26px;height:26px;border-radius:8px;
    background:linear-gradient(135deg,var(--green),#6fb583);
    display:inline-block;flex-shrink:0;
  }
  nav{display:flex;align-items:center;gap:26px}
  nav a{color:var(--muted);font-size:14px;font-weight:500;transition:color .15s}
  nav a:hover{color:var(--green)}

  /* 语言切换 */
  .lang-switch{position:relative}
  .lang-btn{
    background:#fff;border:1px solid var(--border-strong);
    color:var(--text);padding:7px 12px;border-radius:8px;
    font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;
    transition:.15s;
  }
  .lang-btn:hover{border-color:var(--green);color:var(--green)}
  .lang-menu{
    position:absolute;right:0;top:110%;
    background:#fff;border:1px solid var(--border);
    border-radius:10px;min-width:160px;padding:6px;
    display:none;box-shadow:0 12px 32px rgba(0,0,0,.12);
    max-height:340px;overflow-y:auto;z-index:200;
  }
  .lang-menu.open{display:block}
  .lang-menu button{
    width:100%;text-align:left;background:none;border:none;
    color:var(--text);padding:8px 10px;border-radius:6px;
    font-size:13px;cursor:pointer;
  }
  .lang-menu button:hover{background:var(--green-light)}
  .lang-menu button.active{color:var(--green);font-weight:600}

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-block;padding:12px 24px;border-radius:10px;
    font-weight:600;font-size:14px;cursor:pointer;border:none;
    transition:filter .15s,transform .1s;
  }
  .btn:hover{filter:brightness(1.06)}
  .btn:active{transform:scale(.98)}
  .btn-primary{background:var(--green);color:#fff}
  .btn-ghost{
    background:#fff;color:var(--green);
    border:1px solid var(--green);margin-left:10px;
  }
  .btn-ghost:hover{background:rgba(47,125,70,.06)}

  /* ---------- Hero ---------- */
  .hero{padding:64px 0 32px;text-align:center}
  .hero h1{
    font-size:clamp(28px,5vw,42px);font-weight:700;
    letter-spacing:-.6px;line-height:1.2;margin-bottom:18px;
  }
  .hero p{color:var(--muted);max-width:640px;margin:0 auto 30px;font-size:16px}

  /* ---------- Steps ---------- */
  .steps{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;margin:40px 0 20px;
  }
  .step{
    background:var(--green-light);border:1px solid var(--green-border);
    border-radius:var(--radius);padding:24px 20px;text-align:left;
  }
  .step-num{
    width:34px;height:34px;border-radius:50%;
    background:#fff;color:var(--green);border:1px solid var(--green-border);
    display:flex;align-items:center;justify-content:center;
    font-weight:700;font-size:14px;margin-bottom:14px;
  }
  .step h3{font-size:20px;margin-bottom:6px;font-weight: bold;}
  .step p{color:var(--muted);font-size:17px}

  /* ---------- Section ---------- */
  section{padding:48px 0}
  .section-title{font-size:24px;font-weight:700;margin-bottom:8px;letter-spacing:-.4px}
  .section-sub{color:var(--muted);font-size:14px;margin-bottom:28px}

  /* =========================================================
     aa.html 风格的卡片（价格 + 地址 + 二维码）
     ========================================================= */
  .card{
    width:100%;max-width:520px;
    margin:0 auto;
    background:#fff;
    border:3px solid var(--green);
    border-radius:var(--radius-lg);
    overflow:hidden;
    box-shadow:var(--shadow);
  }
  .card-header{
    background:var(--green);
    color:#fff;
    padding:14px 16px;
    display:flex;align-items:center;justify-content:space-between;
  }
  .card-title{
    display:flex;align-items:center;gap:8px;
    font-size:16px;font-weight:700;letter-spacing:.5px;
  }
  .bolt-icon{width:18px;height:18px;flex-shrink:0}
  .help-btn{
    display:flex;align-items:center;gap:5px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.45);
    color:#fff;font-size:12px;
    padding:5px 10px;border-radius:6px;cursor:pointer;
    transition:background .15s;
  }
  .help-btn:hover{background:rgba(255,255,255,.22)}
  .help-btn svg{width:12px;height:12px}

  .card-body{padding:20px 18px 26px}

  /* Tab */
  .tabs{
    display:flex;border-bottom:1px solid var(--border);
    margin-bottom:22px;
  }
  .tab{
    flex:1;text-align:center;
    padding:10px 0 12px;
    font-size:15px;font-weight:600;
    color:var(--muted-2);
    cursor:pointer;position:relative;
    background:none;border:none;font-family:inherit;
    transition:color .15s;
  }
  .tab:hover{color:var(--green)}
  .tab.active{color:var(--green)}
  .tab.active::after{
    content:"";position:absolute;
    left:0;right:0;bottom:-1px;
    height:2.5px;background:var(--green);
    border-radius:2px 2px 0 0;
  }

  /* 小节标题 */
  .section-label{
    font-size:14px;font-weight:700;
    color:var(--text);margin-bottom:12px;
  }

  /* 价格两列 */
  .price-grid{
    display:grid;grid-template-columns:1fr 1fr;
    gap:10px;margin-bottom:24px;
  }
  .price-card{
    background:var(--green-light);
    border:1px solid var(--green-border);
    border-radius:10px;
    padding:12px 10px;
    display:flex;align-items:center;gap:8px;
  }
  .price-card .bolt{
    width:20px;height:20px;color:var(--green);flex-shrink:0;
  }
  .price-info{display:flex;flex-direction:column;gap:3px;min-width:0}
  .price-title{
    font-size:13px;font-weight:600;
    color:var(--text);line-height:1.25;
  }
  .price-sub{
    font-size:11.5px;color:var(--muted);line-height:1.25;
  }
  .price-value{
    font-size:13px;font-weight:700;
    color:var(--text);margin-top:2px;
  }

  /* 地址框 */
  .addr-box{
    background:#fff;
    border:1px solid var(--border-strong);
    border-radius:10px;
    padding:11px 12px;
    display:flex;align-items:center;justify-content:space-between;
    gap:10px;cursor:pointer;
    transition:border-color .15s;
    margin-bottom:22px;
  }
  .addr-box:hover{border-color:var(--green)}
  .addr-text{
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:12.5px;color:var(--text);
    word-break:break-all;line-height:1.4;
  }
  .copy-btn{
    flex-shrink:0;width:22px;height:22px;
    display:flex;align-items:center;justify-content:center;
    color:#4a5055;background:none;border:none;cursor:pointer;padding:0;
  }
  .copy-btn:hover{color:var(--green)}
  .copy-btn svg{width:16px;height:16px}

  /* 二维码 */
  .qr-wrap{display:flex;justify-content:center}
  .qr-wrap > div{
    width:180px;height:180px;
    display:flex;align-items:center;justify-content:center;
    background:#fff;
  }

  /* 面板切换 */
  [data-panel]{display:none}
  [data-panel].active{display:block}

  /* 复制 toast */
  .copy-toast{
    position:fixed;left:50%;bottom:40px;
    transform:translateX(-50%) translateY(20px);
    background:var(--green);color:#fff;
    font-size:13px;padding:8px 18px;border-radius:8px;
    opacity:0;pointer-events:none;
    transition:opacity .2s,transform .2s;
    z-index:99999;
  }
  .copy-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

  /* 重要提示 */
  .warn{
    background:rgba(198,49,39,.06);
    border:1px solid rgba(198,49,39,.2);
    border-radius:10px;padding:14px 16px;
    margin-top:20px;font-size:13px;color:var(--muted);
    max-width:520px;margin-left:auto;margin-right:auto;
  }
  .warn strong{color:#C63127;display:block;margin-bottom:4px}
  .warn ul{margin:8px 0 0 18px}

  /* ---------- Stats ---------- */
  .stats{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:18px;margin-top:24px;
  }
  .stat{
    background:var(--green-light);border:1px solid var(--green-border);
    border-radius:var(--radius);padding:24px 20px;text-align:center;
  }
  .stat-val{font-size:30px;font-weight:800;color:var(--green)}
  .stat-lbl{font-size:13px;color:var(--muted);margin-top:6px}

  /* ---------- Services ---------- */
  .services{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
  }
  .service{
    background:var(--green-light);border:1px solid var(--green-border);
    border-radius:var(--radius);padding:24px;
    transition:border-color .15s,transform .15s,box-shadow .15s;
    display:block;
  }
  .service:hover{border-color:var(--green);transform:translateY(-2px);box-shadow:var(--shadow)}
  .service h3{font-size:18px;margin-bottom:8px;font-weight:700}
  .service p{color:var(--muted);font-size:15px}
  .service .arrow{color:var(--green);font-size:13px;margin-top:12px;display:inline-block;font-weight:600}

  /* ---------- Code ---------- */
  .code-block{
    background:#0d1117;border:1px solid var(--border);
    border-radius:var(--radius-lg);overflow:hidden;margin-top:24px;
  }
  .code-head{
    display:flex;align-items:center;gap:8px;
    padding:12px 16px;border-bottom:1px solid #21262d;
    font-size:13px;color:#9aa4b2;background:#161b22;
  }
  .code-dot{width:10px;height:10px;border-radius:50%}
  .code-body{
    padding:18px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
    font-size:13px;line-height:1.9;color:#c9d1d9;overflow-x:auto;
    white-space:pre;
  }
  .kw{color:#ff7b72}.fn{color:#d2a8ff}
  .str{color:#a5d6ff}.cmt{color:#8b949e}
  .num{color:#79c0ff}

  /* ---------- FAQ ---------- */
  .faq-item{
    background:#fff;border:1px solid var(--border);
    border-radius:12px;margin-bottom:10px;overflow:hidden;
    transition:border-color .15s;
  }
  .faq-item:hover{border-color:rgba(47,125,70,.4)}
  .faq-q{
    width:100%;text-align:left;background:none;border:none;
    color:var(--text);padding:18px 20px;font-size:15px;
    font-weight:600;cursor:pointer;display:flex;
    justify-content:space-between;align-items:center;gap:16px;
  }
  .faq-q:hover{color:var(--green)}
  .faq-icon{color:var(--green);font-size:20px;transition:transform .2s;flex-shrink:0}
  .faq-item.open .faq-icon{transform:rotate(45deg)}
  .faq-a{
    display:none;padding:0 20px 20px;color:var(--muted);
    font-size:14px;line-height:1.7;
  }
  .faq-item.open .faq-a{display:block}
  .faq-cat{
    font-size:13px;color:var(--green);text-transform:uppercase;
    letter-spacing:1px;margin:28px 0 12px;font-weight:700;
  }

  /* ---------- Footer ---------- */
  footer{
    border-top:1px solid var(--border);padding:40px 0;
    color:var(--muted);font-size:13px;text-align:center;
    background:#fff;
  }
  footer a{color:var(--green);font-weight:600}

  @media (max-width:768px){
    nav a:not(.lang-switch a){display:none}
    .hero{padding:40px 0 20px}
    .tab{font-size:14px;padding:12px 0}
  }
  
  
   /* Telegram 遮罩 */
  #tgOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none; /* 默认隐藏，检测到 Telegram 才显示 */
    align-items: center;
    justify-content: center;
    padding: 32px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    animation: tgFadeIn .25s ease-out;
  }
  #tgOverlay.show { display: flex; }

  @keyframes tgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .tg-box {
    max-width: 420px;
    width: 100%;
  }

  .tg-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
  }

  .tg-sub {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
  }

  /* 箭头 + Safari 图标组合 */
  .tg-guide {
    position: relative;
    height: 220px;
  }

  /* 弯曲箭头（SVG） */
  .tg-arrow {
    position: absolute;
    right: 80px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    animation: tgBounce 1.4s ease-in-out infinite;
    transform-origin: bottom right;
  }
  @keyframes tgBounce {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(6px, 6px); }
  }

  /* 右下角 Safari 图标 */
  .tg-safari {
    position: absolute;
    right: 30px;
    bottom: 5px;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255,255,255,.15), 0 8px 24px rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .tg-safari svg { width: 52px; height: 52px; }

  /* 底部小提示 */
  .tg-hint {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
  }
  
  
  
  
  
  
  /* ============ 底部固定条 ============ */
/* ============ 底部固定条（重新设计） ============ */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 24, 28, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.bottom-bar-text {
  color: #eaecef;
  font-size: 14px;
  line-height: 1.35;
  min-width: 0;
}
.bottom-bar-text strong {
  color: #6fb583;
  font-weight: 700;
}
.bottom-bar-text small {
  display: block;
  color: rgba(234, 236, 239, 0.55);
  font-size: 12px;
  margin-top: 2px;
}

.bottom-bar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2F7D46;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: filter .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(47, 125, 70, 0.35);
}
.bottom-bar-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 18px rgba(47, 125, 70, 0.5);
}
.bottom-bar-btn:active { transform: scale(.97); }
.bottom-bar-btn svg { width: 14px; height: 14px; }

/* 页面底部预留空间，避免内容被底栏遮住 */
body { padding-bottom: 80px; }

/* 移动端简化 */
@media (max-width: 480px) {
  .bottom-bar-text small { display: none; }
  .bottom-bar-btn { padding: 10px 18px; font-size: 13px; }
}















/* ============ 免费能量弹窗 ============ */
.free-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: freeFadeIn .2s ease-out;
}
.free-modal-overlay.show { display: flex; }

@keyframes freeFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.free-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  animation: freeModalPop .25s ease-out;
}
@keyframes freeModalPop {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* 关闭按钮 */
.free-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #2F7D46;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.free-modal-close:hover {
  transform: rotate(90deg);
  background: #f2f2f2;
}

.free-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1c1f23;
  margin-bottom: 18px;
  text-align: center;
}

.free-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5055;
  margin-bottom: 8px;
}

.free-modal-input {
  width: 100%;
  height: 44px;
  border: 1px solid #d7dbe0;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #1c1f23;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.free-modal-input:focus {
  border-color: #2F7D46;
  box-shadow: 0 0 0 3px rgba(47, 125, 70, .12);
}

.free-modal-hint {
  font-size: 12.5px;
  color: #6b7278;
  line-height: 1.5;
  margin-top: 10px;
}
.free-modal-hint strong { color: #2F7D46; }

.free-modal-submit {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 18px;
  background: #2F7D46;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s, transform .1s, background .2s;
}
.free-modal-submit:hover:not(:disabled) { filter: brightness(1.08); }
.free-modal-submit:active:not(:disabled) { transform: scale(.98); }
.free-modal-submit:disabled {
  background: #b7bec4;
  cursor: not-allowed;
}

/* 进度条 */
.free-progress {
  margin-top: 16px;
  height: 8px;
  background: #edf0f2;
  border-radius: 999px;
  overflow: hidden;
  display: none;
}
.free-progress.show { display: block; }
.free-progress-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2F7D46, #6fb583);
  border-radius: 999px;
  transition: width .2s linear;
}

/* 进度条下方状态文案 */
.free-status {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  display: none;
  line-height: 1.5;
}
.free-status.show { display: block; }
.free-status.processing { color: #4a5055; }
.free-status.done      { color: #C63127; font-weight: 600; }
  
  
  
  
  
  
  .tz-lang-search { padding: 8px 10px 6px; }
.tz-lang-search input {
  width: 100%; height: 32px; padding: 0 10px;
  border: 1px solid var(--border, #e6e9ec);
  border-radius: 8px; font-size: 13px; outline: none;
}
.tz-lang-search input:focus { border-color: #2F7D46; }

.tz-lang-list { max-height: 280px; overflow-y: auto; }

.tz-lang-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  font-size: 13px; color: inherit; text-decoration: none;
  cursor: pointer;
}
.tz-lang-item:hover { background: var(--green-light, #EDF6EF); }
.tz-lang-item.active { color: #2F7D46; font-weight: 600; }
.tz-lang-item .fi { width: 18px; height: 13px; border-radius: 2px; flex-shrink: 0; }

.tz-lang-empty { text-align: center; padding: 12px; color: #999; font-size: 13px; }
  
  
  
  
  
  
  
  
  
  
  