/*
 * 官网首页（/ · app/index/controller/Home）
 *
 * 只服务 view/index/home/index.html 一个页面，不依赖「AI好参谋」那套 site.css。
 * 色值取自品牌 LOGO 的薄荷绿 + 一点鎏金，和后台登录页是同一套底；
 * 四个自查入口的强调色是 --c，由 diag_entry.color 在模板里内联进来，这里不写死。
 * 主题实景轮播那台"手机"的样式在 /static/admin/css/theme_mock.css，与后台预览共用。
 */

:root {
    --lp-ink: #1F312B;
    --lp-body: #2C3A34;
    --lp-muted: #7A8A83;
    --lp-soft: #A6B3AD;
    --lp-line: #E2ECE7;
    --lp-line-soft: #EDF3EF;
    --lp-page: #F7FAF8;
    --lp-card: #FFFFFF;
    --lp-brand: #3D7E72;
    --lp-brand-deep: #2F6B60;
    --lp-brand-mid: #5F9A8D;
    --lp-brand-pale: #EDF5F1;
    --lp-gold: #C4A96F;
    --lp-gold-text: #8C8264;
}

.lp-body,
.lp-body *,
.lp-body *::before,
.lp-body *::after {
    box-sizing: border-box;
}

.lp-body {
    margin: 0;
    background: var(--lp-page);
    color: var(--lp-body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.lp-body a {
    color: inherit;
    text-decoration: none;
}

.lp-body img {
    display: block;
    max-width: 100%;
}

/* 标签级重置：一律用元素选择器（0-0-1），任何 .lp-* 组件都能盖回来。
   早先写成 .lp-body h1 这种（0-1-1）会把组件自己的 margin-top 全压成 0，
   整页的行距就是这么丢的 */
h1,
h2,
h3,
p,
ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.lp-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------------------------------------------- 吸顶导航 */

.lp-head {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 250, 248, .82);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    transition: box-shadow .2s, border-color .2s;
    border-bottom: 1px solid transparent;
}

.lp-head.is-stuck {
    border-bottom-color: var(--lp-line);
    box-shadow: 0 6px 20px -18px rgba(31, 49, 43, .5);
}

.lp-head-in {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.lp-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.lp-brand-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.lp-brand-txt b {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--lp-ink);
}

.lp-brand-txt i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 2.4px;
    color: var(--lp-soft);
    text-transform: uppercase;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.lp-nav a {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--lp-muted);
    transition: color .18s, background .18s;
}

.lp-nav a:hover {
    color: var(--lp-brand-deep);
    background: var(--lp-brand-pale);
}

.lp-head-end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.lp-burger {
    display: none;
    width: 38px;
    height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    cursor: pointer;
}

/* 图标是内联 SVG 的描边，不是三个空 span 的 background：
   后者在用户的手机上整块不画（同页文字与描边正常，掉的只有这种 2px 薄背景块），
   按钮就成了一块白方块。吸顶头带 backdrop-filter，合成层下这类薄块最先丢。 */
.lp-burger svg {
    display: block;
    fill: none;
    stroke: var(--lp-brand-deep, #2F6B60);
    stroke-width: 2;
    stroke-linecap: round;
}

/* ------------------------------------------------------------------ 按钮 */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #3D7E72 0%, #4E8F82 60%, #5F9A8D 100%);
    color: #fff;
    box-shadow: 0 12px 26px -14px rgba(61, 126, 114, .75);
    transition: filter .18s, transform .12s, box-shadow .18s, background .18s, border-color .18s;
}

button.lp-btn {
    font-family: inherit;
    cursor: pointer;
}

.lp-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 16px 30px -14px rgba(61, 126, 114, .85);
}

.lp-btn:active {
    transform: translateY(1px);
}

.lp-btn-sm {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 10px;
}

.lp-btn-lg {
    height: 50px;
    padding: 0 28px;
    font-size: 16px;
}

/* 次要按钮：品牌描边 + 透明底，压在渐变或浅底上都读得出是第二顺位 */
.lp-btn-ghost {
    background: transparent;
    color: var(--lp-brand-deep);
    border: 1px solid var(--lp-brand-mid);
    box-shadow: none;
}

.lp-btn-ghost:hover {
    border-color: var(--lp-brand);
    background: var(--lp-brand-pale);
    box-shadow: none;
}

/* ------------------------------------------------------------------ 首屏 */

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 104px;
    background: linear-gradient(160deg, #F6FBF8 0%, #EAF4EF 46%, #DCEBE3 100%);
}

