/* assets/css/landing.css —— 首页扩展样式
 *
 * 视觉风格与全站统一（深蓝紫渐变 + 金色点缀）。
 * 本文件只定义首页专属模块，所有按钮 / 卡片 / 表格 / 表单
 * 等通用件已在 style.css 中定义并优先加载。
 */

/* ============================== Hero（首页增强） ============================== */

.hero-home {
    padding: 38px 36px 32px;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}
.hero-text { min-width: 0; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 217, 160, .35);
    color: #ffd9a0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    backdrop-filter: blur(6px);
}
.hero-tag-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ffd9a0;
    box-shadow: 0 0 0 0 rgba(255, 217, 160, .65);
    animation: hp-pulse 1.6s ease-out infinite;
}
@keyframes hp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 217, 160, .65); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 217, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 217, 160, 0); }
}

.hero-home h1 {
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: .01em;
}
.hero-home h1 em {
    font-style: normal;
    background: linear-gradient(96deg, #ffe6b8, #c9a25e 58%, #ffd9a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .04em;
}
.hero-home p { max-width: 620px; line-height: 1.95; font-size: 14.5px; }
.hero-home p strong { color: #ffd9a0; font-weight: 600; }

.hero-cta {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 22px 0 16px;
}

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 8px 14px;
    margin: 0 0 22px;
}
.hero-trust-bullet {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .7);
}
.hero-trust-bullet::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #c9a25e;
    box-shadow: 0 0 6px rgba(201, 162, 94, .6);
}

.hero-stats {
    position: relative; z-index: 1;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-stat b {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    display: flex; align-items: baseline; gap: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hero-stat b small {
    font-size: 14px;
    color: #ffd9a0;
    font-weight: 700;
    letter-spacing: .04em;
}
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .68); }

/* ----- Hero 右侧：API 控制台 + 浮动书卡 ----- */

.hero-mock {
    position: relative;
    min-width: 0;
    perspective: 1400px;
}

.mock-window {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f1632;
    box-shadow:
        0 28px 60px -20px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(255, 255, 255, .08);
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform .35s ease;
}
.hero-mock:hover .mock-window { transform: rotateY(0) rotateX(0); }

.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: linear-gradient(180deg, #1a2244, #141a36);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mock-bar .dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex: none;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.mock-url {
    flex: 1;
    margin-left: 10px;
    padding: 5px 12px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .78);
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-method {
    flex: none;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(40, 200, 64, .18);
    color: #6eea85;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    font-family: Consolas, Monaco, "Courier New", monospace;
}

.mock-tabs {
    display: flex;
    gap: 0;
    padding: 0 14px;
    background: #131a3a;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.mock-tab {
    padding: 9px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    cursor: default;
}
.mock-tab.on {
    color: #ffd9a0;
    border-bottom-color: #c9a25e;
}

.mock-body {
    margin: 0;
    padding: 16px 18px 14px;
    background: transparent;
    color: #cdd6f4;
    font-size: 12.5px;
    line-height: 1.75;
    max-height: 280px;
    overflow: hidden;
    border-radius: 0;
}
.mock-body code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

