/* ============================================================
   TatoImg 官网样式
   视觉语言与产品一致：浅色磨砂玻璃 + 品牌蓝渐变 + 一圈轮廓光
   ============================================================ */
:root {
  --brand: #3352ff;
  --brand-2: #6a5cff;
  --brand-grad: linear-gradient(120deg, #3355ff, #6a5cff);
  --fg: #1f2329;
  --fg-2: #4b5563;
  --fg-3: #9aa0ae;
  --line: rgba(148, 163, 184, .18);
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-edge: rgba(255, 255, 255, .72);
  --glass-hair: rgba(148, 163, 184, .22);
  --glass-shadow: 0 18px 48px rgba(36, 48, 63, .10), 0 2px 6px rgba(36, 48, 63, .05);
  --glow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 26px rgba(47, 107, 255, .07);
  --r: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fafbfc; }
/* 隐藏页面滚动条：保留滚动能力，仅去掉视觉滚动条 */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  margin: 0; font-family: var(--font); color: var(--fg);
  font-size: 15px; line-height: 1.7;
  background:
    radial-gradient(900px 480px at 12% -4%, rgba(51, 85, 255, .10), transparent 60%),
    radial-gradient(800px 420px at 88% 6%, rgba(106, 92, 255, .09), transparent 60%),
    #fafbfc;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
a { color: inherit; }
img { max-width: 100%; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 46px; border-radius: 12px;
  background: var(--brand-grad); color: #fff; font-weight: 650; font-size: 14.5px;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .3), 0 0 18px rgba(47, 107, 255, .16);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 24px rgba(47, 107, 255, .32), inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 26px rgba(47, 107, 255, .22); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 15.5px; border-radius: 14px; }
.btn.plain { background: #fff; color: var(--fg); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(36, 48, 63, .06), var(--glow); }
.btn.plain:hover { border-color: #c9d6f5; color: var(--brand); box-shadow: 0 10px 24px rgba(36, 48, 63, .1), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 24px rgba(47, 107, 255, .1); }
.btn.ghost { background: rgba(255, 255, 255, .6); color: var(--fg-2); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { color: var(--brand); border-color: #c9d6f5; background: #fff; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-hair);
}
.tb-inner { display: flex; align-items: center; gap: 26px; height: 64px; max-width: none; padding: 0 28px; }
.tb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .2px; }
.tb-logo { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--glass-edge), 0 4px 12px rgba(36, 48, 63, .12); }
.tb-nav { display: flex; gap: 24px; margin-left: 8px; }
.tb-nav a { text-decoration: none; font-size: 14px; font-weight: 550; color: var(--fg-2); transition: color .15s; }
.tb-nav a:hover { color: var(--brand); }
.tb-acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb-burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 9px 8px; }
.tb-burger i { display: block; height: 2px; border-radius: 2px; background: var(--fg-2); margin: 3px 0; }
.tb-drawer { display: none; flex-direction: column; padding: 6px 24px 14px; border-top: 1px solid var(--glass-hair); }
.tb-drawer a { padding: 11px 4px; text-decoration: none; font-weight: 550; color: var(--fg-2); border-bottom: 1px solid rgba(148, 163, 184, .1); }
.tb-drawer a:last-child { border-bottom: 0; }
.tb-drawer.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.hero-bg i:nth-child(1) { width: 420px; height: 420px; left: -120px; top: -80px; background: rgba(51, 85, 255, .16); }
.hero-bg i:nth-child(2) { width: 360px; height: 360px; right: -100px; top: 20px; background: rgba(106, 92, 255, .15); }
.hero-bg i:nth-child(3) { width: 300px; height: 300px; left: 40%; bottom: -160px; background: rgba(16, 185, 129, .1); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(51, 85, 255, .08); color: var(--brand);
  font-size: 12.5px; font-weight: 650; letter-spacing: .5px;
  box-shadow: inset 0 0 0 1px rgba(51, 85, 255, .18);
}
.hero h1 { font-size: 44px; line-height: 1.22; margin: 18px 0 0; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 16px; color: var(--fg-2); margin: 18px 0 26px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-chips span {
  font-size: 12.5px; color: var(--fg-2); padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 2px 8px rgba(36, 48, 63, .05);
}

/* 界面预览窗（纯 CSS） */
.hero-shot {
  border-radius: 18px; background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), var(--glow);
  overflow: hidden; transform: rotate(1.2deg);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--glass-hair); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, .45); }