.lp-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(126, 197, 180, .38) 0%, rgba(126, 197, 180, 0) 46%),
        radial-gradient(circle at 8% 84%, rgba(196, 169, 111, .2) 0%, rgba(196, 169, 111, 0) 44%);
}

.lp-hero-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 64px;
}

.lp-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(61, 126, 114, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    font-size: 12px;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: var(--lp-brand);
    font-weight: 600;
}

.lp-h1 {
    margin-top: 26px;
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.34;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--lp-ink);
}

.lp-lead {
    margin-top: 24px;
    max-width: 620px;
    font-size: 16.5px;
    line-height: 2.05;
    color: #4A6560;
}

.lp-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* 统计一行：数字在上、说明在下；没有数字的那一位（智能分析今日状态）单独居中 */
.lp-stats {
    margin-top: 52px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(61, 126, 114, .18);
}

.lp-stats li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 58px;
}

.lp-stat-n {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.lp-stats b {
    font-size: 30px;
    font-weight: 600;
    color: var(--lp-brand-deep);
    line-height: 1;
}

.lp-stats i {
    font-style: normal;
    font-size: 14px;
    color: var(--lp-brand);
}

.lp-stats span {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--lp-muted);
}

.lp-stats .is-text span {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-brand-deep);
}

/* 首屏右侧那张品牌卡 */
.lp-visual {
    position: relative;
}

.lp-visual-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 70px -40px rgba(31, 49, 43, .5);
}

.lp-visual-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--lp-line);
}

.lp-visual-top img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.lp-visual-top p {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.lp-visual-top b {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-visual-top span {
    font-size: 12.5px;
    color: var(--lp-soft);
    letter-spacing: 1px;
}

.lp-visual-chips {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lp-visual-chips li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--lp-brand-pale);
    border: 1px solid var(--lp-line-soft);
}

.lp-visual-chips i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 10px;
    font-style: normal;
    font-size: 14px;
    color: #fff;
    background: var(--c, var(--lp-brand));
}

.lp-visual-chips span {
    font-size: 14px;
    color: var(--lp-ink);
}

.lp-visual-foot {
    margin-top: 20px;
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.8;
}

.lp-visual-pill {
    position: absolute;
    left: 24px;
    bottom: -18px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-gold) 0%, #B79753 100%);
    box-shadow: 0 14px 26px -16px rgba(140, 130, 100, .9);
}

/* ------------------------------------------------------------------ 区块 */

.lp-sec {
    padding: 96px 0;
    /* 锚点跳转时别被吸顶导航压住标题 */
    scroll-margin-top: 68px;
}

.lp-sec-alt {
    background: var(--lp-card);
    border-top: 1px solid var(--lp-line-soft);
    border-bottom: 1px solid var(--lp-line-soft);
}

.lp-kicker {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2.6px;
    color: var(--lp-brand);
}

.lp-h2 {
    margin-top: 14px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--lp-ink);
    line-height: 1.45;
}

.lp-sub {
    margin-top: 16px;
    max-width: 720px;
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--lp-muted);
}

.lp-sub.is-light,
.lp-kicker.is-light {
    color: #CFE6DC;
}

.lp-grid {
    margin-top: 48px;
    display: grid;
    gap: 24px;
}

.lp-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card {
    position: relative;
    padding: 28px 26px;
    border-radius: 18px;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.lp-card:hover {
    transform: translateY(-4px);
    border-color: #C9DFD6;
    box-shadow: 0 24px 46px -30px rgba(31, 49, 43, .45);
}

.lp-card-t {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--lp-ink);
}

.lp-card-d {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--lp-muted);
}

/* 四路自查：强调色跟着 diag_entry.color 走 */
.lp-entry {
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFC 100%);
}

.lp-entry::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 0;
    width: 44px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--c, var(--lp-brand));
}

.lp-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 19px;
    color: #fff;
    background: var(--c, var(--lp-brand));
    box-shadow: 0 10px 20px -12px var(--c, var(--lp-brand));
}

.lp-card-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lp-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--lp-brand-deep);
    background: var(--lp-brand-pale);
    border: 1px solid var(--lp-line);
}

.lp-tag.is-gold {
    color: var(--lp-gold-text);
    background: #F5F1E6;
    border-color: #E7DFCB;
}

.lp-price {
    font-style: normal;
    font-size: 15px;
    font-weight: 600;
    color: var(--lp-gold-text);
}

.lp-card-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--lp-line);
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--lp-soft);
}

/* 优点 */
.lp-adv {
    background: var(--lp-page);
}

