﻿/* ============================================================
   灵猫工具箱 - 首页样式（紫色科技主题）
   ============================================================ */

:root {
    /* 主题（灵猫紫） */
    --brand:        #7c3aed;
    --brand-deep:   #6d28d9;
    --brand-light:  #a78bfa;
    --brand-cyan:   #d946ef;
    --brand-soft:   #f5f3ff;
    --brand-soft-2: #ddd6fe;
    --primary:      #7c3aed;

    /* 卡片强调色：图文=紫，电商=品红（同属紫色系，避免图小东红橙） */
    --blue:      #7c3aed;  --blue-soft:   #f5f3ff;  --blue-soft2:  #ddd6fe;
    --pink:      #c026d3;  --pink-soft:   #fdf4ff;  --pink-soft2:  #f5d0fe;

    /* 中性色（略偏冷，与主题呼应） */
    --ink:      #141a2e;
    --ink-2:    #495066;
    --muted:    #7b8398;
    --line:     #e7eaf3;
    --bg:       #ffffff;
    --bg-soft:  #f6f8ff;

    /* 页脚深色（冷墨紫） */
    --footer-bg:   #17122b;
    --footer-txt:  #c4c8da;
    --footer-muted:#868aa0;

    --radius:  24px;
    --shadow:  0 14px 34px rgba(124, 58, 237, .14);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 16px rgba(124, 58, 237, .28); }
