/* ===================== 深色科技风 · 变量 ===================== */
:root {
  --bg: #05070e;
  --ink: #eef2fb;
  --ink-soft: #9aa6c0;
  --muted: #6c7893;
  --primary: #ff2f3f;
  --primary-2: #ff5a66;
  --accent: #00e6d3;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .04);
  --ok: #2ee06a;
  --bad: #ff4d5e;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 12% -6%, rgba(255, 47, 63, .16), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(0, 230, 211, .10), transparent 58%),
    radial-gradient(900px 600px at 50% 110%, rgba(46, 110, 255, .10), transparent 62%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 科技网格纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 15%, #000 25%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 15%, #000 25%, transparent 80%);
}

main, .site-footer { position: relative; z-index: 1; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 660px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===================== 顶部：LOGO + 标题 ===================== */
.verify-hero {
  padding: 46px 0 60px;
  text-align: center;
}
.container.narrow { text-align: center; }

.brand-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 26px rgba(255, 47, 63, .38));
  animation: logoIn .8s ease both;
}
@keyframes logoIn {
  from { opacity: 0; transform: translateY(-10px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.hero-title {
  font-size: clamp(30px, 6vw, 50px);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 0 34px rgba(255, 47, 63, .38), 0 0 12px rgba(255, 47, 63, .25);
}
.hero-sub {
  margin: 14px 0 30px;
  color: var(--ink-soft);
  font-size: 16px;
}
.hero-sub b { color: var(--ink); font-weight: 600; }

/* ===================== 验证卡片 ===================== */
.verify-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
}
/* 顶部一道红色光条 */
.verify-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 47, 63, .8), transparent);
}

.verify-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-label { font-size: 14px; font-weight: 600; color: #cdd6ea; }
.field .input-wrap { position: relative; display: flex; align-items: center; }
.input-ico {
  position: absolute;
  left: 13px;
  width: 18px; height: 18px;
  color: rgba(154, 166, 192, .8);
  pointer-events: none;
  transition: color .2s;
  flex: none;
}
.input-wrap:focus-within .input-ico { color: var(--primary); }
.field input {
  width: 100%;
  font-size: 15px;
  letter-spacing: 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 13px 14px 13px 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: #0a0f1c;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder {
  font-family: var(--font);
  letter-spacing: 0;
  color: rgba(154, 166, 192, .55);
}
.field input:focus {
  border-color: rgba(255, 47, 63, .7);
  background: #0b1120;
  box-shadow: 0 0 0 3px rgba(255, 47, 63, .16), 0 0 26px rgba(255, 47, 63, .16);
}
.field input.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(255, 77, 94, .16); }
.field-error { font-size: 12.5px; color: var(--bad); min-height: 16px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #ff3d4d, #d10f1f);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 47, 63, .35);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 16px 40px rgba(255, 47, 63, .5); }
.btn-block { width: 100%; }

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.loading .btn-text { opacity: .7; }
.btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 结果区 */
.verify-result {
  display: none;
  margin-top: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fade .35s ease;
}
.verify-result.show { display: flex; }
.verify-result.is-ok { border-color: rgba(46, 224, 106, .32); background: rgba(46, 224, 106, .055); }
.verify-result.is-bad { border-color: rgba(255, 77, 94, .32); background: rgba(255, 77, 94, .055); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result-icon {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 800;
  margin-bottom: 16px;
}
.result-icon.ok { background: rgba(46, 224, 106, .14); color: var(--ok); box-shadow: 0 0 34px rgba(46, 224, 106, .25); }
.result-icon.bad { background: rgba(255, 77, 94, .14); color: var(--bad); box-shadow: 0 0 34px rgba(255, 77, 94, .25); }
.result-title { font-size: 21px; font-weight: 800; margin-bottom: 8px; color: #fff; line-height: 1.4; }
.verify-result.is-ok .result-title { color: #7cf0a4; text-shadow: 0 0 24px rgba(46, 224, 106, .35); }
.result-query {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.5;
  text-shadow: 0 0 18px rgba(0, 230, 211, .4);
}
.result-query:empty { display: none; }
.verify-result.is-bad .result-query { color: #ff8b95; text-shadow: 0 0 18px rgba(255, 77, 94, .4); }
/* 失败态字号互换：SN 行做主视觉、结论句降为副行 */
.verify-result.is-bad .result-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.verify-result.is-bad .result-query { font-size: 21px; font-weight: 800; line-height: 1.4; }
.result-detail { font-size: 14px; color: var(--ink-soft); max-width: 380px; }
.result-note {
  font-size: 12.5px;
  color: #ffb3ba;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 77, 94, .28);
  max-width: 380px;
}
.result-note:empty { display: none; margin: 0; padding: 0; border: 0; }

/* 输入提示 */
.verify-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.verify-tip svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.verify-tip b { color: var(--ink-soft); font-weight: 600; }

/* 信任标签 + 滚动提示 */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.trust-row span { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.trust-row i { color: var(--ok); font-style: normal; font-weight: 800; margin-right: 4px; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.scroll-hint:hover { color: var(--primary-2); }
.scroll-hint .arrow { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ===================== 通用 Section ===================== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 46px; height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 14px rgba(255, 47, 63, .6);
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* ===================== 官方授权店铺 · 轮播 ===================== */
.shops {
  padding: 72px 0 78px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent);
}

.carousel { position: relative; max-width: 430px; margin: 0 auto; }

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 图片框：手机竖版比例 9:16，图片完整露出（contain，不裁切） */
.slide-link {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, .10);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 47, 63, .10), transparent 70%),
    #0a1120;
}
.slide-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .6s ease;
}
/* 横版图不套手机框：按原比例自适应高度，避免上下大片留白 */
.carousel-slide.is-wide .slide-link { aspect-ratio: auto; height: auto; }
.carousel-slide.is-wide .slide-link img { height: auto; }
.slide-link:hover img { transform: scale(1.015); }

.zoom-tip {
  position: absolute;
  right: 14px; bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 47, 63, .85);
  padding: 5px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.slide-link:hover .zoom-tip { opacity: 1; transform: none; }

/* 加载占位 */
.shop-loading {
  flex: 0 0 100%;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .05em;
}

/* 大图预览层 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 4, 10, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: fade .25s ease;
}
.lightbox img {
  max-width: min(960px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}
/* hidden 属性需显式置 none：.lightbox 的 display:flex 会覆盖 UA 的 [hidden] */
.lightbox[hidden] { display: none; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255, 47, 63, .8); }

.slide-cap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, .03);
}
.shop-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.shop-tag {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #ff8b95;
  background: rgba(255, 47, 63, .13);
  border: 1px solid rgba(255, 47, 63, .22);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 左右切换按钮 */
.carousel-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 12, 22, .72);
  color: #dbe3f3;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  z-index: 3;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover {
  background: rgba(255, 47, 63, .92);
  border-color: rgba(255, 47, 63, .92);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 47, 63, .45);
}
.carousel-btn:active { transform: translateY(-50%) scale(.94); }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

