/* ==========================================================================
   捞米官网 · 视觉语言对齐存图宝 landpage
   深墨绿黑 Hero #08151b → #132125 / 强调猩红 #F82741 / VIP 金 #e4b74c
   ========================================================================== */

:root {
  --ink: #08151b;
  --ink-2: #0e1c22;
  --ink-3: #132125;
  --accent: #f82741;
  --accent-hover: #e01c34;
  --accent-soft: rgba(248, 39, 65, 0.08);
  --gold: #e4b74c;
  --gold-deep: #bf7f00;
  --text: #302f3c;
  --text-2: #5b5f68;
  --muted: #8a8f98;
  --line: #eeeeee;
  --line-2: #e3e6ea;
  --bg-soft: #f7f8fa;
  --white: #fff;
  --green: #62c227;
  --blue: #00a3f1;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(8, 21, 27, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 21, 27, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 21, 27, 0.18);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: none; }
button, input, textarea, select { font: inherit; color: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }

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

::selection { background: var(--accent); color: #fff; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(248, 39, 65, .28); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 24px rgba(248, 39, 65, .34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #16282f; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .24); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { border: 1px solid var(--line-2); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 6px; }
.btn-lg { height: 54px; padding: 0 36px; font-size: 16px; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: 72px; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(8, 21, 27, .06);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand em { font-style: normal; color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 30px; margin-left: 12px; }
.nav-menu a { font-size: 15px; color: var(--text-2); transition: color .15s; }
.nav-menu a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-link { font-size: 14px; color: var(--text-2); padding: 8px 10px; border-radius: 6px; }
.nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2a3a42, var(--ink)); color: #fff; display: grid; place-items: center; font-size: 13px; }
.nav-vip-tag { font-size: 11px; color: var(--gold-deep); background: rgba(228, 183, 76, .16); border: 1px solid rgba(228, 183, 76, .5); padding: 1px 7px; border-radius: 20px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 86px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 18% 0%, rgba(248, 39, 65, .18), transparent 62%),
    radial-gradient(700px 420px at 88% 12%, rgba(228, 183, 76, .12), transparent 60%),
    linear-gradient(180deg, #08151b 0%, #0c191f 56%, #101d22 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  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;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding-bottom: 74px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: 6px 14px; border-radius: 30px; margin-bottom: 26px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(98, 194, 39, .18); }
.hero h1 { font-size: 50px; line-height: 1.22; letter-spacing: 1px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin: 20px auto 0; max-width: 720px; font-size: 16px; color: rgba(255, 255, 255, .68); line-height: 1.9; }
.hero-search {
  max-width: 720px; margin: 34px auto 0; display: flex; align-items: center;
  background: #fff; border-radius: 38px; padding: 6px 6px 6px 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}
.hero-search input { flex: 1; min-width: 0; height: 46px; font-size: 15px; color: var(--text); }
.hero-search input::placeholder { color: #a9aeb6; }
.hero-search button {
  height: 46px; padding: 0 30px; border-radius: 32px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  transition: background .15s;
}
.hero-search button:hover { background: var(--accent-hover); }
.hero-actions { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .42); }
.hero-stats { margin-top: 46px; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.hero-stats div { padding: 0 42px; text-align: center; position: relative; }
.hero-stats div + div::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 34px; background: rgba(255, 255, 255, .12); }
.hero-stats b { display: block; font-size: 30px; color: #fff; font-weight: 700; letter-spacing: 0; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------------- Hero 解析演示面板 ---------------- */
.hero-demo {
  max-width: 720px; margin: 20px auto 0; text-align: left;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 16px; padding: 16px 18px 14px;
  animation: heroDemoIn .3s ease both;
}
@keyframes heroDemoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hd-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hd-platform {
  font-size: 12px; font-weight: 600; color: #fff; line-height: 1;
  background: var(--accent); border-radius: 6px; padding: 5px 9px;
}
.hd-sample {
  font-size: 11px; color: rgba(255, 255, 255, .52); line-height: 1;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 4px 7px;
}
.hd-title {
  font-size: 14px; color: rgba(255, 255, 255, .9); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.hd-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.hd-thumb {
  aspect-ratio: 1 / 1; border-radius: 9px;
  background-color: rgba(255, 255, 255, .07);
  background-size: cover; background-position: center;
  border: 1px solid rgba(255, 255, 255, .09);
  user-select: none; -webkit-user-drag: none; cursor: default;
  transition: transform .18s ease, border-color .18s;
}
.hd-thumb[data-demo-img] { cursor: zoom-in; }
.hd-thumb:hover { transform: translateY(-2px); border-color: rgba(248, 39, 65, .5); }
.hd-thumb.locked {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .28);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .055) 0 7px, rgba(255, 255, 255, .018) 7px 14px);
}

.hd-stats {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 13px; font-size: 12px; color: rgba(255, 255, 255, .5);
}
.hd-stats b { color: #fff; font-weight: 700; margin-right: 3px; }
.hd-stats i { width: 1px; height: 11px; background: rgba(255, 255, 255, .14); }
.hd-total { margin-left: auto; color: rgba(255, 255, 255, .36); }

.hd-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 13px; padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.hd-tip { font-size: 12px; color: rgba(255, 255, 255, .42); line-height: 1.5; }

/* ---------------- 工具矩阵（存图宝 banner_bot_bg 深色带） ---------------- */
.tools-band { background: linear-gradient(180deg, #101d22, #0b181e); padding: 10px 0 76px; color: #fff; }
.tools-band .band-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.tools-band h2 { font-size: 24px; letter-spacing: 0; }
.tools-band p { font-size: 14px; color: rgba(255, 255, 255, .48); }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tool-card {
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px; padding: 26px 18px; text-align: center;
  transition: transform .2s ease, border-color .2s, background .2s;
}
.tool-card:hover { transform: translateY(-4px); border-color: rgba(248, 39, 65, .55); background: rgba(248, 39, 65, .07); }
.tool-card img { width: 44px; height: 44px; margin: 0 auto 14px; filter: brightness(0) invert(1); opacity: .92; }
.tool-card:hover img { filter: none; opacity: 1; }
.tool-card b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.tool-card span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .38); }
.tool-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 12px; color: rgba(255, 255, 255, .62); font-size: 14px;
}
.tool-more:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* ---------------- 平台墙 ---------------- */
.platforms { background: #fff; padding: 54px 0; border-bottom: 1px solid var(--line); }
.platforms .cap { text-align: center; font-size: 13px; color: var(--muted); letter-spacing: 2px; margin-bottom: 24px; }
.plat-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.plat {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 14px; color: var(--text-2); background: #fff;
  transition: all .18s;
}
.plat:hover { color: var(--accent); border-color: rgba(248, 39, 65, .4); background: var(--accent-soft); }
.plat em { font-style: normal; color: var(--accent); font-weight: 600; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker { display: inline-block; font-size: 13px; color: var(--accent); letter-spacing: 2px; font-weight: 600; margin-bottom: 12px; }
.section-head h2 { font-size: 34px; letter-spacing: 0; color: var(--ink); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* 特性 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.feature .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

/* ---------------- 价格 ---------------- */
.pricing { background: var(--bg-soft); }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 2px solid var(--line); border-radius: 14px;
  padding: 34px 28px 30px; text-align: center; transition: all .22s ease; cursor: pointer;
  display: flex; flex-direction: column;
}
.price-card:hover { border-color: #d9dde2; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 14px 40px rgba(248, 39, 65, .14); }
.price-card.selected { border-color: var(--accent); background: linear-gradient(180deg, #fff 0%, #fff7f8 100%); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #f0d08a); color: #6b4700;
  font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px;
  box-shadow: 0 4px 12px rgba(191, 127, 0, .28); letter-spacing: .5px;
}
.price-card h3 { font-size: 16px; color: var(--text-2); font-weight: 500; margin-bottom: 18px; }
.price-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--ink); }
.price-num i { font-style: normal; font-size: 20px; font-weight: 600; }
.price-num b { font-size: 50px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.price-num span { font-size: 15px; color: var(--muted); }
.price-orig { margin-top: 8px; font-size: 13px; color: #b6bac1; text-decoration: line-through; min-height: 20px; }
.price-per { margin-top: 6px; font-size: 13px; color: var(--accent); font-weight: 600; }
.price-desc { margin: 16px 0 22px; font-size: 13px; color: var(--muted); }
.price-card .btn { width: 100%; margin-top: auto; }
.price-foot { margin-top: 34px; text-align: center; font-size: 13px; color: var(--muted); }
.pay-icons { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.pay-icons span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.pay-icons i { width: 18px; height: 18px; border-radius: 4px; display: inline-block; }
.pay-icons .wx { background: var(--green); }
.pay-icons .ali { background: var(--blue); }
.pay-icons .card { background: #f0a500; }

/* 权益对比 */
.compare-wrap { margin-top: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare th, table.compare td { padding: 15px 20px; font-size: 14px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare th:first-child, table.compare td:first-child { text-align: left; color: var(--text-2); font-weight: 400; }
table.compare thead th { background: #fbfbfc; color: var(--ink); font-weight: 600; font-size: 14px; }
table.compare thead th.vip-col { color: var(--accent); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--green); font-weight: 700; }
table.compare .no { color: #c9cdd3; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--muted); font-weight: 300; transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p { padding: 0 40px 22px 0; font-size: 14px; color: var(--text-2); line-height: 1.9; }

/* 下载区 */
.download-band { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.download-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 80% 50%, rgba(248, 39, 65, .18), transparent 65%);
}
.download-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.download-inner h2 { font-size: 30px; letter-spacing: 0; }
.download-inner p { margin-top: 12px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.download-meta { margin-top: 16px; display: flex; gap: 22px; font-size: 13px; color: rgba(255, 255, 255, .42); flex-wrap: wrap; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 页脚 ---------------- */
.footer { background: #061116; color: rgba(255, 255, 255, .55); padding: 56px 0 26px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about { line-height: 1.9; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; flex-wrap: wrap; color: rgba(255, 255, 255, .34); }
.footer-bottom .links { display: flex; gap: 18px; }

/* ---------------- 备案号 ---------------- */
.footer-bottom .icp-link { color: inherit; white-space: nowrap; }
.footer-bottom .icp-link:hover { color: #fff; }
.page-icp {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5;
  text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .3);
}
.page-icp.fix { position: fixed; }
.page-icp a { color: rgba(255, 255, 255, .3); }
.page-icp a:hover { color: rgba(255, 255, 255, .62); }
.doc-foot {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #eee;
  text-align: center; font-size: 13px; color: #8a8f98;
}
.doc-foot a { color: #8a8f98; }
.doc-foot a:hover { color: #f82741; }

/* ---------------- 弹层 / Toast ---------------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(4, 12, 16, .78); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-mask.show { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 460px;
  padding: 30px; position: relative; box-shadow: var(--shadow-lg);
  animation: popIn .22s cubic-bezier(.2, .8, .3, 1);
  max-height: 92vh; overflow-y: auto;
}
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98) } to { opacity: 1; transform: none } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted); font-size: 20px; line-height: 1;
}
.modal-close:hover { background: #f2f3f5; color: var(--text); }
.modal h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; letter-spacing: 0; }
.modal .sub { font-size: 13px; color: var(--muted); }

.pay-modal { max-width: 420px; text-align: center; }
.pay-amount { margin: 20px 0 4px; font-size: 14px; color: var(--muted); }
.pay-amount b { font-size: 34px; color: var(--ink); margin: 0 4px; letter-spacing: -0.5px; }
.pay-amount b i { font-style: normal; font-size: 18px; }
.qr-box {
  width: 200px; height: 200px; margin: 18px auto 12px; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  display: grid; place-items: center; position: relative;
}
.qr-box canvas, .qr-box img { width: 100% !important; height: 100% !important; }
.qr-state {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .96); border-radius: 10px;
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  font-size: 13px; color: var(--text-2); text-align: center; padding: 16px;
}
.qr-state.show { display: flex; }
.qr-state .spin {
  width: 26px; height: 26px; border: 2px solid #eee; border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }
.pay-tip { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pay-count { margin-top: 4px; font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.channel-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 6px; }
.channel-tab {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; color: var(--text-2);
}
.channel-tab.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.channel-tab[disabled] { opacity: .45; cursor: not-allowed; }
.channel-tab i { width: 8px; height: 8px; border-radius: 50%; }
.channel-tab .wx { background: var(--green); }
.channel-tab .ali { background: var(--blue); }
.channel-tab .redeem { background: var(--gold); }
.pay-note {
  margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: #fff8f0;
  border: 1px solid #ffe3c2; color: #8a5a00; font-size: 12.5px; text-align: left; line-height: 1.8;
}
.pay-note b { color: #6b4700; }

#toast {
  position: fixed; left: 50%; top: 26px; transform: translate(-50%, -16px);
  background: rgba(8, 21, 27, .94); color: #fff; padding: 11px 20px; border-radius: 8px;
  font-size: 14px; z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s; box-shadow: var(--shadow-md); max-width: 88vw;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: rgba(196, 22, 43, .96); }

/* ---------------- 认证页 ---------------- */
.auth-page { min-height: 100vh; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 40px 20px 64px; position: relative; overflow: hidden; }
.auth-page::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 50% -10%, rgba(248, 39, 65, .2), transparent 60%),
              radial-gradient(600px 400px at 90% 100%, rgba(228, 183, 76, .1), transparent 60%);
}
.auth-card {
  position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 16px;
  padding: 40px 38px 34px; box-shadow: var(--shadow-lg);
}
.auth-card .brand { justify-content: center; margin-bottom: 8px; font-size: 22px; }
.auth-card .slogan { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.auth-tabs button {
  flex: 1; height: 44px; font-size: 15px; color: var(--muted); position: relative; font-weight: 500;
}
.auth-tabs button.active { color: var(--ink); font-weight: 600; }
.auth-tabs button.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px;
  width: 40px; height: 2px; background: var(--accent); border-radius: 2px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 7px; }
.field input {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0 14px; font-size: 14px; transition: border-color .15s, box-shadow .15s; background: #fff;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(248, 39, 65, .1); }
.field .hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.auth-submit { width: 100%; height: 48px; margin-top: 6px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--accent); }
.auth-alert { display: none; margin-bottom: 16px; padding: 10px 14px; border-radius: 8px; background: #fff1f2; color: #c4162b; font-size: 13px; }
.auth-alert.show { display: block; }
.auth-back { position: absolute; top: 26px; left: 26px; color: rgba(255, 255, 255, .6); font-size: 14px; z-index: 2; }
.auth-back:hover { color: #fff; }

/* ---------------- 会员中心 ---------------- */
.page-head { background: var(--ink); color: #fff; padding: 54px 0 96px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(248, 39, 65, .18), transparent 60%);
}
.page-head .container { position: relative; }
.page-head .container { position: relative; z-index: 2; }
/* 紧随深色页头、用负边距上浮的内容，必须高于页头的渐变遮罩 */
.page-head + .container, .account-wrap { position: relative; z-index: 3; }
.page-head h1 { font-size: 28px; letter-spacing: 0; }
.page-head p { margin-top: 8px; color: rgba(255, 255, 255, .55); font-size: 14px; }

.account-wrap { margin-top: -70px; padding-bottom: 80px; }
.vip-panel {
  background: linear-gradient(135deg, #1b2b33 0%, #0d1a20 62%, #2a1e12 100%);
  border: 1px solid rgba(228, 183, 76, .28);
  border-radius: 16px; padding: 30px 32px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vip-panel::after {
  content: ""; position: absolute; right: -160px; top: -200px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(228, 183, 76, .2), transparent 62%); border-radius: 50%;
  pointer-events: none;
}
.vip-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; z-index: 2; }
.vip-user { display: flex; align-items: center; gap: 16px; }
.vip-avatar {
  width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #35474f, #16262d);
  display: grid; place-items: center; font-size: 24px; color: #fff; border: 2px solid rgba(255, 255, 255, .16);
}
.vip-user h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; letter-spacing: 0; }
.vip-badge {
  font-size: 11px; font-weight: 700; color: #6b4700;
  background: linear-gradient(135deg, var(--gold), #f3d792);
  padding: 2px 9px; border-radius: 20px; letter-spacing: .5px;
}
.vip-user .uid { font-size: 12.5px; color: rgba(255, 255, 255, .45); margin-top: 4px; }
.vip-status { text-align: right; position: relative; z-index: 2; }
.vip-status .label { font-size: 13px; color: rgba(255, 255, 255, .5); }
.vip-status .value { font-size: 22px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.vip-status .value.expired { color: #ff8b98; }
.vip-status .days { font-size: 12.5px; color: rgba(255, 255, 255, .45); margin-top: 2px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; margin-top: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.panel-head h3 { font-size: 17px; color: var(--ink); letter-spacing: 0; }
.panel-head .tip { font-size: 13px; color: var(--muted); }

.renew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.renew-card {
  border: 1px solid var(--line-2); border-radius: 10px; padding: 18px; text-align: center;
  cursor: pointer; transition: all .18s;
}
.renew-card:hover { border-color: var(--accent); background: #fffafb; }
.renew-card b { display: block; font-size: 26px; color: var(--ink); letter-spacing: -0.5px; }
.renew-card b i { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); }
.renew-card span { font-size: 13px; color: var(--muted); }
.renew-card .go { margin-top: 10px; font-size: 13px; color: var(--accent); font-weight: 600; }

.redeem-row { display: flex; gap: 10px; flex-wrap: wrap; }
.redeem-row input {
  flex: 1; min-width: 220px; height: 46px; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0 14px; font-size: 14px; letter-spacing: 1px;
}
.redeem-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(248, 39, 65, .1); }

table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.list th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
table.list td { padding: 13px 12px; border-bottom: 1px solid #f4f5f7; color: var(--text-2); }
table.list tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px; line-height: 1.6; }
.tag.paid { background: #eef9e8; color: #3f8a1a; }
.tag.pending { background: #fff6e6; color: #a86b00; }
.tag.closed, .tag.refunded { background: #f2f3f5; color: #8a8f98; }
.empty { padding: 36px 0; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ---------------- 后台 ---------------- */
.admin-body { background: #f4f6f8; min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 24px 0; }
.admin-side .brand { color: #fff; padding: 0 22px 24px; font-size: 17px; }
.admin-side .brand img { width: 28px; height: 28px; }
.admin-nav a { display: block; padding: 11px 22px; font-size: 14px; border-left: 2px solid transparent; cursor: pointer; }
.admin-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.admin-nav a.active { color: #fff; background: rgba(248, 39, 65, .14); border-left-color: var(--accent); }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 22px; letter-spacing: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: 12px; padding: 20px 22px; border: 1px solid #eceff2; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; margin-top: 6px; }
.stat .v small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.admin-card { background: #fff; border: 1px solid #eceff2; border-radius: 12px; padding: 22px; margin-bottom: 22px; }
.admin-card h3 { font-size: 16px; margin-bottom: 16px; letter-spacing: 0; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-tabs button { height: 34px; padding: 0 14px; border-radius: 7px; font-size: 13px; color: var(--text-2); border: 1px solid #e3e6ea; }
.admin-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini-input { height: 34px; border: 1px solid #e3e6ea; border-radius: 7px; padding: 0 10px; font-size: 13px; }
.code-box { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; letter-spacing: .5px; }
.code-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; max-height: 320px; overflow-y: auto; }
.code-list span { background: #f7f8fa; border: 1px solid #eceff2; border-radius: 6px; padding: 7px 10px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }

/* ---------------- 404 ---------------- */
.err-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: #fff; text-align: center; padding: 40px; }
.err-page h1 { font-size: 90px; color: var(--accent); letter-spacing: 0; line-height: 1; }
.err-page p { margin: 14px 0 26px; color: rgba(255, 255, 255, .55); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-menu.open a { padding: 12px 0; width: 100%; }
  .hero { padding-top: 60px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-stats div { padding: 0 20px; }
  .hero-stats b { font-size: 24px; }
  .price-cards { grid-template-columns: 1fr; }
  .renew-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; align-items: center; padding: 12px 0; overflow-x: auto; }
  .admin-side .brand { padding: 0 16px; margin: 0; }
  .admin-nav { display: flex; }
  .admin-nav a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; padding: 10px 14px; }
  .admin-main { padding: 20px 16px 50px; }
}
@media (max-width: 620px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; padding: 10px; border-radius: 16px; gap: 8px; }
  .hero-search input { width: 100%; padding: 0 10px; text-overflow: ellipsis; }
  .hero-search button { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 0; margin-top: 34px; }
  .hero-stats div { padding: 0 10px; }
  .hero-stats div + div::before { display: none; }
  .hero-demo { padding: 13px 13px 12px; margin-top: 16px; }
  .hd-thumbs { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .hd-title { flex-basis: 100%; width: 100%; white-space: normal; }
  .hd-total { margin-left: 0; flex-basis: 100%; }
  .hd-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .hd-foot .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .download-inner { flex-direction: column; align-items: flex-start; }
  .download-actions { width: 100%; flex-direction: column; }
  .download-actions .btn { width: 100%; }
  .auth-card { padding: 30px 22px; width: 100%; max-width: 100%; min-width: 0; }
  .code-list { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .vip-panel { padding: 24px 20px; }
  .vip-status { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom .links { flex-wrap: wrap; gap: 10px 16px; font-size: 12.5px; }
}