.foot-brand .fb img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.brand .bt { font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--ink); }
.brand .bt small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 3px; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-cyan)); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(90deg, rgba(28, 12, 58, .88) 0%, rgba(76, 29, 149, .58) 42%, rgba(49, 18, 92, .36) 100%),
        url('../img/lm/hero.png') center / cover no-repeat;
    color: #fff; overflow: hidden;
    padding: 64px 0 96px;
}
/* 斜向光带装饰 */
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(520px 260px at 82% 8%, rgba(255,255,255,.16), transparent 70%),
        radial-gradient(420px 240px at 8% 92%, rgba(255,255,255,.10), transparent 70%);
}
/* 矢量曲线装饰（高级感） */
.hero-curves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-curves svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    padding: 7px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 20px; letter-spacing: .5px;
}
.hero h1 {
    font-size: clamp(29px, 6.2vw, 50px); font-weight: 800; line-height: 1.22; letter-spacing: 1px;
    text-shadow: 0 6px 26px rgba(18, 24, 60, .32);
}
.hero h1 .hl {
    background: linear-gradient(120deg, #ffffff, #e9d5ff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { margin: 16px auto 0; max-width: 600px; font-size: clamp(14px, 3.4vw, 18px); opacity: .94; line-height: 1.75; }

/* 底部波浪分隔 */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* 两大入口卡片 */
.entry-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    margin-top: 42px; position: relative; z-index: 2;
}
.entry-card {
    position: relative; display: flex; flex-direction: column; text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 30px 28px 26px; color: var(--ink);
    box-shadow: 0 20px 46px rgba(37, 50, 90, .16);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.entry-card.c-create:hover { border-color: var(--blue); box-shadow: 0 24px 52px rgba(124, 58, 237, .22); transform: translateY(-4px); }
.entry-card.c-shop:hover   { border-color: var(--pink); box-shadow: 0 24px 52px rgba(192, 38, 211, .22); transform: translateY(-4px); }

.entry-icon {
    width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%;
    font-size: 17px; font-weight: 900; letter-spacing: 1px; margin-bottom: 18px;
}
.entry-card.c-create .entry-icon { color: #6d28d9; background: linear-gradient(145deg, #fff, var(--blue-soft2)); border: 1px solid #ddd6fe; box-shadow: 0 9px 20px rgba(124,58,237,.12); }
.entry-card.c-shop .entry-icon   { color: #a21caf; background: linear-gradient(145deg, #fff, var(--pink-soft2)); border: 1px solid #f5d0fe; box-shadow: 0 9px 20px rgba(192,38,211,.12); }

.entry-badge {
    position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 700;
    padding: 5px 13px; border-radius: 999px; color: #fff; letter-spacing: .5px;
}
.entry-card.c-create .entry-badge { background: var(--blue); }
.entry-card.c-shop .entry-badge   { background: var(--pink); }

.entry-card h3 { font-size: 22px; font-weight: 800; display: flex; align-items: center; flex-wrap: wrap; }
.entry-card h3 .sys-tag {
    margin-left: 10px; font-size: 12.5px; font-weight: 700; padding: 3px 11px;
    border-radius: 999px; color: #fff; letter-spacing: .3px;
}
.entry-card.c-create h3 .sys-tag { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.entry-card.c-shop h3 .sys-tag   { background: linear-gradient(135deg, #e879f9, #c026d3); }
.entry-card h3 .sys-tag2 { margin-left: 8px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; letter-spacing: .3px; border: 1.5px solid; }
.entry-card.c-create h3 .sys-tag2 { color: #7c3aed; border-color: #ddd6fe; background: #f5f3ff; }
.entry-card.c-shop h3 .sys-tag2   { color: #c026d3; border-color: #f5d0fe; background: #fdf4ff; }

.entry-card .desc { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; flex: 1; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.entry-tags span {
    font-size: 12.5px; color: var(--ink-2); background: var(--bg-soft);
    border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px;
}

.entry-cta {
    margin-top: 22px; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 15px; color: #fff;
    padding: 13px 30px; border-radius: 999px;
    transition: filter .25s, box-shadow .25s, transform .25s;
}
.entry-card.c-create .entry-cta {
    background: linear-gradient(to right, #8b5cf6, #6d28d9);
    box-shadow: 0 10px 22px rgba(124, 58, 237, .36);
}
.entry-card.c-shop .entry-cta {
    background: linear-gradient(to right, #e879f9, #c026d3);
    box-shadow: 0 10px 22px rgba(192, 38, 211, .36);
}
.entry-card:hover .entry-cta { transform: translateY(-1px); filter: brightness(1.06); }
.entry-card.c-create:hover .entry-cta { box-shadow: 0 13px 28px rgba(109, 40, 217, .46); }
.entry-card.c-shop:hover .entry-cta   { box-shadow: 0 13px 28px rgba(162, 28, 175, .46); }
.entry-cta .arrow { transition: transform .25s; }
.entry-card:hover .entry-cta .arrow { transform: translateX(4px); }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.sec-head h2 { margin-top: 8px; font-size: clamp(24px, 5vw, 34px); font-weight: 800; letter-spacing: 1px; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: clamp(14px, 3.2vw, 16px); }
.sec-head .line { width: 54px; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-cyan)); border-radius: 4px; margin: 16px auto 0; }

/* ---------- 优势 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.why-ic {
    width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center;
    border-radius: 18px; font-size: 24px; font-weight: 900; color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-cyan));
    border: 1px solid rgba(255,255,255,.5); box-shadow: 0 10px 22px rgba(124,58,237,.20);
}
.why-card h4 { font-size: 18px; font-weight: 700; }
.why-card p { margin-top: 9px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- Tab 功能展示 ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.tab-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-2);
    font-size: 16px; font-weight: 700; padding: 12px 26px; border-radius: 999px; cursor: pointer; transition: all .25s;
}
.tab-btn .ic { min-width: 38px; height: 26px; padding: 0 7px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 900; letter-spacing: .5px; background: var(--brand-soft); color: var(--brand); }
.tab-btn.active .ic { background: rgba(255,255,255,.20); color: #fff; }
.tab-btn:hover { border-color: var(--brand-light); color: var(--brand); }
.tab-btn.active { background: linear-gradient(135deg, var(--brand), var(--brand-cyan)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, .32); }
.tab-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.tab-panel { display: none; animation: fade .4s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 分类 */
.cat { margin-bottom: 40px; }
.cat-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--brand); }
.cat-title { font-size: 19px; font-weight: 800; }
.cat-title small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cat-ic {
    width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center;
    border-radius: 11px; font-size: 0; color: #fff;
    background: linear-gradient(145deg, #111827, #374151);
    box-shadow: 0 7px 16px rgba(17,24,39,.18), inset 0 1px 0 rgba(255,255,255,.18);
}
.cat-ic::before { content: "✦"; font-size: 15px; line-height: 1; color: #c4b5fd; }
.cat:nth-of-type(2n) .cat-ic::before { content: "◇"; }
.cat:nth-of-type(3n) .cat-ic::before { content: "◎"; }
.cat:nth-of-type(4n) .cat-ic::before { content: "⌁"; }

/* 功能卡片（横向：图标左 · 文字右，不可点击仅展示） */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
    display: flex; align-items: flex-start; gap: 13px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px;
    cursor: default; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.feat .fic {
    position: relative; width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
    overflow: hidden; border-radius: 13px; font-size: 0; color: var(--brand);
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    border: 1px solid rgba(124,58,237,.20);
    box-shadow: 0 7px 16px rgba(124,58,237,.09), inset 0 1px 0 #fff;
}
.feat .fic::after {
    content: ""; position: absolute; width: 24px; height: 24px; right: -9px; bottom: -9px;
    border-radius: 50%; background: rgba(217,70,239,.14);
}
.feat .fic::before { content: "✦"; position: relative; z-index: 1; font-size: 18px; font-weight: 800; line-height: 1; }
.feat:nth-child(8n + 2) .fic::before { content: "◇"; }
.feat:nth-child(8n + 3) .fic::before { content: "◎"; }
.feat:nth-child(8n + 4) .fic::before { content: "↗"; }
.feat:nth-child(8n + 5) .fic::before { content: "⌁"; }
.feat:nth-child(8n + 6) .fic::before { content: "◈"; }
.feat:nth-child(8n + 7) .fic::before { content: "+"; font-size: 22px; font-weight: 500; }
.feat:nth-child(8n + 8) .fic::before { content: "⬡"; font-size: 16px; }
.feat:hover .fic { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--brand), #6d28d9); box-shadow: 0 9px 20px rgba(124,58,237,.22); }
.feat:hover .fic::after { background: rgba(255,255,255,.16); }
.feat .fbody { flex: 1; min-width: 0; }
.feat h5 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; letter-spacing: .5px; line-height: 1.4; color: #fff; }
.tag.hot  { background: var(--brand-cyan); }
.tag.new  { background: var(--brand); }
.tag.soon { background: #94a3b8; }

.tab-foot { text-align: center; margin-top: 26px; }
.enter-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-cyan)); color: #fff; font-size: 16px; font-weight: 700;
    padding: 14px 34px; border-radius: 999px; box-shadow: 0 12px 28px rgba(124, 58, 237, .34);
    transition: transform .25s, box-shadow .25s;
}
.enter-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(124, 58, 237, .44); }
.tab-note { margin-top: 14px; color: var(--muted); font-size: 12.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-txt); padding: 50px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.foot-brand .fb { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-brand .fb img { width: 38px; height: 38px; border-radius: 50%; }
.foot-brand .fb span { font-size: 20px; font-weight: 800; color: #fff; }
.foot-brand p { color: var(--footer-muted); font-size: 13.5px; line-height: 1.8; max-width: 340px; }
.foot-col h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.foot-col .row { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 12px; line-height: 1.6; }
.foot-col .row .k { color: var(--footer-muted); flex-shrink: 0; }
.foot-col .row a { color: var(--footer-txt); }
.foot-col .row a:hover { color: #fff; }
.foot-qr { text-align: center; }
.foot-qr .qrbox { width: 120px; height: 120px; border-radius: 14px; background: #fff; padding: 8px; display: grid; place-items: center; overflow: hidden; }
.foot-qr .qrbox img { width: 100%; height: 100%; object-fit: contain; }
.foot-qr .qr-ph { width: 100%; height: 100%; border: 1.5px dashed #cbd5db; border-radius: 10px; display: grid; place-items: center; color: #9aa7ad; font-size: 12px; text-align: center; padding: 6px; }
.foot-qr .qr-cap { margin-top: 10px; font-size: 12.5px; color: var(--footer-muted); }
.foot-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 12.5px; color: var(--footer-muted); line-height: 1.9; }
.foot-bar a { color: var(--footer-muted); }
.foot-bar a:hover { color: #fff; }
.foot-bar .sep { margin: 0 8px; opacity: .5; }

/* ---------- 右侧悬浮工具 ---------- */
.side-tools { position: fixed; right: 16px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.side-tools button, .kefu-btn {
    width: 50px; height: 50px; border-radius: 16px; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow);
    display: grid; place-items: center; font-size: 12px; line-height: 1.15; text-align: center;
    transition: transform .2s, color .2s, border-color .2s;
}
.side-tools button:hover, .kefu-btn:hover { color: var(--brand); border-color: var(--brand-soft-2); transform: translateY(-2px); }
.side-tools .emo { font-size: 18px; }
#toTop { display: none; }

/* 两大平台快捷入口（向下滚动后淡入） */
.side-tools .quick {
    width: 50px; padding: 7px 2px 8px; border-radius: 16px; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); box-shadow: var(--shadow);
    display: grid; place-items: center; gap: 2px; text-align: center; line-height: 1.15;
    opacity: 0; visibility: hidden; transform: translateX(16px);
    transition: opacity .3s, transform .3s, visibility .3s, color .2s, border-color .2s;
}
.side-tools.show-quick .quick { opacity: 1; visibility: visible; transform: translateX(0); }
.side-tools .quick .emo { font-size: 17px; }
.side-tools .quick .qt { font-size: 11px; line-height: 1.25; font-weight: 600; letter-spacing: .2px; }
.side-tools .quick:hover { transform: translateY(-2px); }
.side-tools .q-create:hover { color: var(--blue); border-color: var(--blue-soft2); box-shadow: 0 12px 26px rgba(124, 58, 237, .20); }
.side-tools .q-shop:hover   { color: var(--pink); border-color: var(--pink-soft2); box-shadow: 0 12px 26px rgba(192, 38, 211, .20); }

/* 客服二维码弹窗 */
.kefu-item { position: relative; }
.kefu-pop {
    position: absolute; right: calc(100% + 14px); bottom: 0;
    width: 214px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 18px 44px rgba(37, 50, 90, .20); padding: 16px 16px 14px; text-align: center;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(10px);
    transition: opacity .22s, transform .22s, visibility .22s; z-index: 95;
}
.kefu-item:hover .kefu-pop, .kefu-item.open .kefu-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.kefu-pop::before { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; }
.kefu-pop::after { content: ""; position: absolute; right: -8px; bottom: 18px; border: 8px solid transparent; border-left-color: #fff; }
.kefu-qr { width: 180px; height: 180px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.kefu-qr img { width: 100%; height: 100%; object-fit: contain; }
.kefu-qr .qr-ph { width: 100%; height: 100%; border: 1.5px dashed #cbd5db; border-radius: 10px; display: grid; place-items: center; color: #9aa7ad; font-size: 12px; text-align: center; padding: 6px; }
.kefu-add { margin-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.kefu-time-h { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.kefu-time { margin-top: 5px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }

/* ============================================================
   H5 / 移动端自适应
   ============================================================ */
@media (max-width: 992px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1fr 1fr; }
    .foot-qr { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .site-header.open .nav-links {
        display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
        position: absolute; top: 66px; left: 0; right: 0; background: #fff;
        border-bottom: 1px solid var(--line); padding: 12px 20px 18px; box-shadow: var(--shadow);
    }
    .site-header.open .nav-links a { width: 100%; padding: 10px 0; }
    .site-header.open .nav-links a.active::after { display: none; }

    .hero { padding: 46px 0 76px; }
    .entry-cards { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
    .entry-cta { align-self: stretch; justify-content: center; }
    .section { padding: 48px 0; }
    .sec-head { margin-bottom: 32px; }
    .why-grid { grid-template-columns: 1fr; gap: 14px; }
    .feat-grid { grid-template-columns: 1fr; gap: 12px; }
    .tab-btn { font-size: 15px; padding: 11px 20px; }
    .foot-top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .foot-brand .fb { justify-content: center; }
    .foot-brand p { margin: 0 auto; }
    .foot-col .row { justify-content: center; }
    .foot-qr { grid-column: auto; }
    .side-tools { right: 12px; bottom: 16px; gap: 8px; }
    .side-tools button, .kefu-btn { width: 44px; height: 44px; }
    .side-tools .quick { width: 44px; padding: 6px 2px 7px; border-radius: 14px; }
    .side-tools .quick .emo { font-size: 15px; }
    .side-tools .quick .qt { font-size: 10px; }
}


/* 最新资讯：保留灵猫日报原布局（左标题 + 右入口） */
.latest-news { padding: 72px 0; background: #f6f4ff; }
.news-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    margin-bottom: 28px;
}
.news-head .news-kicker {
    display: inline-flex; align-items: center;
    background: #eee8ff; color: #7c3aed; font-size: 13px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.news-head h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: .2px; }
.news-head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.news-go {
    flex-shrink: 0; display: inline-flex; align-items: center;
    background: #fff; color: var(--ink); font-size: 14px; font-weight: 700;
    padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(28, 22, 60, .06);
}
.news-go:hover { color: var(--brand); border-color: var(--brand-soft-2); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card {
    overflow: hidden; border-radius: 18px; background: #fff;
    border: 1px solid rgba(28, 22, 60, .06);
    box-shadow: 0 12px 28px rgba(28, 22, 60, .06);
    transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(124, 58, 237, .12); }
.news-cover { height: 148px; display: block; position: relative; background-size: cover; background-position: center; }
.news-cover b {
    position: absolute; z-index: 2; left: 12px; top: 12px;
    font-size: 11px; font-weight: 700; color: #6d28d9;
    background: rgba(245, 243, 255, .92); padding: 4px 10px; border-radius: 999px;
}
.news-body { padding: 16px 16px 14px; }
.news-body h3 {
    font-size: 16px; font-weight: 800; line-height: 1.45; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-body p {
    font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-foot time { font-size: 12px; color: var(--muted); }
.news-foot a { font-size: 13px; font-weight: 800; color: var(--brand); }
@media (max-width: 980px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .latest-news { padding: 52px 0; }
    .news-grid { grid-template-columns: 1fr; }
    .news-cover { height: 180px; }
}
/* ---------- Hero 玻璃晶体装饰 ---------- */
.hero-glass { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; opacity: .28; }
.hero-glass span {
    position: absolute; display: block; border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 30px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
    transform: rotate(18deg);
}
.hero-glass span:nth-child(1) { width: 280px; height: 360px; right: 8%; top: -40px; }
.hero-glass span:nth-child(2) { width: 180px; height: 240px; right: 22%; bottom: 40px; transform: rotate(-12deg); opacity: .7; }
.hero-glass span:nth-child(3) { width: 140px; height: 180px; left: 6%; top: 80px; transform: rotate(32deg); opacity: .45; }

/* ---------- 痛点 / 核心功能 / 流程 / 场景 / 评价 / FAQ / CTA ---------- */
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.core-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 24px 20px 22px; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.core-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.core-card .core-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.core-card .core-ic {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--brand), var(--brand-cyan)); color: #fff; font-size: 18px;
}
.core-card .hot-tag { font-size: 10px; font-weight: 800; color: #fff; background: var(--brand-cyan); padding: 3px 8px; border-radius: 999px; letter-spacing: .4px; }
.core-card h3 { font-size: 17px; font-weight: 800; }
.core-card p { margin: 8px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; flex: 1; }
.core-card .mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.core-card .mini-tags span { font-size: 11.5px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; }
.core-card .core-go { font-size: 13.5px; font-weight: 800; color: var(--brand); }
.core-card:hover .core-go { color: var(--brand-deep); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px;
    position: relative; transition: transform .25s, box-shadow .25s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.how-num {
    width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--brand), var(--brand-cyan)); color: #fff;
    font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.how-card h4 { font-size: 18px; font-weight: 800; }
.how-card p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.scene-ic { font-size: 28px; margin-bottom: 12px; }
.scene-card h4 { font-size: 17px; font-weight: 800; }
.scene-card p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px 22px;
}
.quote-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.quote-who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote-av {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--brand), var(--brand-cyan)); color: #fff; font-weight: 800;
}
.quote-who b { display: block; font-size: 14px; }
.quote-who small { color: var(--muted); font-size: 12px; }

.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-item button {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit;
}
.faq-item button .plus { color: var(--brand); font-size: 22px; font-weight: 500; line-height: 1; transition: transform .2s; }
.faq-item.open button .plus { transform: rotate(45deg); }
.faq-item .faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

.cta-banner {
    margin: 20px auto 0; max-width: var(--maxw);
    border-radius: 28px; padding: 56px 32px; text-align: center; color: #fff;
    background: linear-gradient(118deg, #7c3aed 0%, #6d28d9 48%, #d946ef 100%);
    box-shadow: 0 24px 50px rgba(124, 58, 237, .28); position: relative; overflow: hidden;
}
.cta-banner::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(70% 120% at 90% -10%, rgba(255,255,255,.22), transparent 55%);
}
.cta-banner h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; position: relative; }
.cta-banner p { margin: 12px 0 26px; opacity: .94; font-size: 16px; position: relative; }
.cta-banner a {
    position: relative; display: inline-flex; align-items: center;
    background: #fff; color: var(--brand); font-weight: 800; padding: 14px 30px; border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.cta-banner a:hover { transform: translateY(-2px); }

.news-cover.fallback {
    background:
        linear-gradient(135deg, rgba(124,58,237,.45), rgba(217,70,239,.22)),
        url('../img/lm/hero.png') center / cover no-repeat;
}

/* 核心场景配图卡片 */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot-card {
    background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.shot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shot-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.shot-card .shot-body { padding: 18px 18px 20px; }
.shot-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.shot-card p { color: var(--muted); font-size: 13px; line-height: 1.7; min-height: 44px; }
.shot-card a { display: inline-block; margin-top: 10px; color: var(--brand); font-weight: 800; font-size: 13.5px; }

@media (max-width: 992px) {
    .shot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .shot-grid { grid-template-columns: 1fr; }
    .shot-card img { height: 200px; }
}

/* WordPress 管理条 / 主题样式冲突兜底 */
body.lm-landing { margin: 0; background: #fff; }
body.lm-landing #wpadminbar { z-index: 99999; }
/* tools.js 要求这两个属性不能是 hidden / none，否则会删掉整个页面 */
body.lm-landing .theme-copyright,
body.lm-landing .theme-copyright > a {
    visibility: visible !important;
    display: inline !important;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

@media (max-width: 1100px) {
    .core-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .how-grid, .scene-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
    .core-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .hero-glass span { display: none; }
    .core-grid, .how-grid, .scene-grid, .quote-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 20px; border-radius: 22px; }
}