/* JSON 语法高亮 */
.mk-key  { color: #82b1ff; }
.mk-str  { color: #c3e88d; }
.mk-num  { color: #ffd9a0; }
.mk-brace{ color: #7986cb; }

.mock-foot {
    display: flex; justify-content: space-between;
    padding: 9px 14px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .025);
    font-size: 11.5px;
    color: rgba(255, 255, 255, .55);
    font-family: Consolas, Monaco, "Courier New", monospace;
    letter-spacing: .02em;
}
.mock-foot i { font-style: normal; }
.mk-pulse {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #28c840;
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(40, 200, 64, .55);
    animation: hp-pulse 1.6s ease-out infinite;
}

/* 浮动书卡 */
.mock-book {
    position: absolute;
    left: -28px; bottom: -34px;
    width: 240px;
    padding: 14px 14px 14px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fe 100%);
    box-shadow:
        0 22px 44px -10px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(255, 255, 255, .4);
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: start;
    z-index: 2;
}
.mock-book-cover {
    width: 70px; height: 96px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 50%),
        linear-gradient(135deg, #1d2b58 0%, #4b3c8f 60%, #c9a25e 130%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .25),
        0 6px 12px -4px rgba(31, 42, 88, .5);
    position: relative;
}
.mock-book-cover::after {
    content: '';
    position: absolute;
    left: 6px; top: 6px; bottom: 6px;
    width: 1px;
    background: rgba(255, 255, 255, .18);
}
.mock-book-info { min-width: 0; }
.mock-book-cat {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(201, 162, 94, .14);
    color: #a4741f;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.mock-book-info h4 {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 800;
    color: #1d2b58;
    line-height: 1.25;
}
.mock-book-info p {
    margin: 0;
    font-size: 12px;
    color: #6b748a;
}
.mock-book-info p small {
    font-size: 11px;
    color: #98a0b6;
}
.mock-book-tags {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-top: 8px;
}
.mock-book-tags span {
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f3fb;
    color: #3d51b0;
    font-size: 10.5px;
    font-weight: 600;
}

/* ============================== 核心能力 ============================== */

.feat-section h2 { margin-bottom: 6px; }
.feat-section > .hint { margin: -8px 0 20px; font-size: 13px; }

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px;
}
.feat {
    position: relative;
    padding: 22px 22px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f7fe 100%);
    border: 1px solid #ebedf6;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feat:hover {
    transform: translateY(-3px);
    border-color: #d9ddec;
    box-shadow: 0 14px 30px -16px rgba(31, 42, 88, .22);
}
.feat-ico {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(61, 81, 176, .12), rgba(75, 60, 143, .12));
    color: #33429c;
    margin-bottom: 12px;
}
.feat-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 6px; font-size: 15.5px; color: #2b3554; }
.feat h3::before { display: none; }
.feat p { margin: 0 0 10px; font-size: 13.5px; color: #4e5561; line-height: 1.85; }
.feat-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(201, 162, 94, .14);
    color: #a4741f;
    font-size: 12px;
    font-weight: 600;
}

/* ============================== 资源覆盖 ============================== */

.cover-band {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    padding: 38px 36px 32px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #1d2b58 0%, #2f3f82 52%, #4b3c8f 100%);
    box-shadow: 0 22px 48px -18px rgba(31, 42, 88, .55);
}
.cover-band::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(560px 240px at 88% -30%, rgba(201, 162, 94, .30), transparent 70%),
        radial-gradient(520px 280px at -12% 118%, rgba(96, 128, 255, .28), transparent 70%);
}
.cover-band::after {
    content: '';
    position: absolute; inset: 0;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 30px 30px;
}
.cover-band-in { position: relative; z-index: 1; }
.cover-band h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.cover-band h2::before { display: none; }
.cover-lead { margin: 0 0 22px; max-width: 720px; font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.9; }

.cover-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.cover-stat {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(4px);
    display: flex; flex-direction: column; gap: 4px;
}
.cover-stat b {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    display: flex; align-items: baseline; gap: 4px;
}
.cover-stat b small {
    font-size: 13px;
    color: #ffd9a0;
    font-weight: 700;
}
.cover-stat span { font-size: 12.5px; color: rgba(255, 255, 255, .66); }

.cover-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cover-tags span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .88);
    font-size: 12.5px;
}

/* ============================== 项目区：嵌套卡片去掉外层 card 圆角 ============================== */

.card .project-list { margin-top: 14px; }
.card .project-card { margin-bottom: 0; }

/* ============================== 接入流程 ============================== */

