/* ============ 253 Token 开放平台 全站样式 ============ */
:root {
  --primary: #2E62F6;
  --primary-dark: #1E4BD8;
  --primary-light: #EAF0FF;
  --dark: #070B1E;
  --dark2: #0E1638;
  --text: #0F172A;
  --text2: #55617A;
  --line: #E5EAF3;
  --bg: #F6F8FC;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(15, 23, 42, .08);
  --grad: linear-gradient(90deg, #2E62F6, #7C3AED);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); background: #fff; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 导航（白底常驻，参照截图格式） ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  transition: box-shadow .3s;
}
.nav .container { display: flex; align-items: center; height: 68px; gap: 40px; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); }
.nav-logo .logo-name { white-space: nowrap; }
.nav-links { display: flex; gap: 34px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text2); font-size: 15px; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--primary); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 9px 22px !important; border-radius: 22px; font-size: 14px !important; box-shadow: 0 4px 16px rgba(46,98,246,.35); }

/* 导航右侧登录区（登录后：虚拟头像 + 下拉菜单） */
.nav-auth { display: flex; align-items: center; gap: 10px; }
.nav-account { position: relative; }
.na-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; cursor: pointer; max-width: 210px;
  padding: 5px 11px 5px 5px; border-radius: 22px;
  background: #f2f6ff; border: 1px solid #e2eafc; color: var(--text);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.na-btn:hover { background: #e9f0ff; border-color: #d2e0fb; }