/* 圆点 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.dot-btn {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  transition: width .25s, background .25s, box-shadow .25s;
}
.dot-btn:hover { background: rgba(255, 255, 255, .45); }
.dot-btn.active {
  width: 26px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 14px rgba(255, 47, 63, .6);
}

/* ===================== 产品描述 ===================== */
.product { padding: 68px 0 76px; border-top: 1px solid rgba(255, 255, 255, .06); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  padding: 24px 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 47, 63, .32);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 47, 63, .08);
}
.feature:hover::after { opacity: 1; }

.feature-no {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--primary-2);
  background: rgba(255, 47, 63, .12);
  border: 1px solid rgba(255, 47, 63, .22);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 12px;
  letter-spacing: .5px;
}
.feature h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ===================== 页脚 ===================== */
.site-footer {
  background: #03050a;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 34px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { max-width: 120px; height: auto; opacity: .92; }
.site-footer p { font-size: 13px; color: var(--muted); }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
}

@media (max-width: 820px) {
  .verify-hero { padding: 34px 0 46px; }
  .brand-logo { max-width: 200px; }
  .shops { padding: 52px 0 58px; }
  .product { padding: 48px 0 56px; }

  .slide-link { max-width: 100%; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn svg { width: 18px; height: 18px; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }

  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 480px) {
  .verify-card { padding: 22px; }
  /* 窄屏 4 项信任标签排成 2×2，对称不换行错位 */
  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 12px 20px;
  }
  .trust-row span { font-size: 13px; }
  .verify-tip { font-size: 12px; }
  .result-title { font-size: 19px; }
  .verify-result.is-bad .result-query { font-size: 19px; }
  .carousel-btn { width: 36px; height: 36px; }
  .slide-cap { padding: 14px 16px; }
  .shop-name { font-size: 13.5px; }
  .feature { padding: 20px; }
  .feature h3 { font-size: 15.5px; }
  .feature p { font-size: 13.5px; }
  .brand-logo { max-width: 170px; }
}

/* 刘海屏安全区 */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
}
