/* login.php 专属营销着陆页样式。命名空间 .lp-*，不影响其他页面的 style.css。 */
:root {
    --lp-ink: #16233d;
    --lp-ink-deep: #0d1526;
    --lp-red: #e0402b;
    --lp-paper: #faf7f0;
    --lp-slate: #9fb2c9;
    --lp-gold: #c9a24a;
}

.lp-page { background: var(--lp-paper); color: var(--lp-ink); }
input { line-height: 25px; }
.lp-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 32px; background: rgba(13, 21, 38, .82); backdrop-filter: blur(6px);
}
.lp-brand { color: #fff; font-weight: 900; font-size: 18px; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.lp-brand-logo { width: 28px; height: 28px; border-radius: 6px; }
.lp-topbar-cta {
    color: var(--lp-paper); font-size: 13px; text-decoration: none; border: 1px solid rgba(255,255,255,.35);
    padding: 6px 14px; border-radius: 20px; transition: background .2s, border-color .2s;
}
.lp-topbar-cta:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

/* ---- Hero ---- */
.lp-hero {
    position: relative; overflow: hidden; background: linear-gradient(160deg, var(--lp-ink) 0%, var(--lp-ink-deep) 100%);
    padding: 108px 32px 64px; min-height: 640px;
}
.lp-hero-inner {
    max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start;
    position: relative;
}
.lp-seal-line {
    position: absolute; left: -8px; top: 0; bottom: 0; width: 34px;
    border-right: 2px dashed rgba(255,255,255,.22); display: none;
}
.lp-seal-line span {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(90deg);
    writing-mode: horizontal-tb; color: rgba(255,255,255,.3); font-size: 13px; letter-spacing: 6px; white-space: nowrap;
}
@media (min-width: 1040px) { .lp-seal-line { display: block; } }

.lp-eyebrow {
    color: var(--lp-gold); font-size: 13px; letter-spacing: 3px; margin: 0 0 14px; font-weight: 700;
    opacity: 0; transform: translateY(10px); animation: lp-rise .6s .1s forwards;
}
.lp-hero h1 {
    font-family: "Microsoft YaHei", sans-serif; font-weight: 900; color: #fff; margin: 0;
    font-size: clamp(34px, 4.6vw, 60px); line-height: 1.22; letter-spacing: 1px;
}
.lp-hero h1 .lp-line { display: block; overflow: hidden; }
.lp-hero h1 .lp-line span {
    display: inline-block; opacity: 0; transform: translateY(100%); animation: lp-rise .6s forwards;
}
.lp-hero h1 .lp-line:nth-child(1) span { animation-delay: .18s; }
.lp-hero h1 .lp-line:nth-child(2) span { animation-delay: .3s; color: var(--lp-red); }
.lp-hero h1 .lp-line:nth-child(3) span { animation-delay: .42s; }

.lp-hero-sub {
    color: var(--lp-slate); font-size: 16px; line-height: 1.8; margin: 22px 0 30px; max-width: 480px;
    opacity: 0; transform: translateY(10px); animation: lp-rise .6s .56s forwards;
}
.lp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(10px); animation: lp-rise .6s .68s forwards; }
.lp-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 6px; font-size: 15px;
    font-weight: 700; text-decoration: none; transition: transform .18s, box-shadow .18s;
}
.lp-btn-primary { background: var(--lp-red); color: #fff; box-shadow: 0 8px 24px rgba(224,64,43,.35); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224,64,43,.45); }
.lp-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.lp-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

@keyframes lp-rise { to { opacity: 1; transform: translateY(0); } }

/* ---- 登录卡片（Hero 右侧） ---- */
.lp-login-card {
    background: var(--lp-paper); border-radius: 12px; padding: 28px 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(16px) scale(.98); animation: lp-card-in .6s .3s forwards;
}
@keyframes lp-card-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.lp-login-card .type-tabs button { border-color: var(--lp-ink); color: var(--lp-ink); }
.lp-login-card .type-tabs button.active { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.lp-login-card .btn { background: var(--lp-red); width: 100%; margin-top: 8px; padding: 11px 14px; font-size: 14px; font-weight: 700; }
.lp-login-card .btn:hover { background: #c1361f; }
.lp-login-title { font-size: 15px; font-weight: 700; color: var(--lp-ink); margin: 0; }
.lp-login-card .login-hint a { color: var(--lp-red); font-weight: 600; }

.lp-login-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.lp-qr-switch {
    flex-shrink: 0; background: transparent; border: 1px solid var(--lp-ink); color: var(--lp-ink);
    border-radius: 20px; padding: 5px 12px; font-size: 12px; cursor: pointer; transition: background .2s, color .2s; float: right;

}
.lp-qr-switch:hover { background: var(--lp-ink); color: #fff; }

.lp-qr-view { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 4px; }
.lp-qr-canvas { width: 220px; height: 220px; }
.lp-qr-canvas svg { width: 100%; height: 100%; }
.lp-qr-hint { margin: 0; font-size: 12px; color: #888; }
.lp-qr-back {
    background: transparent; border: none; color: var(--lp-red); font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px;
}
.lp-qr-back:hover { text-decoration: underline; }

/* ---- 信任条 ---- */
.lp-trust {
    background: var(--lp-ink-deep); padding: 26px 32px; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.lp-trust-item { text-align: center; color: var(--lp-slate); }
.lp-trust-item strong { display: block; color: #fff; font-size: 26px; font-weight: 900; }
.lp-trust-item span { font-size: 12px; letter-spacing: 1px; }

/* ---- 功能大题区 ---- */
.lp-features { max-width: 1180px; margin: 0 auto; padding: 96px 32px 60px; }
.lp-features-head { text-align: center; margin-bottom: 56px; }
.lp-features-head .lp-eyebrow { color: var(--lp-red); opacity: 1; animation: none; }
.lp-features-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 0; font-weight: 900; }

.lp-feature-row {
    display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; padding: 40px 0;
    border-top: 1px solid #e4ddc9; opacity: 0; transform: translateY(28px); transition: opacity .6s, transform .6s;
}
.lp-feature-row:first-of-type { border-top: none; }
.lp-feature-row.lp-visible { opacity: 1; transform: translateY(0); }
.lp-feature-num {
    font-family: "SimHei", sans-serif; font-size: 15px; color: var(--lp-gold); font-weight: 700; letter-spacing: 2px;
    border-right: 2px solid #e4ddc9; padding-right: 20px;
}
.lp-feature-num small { display: block; color: #999; font-weight: 400; font-size: 11px; margin-top: 4px; letter-spacing: 4px; }
.lp-feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lp-feature-body h3 { margin: 0; font-size: 21px; font-weight: 900; }
.lp-feature-body p { margin: 8px 0 0 58px; color: #555; font-size: 14.5px; line-height: 1.85; max-width: 620px; }
.lp-feature-underline {
    display: block; width: 0; height: 2px; background: var(--lp-red); margin: 6px 0 0 58px; transition: width .3s;
}
.lp-feature-row:hover .lp-feature-underline { width: 56px; }
@media (max-width: 900px) {
    .lp-feature-body p, .lp-feature-underline { margin-left: 0; }
}

/* ---- 大题配图（截图预览） ---- */
.lp-feature-content { display: flex; align-items: center; gap: 36px; }
.lp-feature-content .lp-feature-body { flex: 1; min-width: 0; }
.lp-feature-content.lp-shot-left { flex-direction: row-reverse; }
.lp-feature-media { flex: 1; min-width: 0; }
.lp-shot-frame {
    border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e4ddc9;
    box-shadow: 0 20px 45px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s;
}
.lp-feature-row:hover .lp-shot-frame { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(0,0,0,.16); }
.lp-shot-bar { height: 26px; background: #eee; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.lp-shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }
.lp-shot-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
    .lp-feature-content { flex-direction: column !important; gap: 16px; }
    .lp-feature-media { order: -1; }
}

/* ---- 签名动效：朱批勾 ---- */
.lp-mark-wrap { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; }
.lp-mark-wrap svg path {
    stroke: var(--lp-red); stroke-width: 8; fill: none; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .5s ease .15s;
}
.lp-feature-row.lp-visible .lp-mark-wrap svg path { stroke-dashoffset: 0; }

/* ---- 收束 CTA 横幅 ---- */
.lp-cta-band {
    background: linear-gradient(120deg, var(--lp-ink) 0%, #1c3157 100%); color: #fff; text-align: center;
    padding: 72px 32px; margin-top: 20px;
}
.lp-cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; font-weight: 900; }
.lp-cta-band p { color: var(--lp-slate); margin: 0 0 28px; font-size: 15px; }

.lp-footer { background: var(--lp-ink-deep); color: #7a8aa3; text-align: center; padding: 22px; font-size: 12px; }

@media (max-width: 900px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-login-card { max-width: 420px; }
    .lp-feature-row { grid-template-columns: 1fr; gap: 10px; }
    .lp-feature-num { border-right: none; padding-right: 0; display: flex; align-items: center; gap: 10px; }
    .lp-feature-num small { display: inline; margin-top: 0; }
}
@media (max-width: 640px) {
    .lp-topbar { padding: 12px 16px; }
    .lp-hero { padding: 92px 16px 48px; }
    .lp-trust { gap: 28px; padding: 22px 16px; }
    .lp-features { padding: 64px 16px 40px; }
    .lp-cta-band { padding: 52px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-eyebrow, .lp-hero h1 .lp-line span, .lp-hero-sub, .lp-hero-ctas, .lp-login-card, .lp-feature-row {
        animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important;
    }
    .lp-mark-wrap svg path { stroke-dashoffset: 0 !important; transition: none !important; }
}

.lp-page a:focus-visible, .lp-page button:focus-visible, .lp-page input:focus-visible {
    outline: 3px solid var(--lp-red); outline-offset: 2px;
}