.nav-account.open .na-btn { background: #e9f0ff; border-color: #cbdcfb; box-shadow: 0 4px 14px rgba(46,98,246,.14); }
.na-avatar {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  background: var(--grad); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(46,98,246,.34); overflow: hidden;
}
.na-avatar svg { width: 70%; height: 70%; display: block; }
.na-avatar-lg { width: 40px; height: 40px; flex: 0 0 40px; box-shadow: 0 4px 12px rgba(46,98,246,.3); }
.na-name {
  font-size: 14px; color: var(--text); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.na-caret { color: #8592a8; flex: 0 0 auto; transition: transform .22s; }
.nav-account.open .na-caret { transform: rotate(180deg); }

/* 下拉菜单面板 */
.na-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 210;
  width: 244px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-account.open .na-menu { opacity: 1; visibility: visible; transform: none; }
.na-head { display: flex; align-items: center; gap: 11px; padding: 9px 10px 13px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.na-meta { min-width: 0; flex: 1; }
.na-company { display: block; font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.na-phone { display: block; font-size: 12.5px; color: var(--text2); margin-top: 1px; letter-spacing: .3px; }
.na-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  font: inherit; font-size: 14px; text-align: left; cursor: pointer;
  padding: 10px 11px; border: none; border-radius: 9px; background: none; color: var(--text2);
  transition: background .18s, color .18s;
}
.na-item svg { width: 16px; height: 16px; flex: 0 0 16px; }
.na-item:hover { background: #f1f5ff; color: var(--primary); }
.na-sep { height: 1px; background: var(--line); margin: 6px 8px; }
.na-item-danger:hover { background: #fff5f8; color: #e11d48; }
.nav.scrolled { box-shadow: 0 2px 18px rgba(15,23,42,.08); }

/* 修改密码弹窗 */
body.modal-open { overflow: hidden; }
.lk-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.lk-modal.show { opacity: 1; visibility: visible; }
.lk-modal-mask { position: absolute; inset: 0; background: rgba(7,11,30,.52); backdrop-filter: blur(3px); }
.lk-modal-card {
  position: relative; width: min(404px, 100%);
  background: #fff; border-radius: 18px; padding: 28px 26px 24px;
  box-shadow: 0 30px 70px rgba(15,23,42,.32);
  transform: translateY(14px) scale(.98); transition: transform .24s;
}
.lk-modal.show .lk-modal-card { transform: none; }
.lk-modal-x {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border: none; border-radius: 50%; background: #f2f5fb; color: #7c8aa5;
  font-size: 19px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.lk-modal-x:hover { background: #e8eefb; color: var(--text); }
.lk-modal-card h3 { font-size: 19px; color: var(--text); }
.lk-modal-sub { font-size: 13px; color: var(--text2); margin: 6px 0 20px; line-height: 1.6; }
.lk-field { display: block; margin-bottom: 14px; }
.lk-field span { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.lk-field input {
  width: 100%; height: 45px; padding: 0 14px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fafcff; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lk-field input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(46,98,246,.12); }
.lk-pwd-msg { min-height: 18px; font-size: 13px; margin: 2px 0 6px; }
.lk-pwd-msg.err { color: #e11d48; }
.lk-pwd-msg.ok { color: #10b981; }
.lk-modal-actions { display: flex; gap: 12px; margin-top: 6px; }
.lk-btn {
  flex: 1; height: 45px; border-radius: 11px; font: inherit; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: background .2s, filter .2s, border-color .2s;
}
.lk-btn-ghost { background: #fff; border-color: var(--line); color: var(--text2); }
.lk-btn-ghost:hover { background: #f5f8ff; color: var(--text); }
.lk-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(46,98,246,.32); }
.lk-btn-primary:hover { filter: brightness(1.06); }
.lk-btn:disabled { opacity: .62; cursor: not-allowed; filter: none; }

/* 成功提示弹窗（登录/注册成功，自动跳转） */
.lk-ok-card { width: min(304px, 100%); text-align: center; padding: 34px 26px 30px; }
.lk-ok-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 31px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(46,98,246,.36);
  animation: lkOkPop .42s cubic-bezier(.2,.9,.3,1.35) both;
}
@keyframes lkOkPop { from { transform: scale(.45); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lk-ok-card h3 { font-size: 18.5px; }
.lk-ok-card p { font-size: 13.5px; color: var(--text2); margin-top: 7px; }

/* 汉堡按钮（仅移动端显示） */
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: none; cursor: pointer; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .28s ease, opacity .2s ease; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

@media (max-width: 880px) {
  .nav .container { height: 62px; gap: 0; }
  .nav-logo img { height: 32px; }
  .nav-toggle { display: flex; }
  /* 菜单折叠为下拉面板 */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 5% 18px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(15,23,42,.14);
    max-height: calc(100vh - 62px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .26s ease, transform .26s ease, visibility .26s;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 16px; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active { color: var(--primary); font-weight: 600; }
  .nav-links a.active::after { display: none; }
  .nav-links a.nav-cta {
    margin-top: 14px; text-align: center; justify-content: center;
    padding: 14px 22px !important; font-size: 16px !important; border-radius: 14px;
    box-shadow: 0 8px 22px rgba(46,98,246,.32);
  }
  .nav-links a.nav-cta:active { opacity: .9; }

  /* 移动端登录区：整行铺满，下拉菜单改为就地展开 */
  .nav-auth { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 6px; }
  .nav-account { width: 100%; }
  .na-btn { width: 100%; max-width: none; justify-content: flex-start; padding: 11px 14px; border-radius: 12px; }
  .na-name { font-size: 15px; }
  .na-avatar { width: 30px; height: 30px; flex-basis: 30px; }
  .na-caret { margin-left: auto; }
  .na-menu {
    position: static; width: 100%; right: auto; transform: none; transform-origin: center;
    opacity: 1; visibility: hidden;
    max-height: 0; padding: 0 8px; margin-top: 0; overflow: hidden;
    box-shadow: none; border-radius: 12px;
    transition: max-height .26s ease, padding .26s ease, margin-top .26s ease, visibility .26s;
  }
  .nav-account.open .na-menu { max-height: 340px; padding: 8px; margin-top: 8px; visibility: visible; }
}

/* ---------- Hero / Banner（浅色左对齐 + 电影级极光丝绸） ----------
   背景终点为纯白，与下方首个白色板块无缝融合，不产生分割线 */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #fdfdff 0%, #f6f9ff 42%, #ffffff 100%); }
/* 细点阵网格：增强科技纵深（边缘淡出） */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(59,107,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 28% 38%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 78% 62% at 28% 38%, #000 10%, transparent 70%);
}
/* 动画层底部与右缘渐隐，避免与下方内容形成硬边 */
#ribbonCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 82%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; width: min(1200px, 92%); margin: 0 auto; padding: 150px 0 100px; text-align: left; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 30px;
  border: 1px solid #dde6f7; background: rgba(255,255,255,.85);
  color: var(--primary); font-size: 13px; letter-spacing: 1px; margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(46,98,246,.08);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 10px #10b981; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 {
  font-size: clamp(32px, 4.8vw, 58px); font-weight: 700; color: #111111; letter-spacing: -0.02em;
  line-height: 1.3; margin-bottom: 24px;
}
/* 标题渐变取参考站原值：蓝 → 靛 → 紫 */
.hero h1 .grad-text { background: linear-gradient(90deg, #186CFD 0%, #716BFA 53%, #A86BEF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(14px, 1.6vw, 19px); color: var(--text2); margin-bottom: 48px; letter-spacing: .5px; }
.hero-btns { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 34px; border-radius: 28px;
  font-size: 15px; cursor: pointer; border: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-dark { background: #0b1220; color: #fff; box-shadow: 0 10px 26px rgba(11,18,32,.28); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,18,32,.36); }
.btn-dark .arr { display: inline-block; transition: transform .2s; }
.btn-dark:hover .arr { transform: translateX(4px); }
.btn-ghost { background: rgba(255,255,255,.9); color: #33405c; border: 1px solid #d7dfee; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(46,98,246,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46,98,246,.65); }
.btn-light { background: #fff; color: var(--primary); font-weight: 600; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,255,255,.2); }
.hero .scroll-hint { display: none; }

/* ---------- 通用 Section ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-head .eyebrow { color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-top: 10px; }
.sec-head p { color: var(--text2); margin-top: 12px; font-size: 15px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 产品展示 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid .span2 { grid-column: span 1; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card .p-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-card .p-icon img { width: 32px; height: 32px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-card p { color: var(--text2); font-size: 14.5px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- 产品优势 ---------- */
.adv-item { display: grid; grid-template-columns: 460px 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.adv-item:nth-child(even) { direction: rtl; }
.adv-item:nth-child(even) > * { direction: ltr; }
.adv-item img { border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s; }
.adv-item:hover img { transform: scale(1.02); }
.adv-item h3 { font-size: 22px; margin-bottom: 14px; }
.adv-item h3 .marker { display: inline-block; width: 8px; height: 22px; background: var(--grad); border-radius: 4px; margin-right: 12px; vertical-align: -3px; }
.adv-item p { color: var(--text2); font-size: 15.5px; }
@media (max-width: 900px) { .adv-item { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- 目标客户 ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scenario-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.scenario-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scenario-card .s-icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.scenario-card .s-icon img { width: 36px; height: 36px; }
.scenario-card h3 { font-size: 17px; margin-bottom: 10px; }
.scenario-card p { color: var(--text2); font-size: 13.5px; }
@media (max-width: 960px) { .scenario-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scenario-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q .arrow { transition: transform .3s; color: var(--primary); font-size: 18px; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a div { padding: 0 24px 22px; color: var(--text2); font-size: 15px; }

/* ---------- 新闻列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .n-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text2); }
.news-card .n-tag { background: var(--primary-light); color: var(--primary); padding: 3px 12px; border-radius: 12px; font-size: 12px; }
.news-card h3 { font-size: 16.5px; line-height: 1.5; }
.news-card p { color: var(--text2); font-size: 13.5px; flex: 1; }
.news-card .n-more { color: var(--primary); font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.page-head { background: var(--dark); padding: 150px 0 60px; text-align: center; }
.page-head h1 { color: #fff; font-size: 34px; }
.page-head p { color: rgba(230,238,255,.65); margin-top: 10px; font-size: 15px; }

/* ---------- 新闻详情 ---------- */
.article { max-width: 820px; margin: 0 auto; padding: 60px 5%; }
.article h1 { font-size: 28px; line-height: 1.5; margin-bottom: 16px; }
.article .a-meta { color: var(--text2); font-size: 13.5px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.article .a-body p { margin-bottom: 18px; color: #333d52; font-size: 15.5px; }
.back-link { display: inline-block; color: var(--primary); margin-top: 20px; font-size: 14px; }

/* ---------- 关于我们 ---------- */
.about-wrap { max-width: 960px; margin: 0 auto; }
.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.about-hero h2 { font-size: 26px; margin-bottom: 18px; }
.about-hero p { color: var(--text2); margin-bottom: 14px; font-size: 15.5px; text-align: justify; }
.about-visual { background: linear-gradient(135deg, #0E1638, #2E62F6); border-radius: 18px; padding: 40px 30px; color: #fff; text-align: center; }
.about-visual img { width: 84px; margin: 0 auto 18px; }
.about-visual .big { font-size: 34px; font-weight: 700; }
.about-visual .small { color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 6px; }
.token-panel { background: var(--dark); border-radius: 20px; padding: 54px 46px; color: #fff; margin-bottom: 60px; position: relative; overflow: hidden; }
.token-panel::after { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(46,98,246,.5), transparent 70%); }
.token-panel h2 { font-size: 26px; margin-bottom: 18px; }
.token-panel h2 .grad-text { background: linear-gradient(90deg, #6ea8ff, #b48bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.token-panel p { color: rgba(230,238,255,.8); margin-bottom: 14px; font-size: 15px; position: relative; z-index: 1; text-align: justify; }
.token-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; position: relative; z-index: 1; }
.th-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px 20px; }
.th-item b { color: #9db9ff; display: block; margin-bottom: 6px; font-size: 15px; }
.th-item span { color: rgba(230,238,255,.75); font-size: 13.5px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-card b { color: var(--primary); font-size: 16px; display: block; margin-bottom: 8px; }
.value-card span { color: var(--text2); font-size: 14px; }
.vm-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 24px 28px; margin-bottom: 16px; }
.vm-card b { font-size: 16px; }
.vm-card p { color: var(--text2); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .token-highlights, .values-grid { grid-template-columns: 1fr; } .token-panel { padding: 36px 24px; } }

/* ---------- 登录注册 ---------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fdfdff 0%, #f6f9ff 42%, #ffffff 100%); padding: 40px 5%; position: relative; overflow: hidden; }
/* 与首页 Hero 一致的细点阵网格 */
.auth-page::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(59,107,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 10%, transparent 70%);
}
#authCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.auth-card { position: relative; z-index: 2; width: 420px; max-width: 100%; background: #fff; border: 1px solid #e8eefb; border-radius: 20px; padding: 42px 38px; box-shadow: 0 24px 60px rgba(23,48,110,.14), 0 2px 8px rgba(23,48,110,.06); }
.auth-card .a-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.auth-card .a-logo img { height: 44px; }
.auth-tabs { display: flex; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.auth-tabs button { flex: 1; background: none; border: none; font-size: 16px; padding: 12px 0; cursor: pointer; color: var(--text2); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.auth-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-card label { display: block; font-size: 13.5px; color: var(--text2); margin: 16px 0 6px; }
.auth-card input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.auth-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,98,246,.12); }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-row .cap-img { height: 44px; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.auth-submit { width: 100%; margin-top: 26px; padding: 13px; border-radius: 10px; border: none; background: var(--grad); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity .2s, transform .2s; }
.auth-submit:hover { opacity: .92; transform: translateY(-1px); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-msg { margin-top: 14px; font-size: 13.5px; text-align: center; min-height: 20px; }
.auth-msg.err { color: #e11d48; }
.auth-msg.ok { color: #059669; }
.auth-success { display: none; text-align: center; padding: 30px 0 10px; }
.auth-success .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; color: #059669; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.auth-success h3 { margin-bottom: 8px; }
.auth-success p { color: var(--text2); font-size: 14px; margin-bottom: 24px; }

/* ---------- 页脚 ---------- */
footer { background: var(--dark); color: rgba(230,238,255,.7); padding: 60px 0 0; font-size: 14px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.f-brand img { height: 38px; margin-bottom: 16px; }
.f-brand .f-name { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.f-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.f-col a, .f-col span { display: block; margin-bottom: 10px; color: rgba(230,238,255,.65); font-size: 13.5px; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-beian { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(230,238,255,.45); line-height: 2; }
.f-beian a { color: rgba(230,238,255,.55); }
.f-beian a:hover { color: #fff; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 后台 ---------- */
.admin-body { background: var(--bg); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 230px; background: var(--dark); color: #cdd9ff; padding: 20px 0; position: fixed; top: 0; bottom: 0; overflow-y: auto; }
.admin-side .side-logo { padding: 10px 22px 26px; color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.admin-side .side-logo img { height: 30px; }
.admin-side nav a { display: block; padding: 12px 24px; font-size: 14px; cursor: pointer; border-left: 3px solid transparent; transition: background .2s; }
.admin-side nav a:hover { background: rgba(255,255,255,.06); }
.admin-side nav a.active { background: rgba(46,98,246,.2); border-left-color: var(--primary); color: #fff; }
.admin-side .side-exit { margin: 20px 24px 0; font-size: 13px; color: #f87171; cursor: pointer; }
.admin-main { flex: 1; margin-left: 230px; padding: 30px 34px; }
.admin-main h2 { font-size: 22px; margin-bottom: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin-bottom: 24px; }
.panel h3 { font-size: 16px; margin-bottom: 16px; color: var(--text); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-topbar .who { color: var(--text2); font-size: 14px; }
.btn-sm { padding: 8px 18px; border-radius: 8px; font-size: 13.5px; border: none; cursor: pointer; background: var(--primary); color: #fff; transition: opacity .2s; }
.btn-sm:hover { opacity: .88; }
.btn-sm.gray { background: #64748b; }
.btn-sm.red { background: #e11d48; }
.btn-sm.green { background: #059669; }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; }
table.adm th, table.adm td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.adm th { color: var(--text2); font-weight: 600; font-size: 13px; background: #f8fafc; }
table.adm td.act { white-space: nowrap; }
table.adm td.act button { margin-right: 8px; }
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 5px; }
.fld input, .fld textarea, .fld select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px;
  font-family: inherit; outline: none; transition: border-color .2s;
}
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--primary); }
.fld textarea { min-height: 90px; resize: vertical; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.login-admin-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--dark); }
.hidden { display: none !important; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.stat-card .num { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-card .lbl { color: var(--text2); font-size: 13px; margin-top: 4px; }

/* 定价提示条 */
.price-strip { background: var(--grad); color: #fff; text-align: center; padding: 12px 5%; font-size: 14px; letter-spacing: .5px; }

/* ---------- 联系我们页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.62fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px; box-shadow: 0 12px 40px rgba(20,45,100,.06); }
.contact-h2 { font-size: 23px; margin-bottom: 10px; color: var(--text); font-weight: 700; }
.contact-tip { color: var(--text2); font-size: 13.5px; margin-bottom: 26px; }
.contact-card .req { color: #e11d48; }
.fld-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cfld { margin-bottom: 16px; }
.cfld > label { display: block; font-size: 13.5px; color: var(--text2); margin-bottom: 7px; }
.cfld input, .cfld select, .cfld textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.cfld input:focus, .cfld select:focus, .cfld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,98,246,.12); }
.cfld textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px;
  border: 1px solid var(--line); border-radius: 22px; font-size: 13.5px; color: var(--text2);
  cursor: pointer; transition: all .18s; user-select: none;
}
.chip:hover { border-color: #c3d4f7; }
.chip input { display: none; }
.chip.on { background: rgba(46,98,246,.08); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.contact-side { background: linear-gradient(160deg, #f7faff, #eef4ff); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; }
.contact-side h3 { font-size: 18px; margin-bottom: 22px; font-weight: 700; }
.cs-item { display: flex; gap: 12px; margin-bottom: 20px; }
.cs-ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.cs-item b { display: block; font-size: 12.5px; color: var(--text2); font-weight: 600; margin-bottom: 3px; }
.cs-item a, .cs-item span { font-size: 14px; color: var(--text); word-break: break-all; }
.cs-item a:hover { color: var(--primary); }
.cs-note { margin-top: 6px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--text2); }
.cs-note b { display: block; color: var(--text); margin-bottom: 6px; font-size: 13.5px; }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .fld-row2 { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 28px 22px; }
}

/* ================================================================
   移动端（手机）适配
   设计原则：单列纵向流、点击区域 ≥44px、层级靠留白而非缩进、
   字号不小于 12px、避免横向溢出与 iOS 输入框聚焦缩放
   ================================================================ */
@media (max-width: 768px) {
  /* ---- 通用节奏 ---- */
  section.block { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head .eyebrow { font-size: 12px; letter-spacing: 2px; }
  .sec-head h2 { font-size: 23px; margin-top: 8px; }
  .sec-head p { font-size: 14px; margin-top: 10px; line-height: 1.6; }

  /* ---- Hero ---- */
  .hero { min-height: auto; }
  .hero-content { width: 90%; padding: 104px 0 58px; }
  .hero-badge { font-size: 11.5px; padding: 6px 14px; margin-bottom: 18px; letter-spacing: .3px; }
  .hero h1 { font-size: 29px; line-height: 1.34; margin-bottom: 14px; }
  .hero p.sub { font-size: 14px; margin-bottom: 28px; letter-spacing: 0; line-height: 1.7; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn { flex: 1 1 40%; justify-content: center; padding: 14px 16px; font-size: 15px; }

  /* ---- 产品展示 ---- */
  .product-grid { gap: 14px; }
  .product-card { padding: 24px 20px; }
  .product-card .p-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 15px; }
  .product-card .p-icon img { width: 27px; height: 27px; }
  .product-card h3 { font-size: 17px; }
  .product-card p { font-size: 14px; }

  /* ---- 产品优势 ---- */
  .adv-item { gap: 16px; margin-bottom: 38px; }
  .adv-item img { border-radius: 12px; }
  .adv-item h3 { font-size: 19px; margin-bottom: 10px; }
  .adv-item h3 .marker { width: 6px; height: 18px; margin-right: 9px; vertical-align: -2px; }
  .adv-item p { font-size: 14.5px; }

  /* ---- 目标客户 ---- */
  .scenario-grid { gap: 12px; }
  .scenario-card { padding: 26px 18px; }
  .scenario-card .s-icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .scenario-card .s-icon img { width: 30px; height: 30px; }
  .scenario-card h3 { font-size: 16px; }
  .scenario-card p { font-size: 13px; }

  /* ---- FAQ ---- */
  .faq-q { padding: 16px 18px; font-size: 15px; gap: 12px; }
  .faq-q .arrow { font-size: 16px; flex-shrink: 0; }
  .faq-a div { padding: 0 18px 18px; font-size: 14px; }

  /* ---- 新闻 ---- */
  .news-grid { gap: 14px; }
  .news-card { padding: 22px 20px; gap: 10px; }
  .news-card h3 { font-size: 16px; }
  .news-card p { font-size: 13.5px; }

  /* ---- 页面头 ---- */
  .page-head { padding: 108px 5% 44px; }
  .page-head h1 { font-size: 25px; }
  .page-head p { font-size: 13.5px; line-height: 1.7; }

  /* ---- 新闻详情 ---- */
  .article { padding: 32px 5% 48px; }
  .article h1 { font-size: 21px; line-height: 1.45; }
  .article .a-meta { font-size: 13px; padding-bottom: 16px; margin-bottom: 22px; }
  .article .a-body p { font-size: 15px; margin-bottom: 16px; }

  /* ---- 关于我们 ---- */
  .about-hero { grid-template-columns: 1fr; gap: 26px; margin-bottom: 40px; }
  .about-hero h2 { font-size: 21px; margin-bottom: 14px; }
  .about-hero p { font-size: 14.5px; text-align: left; }
  .about-visual { padding: 30px 22px; border-radius: 16px; }
  .about-visual img { width: 66px; margin-bottom: 14px; }
  .about-visual .big { font-size: 27px; }
  .about-visual .small { font-size: 12.5px; }
  .token-panel { padding: 30px 20px; border-radius: 16px; margin-bottom: 40px; }
  .token-panel h2 { font-size: 20px; }
  .token-panel p { font-size: 14.5px; text-align: left; }
  .token-highlights { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .th-item { padding: 15px 16px; }
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { padding: 20px; }
  .vm-card { padding: 20px 22px; }

  /* ---- 联系我们 ---- */
  .contact-wrap { gap: 20px; }
  .contact-card { padding: 26px 18px; border-radius: 16px; box-shadow: 0 8px 26px rgba(20,45,100,.06); }
  .contact-h2 { font-size: 20px; }
  .contact-tip { font-size: 13px; margin-bottom: 20px; }
  .cfld { margin-bottom: 14px; }
  .contact-side { padding: 26px 20px; border-radius: 16px; }
  .contact-side h3 { font-size: 17px; margin-bottom: 18px; }

  /* ---- 登录注册 ---- */
  .auth-page { padding: 74px 5% 42px; align-items: flex-start; }
  .auth-card { padding: 28px 22px; border-radius: 16px; }
  .auth-card .a-logo img { height: 38px; }
  .auth-tabs { margin-bottom: 20px; }
  .auth-tabs button { font-size: 15px; padding: 11px 0; }
  .auth-submit { margin-top: 22px; padding: 14px; }
  .captcha-row .cap-img { height: 46px; }

  /* ---- 页脚 ---- */
  footer { padding: 44px 0 0; font-size: 13.5px; }
  .f-grid { gap: 26px; padding-bottom: 28px; }
  .f-brand img { height: 34px; margin-bottom: 12px; }
  .f-beian { padding: 16px 0; font-size: 12px; line-height: 1.9; }

  /* ---- 表单控件：16px 避免 iOS 聚焦自动放大 ---- */
  input, select, textarea { font-size: 16px !important; }

  /* ---- 后台：侧栏改为顶部横滑导航 ---- */
  .admin-shell { flex-direction: column; }
  .admin-side { position: static; width: 100%; padding: 14px 0 0; overflow: visible; }
  .admin-side .side-logo { padding: 0 16px 12px; font-size: 15px; position: relative; }
  .admin-side .side-logo img { height: 26px; }
  .admin-side .side-exit {
    position: absolute; top: 0; right: 14px; margin: 0; font-size: 12.5px;
    padding: 5px 12px; border: 1px solid rgba(248,113,113,.45); border-radius: 20px;
  }
  .admin-side nav {
    display: flex; gap: 6px; overflow-x: auto; padding: 2px 12px 12px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .admin-side nav::-webkit-scrollbar { display: none; }
  .admin-side nav a {
    white-space: nowrap; border-left: none; border-radius: 9px; padding: 9px 14px;
    font-size: 13px; background: rgba(255,255,255,.06);
  }
  .admin-side nav a.active { border-left-color: transparent; background: var(--primary); color: #fff; }
  .admin-main { margin-left: 0; padding: 20px 14px 44px; }
  .admin-main h2 { font-size: 19px; margin-bottom: 16px; }
  .admin-topbar { margin-bottom: 16px; flex-wrap: wrap; gap: 6px; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
  .stat-card { padding: 16px 14px; }
  .stat-card .num { font-size: 23px; }
  .panel { padding: 18px 14px; }
  .fld-row { grid-template-columns: 1fr; gap: 0; }
  .panel table.adm { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .btn-sm { padding: 9px 16px; }
  .login-admin-wrap { padding: 24px 5%; }

  /* ---- 触摸体验 ---- */
  a, button, .chip, .faq-q { -webkit-tap-highlight-color: transparent; }
  .product-card:active, .scenario-card:active, .news-card:active { transform: scale(.99); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-badge { font-size: 11px; }
  .page-head h1 { font-size: 23px; }
  .f-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1 1 100%; }
  .contact-card { padding: 24px 16px; }
}

/* ---- 轻提示 toast ---- */
.lk-toast {
  position: fixed; left: 50%; bottom: 44px; transform: translate(-50%, 12px);
  background: rgba(17,24,39,.92); color: #fff; font-size: 14px;
  padding: 11px 22px; border-radius: 24px; z-index: 9999;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 12px 30px rgba(15,23,42,.28); pointer-events: none;
}
.lk-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---- 账户信息卡（登录/注册成功后） ---- */
.acct-avatar {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(46,98,246,.34);
}
.acct-avatar svg { width: 70%; height: 70%; }
.acct-info {
  margin: 20px auto 22px; max-width: 320px; text-align: left;
  background: #f7faff; border: 1px solid #e4ecfb; border-radius: 14px; padding: 6px 16px;
}
.acct-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 0; font-size: 14px; border-bottom: 1px solid #eaf0fb;
}
.acct-row:last-child { border-bottom: none; }
.acct-row span { color: #7c8aa5; flex: 0 0 auto; }
.acct-row b { color: var(--text); font-weight: 600; word-break: break-all; text-align: right; }
.acct-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.acct-actions .btn { min-width: 124px; }

@media (max-width: 480px) {
  .acct-actions .btn { flex: 1 1 100%; }
}