.lp-adv-k {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 17px;
    color: var(--lp-brand-deep);
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: 0 8px 18px -14px rgba(31, 49, 43, .5);
}

/* ---------------------------------------------------------- 今日状态概览 */

/* 左右两栏装在同一块面板里：左写「拿什么综合」，右写「综合出什么」，
   两栏各自成列，窄屏折成一列后仍然按同一顺序读 */

.lp-daily {
    margin-top: 48px;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    background: var(--lp-card);
    box-shadow: 0 26px 60px -46px rgba(31, 49, 43, .45);
}

.lp-daily-col + .lp-daily-col {
    padding-left: 40px;
    border-left: 1px dashed var(--lp-line);
}

.lp-daily-h {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--lp-brand-deep);
}

.lp-daily-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-daily-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.lp-daily-list p {
    flex: 1;
    min-width: 0;
}

.lp-daily-list b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lp-ink);
}

.lp-daily-list span {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--lp-muted);
}

.lp-daily-k {
    flex: none;
    padding: 5px 10px;
    border-radius: 9px;
    font-style: normal;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1px;
    color: var(--lp-brand-deep);
    background: var(--lp-brand-pale);
    border: 1px solid var(--lp-line);
}

.lp-daily-foot {
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.95;
    color: var(--lp-soft);
}

/* ------------------------------------------------------------------ 主题 */

/* 这一排就是实景轮播的选择器：只写名字，点一套切一套 */

.lp-themes {
    margin-top: 46px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lp-theme {
    display: block;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--lp-muted);
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}

/* 高亮只换色不加粗：字重一变胶囊就变宽，整排会跟着抖 */
.lp-theme.is-on {
    border-color: var(--lp-brand);
    color: var(--lp-brand-deep);
    background: var(--lp-brand-pale);
}

/* 主题实景轮播：一次居中一套，两侧各露半台。
   整机 375×700 是 theme_mock.css 的 .tm-phone.tm-lg，缩放只改 --lp-scale，
   盒子和缩放后的视觉尺寸严格相等，所以不需要负 margin 补差。 */

.lp-show {
    position: relative;
    margin-top: 44px;
    --lp-scale: 1;
}

.lp-show-track {
    display: flex;
    gap: 34px;
    padding: 8px calc(50% - 375px * var(--lp-scale) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lp-show-track::-webkit-scrollbar {
    display: none;
}

.lp-show-track.is-drag {
    cursor: grabbing;
    scroll-snap-type: none;
}

.lp-show-item {
    flex: none;
    width: calc(375px * var(--lp-scale));
    scroll-snap-align: center;
    transition: filter .3s, opacity .3s;
}

.lp-show-item:not(.is-on) {
    filter: blur(3px);
    opacity: .4;
}

.lp-show-box {
    width: calc(375px * var(--lp-scale));
    height: calc(700px * var(--lp-scale));
    overflow: hidden;
}

.lp-show-cell {
    width: 375px;
    height: 700px;
    transform: scale(var(--lp-scale));
    transform-origin: top left;
}

.lp-show-name {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 8px;
    font-size: 12.5px;
    color: var(--lp-soft);
}

.lp-show-name b {
    font-size: 15px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-show-name em {
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-style: normal;
    color: #fff;
    background: var(--lp-brand);
}

.lp-show-name i {
    font-style: normal;
}

.lp-show-arrow {
    position: absolute;
    top: calc(700px * var(--lp-scale) / 2);
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--lp-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px -16px rgba(31, 49, 43, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}

.lp-show-arrow:hover {
    border-color: #B9D6CB;
    background: #fff;
}

.lp-show-arrow.is-prev {
    left: 2px;
}

.lp-show-arrow.is-next {
    right: 2px;
}

.lp-show-arrow i {
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--lp-brand-deep);
    border-right: 2px solid var(--lp-brand-deep);
}

.lp-show-arrow.is-prev i {
    margin-left: 4px;
    transform: rotate(-135deg);
}

.lp-show-arrow.is-next i {
    margin-right: 4px;
    transform: rotate(45deg);
}

/* ------------------------------------------------------------------ 项目 */

.lp-proj {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lp-proj-cover {
    height: 168px;
    overflow: hidden;
    background: var(--lp-brand-pale);
}

.lp-proj-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.lp-proj:hover .lp-proj-cover img {
    transform: scale(1.05);
}

.lp-proj-bd {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lp-proj-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-proj .lp-card-t {
    margin-top: 16px;
    line-height: 1.55;
}

.lp-proj-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12.5px;
    color: var(--lp-soft);
}

.lp-proj-foot {
    margin-top: auto;
    padding-top: 20px;
    text-align: right;
}

.lp-link {
    font-size: 13.5px;
    color: var(--lp-brand);
    border-bottom: 1px solid transparent;
    transition: border-color .18s, color .18s;
}

.lp-link:hover {
    color: var(--lp-brand-deep);
    border-bottom-color: var(--lp-brand-mid);
}

/* ------------------------------------------------------------------ 解锁 */

.lp-way {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBF9 100%);
}

.lp-way .lp-card-t {
    margin-top: 0;
}

.lp-way-for {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--lp-line);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--lp-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lp-way-for span {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--lp-brand-pale);
    color: var(--lp-brand-deep);
}

.lp-pay {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lp-pay-item {
    padding: 24px 26px;
    border-radius: 18px;
    background: var(--lp-brand-pale);
    border: 1px solid var(--lp-line);
}

.lp-pay-t {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--lp-brand-deep);
}

/* ------------------------------------------------------------------ 顾问 */

.lp-sec-dark {
    background: linear-gradient(140deg, #274F47 0%, #2F6B60 48%, #3D7E72 100%);
    color: rgba(255, 255, 255, .9);
}

.lp-sec-dark .lp-h2 {
    color: #fff;
}

.lp-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
    align-items: center;
}

.lp-contact-list {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.lp-contact-list i {
    flex: none;
    width: 54px;
    font-style: normal;
    font-size: 12.5px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .62);
}

.lp-contact-list a,
.lp-contact-list span {
    color: #fff;
    word-break: break-all;
}

.lp-contact-list a {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    transition: border-color .18s;
}

.lp-contact-list a:hover {
    border-bottom-color: #fff;
}

.lp-qr {
    justify-self: end;
    width: 246px;
    max-width: 100%;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .5);
    text-align: center;
}

.lp-qr img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.lp-qr p {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--lp-muted);
}

