/* shenche.cc home — 极简结构（参考 acdog.cn 排版思路；类名/数值经过改造） */

*{box-sizing:border-box;margin:0;padding:0}
html,body{min-height:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:#1f2937;background:#f5f7fa;line-height:1.6}
a{color:inherit;text-decoration:none}

/* ============= 顶部导航（保留我们原样式） ============= */
.nav{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid #eef0f4}
.nav-inner{max-width:720px;margin:0 auto;display:flex;align-items:center;
  justify-content:space-between;padding:12px 16px;gap:16px}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:.5px;overflow:hidden}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block}
.brand-text b{display:block;font-size:14px;color:#111827}
.brand-text i{display:block;font-style:normal;font-size:11px;color:#94a3b8}
.nav-menu{display:flex;gap:2px;align-items:center}
.nav-menu a{padding:8px 12px;border-radius:8px;font-size:13.5px;color:#475569;white-space:nowrap;
  position:relative;transition:background .15s ease,color .15s ease}
.nav-menu a:hover{background:#f1f5f9;color:#111827}
.nav-menu a.active{background:#0f766e;color:#fff;box-shadow:0 4px 10px rgba(15,118,110,.22)}
.nav-toggle{display:none;border:0;background:#f1f5f9;border-radius:8px;
  padding:7px 11px;font-size:18px;color:#334155;cursor:pointer}

@media (max-width:720px){
  .nav-menu{position:absolute;left:0;right:0;top:100%;background:#fff;
    flex-direction:column;align-items:stretch;padding:8px;
    border-bottom:1px solid #eef0f4;display:none}
  .nav-menu.open{display:flex}
  .nav-menu a{padding:11px 14px}
  .nav-toggle{display:inline-block}
}

/* ============= Landing（首页主体） ============= */
.landing-root{background:#f5f7fa;position:relative;min-height:calc(100vh - 120px)}
.landing-bg-grid{position:fixed;inset:0;
  background-image:linear-gradient(rgba(15,23,42,.03) 1px,transparent 0),
                   linear-gradient(90deg,rgba(15,23,42,.03) 1px,transparent 0);
  background-size:48px 48px;opacity:.55;pointer-events:none}
.landing-top-bg{position:absolute;top:0;left:-12px;right:-12px;height:220px;z-index:0;
  background:linear-gradient(180deg,#e8f8f1,rgba(232,248,241,.82) 18%,rgba(232,248,241,.42),
             rgba(241,245,249,.18) 78%,rgba(245,247,250,.06));
  pointer-events:none}
.landing-content{position:relative;z-index:1;max-width:560px;margin:0 auto;padding:12px 16px 20px}

.landing-hero{display:flex;flex-direction:column;align-items:center;gap:10px;
  text-align:center;padding:14px 2px 4px}
.landing-hero-logo{width:64px;height:64px;border-radius:18px;flex-shrink:0;
  box-shadow:0 10px 28px rgba(16,185,129,.22),0 0 0 1px rgba(209,250,229,.95);
  background:linear-gradient(135deg,#10b981,#059669);color:#fff;display:grid;place-items:center;
  font-weight:900;font-size:22px;letter-spacing:.5px;overflow:hidden}
.landing-hero-logo img{width:100%;height:100%;object-fit:cover;display:block}
.landing-hero-text{display:flex;flex-direction:column;gap:4px;align-items:center}
.landing-title{font-size:clamp(1.25rem,5vw,1.6rem);font-weight:700;letter-spacing:-.02em;
  line-height:1.25;color:#065f46;margin:0}
.landing-subtitle{color:#8a94a6;font-size:13px;font-weight:400;line-height:1.4;margin:0}

.landing-section-head{display:flex;flex-wrap:wrap;align-items:baseline;
  justify-content:space-between;gap:6px 16px;margin:14px 0 10px}
.landing-section-lead{color:#8a94a6;font-size:13px;font-weight:500;letter-spacing:.02em;margin:0}
.landing-hero-names{display:inline-flex;align-items:center;gap:3px;
  color:#8a94a6;font-size:11px;font-weight:600;letter-spacing:.07em;
  text-transform:uppercase;margin:0}
.landing-hero-names-sep{opacity:.7;font-weight:500}

/* ============= 公众号关注 Banner ============= */
.landing-wechat-banner{display:flex;align-items:center;gap:12px;width:100%;
  background:#fff;border:1px solid rgba(238,240,244,.98);border-left:3px solid #10b981;
  border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.05);
  padding:11px 14px 11px 12px;margin:0 0 10px;cursor:pointer;
  font:inherit;color:inherit;text-align:left;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.landing-wechat-banner:hover{border-color:#a7f3d0;box-shadow:0 8px 22px rgba(0,0,0,.07);transform:translateY(-1px)}
.landing-wechat-banner__icon{width:36px;height:36px;flex-shrink:0;border-radius:10px;
  background:linear-gradient(155deg,#ecfdf5,#d1fae5);color:#10b981;
  display:flex;align-items:center;justify-content:center;font-size:18px}
.landing-wechat-banner__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.landing-wechat-banner__title{font-size:13.5px;font-weight:600;color:#111827;letter-spacing:-.01em}
.landing-wechat-banner__sub{font-size:11.5px;color:#8a94a6;line-height:1.4}
.landing-wechat-banner__sub strong{color:#0f766e;font-weight:600;letter-spacing:.03em}
.landing-wechat-banner__chev{width:24px;height:24px;flex-shrink:0;color:#cbd5e1;font-size:18px;
  display:flex;align-items:center;justify-content:center;transition:color .18s,transform .18s}
.landing-wechat-banner:hover .landing-wechat-banner__chev{color:#475569;transform:translateX(2px)}

/* PDD 数据概览 */
.landing-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin:10px 0 0;padding:9px 6px;
  background:rgba(255,255,255,.72);border:1px solid rgba(238,240,244,.96);border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.03)}
.landing-stats .hs-item{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;min-width:0;padding:1px 4px;text-align:center}
.landing-stats .hs-item+.hs-item{border-left:1px dashed #d9e3e2}
.landing-stats .hs-item b{font-size:17px;font-weight:700;color:#065f46;line-height:1;
  font-variant-numeric:tabular-nums}
.landing-stats .hs-item--today b{color:#087cf0}
.landing-stats .hs-item--total b{color:#e65c00}
.landing-stats .hs-item--image b{color:#0f9185}
.landing-stats .hs-item--success b{color:#14923a}
.landing-stats .hs-item span{font-size:10.5px;color:#7b8798;white-space:nowrap}
.landing-stats + .landing-wechat-banner{margin-top:10px}

/* QR Modal */
.wx-modal-mask{position:fixed;inset:0;background:rgba(15,23,42,.55);
  display:flex;align-items:center;justify-content:center;z-index:9998;padding:20px;
  animation:wx-fade .18s ease}
.wx-modal-mask[hidden]{display:none}
@keyframes wx-fade{from{opacity:0}to{opacity:1}}
.wx-modal-card{background:#fff;border-radius:18px;padding:24px 22px 20px;
  max-width:340px;width:100%;text-align:center;position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,.22);animation:wx-pop .22s ease}
@keyframes wx-pop{from{transform:scale(.92);opacity:.5}to{transform:scale(1);opacity:1}}
.wx-modal-close{position:absolute;top:10px;right:14px;width:28px;height:28px;border:0;
  background:#f1f5f9;border-radius:50%;font-size:18px;cursor:pointer;color:#64748b;line-height:1}
.wx-modal-close:hover{background:#e2e8f0;color:#0f172a}
.wx-modal-title{font-size:16px;font-weight:700;color:#0f172a;margin:0 0 4px}
.wx-modal-sub{font-size:12.5px;color:#8a94a6;margin:0 0 16px}
.wx-qr{width:200px;height:200px;margin:0 auto 14px;border-radius:12px;background:#f8fafc;
  border:1px solid #eef2f7;display:grid;place-items:center;color:#94a3b8;font-size:12px;
  overflow:hidden}
.wx-qr img{width:100%;height:100%;object-fit:contain}
.wx-modal-name{font-size:14px;color:#0f766e;font-weight:600;margin:0 0 10px}
.wx-modal-tip{font-size:12px;color:#94a3b8;line-height:1.6}

/* ============= Spot 卡片（横排条目） ============= */
.landing-entry-list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}
.spot{display:flex;align-items:center;gap:14px;flex-wrap:nowrap;
  background:#fff;border:1px solid rgba(238,240,244,.98);border-radius:18px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
  min-height:84px;padding:16px 16px 16px 18px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.spot:hover{transform:translateY(-1px);border-color:#e2e8f0;box-shadow:0 8px 26px rgba(0,0,0,.08)}
.spot:active{transform:translateY(0)}

.spot--accent-pdd{background:linear-gradient(90deg,rgba(52,211,153,.06),rgba(52,211,153,.01) 52%,#fff 72%);
  box-shadow:inset 3px 0 #a7f3d0,0 6px 20px rgba(0,0,0,.06)}
.spot--accent-pdd:hover{box-shadow:inset 3px 0 #6ee7b7,0 8px 26px rgba(52,211,153,.1)}

/* 主推卡（aj9 风：左色条更粗 + 阴影更深） */
.spot--primary{box-shadow:inset 5px 0 #10b981,0 12px 32px rgba(16,185,129,.16) !important}
.spot--primary:hover{box-shadow:inset 5px 0 #059669,0 16px 38px rgba(16,185,129,.24) !important}
.spot--primary .spot-icon{width:54px;height:54px;border-radius:16px}
.spot--primary .spot-icon img{width:36px;height:36px}
.spot--primary .spot-title{font-size:18px}
.spot--accent-taobao{background:linear-gradient(90deg,rgba(255,107,0,.07),#fff 38%);
  box-shadow:inset 3px 0 #ff6a00,0 6px 20px rgba(0,0,0,.06)}
.spot--accent-taobao:hover{box-shadow:inset 3px 0 #ff5000,0 8px 26px rgba(255,107,0,.12)}
.spot--accent-takeout{background:linear-gradient(90deg,rgba(245,158,11,.07),#fff 38%);
  box-shadow:inset 3px 0 #f59e0b,0 6px 20px rgba(0,0,0,.06)}
.spot--accent-takeout:hover{box-shadow:inset 3px 0 #d97706,0 8px 26px rgba(245,158,11,.12)}
.spot--accent-coupon{background:linear-gradient(90deg,rgba(250,204,21,.06),#fff 38%);
  box-shadow:inset 3px 0 #facc15,0 6px 20px rgba(0,0,0,.06)}
.spot--accent-voucher{background:linear-gradient(90deg,rgba(249,115,22,.08),#fff 38%);
  box-shadow:inset 3px 0 #f97316,0 6px 20px rgba(0,0,0,.06)}
.spot--accent-voucher:hover{box-shadow:inset 3px 0 #ea580c,0 8px 26px rgba(249,115,22,.14)}

.spot-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;font-size:24px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.95) inset,0 2px 8px rgba(0,0,0,.06)}
.spot-icon img{width:32px;height:32px;object-fit:contain;display:block}
.spot-icon--pdd{background:linear-gradient(155deg,#f7fef9,#ecfdf5)}
.spot-icon--takeout{background:linear-gradient(155deg,#fffbeb,#fef3c7);position:relative}
.spot-icon--takeout .icon-stack{display:flex;gap:-6px;position:relative;width:30px;height:24px}
.spot-icon--takeout .icon-stack img{position:absolute;width:20px;height:20px;border-radius:5px;border:1.5px solid #fff;background:#fff}
.spot-icon--takeout .icon-stack img:nth-child(1){left:0;top:2px;z-index:2}
.spot-icon--takeout .icon-stack img:nth-child(2){left:12px;top:2px;z-index:1}
.spot-icon--taobao{background:linear-gradient(155deg,#fff6ed,#ffe7d6)}
.spot-icon--coupon{background:linear-gradient(155deg,#fefce8,#fef9c3)}
.spot-icon--voucher{width:52px;height:52px;background:#fff3e8;color:#f97316}
.spot-voucher-mark{font-size:25px;font-weight:800;line-height:1;letter-spacing:0}

.spot-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.spot-title-row{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}
.spot-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:#94a3b8;line-height:1;margin-bottom:2px}
.spot--accent-pdd .spot-kicker{color:#10b981}
.spot--accent-taobao .spot-kicker{color:#ea580c}
.spot--accent-takeout .spot-kicker{color:#d97706}
.spot--accent-coupon .spot-kicker{color:#a16207}
.spot-title{color:#0f172a;font-size:17px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.spot-desc{color:#64748b;font-size:13px;font-weight:400;line-height:1.4;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spot-sub-metrics{color:#94a3b8;font-size:12px;font-weight:400;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}

.spot-tag{display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;font-size:11.5px;font-weight:700;line-height:1.2;padding:3px 10px;
  letter-spacing:.02em}
.spot-tag--hot{background:#fff1f2;border:1px solid #fecaca;color:#dc2626}
.spot-tag--new{background:#fff7ed;border:1px solid #fdba74;color:#ea580c}
.spot-tag--limited{background:#fffbeb;border:1px solid #fde68a;color:#a16207}

.spot-chevron{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;color:#cbd5e1;
  transition:color .18s ease,transform .18s ease}
.spot-chevron-svg{width:18px;height:18px;display:block}
.spot:hover .spot-chevron{color:#475569;transform:translateX(3px)}

@media(max-width:480px){
  .landing-content{padding:10px 12px 12px}
  .landing-wechat-banner{padding:9px 11px 9px 10px;margin-bottom:8px;border-radius:12px}
  .landing-stats + .landing-wechat-banner{margin-top:8px}
  .landing-wechat-banner__icon{width:32px;height:32px;border-radius:9px;font-size:16px}
  .landing-entry-list{gap:8px}
  .spot,.spot--primary{min-height:76px;padding:10px 12px 10px 14px;border-radius:14px;gap:11px}
  .spot-icon,.spot--primary .spot-icon{width:42px;height:42px;border-radius:12px}
  .spot-icon img,.spot--primary .spot-icon img{width:28px;height:28px}
  .spot-icon--voucher{width:48px;height:48px;border-radius:13px}
  .spot-title,.spot--primary .spot-title{font-size:16px}
  .spot-body{gap:3px}
  .spot-sub-metrics{display:none}
  .footer{display:none}
}

/* 页脚 */
.footer{position:relative;z-index:1;max-width:560px;margin:0 auto;
  text-align:center;color:#94a3b8;font-size:12.5px;padding:18px 16px 32px;line-height:1.9}
.footer a{color:#64748b;border-bottom:1px dashed #cbd5e1}
.footer .icp{color:#cbd5e1;font-size:11.5px;margin-top:4px}
.footer code{background:#f1f5f9;color:#475569;padding:1px 6px;border-radius:4px;font-size:11.5px}

/* footlink */
.landing-footlink{color:#6b7280;text-decoration:none;transition:color .15s ease}
.landing-footlink:hover{color:#10b981;text-decoration:underline;text-underline-offset:4px}

/* ============= 增强反馈 / 无障碍 / 暗黑模式 ============= */

/* 焦点可见（键盘 Tab 用） */
.spot:focus-visible,.landing-wechat-banner:focus-visible,
.btn:focus-visible,.nav-menu a:focus-visible,
.nav-toggle:focus-visible,.wx-modal-close:focus-visible{
  outline:2px solid #10b981;outline-offset:2px}

/* 点击 spot 视觉反馈 */
.spot:active{transform:translateY(1px) scale(.998);transition-duration:0s}

/* 减弱动画（系统设置） */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  .spot:hover,.landing-wechat-banner:hover{transform:none}
}

/* ============= 暗黑模式 ============= */
@media (prefers-color-scheme:dark){
  body{background:#0f172a;color:#e2e8f0}
  .nav{background:rgba(15,23,42,.85);border-bottom-color:#1e293b}
  .brand-text b{color:#f1f5f9}
  .brand-text i{color:#64748b}
  .nav-menu a{color:#94a3b8}
  .nav-menu a:hover{background:#1e293b;color:#f1f5f9}
  .nav-toggle{background:#1e293b;color:#cbd5e1}

  .landing-root{background:#0f172a}
  .landing-bg-grid{
    background-image:linear-gradient(rgba(148,163,184,.05) 1px,transparent 0),
                     linear-gradient(90deg,rgba(148,163,184,.05) 1px,transparent 0)}
  .landing-top-bg{background:linear-gradient(180deg,rgba(16,185,129,.16),rgba(16,185,129,.06) 40%,transparent)}
  .landing-title{color:#6ee7b7;background:none;-webkit-text-fill-color:#6ee7b7}
  .landing-subtitle,.landing-section-lead,.landing-hero-names{color:#94a3b8}

  .landing-stats{background:rgba(30,41,59,.6);border-color:#1e293b}
  .landing-stats .hs-item b{color:#6ee7b7}
  .landing-stats .hs-item span{color:#94a3b8}

  .landing-wechat-banner{background:#1e293b;border-color:#334155;border-left-color:#10b981}
  .landing-wechat-banner__title{color:#f1f5f9}
  .landing-wechat-banner__sub{color:#94a3b8}
  .landing-wechat-banner__icon{background:linear-gradient(155deg,#064e3b,#065f46);color:#6ee7b7}

  .spot{background:#1e293b;border-color:#334155}
  .spot--accent-pdd{background:linear-gradient(90deg,rgba(52,211,153,.1),rgba(52,211,153,.02) 52%,#1e293b 72%)}
  .spot--accent-taobao{background:linear-gradient(90deg,rgba(255,107,0,.12),#1e293b 38%)}
  .spot--accent-takeout{background:linear-gradient(90deg,rgba(245,158,11,.12),#1e293b 38%)}
  .spot--accent-coupon{background:linear-gradient(90deg,rgba(250,204,21,.1),#1e293b 38%)}
  .spot--accent-voucher{background:linear-gradient(90deg,rgba(249,115,22,.14),#1e293b 38%)}
  .spot:hover{border-color:#475569}
  .spot-title{color:#f1f5f9}
  .spot-desc,.spot-sub-metrics{color:#94a3b8}

  .spot-icon--pdd{background:linear-gradient(155deg,#064e3b,#065f46)}
  .spot-icon--taobao{background:linear-gradient(155deg,#7c2d12,#9a3412)}
  .spot-icon--takeout{background:linear-gradient(155deg,#78350f,#92400e)}
  .spot-icon--coupon{background:linear-gradient(155deg,#713f12,#854d0e)}
  .spot-icon--voucher{background:#431407;color:#fb923c}

  .footer{color:#64748b}
  .footer a{color:#94a3b8;border-bottom-color:#334155}
  .footer code{background:#1e293b;color:#cbd5e1}
  .footer .icp{color:#475569}

  .wx-modal-card{background:#1e293b;color:#e2e8f0}
  .wx-modal-close{background:#334155;color:#cbd5e1}
  .wx-modal-title{color:#f1f5f9}
  .wx-modal-sub,.wx-modal-tip{color:#94a3b8}
  .wx-qr{background:#0f172a;border-color:#334155;color:#64748b}
  .wx-modal-name{color:#6ee7b7}
}