.shot-bar i:first-child { background: #f87171; }
.shot-bar i:nth-child(2) { background: #fbbf24; }
.shot-bar i:nth-child(3) { background: #34d399; }
.shot-bar span { margin-left: 10px; font-size: 11.5px; color: var(--fg-3); }
.shot-body { display: flex; min-height: 300px; }
.shot-side { width: 92px; border-right: 1px solid var(--glass-hair); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.shot-side b { height: 12px; border-radius: 6px; background: rgba(148, 163, 184, .22); }
.shot-side b.on { background: var(--brand-grad); opacity: .85; }
.shot-main { flex: 1; padding: 18px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.shot-grid span { height: 64px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 4px 12px rgba(36, 48, 63, .08); }
.shot-grid .g1 { background: linear-gradient(135deg, #6a8bff, #9e76ff); }
.shot-grid .g2 { background: linear-gradient(135deg, #34d399, #2dd4bf); }
.shot-grid .g3 { background: linear-gradient(135deg, #fbbf24, #fb923c); }
.shot-grid .g4 { background: linear-gradient(135deg, #f472b6, #c084fc); }
.shot-grid .g5 { background: linear-gradient(135deg, #38bdf8, #6a8bff); }
.shot-grid .g6 { background: linear-gradient(135deg, #a3e635, #34d399); }
.shot-line { height: 10px; border-radius: 5px; background: rgba(148, 163, 184, .22); margin-bottom: 9px; }
.shot-line.w80 { width: 80%; }
.shot-line.w60 { width: 60%; }
.shot-pills { display: flex; gap: 8px; margin-top: 14px; }
.shot-pills i { height: 22px; flex: 0 0 84px; border-radius: 999px; background: rgba(51, 85, 255, .12); box-shadow: inset 0 0 0 1px rgba(51, 85, 255, .15); }
.shot-pills i:nth-child(2) { background: rgba(16, 185, 129, .12); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .18); }
.shot-pills i:nth-child(3) { background: rgba(148, 163, 184, .14); box-shadow: none; }

/* ---------- 数据条 ---------- */
.stats { padding: 8px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  text-align: center; padding: 26px 12px 22px; border-radius: var(--r);
  background: var(--glass-bg); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--glass-shadow), var(--glow);
}
.stat-card b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -1px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { font-size: 13px; color: var(--fg-3); font-weight: 550; }

/* ---------- 通用区块 ---------- */
.sec { padding: 74px 0; }
.sec-alt { position: relative; }
.sec-alt::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .18));
}
.sec-alt > .wrap { position: relative; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 32px; margin: 0 0 10px; letter-spacing: -.4px; }
.sec-head p { margin: 0; color: var(--fg-3); font-size: 14.5px; }

/* ---------- 功能卡 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card {
  padding: 26px 24px; border-radius: var(--r);
  background: var(--glass-bg); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--glass-shadow), var(--glow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: #c9d6f5;
  box-shadow: 0 22px 54px rgba(36, 48, 63, .13), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 32px rgba(47, 107, 255, .11);
}
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--brand); background: rgba(51, 85, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(51, 85, 255, .14);
  margin-bottom: 14px;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat-card h3 { margin: 0 0 7px; font-size: 16.5px; }
.feat-card p { margin: 0; font-size: 13.5px; color: var(--fg-2); }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 24px; border-radius: 18px;
  background: var(--glass-bg); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--glass-shadow), var(--glow);
}
.price-card.hot { border-color: rgba(51, 85, 255, .45); box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 34px rgba(47, 107, 255, .14); }
.price-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 999px; background: var(--brand-grad);
  box-shadow: 0 4px 12px rgba(47, 107, 255, .3);
}
.price-name { font-size: 17px; font-weight: 750; }
.price-desc { font-size: 12.5px; color: var(--fg-3); margin-top: 3px; }
.price-num { font-size: 22px; font-weight: 800; margin: 16px 0 4px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-feats { list-style: none; margin: 14px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-feats li { display: flex; gap: 9px; font-size: 13.5px; color: var(--fg-2); }
.price-feats svg { flex: none; width: 17px; height: 17px; color: #10b981; margin-top: 3px; }
.price-card .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 24px rgba(36, 48, 63, .06), var(--glow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 17px 20px;
  font-weight: 650; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: none; width: 9px; height: 9px; border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3);
  transform: rotate(45deg); transition: transform .18s ease; margin-top: -3px;
}
.faq-item[open] summary i { transform: rotate(225deg); margin-top: 3px; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 13.5px; color: var(--fg-2); }

/* ---------- CTA ---------- */
.cta-card {
  text-align: center; padding: 56px 30px 50px; border-radius: 22px;
  background: var(--brand-grad); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(47, 107, 255, .32), inset 0 0 0 1px rgba(255, 255, 255, .3), 0 0 44px rgba(47, 107, 255, .2);
}
.cta-card::before, .cta-card::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(50px); opacity: .35; pointer-events: none;
}
.cta-card::before { width: 320px; height: 320px; left: -80px; top: -120px; background: #fff; }
.cta-card::after { width: 280px; height: 280px; right: -60px; bottom: -140px; background: #6a5cff; }
.cta-card h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.4px; position: relative; }
.cta-card p { margin: 0 0 28px; opacity: .88; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-btns .btn { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(15, 23, 42, .18); }
.cta-btns .btn:hover { box-shadow: 0 12px 30px rgba(15, 23, 42, .24); }
.cta-btns .btn.plain { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); box-shadow: none; }
.cta-btns .btn.plain:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.cta-meta { margin-top: 22px; font-size: 12.5px; opacity: .75; position: relative; }

/* ---------- 页脚（AstraAuth 同款结构：裸图标、无卡片、融入背景） ---------- */
.sf-footer { padding: 72px 24px 40px; background: transparent; }
.sf-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.sf-left { display: flex; flex-direction: column; gap: 24px; }
.sf-brand { display: flex; align-items: center; gap: 10px; }
.sf-logo-img { height: 30px; width: 30px; display: block; border-radius: 8px; box-shadow: 0 0 0 1px var(--glass-edge), 0 4px 12px rgba(36, 48, 63, .1); }
.sf-brand-name { font-size: 19px; font-weight: 700; letter-spacing: .2px; color: #1f2329; }
.sf-social { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sf-social-item { position: relative; display: grid; place-items: center; padding: 3px; cursor: pointer; border-radius: 8px; text-decoration: none; }
.sf-ic { width: 21px; height: 21px; color: #9aa0ae; transition: color .2s ease; }
.sf-social-item:hover { background: #f0f2f7; }
.sf-social-item:hover .sf-ic { color: #3352ff; }
.sf-social-item:hover .sf-ic--wx { color: #07c160; }
.sf-social-item:hover .sf-ic--qq { color: #12b7f5; }
.sf-qr-pop {
  position: absolute; bottom: calc(100% + 14px); left: 0; transform: translateY(8px);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 8px 9px;
  background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(31, 35, 41, .16);
  opacity: 0; visibility: hidden; transition: all .22s ease; z-index: 9999; pointer-events: none;
}
.sf-qr-pop::after {
  content: ''; position: absolute; bottom: -5px; left: 21px; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: #fff; border-radius: 2px;
}
.sf-social-item:hover .sf-qr-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.sf-qr-img { position: relative; width: 204px; height: 204px; overflow: hidden; border-radius: 10px; }
.sf-qr-img img { position: absolute; display: block; max-width: none; object-fit: contain; border-radius: 0; background: #fff; }
.sf-qr-img--wx img { width: 248px; height: 248px; left: -22px; top: -22px; }
.sf-qr-img--qq img { width: 254px; height: 254px; left: -24px; top: -24px; }
.sf-qr-pop span { font-size: 13px; color: #6b7186; white-space: nowrap; }
.sf-cols { display: flex; gap: 96px; flex-wrap: wrap; }
.sf-col { display: flex; flex-direction: column; gap: 15px; min-width: 108px; }
.sf-col-title { font-size: 13.5px; font-weight: 700; color: #1f2329; margin-bottom: 4px; }
.sf-col a { font-size: 13.5px; color: #6b7186; text-decoration: none; transition: color .2s; white-space: nowrap; }
.sf-col a:hover { color: #3352ff; }
.sf-hours { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.sf-hours-title { font-size: 13px; font-weight: 700; color: #1f2329; margin-bottom: 2px; }
.sf-hours-row { display: flex; align-items: baseline; gap: 12px; font-size: 13px; }
.sf-hours-row span { color: #9aa0ae; flex-shrink: 0; }
.sf-hours-row b { color: #3d4352; font-weight: 600; }
.sf-hours-note { margin-top: 2px; font-size: 13px; color: #b3b9c8; }
.sf-copy { max-width: 1200px; margin: 64px auto 0; color: #9aa0ae; font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { transform: none; max-width: 620px; }
  .feat-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-cols { gap: 36px 48px; }
}
@media (max-width: 768px) {
  .tb-nav { display: none; }
  .tb-acts .btn.ghost { display: none; }
  .tb-burger { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .sec { padding: 54px 0; }
  .sec-head h2 { font-size: 26px; }
  .sf-footer { padding: 44px 18px 24px; }
  .sf-inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .sf-social { gap: 16px; }
  .sf-copy { font-size: 13px; margin-top: 36px; }
}