.lp-qr.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.lp-qr.is-empty p {
    line-height: 1.9;
    color: var(--lp-muted);
}

.lp-qr.is-empty span {
    font-size: 12.5px;
    color: var(--lp-soft);
}

/* ------------------------------------------------------------------ 页脚 */

.lp-foot {
    padding: 64px 0 30px;
    background: #16211D;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.lp-foot-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lp-foot-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-foot-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.lp-foot-brand b {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.lp-foot-brand span {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.lp-foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 13.5px;
}

.lp-foot-nav a {
    color: rgba(255, 255, 255, .62);
    transition: color .18s;
}

.lp-foot-nav a:hover {
    color: #fff;
}

.lp-foot-bar {
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.lp-dis {
    max-width: 760px;
    font-size: 12.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .45);
}

.lp-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}

/* ------------------------------------------------------------------ 404 */

.lp-404 {
    padding: 96px 0 110px;
    text-align: center;
    background: linear-gradient(180deg, #EFF6F2 0%, var(--lp-bg) 100%);
}

.lp-404-num {
    font-size: 88px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 4px;
    color: var(--lp-brand-mid);
}

.lp-404 .lp-h1 {
    margin-top: 18px;
}

.lp-404 .lp-lead {
    margin: 18px auto 0;
    max-width: 520px;
}

.lp-404 .lp-actions {
    margin-top: 36px;
    justify-content: center;
}

.lp-copy a {
    color: inherit;
}

/* ------------------------------------------------------ 小程序码弹窗 */

.lp-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lp-modal.is-open {
    display: flex;
}

.lp-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(20, 38, 32, .55);
}

.lp-modal-box {
    position: relative;
    width: 340px;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    padding: 26px 24px 24px;
    border-radius: 18px;
    background: var(--lp-card);
    box-shadow: 0 30px 70px -30px rgba(20, 38, 32, .6);
    text-align: center;
}

.lp-modal-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--lp-brand-pale);
    cursor: pointer;
}

.lp-modal-x::before,
.lp-modal-x::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--lp-brand-deep);
}

.lp-modal-x::before {
    transform: rotate(45deg);
}

.lp-modal-x::after {
    transform: rotate(-45deg);
}

.lp-modal-x:hover {
    background: var(--lp-line);
}

.lp-modal-t {
    font-size: 19px;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-modal-d {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--lp-soft);
}

.lp-modal-qr {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    margin: 18px auto 0;
    border-radius: 12px;
    background: #fff;
}

.lp-modal-tip {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--lp-muted);
}

body.lp-noscroll {
    overflow: hidden;
}

/* ---------------------------------------------------------------- 自适应 */