.hp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.hp-step {
    position: relative;
    padding: 22px 20px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f7fe 100%);
    border: 1px solid #ebedf6;
}
.hp-step .n {
    position: absolute;
    right: 16px; top: 14px;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3d51b0, #c9a25e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.hp-step h3 { margin: 0 0 8px; font-size: 15.5px; color: #2b3554; }
.hp-step h3::before { display: none; }
.hp-step p { margin: 0; font-size: 13.5px; color: #4e5561; line-height: 1.8; }

/* ============================== 服务保障 ============================== */

.hp-promise { display: grid; gap: 14px; margin-top: 14px; }
.hp-pr {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f7fe 100%);
    border: 1px solid #ebedf6;
}
.hp-pr .k {
    flex: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #33429c, #4b3c8f);
    color: #ffd9a0;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 6px 14px -6px rgba(59, 72, 150, .55);
}
.hp-pr h3 { margin: 0 0 4px; font-size: 15px; color: #2b3554; }
.hp-pr h3::before { display: none; }
.hp-pr p { margin: 0; font-size: 13.5px; color: #4e5561; line-height: 1.8; }

/* ============================== 常见问题 ============================== */

.hp-faq { margin-top: 6px; }
.hp-faq details {
    border-bottom: 1px solid #eef0f6;
    padding: 0;
}
.hp-faq details:last-child { border-bottom: 0; }
.hp-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 4px;
    font-size: 14.5px;
    font-weight: 600;
    color: #2b3554;
    display: flex; align-items: center; gap: 12px;
    transition: color .15s;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::before {
    content: '+';
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f1f3fb;
    color: #3d51b0;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s, transform .15s;
}
.hp-faq details[open] summary { color: #33429c; }
.hp-faq details[open] summary::before { content: '−'; background: linear-gradient(135deg, #33429c, #4b3c8f); color: #ffd9a0; }
.hp-faq summary:hover { color: #33429c; }
.hp-faq .a {
    padding: 0 4px 18px 38px;
    font-size: 13.5px;
    color: #4e5561;
    line-height: 1.9;
}

/* ============================== 底部 CTA ============================== */

.cta-band {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    padding: 38px 40px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1d2b58 0%, #2f3f82 52%, #4b3c8f 100%);
    box-shadow: 0 22px 48px -18px rgba(31, 42, 88, .55);
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(560px 240px at 92% -30%, rgba(201, 162, 94, .32), transparent 70%),
        radial-gradient(420px 240px at -10% 110%, rgba(96, 128, 255, .28), transparent 70%);
}
.cta-band::after {
    content: '';
    position: absolute; inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* 装饰圆环 / 散点 */
.cta-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.cta-deco-1 {
    top: -60px; right: 18%;
    width: 180px; height: 180px;
    border: 1px solid rgba(255, 217, 160, .22);
    box-shadow: inset 0 0 0 14px rgba(255, 217, 160, .04);
}
.cta-deco-2 {
    top: -30px; right: 16%;
    width: 100px; height: 100px;
    border: 1px solid rgba(255, 217, 160, .16);
}
.cta-deco-3 {
    bottom: -50px; left: 36%;
    width: 120px; height: 120px;
    border: 1px dashed rgba(255, 255, 255, .18);
}

.cta-grid {
    position: relative; z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 40px 36px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

/* 左：主行动 */
.cta-main { min-width: 0; }
.cta-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 217, 160, .12);
    border: 1px solid rgba(255, 217, 160, .35);
    color: #ffd9a0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
}
.cta-main h2 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.cta-main h2::before { display: none; }
.cta-main h2 em {
    font-style: normal;
    background: linear-gradient(96deg, #ffe6b8, #c9a25e 58%, #ffd9a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .04em;
}
.cta-main p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.95;
    color: rgba(255, 255, 255, .8);
    max-width: 560px;
}
.cta-band-act {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 16px;
}
.cta-foot {
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .65);
}
.cta-foot span { display: inline-flex; align-items: center; gap: 6px; }
.cta-foot-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #c9a25e;
    box-shadow: 0 0 6px rgba(201, 162, 94, .55);
}

/* 右：信任卡 */
.cta-trust {
    padding: 22px 22px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .4);
}
.cta-trust h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    font-size: 13px;
    color: #ffd9a0;
    letter-spacing: .18em;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.cta-trust h3::before { display: none; }
.cta-trust ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 14px;
}
.cta-trust li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: start;
}
.cta-trust-k {
    flex: none;
    width: 64px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    display: flex; align-items: baseline; gap: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.cta-trust-k small {
    font-size: 11px;
    color: #ffd9a0;
    font-weight: 700;
    letter-spacing: .04em;
}
.cta-trust li div { min-width: 0; }
.cta-trust li b {
    display: block;
    font-size: 14.5px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}
.cta-trust li p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
}

/* ============================== 富页脚 ============================== */
/* 渲染位置在 </main> 之后，已经是 body 直系子节点，原本就脱离 1180 容器、撑满整屏宽度。
   这里只负责「去掉圆角、去掉上下外边距」，让背景真正贴到视口左右两端。 */

.home-foot {
    position: relative;
    /* 比页面背景（#1d2b58 系）明显压暗一档，保证区块可辨识 */
    background:
        radial-gradient(720px 260px at 90% -40%, rgba(201, 162, 94, .22), transparent 70%),
        radial-gradient(560px 280px at -8% 110%, rgba(96, 128, 255, .16), transparent 70%),
        linear-gradient(135deg, #0c122c 0%, #131b42 55%, #212862 100%);
    color: rgba(255, 255, 255, .78);
    border-top: 1px solid rgba(201, 162, 94, .30);
    box-shadow: 0 -18px 44px -20px rgba(0, 0, 0, .55);
    border-radius: 0;
    padding: 30px max(32px, calc((100vw - 1180px) / 2)) 22px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 26px;
}
.home-foot .fbrand strong { font-size: 19px; letter-spacing: .16em; font-weight: 800; color: #fff; }
.home-foot .fbrand strong b { color: #c9a25e; }
.home-foot .fbrand p { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.9; }
.home-foot h4 {
    margin: 0 0 12px;
    font-size: 13px;
    color: #ffd9a0;
    letter-spacing: .18em;
    font-weight: 700;
}
.home-foot-col { min-width: 0; }
.home-foot a {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    margin-bottom: 7px;
    text-decoration: none;
    transition: color .15s;
}
.home-foot a:hover { color: #fff; }
.home-foot .fnote { font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.9; margin: 0; }

/* ============================== 一屏式首页（v2） ============================== */
/* 未登录：左侧简介 + 数据，右侧登录框；整页 flex 布局，尽量不出现纵向滚动条 */

body.page-home {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(201, 162, 94, .18), transparent 62%),
        radial-gradient(760px 420px at -10% 108%, rgba(96, 128, 255, .22), transparent 66%),
        linear-gradient(152deg, #141d3f 0%, #1d2b58 42%, #2f3f82 74%, #4b3c8f 100%);
}

/* 顶栏融入整页深色背景 */
body.page-home .topbar {
    background: transparent;
    box-shadow: none;
}
body.page-home .topbar::after { display: none; }

/* 主区域垂直居中、占满剩余高度 */
body.page-home .main {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 24px 0 28px;
}

.hp-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 410px);
    gap: 54px;
    align-items: center;
}

/* ----- 左：简介 ----- */

.hp-intro { color: #fff; min-width: 0; position: relative; z-index: 1; }

.hp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 217, 160, .35);
    color: #ffd9a0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    backdrop-filter: blur(6px);
}
.hp-tag-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ffd9a0;
    animation: hp-pulse 1.6s ease-out infinite;
}

.hp-intro h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.4;
    letter-spacing: .01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hp-intro h1 em {
    font-style: normal;
    background: linear-gradient(96deg, #ffe6b8, #c9a25e 58%, #ffd9a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .04em;
}
.hp-intro p {
    margin: 0;
    max-width: 560px;
    font-size: 14.5px;
    line-height: 2;
    color: rgba(255, 255, 255, .78);
}

.hp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
    max-width: 560px;
}
.hp-stat {
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hp-stat b {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hp-stat b small {
    font-size: 13px;
    color: #ffd9a0;
    font-weight: 700;
    letter-spacing: .04em;
}
.hp-stat span { font-size: 12.5px; color: rgba(255, 255, 255, .66); }

/* ----- 右：登录框 ----- */

.hp-login {
    background: #fff;
    border-radius: 20px;
    padding: 26px 28px 22px;
    box-shadow: 0 30px 66px -28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
}
.hp-login h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #232c4d;
}
.hp-login h2::before { display: none; }
.hp-login .hint { margin: 0 0 16px; font-size: 12.5px; color: #8b93a8; }
.hp-login .flash { font-size: 13px; padding: 10px 14px; margin: 0 0 14px; border-radius: 10px; }

.hp-login input[type=text],
.hp-login input[type=password] {
    height: 45px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 14.5px;
    background: #f8f9fe;
}
.hp-login input:focus { background: #fff; }

.hp-login .captcha-row { margin-top: 6px; }
.hp-login .captcha-row input {
    width: 118px !important;
    height: 42px;
    flex: 0 0 auto;
}
.hp-login .captcha-row img { height: 42px; border-radius: 8px; cursor: pointer; flex: 0 0 auto; }
.hp-login .captcha-refresh { font-size: 12.5px; color: #8b93a8; text-decoration: none; }
.hp-login .captcha-refresh:hover { color: #3d51b0; text-decoration: underline; }

.hp-login button[type=submit] {
    width: 100%;
    height: 46px;
    font-size: 15px;
    letter-spacing: .12em;
    margin-top: 4px;
}

.hp-login-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef0f6;
    font-size: 13px;
    color: #8b93a8;
    text-align: center;
}
.hp-login-foot a { font-weight: 600; }

/* 一屏式首页：响应式（小屏允许滚动） */
@media (max-width: 980px) {
    body.page-home .main { align-items: flex-start; padding: 30px 0 34px; }
    .hp-grid { grid-template-columns: 1fr; gap: 34px; }
    .hp-login { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
    .hp-intro h1 { font-size: 25px; }
    .hp-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hp-stat { padding: 10px 12px; }
    .hp-stat b { font-size: 20px; }
    .hp-login { padding: 22px 20px 18px; }
}

/* ============================== 响应式（旧版首页模块，保留兼容） ============================== */

@media (max-width: 980px) {
    .hero-home { padding: 32px 26px 24px; }
    .hero-home h1 { font-size: 24px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-mock { margin: 0 auto; max-width: 560px; }
    .mock-window { transform: none; }
    .mock-book { left: -10px; bottom: -28px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 16px; }
    .hero-stat b { font-size: 22px; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .cover-band { padding: 28px 22px; }
    .cover-stats { grid-template-columns: repeat(2, 1fr); }
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
    .home-foot { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 30px 24px; }
    .cta-grid { grid-template-columns: 1fr; gap: 24px; }
    .cta-main h2 { font-size: 22px; }
    .cta-deco-1, .cta-deco-2, .cta-deco-3 { display: none; }
}

@media (max-width: 560px) {
    .hero-home { padding: 26px 20px 20px; }
    .hero-home h1 { font-size: 21px; }
    .hero-trust { gap: 4px 12px; }
    .hero-trust-bullet { font-size: 11.5px; }
    .mock-window { font-size: 11.5px; }
    .mock-body { font-size: 11.5px; padding: 14px; max-height: 220px; }
    .mock-book { width: 200px; left: 6px; bottom: -28px; padding: 10px; grid-template-columns: 56px 1fr; gap: 10px; }
    .mock-book-cover { width: 56px; height: 76px; }
    .mock-book-info h4 { font-size: 13.5px; }
    .feat-grid { grid-template-columns: 1fr; }
    .hp-steps { grid-template-columns: 1fr; }
    .home-foot { grid-template-columns: 1fr; padding: 24px 20px; }
    .cta-band { padding: 26px 18px; }
    .cta-main h2 { font-size: 20px; }
    .cta-trust { padding: 18px; }
    .cta-trust-k { width: 54px; font-size: 19px; }
    .cta-trust li { grid-template-columns: 54px 1fr; gap: 10px; }
}