@media screen and (max-width: 1080px) {
    .lp-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-nav {
        gap: 0;
    }

    .lp-nav a {
        padding: 8px 9px;
        font-size: 13.5px;
    }
}

@media screen and (max-width: 940px) {
    .lp-hero {
        padding: 52px 0 66px;
    }

    .lp-hero-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .lp-visual {
        max-width: 460px;
    }

    .lp-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .lp-qr {
        justify-self: start;
    }

    /* 概览面板折成一列：先读依据、再读产出，顺序和并排时一致 */
    .lp-daily {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 28px 26px;
    }

    .lp-daily-col + .lp-daily-col {
        padding-left: 0;
        padding-top: 30px;
        border-left: 0;
        border-top: 1px dashed var(--lp-line);
    }
}

@media screen and (max-width: 760px) {
    .lp-burger {
        display: flex;
    }

    /* 导航在窄屏被抽成绝对定位面板，不再占位；这一组不自己顶右边就贴着品牌名了。
       桌面端 .lp-nav 的 margin-left:auto 已把整条右推，故只在这个断点加，免得两处 auto 平分空档。 */
    .lp-head-end {
        margin-left: auto;
    }

    /* 窄屏把导航折成一块面板，靠 is-open 展开 */
    .lp-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 16px 14px;
        background: rgba(247, 250, 248, .98);
        border-bottom: 1px solid var(--lp-line);
        box-shadow: 0 18px 30px -24px rgba(31, 49, 43, .6);
    }

    .lp-head.is-open .lp-nav {
        display: flex;
    }

    .lp-nav a {
        padding: 12px 8px;
        border-radius: 10px;
        font-size: 15px;
        color: var(--lp-body);
    }

    .lp-sec {
        padding: 72px 0;
        scroll-margin-top: 68px;
    }

    .lp-grid-4,
    .lp-grid-3,
    .lp-pay {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 窄屏的上下留白按「一块屏」重排：块间距收到一屏读得完，卡片内边距跟着收 */
    .lp-grid,
    .lp-daily {
        margin-top: 36px;
    }

    .lp-grid {
        gap: 18px;
    }

    .lp-card {
        padding: 24px 22px;
    }

    .lp-lead {
        line-height: 1.9;
    }

    .lp-stats {
        margin-top: 40px;
        padding-top: 24px;
        gap: 10px 22px;
    }

    .lp-stats b {
        font-size: 23px;
    }

    .lp-themes {
        margin-top: 34px;
        gap: 10px;
    }

    .lp-show {
        margin-top: 34px;
    }

    .lp-visual-pill {
        position: static;
        display: inline-block;
        margin-top: 16px;
    }

    /* 六个主题名一行放不下，本来就自动折行；这里只把胶囊收小一点 */
    .lp-theme {
        padding: 7px 13px;
        font-size: 13px;
    }

    .lp-foot-in,
    .lp-foot-bar {
        justify-content: flex-start;
    }
}

/* 实景那台"手机"是 375px 定宽（theme_mock.css 里的 .tm-lg）：
   窄屏只缩放整机（--lp-scale），不改它的内部版式，
   盒子宽高由同一个变量算出来，所以缩放后不会留下空隙 */
@media screen and (max-width: 760px) {
    .lp-show {
        --lp-scale: .86;
    }

    /* 窄屏横向空间本来就少，间隙再大两边就露不出下一套了 */
    .lp-show-track {
        gap: 18px;
    }
}

@media screen and (max-width: 560px) {
    .lp-show-arrow {
        width: 36px;
        height: 36px;
    }

    .lp-show-arrow i {
        width: 8px;
        height: 8px;
    }

    .lp-hero {
        padding: 40px 0 52px;
    }

    .lp-hero-in {
        gap: 36px;
    }

    /* 手机上一颗按钮一行，拇指够得着，也不会两颗挤在一起 */
    .lp-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .lp-actions .lp-btn {
        width: 100%;
    }

    .lp-pay {
        margin-top: 26px;
        gap: 16px;
    }

    .lp-pay-item {
        padding: 22px 20px;
    }
}

@media screen and (max-width: 400px) {
    .lp-show {
        --lp-scale: .72;
    }
}

@media screen and (max-width: 420px) {
    .lp-wrap {
        padding: 0 16px;
    }

    .lp-visual-chips {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-head-in {
        gap: 55px;
    }

    .lp-brand-txt i {
        display: none;
    }

    .lp-sec {
        padding: 58px 0;
    }

    .lp-card,
    .lp-daily {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lp-daily-list li {
        gap: 10px;
    }

    .lp-stats {
        gap: 10px 18px;
    }
}
