/* ============================================
   明之道软件官网 - 全站样式（PPT 配色版）
   深藏青 #14265E · 皇家蓝 #0C51D8/#3D7BEA · 青绿 #00A896/#2FC5B5
   浅蓝底 #F4F8FD/#DCE9F8 · 正文 #3A4A5E
   ============================================ */
:root {
    --primary: #0C51D8;
    --primary-mid: #3D7BEA;
    --primary-deep: #14265E;
    --teal: #00A896;
    --teal-light: #2FC5B5;
    --primary-light: #EAF0FB;
    --primary-lighter: #F4F8FD;
    --accent: #00A896;
    --text: #3A4A5E;
    --text-light: #66788F;
    --bg-light: #F4F8FD;
    --white: #ffffff;
    --border: #DCE9F8;
    --shadow: 0 8px 30px rgba(12, 81, 216, 0.10);
    --radius: 14px;
    --grad-brand: linear-gradient(135deg, #3D7BEA 0%, #00A896 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; transition: color .2s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 滚动入场动画（由 JS 添加 .reveal） ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #c4d6ef;
    transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,38,94,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 50px; width: auto; display: block; }
@media (max-width: 640px) { .logo-img { height: 38px; } }
.logo-mark {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--grad-brand);
    color: #fff; font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,168,150,.35);
}
.logo-text strong { display: block; font-size: 18px; color: var(--primary-deep); line-height: 1.2; }
.logo-text small { display: block; font-size: 10px; color: var(--text-light); letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > a { font-size: 15px; color: var(--text); position: relative; padding: 6px 0; }
.main-nav > a::after {
    content: ''; position: absolute; left: 50%; right: 50%; bottom: -2px;
    height: 2px; background: var(--grad-brand); border-radius: 2px;
    transition: left .25s, right .25s;
}
.main-nav > a:hover::after { left: 0; right: 0; }
.main-nav > a:hover { color: var(--primary); }
.main-nav > a.active { color: var(--primary); font-weight: 600; }
.main-nav > a.active::after { left: 0; right: 0; }
.nav-cta {
    background: var(--grad-brand); color: #fff !important;
    padding: 9px 22px !important; border-radius: 22px; font-weight: 500;
    background-size: 160% 100%; background-position: 0 0;
    transition: background-position .35s, transform .25s, box-shadow .25s;
}
.nav-cta:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,168,150,.3); }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-deep); margin: 5px 0; border-radius: 2px; }

/* ---------- 首页 Hero（PPT 封面渐变 + 流动光斑） ---------- */
.hero {
    background:
        radial-gradient(ellipse at 85% 15%, rgba(0,168,150,.28), transparent 45%),
        linear-gradient(120deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-mid) 80%, var(--teal) 120%);
    color: #fff; padding: 110px 0 130px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.3));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.3));
}
/* 漂浮光斑 */
.hero .orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
    pointer-events: none;
    animation: orbFloat 14s ease-in-out infinite alternate;
}
.hero .orb-1 { width: 420px; height: 420px; background: rgba(61,123,234,.55); top: -120px; right: -80px; }
.hero .orb-2 { width: 340px; height: 340px; background: rgba(0,168,150,.5); bottom: -140px; left: -60px; animation-delay: -7s; }
.hero .orb-3 { width: 160px; height: 160px; background: rgba(47,197,181,.45); top: 40%; left: 18%; animation-delay: -3s; }
@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-46px, 34px) scale(1.12); }
    100% { transform: translate(30px, -26px) scale(.95); }
}
@media (prefers-reduced-motion: reduce) { .hero .orb { animation: none; } }

.hero .container { position: relative; text-align: center; }
.hero-tag {
    display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px; font-size: 14px; letter-spacing: 2px; margin-bottom: 26px;
    color: #d7f5f0; background: rgba(255,255,255,.06);
    animation: fadeDown .8s ease both;
}
.hero h1 {
    font-size: 46px; font-weight: 700; line-height: 1.3; margin-bottom: 20px;
    animation: fadeDown .8s ease .12s both;
}
.hero h1 .hl {
    background: linear-gradient(90deg, #2FC5B5, #7CE8DB, #2FC5B5);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText { to { background-position: 200% center; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.hero p.sub {
    font-size: 18px; color: #cfe0f5; max-width: 640px; margin: 0 auto 40px;
    animation: fadeDown .8s ease .24s both;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeDown .8s ease .36s both; }
.btn {
    display: inline-block; padding: 13px 34px; border-radius: 28px;
    font-size: 16px; font-weight: 500; position: relative; overflow: hidden;
    transition: all .25s;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); transition: left .55s ease;
}
.btn:hover::after { left: 130%; }
.btn-primary { background: var(--grad-brand); background-size: 160% 100%; color: #fff; }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,168,150,.35); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats {
    display: flex; justify-content: center; gap: 60px; margin-top: 70px; flex-wrap: wrap;
    animation: fadeDown .8s ease .48s both;
}
.hero-stat { text-align: center; position: relative; padding: 0 10px; }
.hero-stat + .hero-stat::before {
    content: ''; position: absolute; left: -30px; top: 12%; bottom: 12%; width: 1px;
    background: rgba(255,255,255,.22);
}
.hero-stat b { display: block; font-size: 34px; font-weight: 700; color: #fff; }
.hero-stat b i { font-style: normal; color: #2FC5B5; }
.hero-stat span { font-size: 14px; color: #a9c3e8; }

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .en {
    font-size: 13px; letter-spacing: 3px; color: var(--teal);
    text-transform: uppercase; font-weight: 600;
}
.section-head h2 { font-size: 34px; color: var(--primary-deep); margin: 10px 0 14px; position: relative; display: inline-block; }
.section-head h2::after {
    content: ''; display: block; width: 0; height: 3px; margin: 12px auto 0; border-radius: 3px;
    background: var(--grad-brand); transition: width .8s cubic-bezier(.2,.7,.3,1) .2s;
}
.section-head.in h2::after { width: 72px; }
.section-head p { color: var(--text-light); font-size: 16px; }
/* PC 端：全站标题区英文小标统一放到中文标题下方（首页/关于/方案/案例/案例详情） */
@media (min-width: 901px) {
    .section-head { display: flex; flex-direction: column; align-items: center; }
    .section-head h2 { order: 1; margin: 0 0 10px; }
    .section-head .en { order: 2; }
    .section-head p { order: 3; margin-top: 12px; }
}
/* 移动端：英文小标放到中文标题上方，纵向堆叠 */
@media (max-width: 900px) {
    .section-head { display: flex; flex-direction: column; align-items: center; }
    .section-head .en { order: 1; margin-bottom: 8px; }
    .section-head h2 { order: 2; margin: 0 0 12px; }
    .section-head p { order: 3; margin-top: 0; }
}

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
    background: var(--white); border-radius: var(--radius); padding: 34px 28px;
    box-shadow: var(--shadow); border: 1px solid transparent;
    transition: all .3s; position: relative;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 16px 38px rgba(12,81,216,.14); }
.card:hover::before { transform: scaleX(1); }
.card .icon {
    width: 54px; height: 54px; border-radius: 13px; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light), #DCE9F8); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    transition: transform .3s;
}
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 19px; color: var(--primary-deep); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-light); }
.card .tagline {
    display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--teal);
    background: rgba(0,168,150,.09); padding: 3px 12px; border-radius: 12px; font-weight: 600;
}

/* ---------- 首页：痛点 ---------- */
.pain-intro { text-align: center; font-size: 18px; color: var(--text); margin-bottom: 46px; }
.pain-intro b { color: var(--primary); }
.pain-card { position: relative; padding-top: 40px; }
.pain-card .num {
    position: absolute; top: -20px; left: 28px;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--grad-brand); color: #fff;
    font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(12,81,216,.35);
}

/* ---------- 首页：方案全景（深藏青 + 流动渐变描边） ---------- */
.solutions-band {
    background:
        radial-gradient(ellipse at 15% 85%, rgba(0,168,150,.22), transparent 40%),
        linear-gradient(135deg, var(--primary-deep) 0%, #0B3A9E 100%);
    color: #fff; padding: 90px 0;
}
.solutions-band .section-head h2 { color: #fff; }
.solutions-band .section-head .en { color: #2FC5B5; }
.solutions-band .section-head p { color: #b9cdec; }
.sol-group {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 28px;
    transition: transform .3s, background .3s, border-color .3s;
}
.sol-group:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.1);
    border-color: rgba(47,197,181,.5);
}
.sol-group h3 { font-size: 19px; margin-bottom: 4px; }
.sol-group .en { font-size: 12px; color: #2FC5B5; letter-spacing: 1px; margin-bottom: 16px; }
.sol-group ul { list-style: none; }
.sol-group li { padding: 7px 0; font-size: 14.5px; color: #d3e2f7; border-bottom: 1px dashed rgba(255,255,255,.12); }
.sol-group li:last-child { border-bottom: none; }
.sol-group li::before { content: '·'; color: #2FC5B5; font-weight: 700; margin-right: 8px; }
.sol-footer { text-align: center; margin-top: 44px; font-size: 17px; color: #cfdff6; }
.sol-footer b { color: #2FC5B5; }

/* ---------- 案例卡片（渐变头 + 数字滚动） ---------- */
.case-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: all .3s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(12,81,216,.18); }
.case-card .case-top {
    background:
        radial-gradient(ellipse at 90% 110%, rgba(0,168,150,.45), transparent 55%),
        linear-gradient(120deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff; padding: 30px 28px; position: relative;
}
.case-card .case-top .industry {
    font-size: 12px; background: rgba(255,255,255,.18); padding: 3px 12px;
    border-radius: 12px; letter-spacing: 1px;
}
.case-card .case-top h3 { font-size: 21px; margin: 12px 0 4px; }
.case-card .case-top .stat { font-size: 30px; font-weight: 700; color: #7CE8DB; }
.case-card .case-top .stat small { font-size: 13px; font-weight: 400; color: #d3e2f7; margin-left: 6px; }
.case-card .case-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.case-card .case-body p { font-size: 14.5px; color: var(--text-light); flex: 1; }
.case-card .case-body .more {
    margin-top: 18px; color: var(--primary); font-weight: 600; font-size: 14.5px;
    transition: color .2s, letter-spacing .2s;
}
.case-card .case-body .more:hover { color: var(--teal); letter-spacing: 1px; }

/* ---------- 客户墙 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-cat {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.brand-cat:hover { transform: translateY(-4px); border-color: rgba(0,168,150,.4); box-shadow: 0 10px 26px rgba(12,81,216,.10); }
.brand-cat h4 { font-size: 14px; color: var(--teal); margin-bottom: 14px; letter-spacing: 1px; }
.brand-cat .brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-cat .brands span {
    font-size: 14px; color: var(--primary-deep); background: var(--primary-lighter);
    border: 1px solid var(--border);
    padding: 5px 14px; border-radius: 16px; font-weight: 500;
    transition: background .2s, color .2s;
}
.brand-cat .brands span:hover { background: var(--primary); color: #fff; }

/* ---------- 核心价值 ---------- */
.value-card { text-align: center; padding: 40px 24px; }
.value-card .v-icon {
    width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--grad-brand);
    color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,168,150,.28);
    transition: transform .35s;
}
.value-card:hover .v-icon { transform: translateY(-4px) scale(1.06); }
.value-card h3 { font-size: 19px; color: var(--primary-deep); margin-bottom: 6px; }
.value-card .en { font-size: 12px; letter-spacing: 2px; color: var(--text-light); margin-bottom: 12px; text-transform: uppercase; }
.value-card p { font-size: 14.5px; color: var(--text-light); }

/* ---------- CTA 横幅（流动渐变） ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--primary-deep), var(--primary), var(--primary-mid), var(--teal), var(--primary-deep));
    background-size: 300% 100%;
    animation: gradFlow 16s linear infinite;
    color: #fff; text-align: center; padding: 80px 0;
}
@keyframes gradFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) { .cta-band { animation: none; } }
.cta-band h2 { font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: #cfe0f5; margin-bottom: 34px; }
.cta-steps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.cta-steps span {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    padding: 8px 20px; border-radius: 20px; font-size: 14px; color: #e2ecfb;
    transition: background .25s, transform .25s;
}
.cta-steps span:hover { background: rgba(47,197,181,.28); transform: translateY(-2px); }
.cta-steps i { color: #7CE8DB; font-style: normal; margin: 0 2px; }

/* ---------- 关于页 ---------- */
.page-hero {
    background:
        radial-gradient(ellipse at 80% 120%, rgba(0,168,150,.3), transparent 45%),
        linear-gradient(120deg, var(--primary-deep), var(--primary) 75%, var(--primary-mid));
    color: #fff; padding: 70px 0; text-align: center;
}
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero .en { font-size: 13px; letter-spacing: 3px; color: #a9c3e8; text-transform: uppercase; }
.about-lead { font-size: 17px; line-height: 2; color: var(--text); max-width: 860px; margin: 0 auto; }
.about-lead b { color: var(--primary); }
.about-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 54px; }
.about-point {
    background: linear-gradient(160deg, var(--primary-lighter), #DCE9F8);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
    transition: transform .3s, box-shadow .3s;
}
.about-point:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(12,81,216,.12); }
.about-point h3 { color: var(--primary-deep); font-size: 18px; margin-bottom: 8px; }
.about-point p { font-size: 14.5px; color: var(--text-light); }

/* 时间线/能力列表 */
.cap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cap-item {
    display: flex; gap: 20px; background: var(--white); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.cap-item::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--grad-brand); transform: scaleY(0); transform-origin: top;
    transition: transform .35s ease;
}
.cap-item:hover { transform: translateX(4px); box-shadow: 0 12px 32px rgba(12,81,216,.13); }
.cap-item:hover::after { transform: scaleY(1); }
.cap-item .c-icon {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-light), #DCE9F8); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.cap-item h3 { font-size: 18px; color: var(--primary-deep); margin-bottom: 6px; }
.cap-item h3 small { font-size: 12px; color: var(--teal); margin-left: 10px; background: rgba(0,168,150,.09); padding: 2px 10px; border-radius: 10px; vertical-align: middle; }
.cap-item p { font-size: 14.5px; color: var(--text-light); }

/* ---------- 案例详情 ---------- */
.case-hero {
    background:
        radial-gradient(ellipse at 85% 130%, rgba(0,168,150,.3), transparent 45%),
        linear-gradient(120deg, var(--primary-deep), var(--primary) 75%, var(--primary-mid));
    color: #fff; padding: 70px 0;
}
.case-hero .crumb { font-size: 13px; color: #a9c3e8; margin-bottom: 16px; }
.case-hero .crumb a { color: #a9c3e8; }
.case-hero .crumb a:hover { color: #fff; }
.case-hero h1 { font-size: 34px; margin-bottom: 8px; }
.case-hero .subtitle { color: #cfe0f5; max-width: 760px; }
.case-hero .stat-box { margin-top: 24px; display: inline-flex; align-items: baseline; gap: 10px; background: rgba(255,255,255,.1); padding: 14px 26px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); }
.case-hero .stat-box b { font-size: 34px; color: #7CE8DB; }
.case-hero .stat-box span { font-size: 14px; color: #cfe0f5; }
.case-highlight {
    background: rgba(0,168,150,.07); border-left: 4px solid var(--teal);
    padding: 20px 26px; border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 16px; color: var(--text); margin-bottom: 50px;
}
.module-block { margin-bottom: 40px; }
.module-block h3 { font-size: 20px; color: var(--primary-deep); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.module-block h3 small { font-size: 12px; color: var(--text-light); letter-spacing: 2px; font-weight: 400; }
.module-items { display: flex; flex-wrap: wrap; gap: 10px; }
.module-items span {
    background: var(--primary-lighter); color: var(--primary-deep);
    border: 1px solid var(--border);
    font-size: 14px; padding: 7px 16px; border-radius: 18px;
    transition: background .2s, color .2s, transform .2s;
}
.module-items span:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.feature-flow { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.feature-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s, box-shadow .3s; }
.feature-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(12,81,216,.11); }
.feature-item .f-num { font-size: 13px; color: var(--teal); font-weight: 700; letter-spacing: 1px; }
.feature-item h4 { font-size: 17px; color: var(--primary-deep); margin: 6px 0 8px; }
.feature-item p { font-size: 14px; color: var(--text-light); }
.value-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 14px; }
.value-item { background: linear-gradient(160deg, var(--primary-lighter), #DCE9F8); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.value-item h4 { color: var(--primary-deep); font-size: 16px; margin-bottom: 6px; }
.value-item p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 联系页 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info-card {
    background:
        radial-gradient(ellipse at 20% 110%, rgba(0,168,150,.35), transparent 50%),
        linear-gradient(160deg, var(--primary-deep), var(--primary));
    color: #fff; border-radius: var(--radius); padding: 38px 32px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 26px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-line .ci {
    width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
    transition: background .25s;
}
.contact-line:hover .ci { background: rgba(47,197,181,.35); }
.contact-line b { display: block; font-size: 14px; color: #a9c3e8; font-weight: 400; }
.contact-line p { font-size: 15.5px; }
/* 联系页公众号二维码：深色卡上的浅玻璃块，点击打开全站公众号浮层放大（2026-11-19） */
.contact-qr {
    display: flex; align-items: center; gap: 14px;
    margin: 0 0 22px; padding: 12px 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px; cursor: zoom-in;
    transition: background .22s, border-color .22s, transform .22s;
}
.contact-qr:hover { background: rgba(255,255,255,.17); border-color: rgba(47,197,181,.55); transform: translateY(-1px); }
.contact-qr img {
    width: 108px; height: 108px; flex: none;
    object-fit: contain; background: #fff;
    border-radius: 9px; padding: 4px;
}
.contact-qr-txt { min-width: 0; }
.contact-qr-txt b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.contact-qr-txt span { font-size: 12.8px; line-height: 1.65; color: #a9c3e8; }

/* 联系方式防爬（2026-11-19）：默认脱敏，点击后展开完整号码并变成可拨号链接 */
.cv {
    cursor: pointer;
    border-bottom: 1px dashed currentColor;
    padding-bottom: 1px;
    transition: color .2s, border-color .2s;
}
.cv:hover { color: var(--teal); border-bottom-color: var(--teal); }
.cv-on { cursor: text; border-bottom: none; }
.cv-link { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.cv-link:hover { color: var(--teal); }
@media (max-width: 720px) {
    /* 手机上脱敏号别太小，方便点 */
    .cv { padding: 2px 0; }
}
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 36px; }
.form-card h3 { font-size: 20px; color: var(--primary-deep); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--text); margin-bottom: 7px; font-weight: 500; }
.form-group label i { color: var(--teal); font-style: normal; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--text);
    transition: border-color .2s, box-shadow .2s; background: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-mid); background: #fff;
    box-shadow: 0 0 0 3px rgba(61,123,234,.14);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
    width: 100%; padding: 14px; border: none; border-radius: 26px;
    background: var(--grad-brand); background-size: 160% 100%; background-position: 0 0;
    color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: background-position .35s, transform .25s, box-shadow .25s;
}
.form-submit:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,168,150,.32); }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; display: none; }
.auth-notice { margin-top: 16px; padding: 11px 15px; border-radius: 10px; background: var(--primary-lighter); border: 1px solid var(--border); color: var(--primary); font-size: 13px; font-weight: 600; line-height: 1.6; }
.form-msg.ok { display: block; background: rgba(0,168,150,.1); color: #00795f; }
.form-msg.err { display: block; background: #fdeeee; color: #c0392b; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-deep); color: #9db4d6; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col h4::after { content: ''; display: block; width: 26px; height: 2px; background: var(--teal-light); border-radius: 2px; margin-top: 6px; }
.footer-col a { display: block; font-size: 14px; padding: 4px 0; color: #9db4d6; }
.footer-col a:hover { color: #7CE8DB; }
.footer-col p { font-size: 14px; padding: 3px 0; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: #7e96bb; }
.footer-brand p { margin-top: 16px; font-size: 14px; }
.footer-tags { color: #6d86ab; font-size: 13px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom a { color: #9db4d6; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .grid-3, .grid-4, .brand-wall { grid-template-columns: repeat(2, 1fr); }
    .about-points, .value-row, .contact-grid { grid-template-columns: 1fr; }
    .cap-list, .feature-flow { grid-template-columns: 1fr; }
    .hero h1 { font-size: 34px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .main-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        box-shadow: 0 12px 24px rgba(20,38,94,.12); padding: 10px 0;
    }
    .main-nav.open { display: flex; }
    .main-nav > a { padding: 13px 28px; width: 100%; }
    .main-nav > a.active::after { display: none; }
    .nav-cta { margin: 8px 28px; text-align: center; }
    .nav-toggle { display: block; }
    .grid-3, .grid-4, .brand-wall { grid-template-columns: 1fr; }
    .hero { padding: 70px 0 90px; }
    .hero h1 { font-size: 27px; }
    .hero-stats { gap: 22px; }
    .hero-stat + .hero-stat::before { display: none; }
    .section { padding: 60px 0; }
    .section-head h2 { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .case-hero h1 { font-size: 26px; }
}

/* ============================================
   用户体系 / 应用市场 / 会员中心
   ============================================ */

/* ---------- 认证页 ---------- */
.nav-user { font-size: 14px; color: var(--primary) !important; font-weight: 500; position: relative; }
.nav-user:hover { color: var(--primary-deep) !important; }
.nav-user.active { color: var(--primary-deep) !important; font-weight: 600; }
.nav-user.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.auth-wrap {
    min-height: calc(100vh - 72px - 320px);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 60px 20px 80px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(61,123,234,.08), transparent 40%),
        radial-gradient(ellipse at 90% 100%, rgba(0,168,150,.08), transparent 40%),
        var(--bg-light);
}
.auth-card { width: 420px; max-width: 100%; background: var(--white); border-radius: 18px; padding: 40px 38px 30px; box-shadow: 0 20px 50px rgba(20,38,94,.12); }
.auth-title { font-size: 24px; color: var(--primary-deep); text-align: center; }
.auth-sub { font-size: 13.5px; color: var(--text-light); text-align: center; margin: 8px 0 22px; }
.auth-tabs { display: flex; background: var(--primary-lighter); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.auth-tab { flex: 1; border: none; background: none; padding: 10px; border-radius: 9px; font-size: 14.5px; color: var(--text-light); cursor: pointer; transition: all .25s; font-family: inherit; }
.auth-tab.on { background: var(--white); color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px rgba(20,38,94,.08); }
.auth-form .form-group { margin-bottom: 16px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.btn-sendcode { flex-shrink: 0; border: none; border-radius: 10px; padding: 0 16px; background: var(--grad-brand); color: #fff; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.btn-sendcode:disabled { opacity: .55; cursor: not-allowed; }
/* 图形验证码 */
.captcha-img { flex-shrink: 0; height: 46px; width: auto; border: 1px solid var(--border, #e4ebf2); border-radius: 10px; background: #f5f9fc; cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.captcha-img:hover { opacity: .85; box-shadow: 0 2px 8px rgba(20,38,94,.12); }
.captcha-tip { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }
.auth-submit { width: 100%; padding: 14px; border: none; border-radius: 26px; margin-top: 8px; background: var(--grad-brand); background-size: 160% 100%; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-position .35s, transform .2s, box-shadow .25s; }
.auth-submit:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,168,150,.3); }
.auth-links { text-align: center; font-size: 14px; margin-top: 20px; color: var(--text-light); }
.auth-links a { color: var(--primary); font-weight: 600; }
.auth-links a.muted { color: var(--text-light); font-weight: 400; }
.auth-links .sep { margin: 0 10px; color: var(--border); }
.auth-note { font-size: 12.5px; color: var(--text-light); text-align: center; margin-top: 18px; background: var(--primary-lighter); border-radius: 10px; padding: 10px 14px; }
.auth-wechat { display: block; text-align: center; margin-top: 14px; padding: 11px; border: 1.5px solid #2AAE67; color: #2AAE67; border-radius: 24px; font-size: 14.5px; font-weight: 600; transition: all .25s; }
.auth-wechat:hover { background: #2AAE67; color: #fff; }

/* ---------- 应用市场 ---------- */
.apps-hero { text-align: center; padding: 64px 0; }
.apps-hero-sub { color: #cfe0f5; margin-top: 12px; font-size: 16px; }
.app-cats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.app-cat { padding: 8px 22px; border-radius: 20px; font-size: 14px; cursor: pointer; background: var(--white); border: 1.5px solid var(--border); color: var(--text-light); transition: all .25s; }
.app-cat:hover { border-color: var(--primary-mid); color: var(--primary); }
.app-cat.on { background: var(--grad-brand); color: #fff; border-color: transparent; font-weight: 600; }
.app-card { position: relative; cursor: pointer; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid transparent; display: flex; flex-direction: column; transition: all .3s; }
.app-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(12,81,216,.16); border-color: var(--border); }
.app-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.app-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.app-card-top h3 { font-size: 17.5px; color: var(--primary-deep); line-height: 1.35; }
.app-icon { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; background: linear-gradient(135deg, var(--primary-light), #DCE9F8); display: flex; align-items: center; justify-content: center; font-size: 26px; }
/* 自定义图标（后台「基本信息 → 应用图标」上传）：有图用图、没图回落到 emoji */
.app-icon.has-img { background: none; padding: 0; overflow: hidden; box-shadow: 0 3px 10px rgba(13,63,110,.16); }
.app-icon.has-img img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.app-icon.big { width: 76px; height: 76px; font-size: 38px; border-radius: 18px; }
.app-cat-tag { display: inline-block; font-size: 12px; color: var(--teal); background: rgba(0,168,150,.09); padding: 2px 10px; border-radius: 10px; margin-top: 4px; }
.app-summary { font-size: 13.5px; color: var(--text-light); flex: 1; margin-bottom: 14px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.app-tags span { font-size: 12px; color: var(--text-light); background: var(--primary-lighter); border: 1px solid var(--border); padding: 2px 10px; border-radius: 12px; }
.app-card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); padding-top: 16px; }
.app-price b { font-size: 22px; color: var(--primary); font-weight: 700; }
.app-price b.free { color: var(--teal); }
.app-price i { font-style: normal; font-size: 13px; color: var(--text-light); }
.app-price.big b { font-size: 34px; }
.btn-app { padding: 9px 20px; border-radius: 20px; font-size: 13.5px; font-weight: 600; background: var(--grad-brand); background-size: 160% 100%; color: #fff; transition: background-position .3s; }
.btn-app:hover { background-position: 100% 0; }
.btn-app.owned { background: rgba(0,168,150,.1); color: var(--teal); }

/* ---------- 应用详情 ---------- */
.app-detail-hero { background: linear-gradient(120deg, var(--primary-deep), var(--primary) 80%); color: #fff; padding: 54px 0; }
.app-detail-top { display: flex; gap: 22px; align-items: center; }
.app-detail-top .app-icon { background: rgba(255,255,255,.14); }
.app-detail-top .app-icon.has-img { background: none; box-shadow: 0 8px 24px rgba(4,18,38,.34); }
.app-detail-top .crumb { font-size: 13px; color: #a9c3e8; margin-bottom: 6px; }
.app-detail-top .crumb a { color: #a9c3e8; }
.app-detail-top h1 { font-size: 28px; }
.app-meta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.app-meta .app-cat-tag { background: rgba(255,255,255,.16); color: #7CE8DB; }
.app-tag { font-size: 12px; color: #cfe0f5; border: 1px solid rgba(255,255,255,.25); padding: 2px 10px; border-radius: 12px; }
.app-detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.app-sec-title { font-size: 20px; color: var(--primary-deep); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.app-desc { font-size: 15.5px; color: var(--text); line-height: 2; background: var(--white); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
/* 应用介绍配图（后台「编辑应用 → 应用介绍 → 介绍配图」上传） */
.app-desc-img { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-top: 20px; }
.app-desc-img img { width: 100%; display: block; border-radius: 10px; }
/* 应用介绍内的「在线演示」按钮（居中） */
.app-demo-row { margin-top: 20px; text-align: center; }
.btn-demo-inline { display: inline-block; padding: 12px 34px; border-radius: 24px; border: 1.5px solid var(--primary);
  color: var(--primary); font-size: 14.5px; font-weight: 600; transition: all .25s; }
.btn-demo-inline:hover { background: var(--primary); color: #fff; }
@media (max-width: 600px) { .app-desc-img { padding: 8px; } .app-desc { padding: 20px 18px; font-size: 15px; } }
.app-buy-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 16px 40px rgba(12,81,216,.12); position: sticky; top: 96px; }
.app-includes { list-style: none; margin: 18px 0 22px; }
.app-includes li { font-size: 14px; color: var(--text); padding: 6px 0; border-bottom: 1px dashed var(--border); }
.btn-buy { display: block; text-align: center; width: 100%; padding: 14px; border: none; cursor: pointer; border-radius: 26px; background: var(--grad-brand); background-size: 160% 100%; color: #fff; font-size: 16px; font-weight: 600; font-family: inherit; transition: background-position .35s, transform .2s, box-shadow .25s; }
.btn-buy:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,168,150,.32); }
.btn-buy.owned { background: rgba(0,168,150,.1); color: var(--teal); }
.btn-demo { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--primary); font-weight: 600; }
.buy-note { font-size: 12.5px; color: var(--text-light); margin-top: 16px; line-height: 1.8; }

/* ---------- 安装包下载按钮 ---------- */
.dl-btn { display:flex; align-items:center; gap:11px; width:100%; margin-top:10px; padding:11px 14px;
  border-radius:14px; border:1.5px solid #BFE6E1; background:linear-gradient(135deg,#F2FCFA,#EAF7F6);
  color:var(--teal); font-family:inherit; text-decoration:none;
  transition:border-color .25s, background .25s, box-shadow .25s, transform .2s; }
.dl-btn:hover { border-color:var(--teal); background:#fff; transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,168,150,.16); }
.dl-btn-ico { flex:0 0 auto; width:32px; height:32px; border-radius:10px; background:var(--teal); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:17px; font-weight:700; line-height:1;
  box-shadow:0 4px 10px rgba(0,168,150,.28); transition:transform .25s; }
.dl-btn:hover .dl-btn-ico { transform:translateY(2px); }
.dl-btn-txt { flex:1; min-width:0; text-align:left; display:flex; flex-direction:column; gap:1px; }
.dl-btn-txt b { font-size:14.5px; font-weight:600; color:#0B7F74; letter-spacing:.3px; }
.dl-btn-txt i { font-style:normal; font-size:11.5px; color:#6E8C8A; letter-spacing:.2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dl-btn-go { flex:0 0 auto; font-size:14px; color:#8FC9C2; transition:color .25s, transform .25s; }
.dl-btn:hover .dl-btn-go { color:var(--teal); transform:translateY(2px); }

/* 我的应用卡片内的紧凑版 */
.dl-btn.sm { margin-top:10px; padding:8px 12px; border-radius:12px; gap:9px; }
.dl-btn.sm .dl-btn-ico { width:26px; height:26px; border-radius:8px; font-size:14px; }
.dl-btn.sm .dl-btn-txt b { font-size:13px; }
.dl-btn.sm .dl-btn-txt i { font-size:11px; }
.dl-btn.sm .dl-btn-go { font-size:12.5px; }

.dl-meta { font-size:12px; color:var(--text-light); margin-top:7px; text-align:center; line-height:1.7; }
.dl-plat { display:inline-block; margin-right:6px; padding:1px 8px; border-radius:20px;
  background:#EDF3FC; color:#3D6FA8; font-size:11px; font-weight:600; vertical-align:1px; }
.dl-tip { font-size:12.5px; color:#8a6a2f; background:#fff8e8; border:1px solid #f3e3bf; border-radius:12px;
  padding:9px 12px; margin-top:10px; line-height:1.75; text-align:center; }
.dl-tip a { color:var(--primary); font-weight:600; }

/* ---------- 会员中心 ---------- */
.uc-hero { background: linear-gradient(120deg, var(--primary-deep), var(--primary) 85%); color: #fff; padding: 34px 0; }
.uc-hero-inner { display: flex; gap: 18px; align-items: center; }
.uc-avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0,168,150,.35); }
.uc-hero h2 { font-size: 21px; }
.uc-hero p { font-size: 13.5px; color: #cfe0f5; }
.uc-hero p .warn { color: #ffd9a8; }
.uc-nav { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(20,38,94,.04); }
.uc-nav-inner { display: flex; gap: 6px; overflow-x: auto; }
.uc-nav-link { padding: 15px 20px; font-size: 14.5px; color: var(--text-light); white-space: nowrap; border-bottom: 2.5px solid transparent; transition: all .2s; }
.uc-nav-link:hover { color: var(--primary); }
.uc-nav-link.on { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.uc-nav-link.uc-out { margin-left: auto; align-self: center; color: #b3543f; background: #fdeee9; border: 1px solid #f5d5cc; border-radius: 20px; padding: 8px 18px; font-weight: 600; }
.uc-nav-link.uc-out:hover { color: #fff; background: #c0392b; border-color: #c0392b; }
.panel-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.panel-card.wide { max-width: 1000px; margin: 0 auto; }
.panel-title { font-size: 17px; color: var(--primary-deep); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.myapp-card .btn-buy { margin-top: 14px; }
.myapp-date { font-size: 12.5px; color: var(--text-light); margin-bottom: 6px; }
.myapp-pending { font-size: 13px; color: var(--text-light); background: var(--primary-lighter); border-radius: 10px; padding: 12px 16px; margin-top: 12px; line-height: 1.8; }
.myapp-pending a { color: var(--primary); font-weight: 600; }
.empty-box { text-align: center; padding: 70px 0; }
.empty-icon { font-size: 46px; margin-bottom: 14px; }
.empty-box p { color: var(--text-light); margin-bottom: 22px; }
.empty-box .btn-buy { display: inline-block; width: auto; padding: 12px 36px; }
.order-wrap { max-width: 640px; margin: 0 auto; }
.order-app { display: flex; gap: 16px; align-items: center; background: var(--primary-lighter); border-radius: 12px; padding: 18px; }
.order-app-info { flex: 1; }
.order-app-info b { color: var(--primary-deep); }
.order-app-info p { font-size: 12.5px; color: var(--text-light); margin-top: 3px; }
.order-sum { display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; margin: 22px 0; }
.order-sum span { color: var(--text-light); font-size: 14px; }
.order-sum b { font-size: 26px; color: var(--primary); }
/* 账号设置：基本资料在上、安全设置在下（2026-10-29 改为上下结构）
   单列纵向排列；宽度收到 720px —— 表单/字段行平铺到 1000px 会显得过于空旷。 */
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
.uc-table { width: 100%; border-collapse: collapse; }
.uc-table th, .uc-table td { text-align: left; padding: 12px 10px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.uc-table th { color: var(--text-light); font-weight: 600; background: var(--primary-lighter); }
.uc-table td.mono { font-family: Consolas, monospace; font-size: 12.5px; }
.order-st { padding: 3px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; }
.st-unpaid { background: #fff3ec; color: #e67e22; }
.st-paid { background: rgba(0,168,150,.1); color: #00795f; }
.st-closed { background: #f0f2f5; color: #95a5a6; }
.uc-btn { display: inline-block; padding: 7px 18px; border-radius: 18px; font-size: 13px; font-weight: 600; background: var(--grad-brand); background-size: 160% 100%; color: #fff; border: none; cursor: pointer; transition: background-position .3s; font-family: inherit; }
.uc-btn:hover { background-position: 100% 0; }
.uc-btn.ghost { background: var(--primary-lighter); color: var(--primary); border: 1px solid var(--border); }
.uc-btn.pri { padding: 10px 28px; }
.muted { color: var(--text-light); font-size: 13px; }
.uc-hr { border: none; border-top: 1px dashed var(--border); margin: 18px 0; }
.bind-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.bind-row b { font-size: 14.5px; color: var(--primary-deep); }

/* ---------- 支付页 ---------- */
.pay-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.pay-channel { border: 1.5px solid var(--border); border-radius: 12px; padding: 18px; transition: border-color .25s; }
.pay-channel:hover { border-color: var(--primary-mid); }
.pay-channel.disabled { opacity: .6; background: var(--primary-lighter); }
.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pc-name { font-size: 15px; font-weight: 600; color: var(--primary-deep); }
.pc-badge { font-size: 11.5px; padding: 2px 10px; border-radius: 10px; background: var(--primary-lighter); color: var(--text-light); border: 1px solid var(--border); }
.pc-badge.rec { background: rgba(0,168,150,.1); color: var(--teal); border-color: transparent; }
.pc-desc { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.pay-offline-info { background: var(--primary-lighter); border: 1px dashed var(--border); border-radius: 10px; padding: 14px 16px; font-size: 13.5px; color: var(--text); white-space: pre-wrap; font-family: inherit; margin-bottom: 14px; line-height: 1.9; }
.offline-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.offline-fields input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; background: var(--bg-light); }
.offline-fields input:focus { outline: none; border-color: var(--primary-mid); background: #fff; }
.pc-btn { width: 100%; padding: 12px; border: none; border-radius: 22px; cursor: pointer; background: var(--grad-brand); background-size: 160% 100%; color: #fff; font-size: 14.5px; font-weight: 600; font-family: inherit; transition: background-position .3s; }
.pc-btn:hover { background-position: 100% 0; }
.pay-done-links { margin-top: 6px; }
.form-row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }

@media (max-width: 900px) {
    .app-detail-grid { grid-template-columns: 1fr; }
    .app-buy-card { position: static; }
    .profile-grid { grid-template-columns: 1fr; }
    .uc-table { display: block; overflow-x: auto; }
    .nav-user { padding: 13px 28px; }
}

/* ==== 应用市场卡片 v2：大图标 · 紧凑文字 · 订购按钮 ==== */
.app-card { padding: 24px 22px 18px; }
.app-card .app-card-top { gap: 16px; }
.app-card .app-icon { width: 64px; height: 64px; border-radius: 16px; font-size: 34px; }
.app-card .app-card-top h3 { font-size: 16.5px; }
.app-card .app-summary { font-size: 12.8px; line-height: 1.65; margin-bottom: 12px; }
.app-card .app-tags { margin-bottom: 14px; }
.app-card .app-tags span { font-size: 11.5px; padding: 2px 9px; }
.app-card .app-price b { font-size: 20px; }
.app-card .btn-app { padding: 9px 22px; white-space: nowrap; }
.app-card-links { text-align: center; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--border); }
.app-card-links a { font-size: 12.5px; color: var(--text-light); transition: color .2s; }
.app-card-links a:hover { color: var(--primary); }
@media (max-width: 900px) {
    .app-card .app-icon { width: 56px; height: 56px; font-size: 30px; }

}

/* ==== 试用 / 授权有效期 / 支付通道 v3 ==== */
.tag-trial { background: linear-gradient(135deg, #fff4e0, #ffe6c2) !important; color: #b26a00 !important; border: 1px solid #ffd699 !important; font-weight: 600; }
.tag-owned { background: #e6f6ec !important; color: #1c7f45 !important; border: 1px solid #b6e3c8 !important; font-weight: 600; }
.tag-expired { background: #fdeaea !important; color: #c0392b !important; border: 1px solid #f5c6c6 !important; font-weight: 600; }
.btn-app.use { background: linear-gradient(135deg, #1c7f45, #34a866); }

/* ==== 免费下载型应用（壁纸等）==== */
.tag-free { background: linear-gradient(135deg, #e8f8f6, #d3f2ee) !important; color: #0b7f74 !important; border: 1px solid #a9e2da !important; font-weight: 600; }
.btn-app.free-dl { background: linear-gradient(135deg, #00A896, #2FC5B5); box-shadow: 0 6px 16px rgba(0,168,150,.24); }
.btn-app.free-dl:hover { box-shadow: 0 8px 20px rgba(0,168,150,.32); }
.dl-btn.lg { margin-top: 0; padding: 15px 16px; border-radius: 16px; gap: 13px;
  border-color: var(--teal); background: linear-gradient(135deg, #EAFBF8, #D8F3EF); }
.dl-btn.lg .dl-btn-ico { width: 40px; height: 40px; border-radius: 12px; font-size: 21px; }
.dl-btn.lg .dl-btn-txt b { font-size: 16.5px; color: #08695F; letter-spacing: .4px; }
.dl-btn.lg .dl-btn-txt i { font-size: 12.5px; color: #628B87; }
.dl-btn.lg .dl-btn-go { font-size: 16px; color: var(--teal); }

.app-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--border); }
.app-card-actions .btn-app { flex: 0 0 auto; }
.link-btn { display: inline-block; padding: 8px 16px; border-radius: 20px; font-size: 13px; color: var(--primary); border: 1px solid var(--border); background: #fff; cursor: pointer; transition: all .2s; text-decoration: none; }
.link-btn:hover { border-color: var(--primary-mid); background: #f4f8fd; }
.link-btn.trial { color: #b26a00; border-color: #ffd699; background: #fffaf0; }
.link-btn.trial:hover { background: #fff3dd; border-color: #f0b542; }

/* 提示条 */
.notice-warn { display: flex; align-items: flex-start; gap: 10px; padding: 13px 18px; border-radius: 12px; background: #fff8e8; border: 1px solid #ffe0a8; color: #9a6300; font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }
.notice-warn b { color: #c47a00; }
.notice-warn a { color: var(--primary); font-weight: 600; }

/* 我的应用：徽章 / 有效期 */
.myapp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.lic-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .2px; }
.lic-badge.ok { background: #e6f6ec; color: #1c7f45; }
.lic-badge.exp { background: #fdeaea; color: #c0392b; }
.lic-badge.trial { background: #fff4e0; color: #b26a00; }
.lic-badge.forever { background: #e8f0fb; color: #1b4f8f; }
.lic-badge.warn { background: #fff4e0; color: #d68000; }

/* ===== 统一账号：最近登录记录表 ===== */
.sso-log-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.sso-log-tbl th { text-align: left; font-size: 12px; color: #8ba0b4; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #e8eef4; }
.sso-log-tbl td { padding: 10px; border-bottom: 1px solid #f1f5f9; color: #33475b; }
.sso-log-tbl tr:last-child td { border-bottom: 0; }
.sso-log-tbl .td-sub { color: #8ba0b4; font-size: 12.5px; }
@media (max-width: 600px) {
    .sso-log-tbl th:nth-child(4), .sso-log-tbl td:nth-child(4) { display: none; }
    .sso-log-tbl { font-size: 12.5px; }
}
.myapp-dates { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text-light); margin-bottom: 12px; }
.myapp-dates span b { color: var(--text); font-weight: 600; }
.myapp-expired-tip { padding: 11px 14px; border-radius: 10px; background: #fdeaea; border: 1px solid #f8c9c9; color: #b93030; font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.myapp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 14px; }
.myapp-actions .uc-btn { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9px 12px; }
.myapp-actions .btn-buy { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9px 12px; border-radius: 18px; font-size: 13px; }
.myapp-actions .link-btn { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; padding: 9px 12px; border-radius: 18px; }
.myapp-card .myapp-actions + .myapp-trial-note { margin-top: 14px; }
.myapp-trial-note { font-size: 12px; color: #b26a00; line-height: 1.65; margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--border); }

/* 应用详情页：试用/授权状态 */
.detail-trial-badge { margin: 10px 0 14px; padding: 9px 14px; border-radius: 10px; background: #fff8e8; border: 1px solid #ffe0a8; color: #b26a00; font-size: 12.8px; font-weight: 600; text-align: center; }
.detail-lic-tip { margin: 0 0 14px; padding: 11px 14px; border-radius: 10px; background: #fdeaea; border: 1px solid #f8c9c9; color: #b93030; font-size: 13px; line-height: 1.7; }
.btn-buy.trial-btn { background: linear-gradient(135deg, #f0a83c, #ffc46b); margin-bottom: 10px; }
.btn-buy.ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary-mid); }
.btn-buy.ghost:hover { background: #f4f8fd; }
.app-card.expired { opacity: .78; }
.app-card.expired .app-icon { filter: grayscale(.5); }

/* 试用确认页 */
.trial-points { list-style: none; padding: 0; margin: 16px 0 20px; }
.trial-points li { position: relative; padding: 8px 0 8px 26px; font-size: 13.5px; color: var(--text-light); line-height: 1.7; border-bottom: 1px dashed var(--border); }
.trial-points li:last-child { border-bottom: none; }
.trial-points li::before { content: '✓'; position: absolute; left: 2px; top: 8px; color: var(--primary-mid); font-weight: 700; }
.trial-points li b { color: var(--text); }

/* 支付通道 */
.pay-channel { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pay-channel:hover { border-color: var(--primary-mid); box-shadow: 0 6px 20px rgba(15, 76, 129, .07); }
.pay-channel.disabled { background: #f8fafc; opacity: .85; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pc-name { font-size: 15px; font-weight: 600; color: var(--text); }
.pc-badge { font-size: 11.5px; padding: 2px 9px; border-radius: 10px; background: #eef2f7; color: #6b8299; }
.pc-badge.rec { background: var(--grad-brand); color: #fff; }
.pc-desc { font-size: 13px; color: var(--text-light); line-height: 1.75; margin: 0 0 12px; }
.pc-btn.alipay { background: linear-gradient(135deg, #1677ff, #4096ff); }
.pc-btn.wechat { background: linear-gradient(135deg, #07c160, #38d97e); }
.pay-offline-info { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.8; color: #41566b; background: #f6f9fc; border: 1px dashed var(--border); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.offline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.offline-fields input { padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--text); background: #fbfdff; }
.offline-fields input:focus { outline: none; border-color: var(--primary-mid); background: #fff; }
.pay-hint { font-size: 13px; color: var(--text-light); line-height: 1.75; padding: 12px 4px; }

/* 微信扫码 */
.pay-qr-box { text-align: center; padding: 30px 20px 24px; border: 1px solid var(--border); border-radius: 16px; background: #fbfdff; }
.pay-qr-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.pay-qr { display: inline-flex; align-items: center; justify-content: center; width: 244px; height: 244px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 22px rgba(15, 76, 129, .08); }
.pay-qr img, .pay-qr canvas { display: block; }
.pay-qr-tip { margin-top: 18px; font-size: 13.5px; color: var(--text-light); line-height: 1.85; }
.pay-qr-order { margin-top: 12px; font-size: 15px; font-weight: 700; color: #07c160; }
@media (max-width: 560px) {
    .offline-fields { grid-template-columns: 1fr; }
    .pay-qr { width: 210px; height: 210px; }
    .app-card-actions { flex-direction: column; align-items: stretch; }
    .app-card-actions .btn-app, .app-card-actions .link-btn { text-align: center; }
}

/* ===== 方案前台展示页 ===== */
.plan-view { padding-top: 40px; padding-bottom: 60px; }
.plan-container { display: block; max-width: 1200px; margin: 0 auto; }
.plan-article { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 38px 42px; box-shadow: var(--shadow); }
.plan-cover { margin: -6px 0 22px; }
.plan-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; display: block; border: 1px solid var(--border); }
.plan-title { font-size: 26px; color: var(--primary-deep); margin-bottom: 10px; }
.plan-summary { font-size: 15px; color: var(--text-light); margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-date { font-size: 13.5px; color: #8ba0b4; margin: -14px 0 22px; }
.plan-content { font-size: 15px; line-height: 1.9; color: #2a3a4d; }
.plan-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.plan-content h2, .plan-content h3 { color: var(--primary-deep); margin: 22px 0 10px; }
.plan-content p { margin: 12px 0; }
.plan-pdf iframe { width: 100%; height: 78vh; min-height: 520px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.plan-side { position: sticky; top: 20px; }
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow); }
.plan-qr { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.plan-qr img, .plan-qr canvas { display: block; }
.plan-qr-tip { margin-top: 14px; font-size: 13px; color: var(--text-light); }
.plan-actions { display: flex; gap: 10px; margin-top: 16px; }
.plan-actions .btn { flex: 1; padding: 10px; }
.plan-actions-bottom { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); }
.plan-actions-bottom .btn { flex: 0 0 auto; padding: 12px 34px; border-radius: 999px; font-size: 15px; box-shadow: 0 4px 14px rgba(15,76,129,.10); transition: all .18s; }
.plan-actions-bottom .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,76,129,.16); }
.plan-foot { margin-top: 0; font-size: 13px; }
.plan-foot a { color: var(--text-light); }
@media (max-width: 900px) {
    .plan-container { grid-template-columns: 1fr; padding: 0 10px; }
    .plan-side { position: static; order: -1; }
    .plan-article { padding: 22px 14px; border-radius: 12px; }
    .plan-pdf iframe { height: 60vh; }
}
@media (max-width: 480px) {
    .plan-container { padding: 0 6px; }
    .plan-article { padding: 18px 10px; border-radius: 10px; }
}

/* ============================================================
   移动端适配（≤900px）
   ------------------------------------------------------------
   2026-10-28 收归本文件。此前线上 assets/ 目录属主是 root，
   PHP 与 FTP 都无法写入，这批补丁只能内联在 inc/header.php、
   user/inc/ucheader.php、user/profile.php 三个模板里。
   权限放开后统一搬到这里，模板恢复干净。
   全部规则都在媒体查询内，桌面端完全不受影响。
   断点统一 900px（与 admin 后台一致），不要再往 768 另开一套。
   ============================================================ */

/* ---------- 1. 全站通用 ---------- */
@media (max-width: 900px) {
    /* 输入框字号 16px：iOS Safari 对 <16px 的输入框聚焦时会强制放大页面 */
    .form-group input, .form-group textarea, .form-group select,
    .code-row input, .offline-fields input, .auth-form input,
    input[type="text"], input[type="tel"], input[type="email"],
    input[type="password"], input[type="number"], textarea, select {
        font-size: 16px !important;
    }

    /* 触控目标不小于 44×44（WCAG / iOS HIG 的最小舒适点击区） */
    .uc-btn, .link-btn, .btn-buy, .btn, .pc-btn, .form-submit, .btn-app,
    .dl-btn, .plan-actions .btn, button[type="submit"] {
        min-height: 44px;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .uc-btn.pri, .btn-buy.full, .pc-btn, .form-submit { width: 100%; }

    /* 容器与纵向留白收紧：手机上 24px 边距 + 90px 段间距太浪费 */
    .container { padding: 0 16px; }
    .section { padding: 36px 0; }
    .section[style*="padding-top"] { padding-top: 24px !important; }
    .panel-card { padding: 20px 16px; border-radius: 14px; }
    .panel-title { font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; }

    /* 通用双列表单在窄屏强行两列会撑破容器 */
    .form-row, .form-row2 { grid-template-columns: 1fr; }
    .form-group { margin-bottom: 14px; }

    /* flex 子项默认 min-width:auto，长内容会把整页顶宽 → 必须允许收缩。
       这是账号设置页横向溢出 87px 的根因（头像上传的原生 file input 撑破容器）。 */
    .panel-card > div, .panel-card form, .form-group { min-width: 0; }
    .panel-card img { max-width: 100%; height: auto; }

    /* 表格类横向容器：惯性滚动 */
    .uc-table, .sso-log-tbl { -webkit-overflow-scrolling: touch; }

    /* 页脚链接（抽屉导航）与「查看更多」类文字链点击区放大 */
    .site-footer a, .footer-grid a { display: inline-block; padding: 8px 0; }
    .more, .btn-demo, .app-card-links a, .section-head a {
        min-height: 44px; display: inline-flex; align-items: center;
    }
}
@media (max-width: 480px) {
    .section { padding: 28px 0; }
    .container { padding: 0 14px; }
}

/* ---------- 2. 会员中心（我的应用 / 我的订单 / 账号设置 / 订购 / 试用 / 支付） ---------- */
@media (max-width: 900px) {
    /* 顶部身份区 */
    .uc-hero { padding: 20px 0 18px; }
    .uc-hero-inner { gap: 14px; }
    .uc-avatar { width: 52px; height: 52px; font-size: 22px; }
    .uc-hero h2 { font-size: 17px; line-height: 1.3; word-break: break-all; }
    .uc-hero p { font-size: 12.5px; line-height: 1.55; }
    .uc-hero p .warn { display: inline-block; }

    /* 子导航：可横滑，但「退出登录」不能被挤到看不见的位置 */
    .uc-nav-inner { gap: 2px; padding: 0 8px; }
    .uc-nav-link { padding: 14px 12px; font-size: 14px; }
    .uc-nav-link.uc-out {
        margin-left: 8px; padding: 7px 14px; font-size: 13px;
        position: sticky; right: 0; background: #fdeee9;
    }

    /* 绑定行（手机号 / 邮箱 / 微信）：标题与操作上下排，按钮不发飘 */
    .bind-row { flex-wrap: wrap; gap: 10px; padding: 4px 0; }
    .bind-row > div { flex: 1 1 100%; min-width: 0; }
    .bind-row > form, .bind-row > a.uc-btn, .bind-row > span { flex: 0 0 100%; }
    .bind-row > a.uc-btn, .bind-row > .uc-btn { width: 100%; }
    .bind-row b { font-size: 14px; }
    .bind-row .muted { font-size: 12.5px; line-height: 1.6; word-break: break-all; }

    /* 验证码行：按钮不换行、不挤成两行 */
    .code-row { gap: 8px; }
    .code-row input { min-width: 0; }
    .btn-sendcode { flex: 0 0 auto; padding: 0 12px; min-height: 44px; white-space: nowrap; }

    .profile-grid { gap: 14px; }
    .order-wrap { max-width: 100%; }

    /* 订单确认：图标 / 信息 / 价格在窄屏改为上下 */
    .order-app { flex-wrap: wrap; padding: 14px; gap: 12px; }
    .order-app .app-icon { width: 44px; height: 44px; font-size: 24px; }
    .order-app-info { flex: 1 1 60%; min-width: 0; }
    .order-app-info b { font-size: 14.5px; }
    .order-app-info p { font-size: 12px; line-height: 1.55; }
    .order-app .app-price {
        flex: 0 0 100%; text-align: right;
        border-top: 1px dashed var(--border); padding-top: 10px;
    }
    .order-sum { margin: 16px 0; }
    .order-sum b { font-size: 22px; }

    /* 我的应用卡片 */
    .myapp-card { padding: 18px 14px; }
    .myapp-actions { gap: 8px; }
    .myapp-actions .uc-btn, .myapp-actions .link-btn, .myapp-actions .btn-buy { font-size: 13px; padding: 0 10px; }
    .empty-box { padding: 44px 0; }
    .empty-icon { font-size: 38px; }
}

/* ---------- 3. 表格卡片化（手机上别让人横滑看 7 列） ----------
   用法：<table class="uc-table tbl-cards">，并给每个 td 加 data-label="字段名"。
   第一行（<tr><th>…）是表头，窄屏直接隐藏。 */
@media (max-width: 900px) {
    .tbl-cards, .tbl-cards tbody, .tbl-cards tr, .tbl-cards td { display: block; width: 100%; }
    .tbl-cards tr {
        border: 1px solid var(--border); border-radius: 12px;
        padding: 4px 12px; margin-bottom: 12px; background: #fff;
    }
    .tbl-cards tr:first-child { display: none; }
    .tbl-cards td {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 9px 0; border-bottom: 1px dashed var(--border); text-align: right;
    }
    .tbl-cards td:last-child { border-bottom: 0; }
    .tbl-cards td::before {
        content: attr(data-label); flex: 0 0 auto;
        color: var(--text-light); font-size: 12.5px; font-weight: 500; text-align: left;
    }
    .tbl-cards td.mono { font-size: 12px; word-break: break-all; }
    .tbl-cards td:empty { display: none; }
}

/* ---------- 4. 账号设置页：头像（点头像直接换） ----------
   桌面横向（头像 + 昵称提示），移动端纵向居中。
   上传入口就是头像本身：<label for> 关联隐藏的 file input，选完由 JS 立刻提交，
   所以不再有 file 控件与「上传头像」按钮 —— 也就没有「原生 file input 把整页顶宽」的老问题。 */
.pf-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

.pf-avatar-box {
    position: relative;
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    flex: none;
    background: #e8eef6;
    box-shadow: 0 4px 14px rgba(20, 38, 94, .15);
    transition: box-shadow .2s, transform .2s;
    -webkit-tap-highlight-color: transparent;
}
.pf-avatar-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-box:hover { box-shadow: 0 6px 20px rgba(20, 38, 94, .25); transform: translateY(-1px); }
.pf-avatar-box:active { transform: scale(.97); }

/* 悬停/触摸时浮出的「更换」遮罩 */
.pf-avatar-mask {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 11.5px;
    color: #fff;
    background: rgba(15, 30, 60, .58);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.pf-avatar-box:hover .pf-avatar-mask,
.pf-avatar-box.uploading .pf-avatar-mask { opacity: 1; }
.pf-avatar-box.uploading { cursor: wait; }
.pf-avatar-box.uploading img { opacity: .5; }

/* 小屏/触屏没有 hover，遮罩常显一点，用户才知道能点 */
@media (hover: none) {
    .pf-avatar-mask { opacity: .82; }
}

.pf-avatar-form { margin: 0; flex: none; }
/* 隐藏原生 file 控件（label 关联它，点击头像即可唤起选择器） */
.pf-file-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.pf-avatar-hint { min-width: 0; }
.pf-hint-tip { font-size: 13px; color: var(--text-light); }

/* ---------- 4b. 资料字段行（展示态 + ✎ 就地编辑） ----------
   昵称/公司名不再常驻输入框：平时是纯文本，点右侧 ✎ 才变成输入框并出现「保存/取消」。
   结构：[label] [值 / input] [✎ / 保存·取消] —— 三段栅格，值区可伸缩。 */
.pf-field {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
}
.pf-field:last-child { border-bottom: none; padding-bottom: 0; }
.pf-field-label { font-size: 13.5px; color: var(--text-light); }

.pf-field-body { min-width: 0; }
.pf-field-val {
    display: block;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pf-field-val.empty { color: #a8b5c4; font-weight: 400; }

.pf-field-input {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-light);
    transition: border-color .2s, box-shadow .2s;
}
.pf-field-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, .1);
}

.pf-field-ops { display: flex; align-items: center; gap: 8px; }

/* ⚠️ 关键：作者样式里写了 display 之后，浏览器对 [hidden] 的 display:none 会被覆盖，
   导致「隐藏」的元素其实还在占位/可见（这里踩过一次：保存/取消按钮常显、文本没藏住）。
   所以凡是靠 hidden 属性切换的，都必须显式补一条。 */
.pf-field-input[hidden],
.pf-field-val[hidden],
.pf-actions[hidden],
.pf-field-ops [hidden] { display: none !important; }

.pf-edit {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s;
    -webkit-tap-highlight-color: transparent;
}
.pf-edit:hover { background: var(--primary-lighter); border-color: var(--primary); }
.pf-edit:active { transform: scale(.94); }

.pf-actions { display: flex; align-items: center; gap: 8px; }
.pf-op-ok, .pf-op-cancel {
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s;
}
.pf-op-ok { background: var(--primary); color: #fff; }
.pf-op-ok:hover { opacity: .88; }
.pf-op-cancel { background: #eef2f6; color: #5a6b7d; }
.pf-op-cancel:hover { background: #e3e9f0; }

/* 编辑态：输入框独占整行（不被按钮挤压），「保存 / 取消」换到下一行右对齐 */
.pf-field.editing { grid-template-columns: 78px minmax(0, 1fr); }
.pf-field.editing .pf-field-ops { grid-column: 2 / 3; justify-content: flex-end; margin-top: 4px; }

@media (max-width: 900px) {
    .pf-avatar-row { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
    .pf-avatar-box { width: 72px; height: 72px; }
    .pf-hint-tip { font-size: 12px; }

    /* 窄屏字段行：label 上、值下，✎ 贴右边垂直居中 */
    .pf-field { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 0; }
    .pf-field-label { grid-column: 1 / 2; font-size: 12.5px; }
    .pf-field-body { grid-column: 1 / 2; }
    .pf-field-ops { grid-column: 2 / 3; grid-row: 1 / 3; }
    .pf-field-val { font-size: 15px; }
    .pf-field-input { font-size: 16px; }   /* iOS 聚焦不放大 */

    /* 编辑态：输入框与按钮都落到左列，按钮右对齐 */
    .pf-field.editing { grid-template-columns: minmax(0, 1fr); }
    .pf-field.editing .pf-field-label,
    .pf-field.editing .pf-field-body,
    .pf-field.editing .pf-field-ops { grid-column: 1 / 2; grid-row: auto; }
    .pf-field.editing .pf-field-ops { justify-content: flex-end; margin-top: 6px; }

    /* 强制绑定手机号的提示框：窄屏别再加内外边距 */
    .bind-phone-hl { padding: 12px 12px 14px; }
}

/* ---------- 5. 强制绑定手机号提示条（微信登录未绑手机时） ----------
   原本内联在 user/profile.php，且断点用的是 768 —— 与全站 900 打架，一并收归。 */
.need-phone-bar { background: linear-gradient(135deg,#fff7e6,#fff1d6); border-bottom: 1px solid #f0d9a8; padding: 16px 0; }
.npb-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; gap: 14px; align-items: flex-start; }
.npb-ico { font-size: 26px; line-height: 1; }
.npb-txt b { display: block; font-size: 15px; color: #8a5a12; margin-bottom: 4px; }
.npb-txt p { margin: 0; font-size: 13px; color: #9a7330; line-height: 1.7; }
/* 强制绑定时把手机号表单框出来，一眼看得到 */
.bind-phone-hl { border: 1.5px solid #f0d9a8; background: #fffdf7; border-radius: 10px; padding: 14px 16px 16px; margin-top: 12px; }

@media (max-width: 900px) {
    .need-phone-bar { padding: 12px 0; }
    .npb-inner { padding: 0 16px; gap: 10px; }
    .npb-ico { font-size: 22px; }
    .npb-txt b { font-size: 14px; }
    .npb-txt p { font-size: 12.5px; }
}

/* ---------- 6. 登录页（user/login.php） ----------
   2026-10-28 从 login.php 内联迁出（原来占了 6.5KB 模板体积）。
   类名统一 lg- 前缀，不复用 .auth-*（那套被注册页 / 授权页 / m 站共用，
   改这里不能影响它们）。
   底部三条 .site-footer 覆盖只在登录页需要 —— 必须用 body.page-login 限定，
   否则会把全站页脚的 footer-grid 一并隐藏。 */

body.page-login .site-footer { padding-top: 0; }
body.page-login .site-footer .footer-grid { display: none; }
body.page-login .site-footer .footer-bottom { border-top: none; }

/* 页面容器 */
.lg-page {
    min-height: calc(100vh - 72px - 62px);   /* 72px 页头 + 62px 精简页脚 */
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 48px 20px 56px;
    background: #fff;
}
.lg-box { width: 100%; max-width: 880px; display: flex; align-items: stretch; gap: 0; }

/* 左：表单 */
.lg-main { flex: 1 1 auto; max-width: 420px; padding: 8px 0; }
.lg-h1 { font-size: 30px; font-weight: 700; color: #14265E; letter-spacing: .5px; margin-bottom: 10px; }
.lg-hint { font-size: 13.5px; color: #66788F; margin-bottom: 26px; line-height: 1.6; }

.lg-notice {
    padding: 11px 14px; border-radius: 10px; margin-bottom: 18px;
    background: #F4F8FD; border: 1px solid #DCE9F8;
    color: #0C51D8; font-size: 13px; font-weight: 600; line-height: 1.6;
}
.lg-err, .lg-ok { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.lg-err { background: #fdf2f2; border: 1px solid #f5d9d9; color: #c0392b; }
.lg-ok  { background: #f0faf5; border: 1px solid #cfeadd; color: #1a8a4a; }

.lg-form .lg-field {
    display: flex; align-items: center;
    height: 52px; padding: 0 16px; margin-bottom: 14px;
    background: #f7f9fc; border: 1.5px solid transparent; border-radius: 12px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.lg-form .lg-field:focus-within {
    background: #fff; border-color: #0C51D8;
    box-shadow: 0 0 0 3px rgba(12, 81, 216, .10);
}
.lg-cc {
    flex: 0 0 auto; font-size: 15px; color: #14265E; font-weight: 600;
    padding-right: 12px; margin-right: 12px; border-right: 1px solid #DCE9F8; line-height: 1;
}
.lg-form .lg-field input {
    flex: 1 1 auto; min-width: 0; width: 100%;
    border: none; background: transparent; outline: none;
    font-size: 15px; color: #14265E; font-family: inherit; height: 100%;
}
.lg-form .lg-field input::placeholder { color: #9fb0c4; }

.lg-send {
    flex: 0 0 auto; margin-left: 10px; padding: 7px 14px;
    border: none; border-radius: 8px; cursor: pointer;
    background: transparent; color: #0C51D8;
    font-size: 13.5px; font-weight: 600; font-family: inherit;
    white-space: nowrap; transition: background .2s;
}
.lg-send:hover:not(:disabled) { background: rgba(12, 81, 216, .08); }
.lg-send:disabled { color: #a9b8c7; cursor: not-allowed; }

.lg-captcha {
    flex: 0 0 auto; height: 38px; width: auto; margin-left: 10px;
    border-radius: 8px; cursor: pointer; border: 1px solid #DCE9F8; transition: opacity .2s;
}
.lg-captcha:hover { opacity: .85; }

.lg-submit {
    width: 100%; height: 52px; margin-top: 10px;
    border: none; border-radius: 12px; cursor: pointer;
    background: #0C51D8; color: #fff;
    font-size: 16px; font-weight: 600; font-family: inherit; letter-spacing: 2px;
    transition: background .2s, box-shadow .2s, transform .15s;
}
.lg-submit:hover { background: #0a45bb; box-shadow: 0 8px 20px rgba(12, 81, 216, .22); }
.lg-submit:active { transform: translateY(1px); }

.lg-switch-row { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.lg-switch { font-size: 13px; color: #66788F; text-decoration: none; transition: color .2s; }
.lg-switch:hover { color: #0C51D8; }
.lg-dot { color: #DCE9F8; font-size: 13px; }

.lg-agree { margin-top: 34px; font-size: 12px; color: #a9b8c7; line-height: 1.8; }
.lg-agree a { color: #66788F; text-decoration: underline; text-underline-offset: 2px; }
.lg-agree a:hover { color: #0C51D8; }

/* 右：微信扫码 */
.lg-side {
    flex: 0 0 auto; width: 300px;
    display: flex; align-items: center; justify-content: center;
    margin-left: 64px; padding-left: 64px; border-left: 1px solid #eef2f7;
}
.lg-side-inner { text-align: center; width: 100%; }
/* 微信官方内嵌页 = 二维码 160px（贴 iframe 顶）+ 下方一行「微信登录」文字。
   iframe 高度必须容纳两者（约 205px），否则 overflow:hidden 会把文字裁半。
   非对称内边距：扫码态二维码上下留白视觉居中；快捷登录态头像不顶边框。 */
.lg-qr {
    box-sizing: border-box;
    display: block; width: 214px; padding: 24px 12px 10px;
    background: #fff; border: 1px solid #eef2f7; border-radius: 14px; overflow: hidden;
}
.lg-qr iframe { display: block; width: 100% !important; height: 215px !important; border: none; }

/* 降级按钮：SDK 加载不出来 / 手机浏览器 / 微信内 */
.lg-qr-fb {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; width: 214px; height: 190px;
    border: 1.5px dashed #cfe0d8; border-radius: 14px;
    background: #f6fbf8; color: #2AAE67;
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background .2s, border-color .2s;
}
.lg-qr-fb:hover { background: #eefaf3; border-color: #2AAE67; }
.lg-qr-ico { font-size: 34px; line-height: 1; }

.lg-side-tip { margin-top: 16px; font-size: 13.5px; color: #14265E; font-weight: 600; }
.lg-side-note { margin-top: 8px; font-size: 12px; color: #a9b8c7; line-height: 1.7; }

.lg-wx-off { margin-top: 40px; font-size: 12.5px; color: #a9b8c7; text-align: center; }

@media (max-width: 900px) {
    .lg-page { padding: 28px 18px 48px; justify-content: flex-start; min-height: calc(100vh - 64px); }
    .lg-box { flex-direction: column; max-width: 440px; }
    .lg-main { max-width: 100%; padding-top: 4px; }
    .lg-h1 { font-size: 25px; }
    .lg-hint { margin-bottom: 20px; }

    /* 右侧变到表单下方，横排小按钮 */
    .lg-side {
        width: 100%; margin: 30px 0 0; padding: 24px 0 0;
        border-left: none; border-top: 1px solid #eef2f7;
    }
    .lg-qr-fb { flex-direction: row; width: 100%; height: 52px; gap: 8px; font-size: 15px; }
    .lg-qr-ico { font-size: 20px; }
    .lg-side-tip { margin-top: 12px; font-size: 13px; }
    .lg-side-note { display: none; }

    .lg-form .lg-field input { font-size: 16px; }   /* iOS 聚焦不放大 */
    .lg-agree { margin-top: 26px; }
    .lg-wx-off { margin-top: 28px; }
}
@media (max-width: 380px) {
    .lg-h1 { font-size: 23px; }
    .lg-send { padding: 7px 10px; font-size: 13px; }
}

/* ============================================
   公众号关注浮层（导航「联系我们」点击弹出）
   ============================================ */
.mp-layer {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mp-layer[hidden] { display: none; }
.mp-mask {
    position: absolute;
    inset: 0;
    background: rgba(20, 38, 94, .52);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.mp-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: 18px;
    padding: 30px 26px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(20, 38, 94, .3);
    animation: mpIn .18s ease-out;
}
@keyframes mpIn {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.mp-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all .15s;
}
.mp-close:hover { background: var(--border); color: var(--primary-deep); }
.mp-card h3 { font-size: 20px; color: var(--primary-deep); }
.mp-name { margin-top: 4px; font-size: 14px; color: var(--primary); font-weight: 600; }
.mp-qr {
    width: 200px;
    height: 200px;
    margin: 16px auto 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
}
.mp-qr img { width: 100%; height: 100%; display: block; object-fit: contain; }
.mp-tip { font-size: 13px; color: var(--text-light); }
.mp-idrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 7px 6px 14px;
    background: var(--primary-lighter);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
}
.mp-copy {
    border: none;
    background: var(--grad-brand);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: filter .15s;
}
.mp-copy:hover { filter: brightness(1.06); }
.mp-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}
.mp-more:hover { color: var(--primary-deep); text-decoration: underline; }
@media (max-width: 480px) {
    .mp-card { padding: 24px 18px 20px; }
    .mp-qr { width: 176px; height: 176px; }
    .mp-idrow { font-size: 15px; }
}

/* ===== 下载量显示（2026-11-13） ===== */
.app-dl-count { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #8ba0b4; margin: 0 0 9px; }
.app-dl-count-ico,
.dl-count-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary-lighter); color: var(--primary);
    font-size: 11px; font-weight: 700; line-height: 1; flex-shrink: 0;
}
.dl-count-line { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 12.5px; color: #8ba0b4; }
.dl-count-line b { color: #33475b; font-weight: 600; }

/* ============================================
   招贤纳士 / jobs.php（2026-11-13）
   配色沿用品牌：藏青 #14265E、皇家蓝 #0C51D8、青绿 #00A896
   ============================================ */

/* ---------- Hero ---------- */
.jobs-hero { padding: 74px 0 64px; }
.jobs-hero-sub {
    max-width: 640px; margin: 18px auto 0;
    font-size: 16px; line-height: 1.9; color: #d3e2f7;
}
.jobs-hero-stats {
    display: flex; justify-content: center; gap: 0; margin: 30px auto 26px;
    max-width: 660px; background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18); border-radius: 16px;
    backdrop-filter: blur(6px); overflow: hidden;
}
.jobs-hero-stats > div {
    flex: 1; padding: 16px 10px; text-align: center; position: relative;
}
.jobs-hero-stats > div + div::before {
    content: ''; position: absolute; left: 0; top: 22%; height: 56%;
    width: 1px; background: rgba(255,255,255,.16);
}
.jobs-hero-stats b { display: block; font-size: 22px; color: #fff; line-height: 1.2; }
.jobs-hero-stats span { display: block; font-size: 12.5px; color: #b9cdea; margin-top: 4px; }
.jobs-hero-cta {
    display: inline-block; padding: 13px 30px; border-radius: 26px;
    background: #fff; color: var(--primary); font-weight: 700; font-size: 15px;
    box-shadow: 0 10px 26px rgba(4,22,60,.22);
    transition: transform .2s, box-shadow .2s;
}
.jobs-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(4,22,60,.28); }

/* ---------- 为什么来 ---------- */
.jobs-why-sec { padding-bottom: 20px; }
.jobs-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jobs-why-card {
    background: linear-gradient(165deg, #fff, var(--primary-lighter));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 22px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.jobs-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c6dbf6; }
.jobs-why-ico {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 21px; background: #fff; border: 1px solid var(--border); margin-bottom: 14px;
}
.jobs-why-card h3 { font-size: 17px; color: var(--primary-deep); margin-bottom: 8px; }
.jobs-why-card p { font-size: 14px; line-height: 1.85; color: var(--text-light); }

/* ---------- 岗位卡 ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.job-card {
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    padding: 24px 24px 20px; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative; overflow: hidden;
}
.job-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: var(--grad-brand); opacity: 0; transition: opacity .25s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(12,81,216,.12); border-color: #c6dbf6; }
.job-card:hover::before, .job-card.is-hot::before { opacity: 1; }
.job-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.job-card-title h3 {
    font-size: 19px; color: var(--primary-deep); line-height: 1.45;
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.job-hot {
    font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .5px;
    padding: 3px 9px; border-radius: 20px; background: linear-gradient(135deg, #0C51D8, #00A896);
    flex-shrink: 0;
}
.job-dept { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.job-salary {
    font-size: 20px; font-weight: 800; color: var(--primary); white-space: nowrap;
    line-height: 1.4; letter-spacing: -.3px;
}
.job-meta {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px;
}
.job-meta span {
    font-size: 12.5px; color: #46608a; background: var(--primary-lighter);
    border: 1px solid #e2edfb; border-radius: 8px; padding: 4px 10px; line-height: 1.5;
}
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.job-tags span {
    font-size: 12px; color: var(--primary); background: #EAF2FF;
    border-radius: 20px; padding: 3px 11px; line-height: 1.6;
}

/* 注意：.job-detail 设了 display:grid，会盖掉 [hidden] 的默认 display:none，
   必须显式声明，否则折叠区一进页面就是展开的 */
.job-detail[hidden] { display: none; }
.job-detail {
    margin: 14px 0 4px; padding: 16px 18px; border-radius: 12px;
    background: #F7FAFF; border: 1px solid #E6EFFB;
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.job-detail-col h4 {
    font-size: 13.5px; color: var(--primary-deep); margin-bottom: 8px; font-weight: 700;
}
.job-detail-col ul { list-style: none; display: grid; gap: 7px; }
.job-detail-col li {
    font-size: 13px; color: var(--text-light); line-height: 1.75;
    padding-left: 15px; position: relative;
}
.job-detail-col li::before {
    content: ''; position: absolute; left: 2px; top: .72em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
}

.job-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 18px; padding-top: 16px; border-top: 1px dashed #E2EBF7;
}
.job-toggle {
    border: none; background: none; padding: 0; cursor: pointer; font-family: inherit;
    font-size: 13.5px; color: var(--text-light); transition: color .2s;
}
.job-toggle:hover { color: var(--primary); }
.job-apply {
    font-size: 14px; font-weight: 700; color: var(--primary);
    padding: 8px 16px; border-radius: 20px; background: #EAF2FF;
    transition: background .2s, color .2s, transform .2s;
}
.job-apply:hover { background: var(--primary); color: #fff; transform: translateX(2px); }

/* ---------- 投递区 ---------- */
.jobs-apply-sec { background: linear-gradient(180deg, #F7FAFF, #fff 55%); }
.jobs-apply-wrap { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 34px; align-items: start; }
.jobs-apply-aside { padding: 8px 4px; }
.jobs-apply-aside .en { font-size: 13px; letter-spacing: 3px; color: var(--teal); font-weight: 600; text-transform: uppercase; }
.jobs-apply-aside h2 { font-size: 30px; color: var(--primary-deep); margin: 12px 0 14px; line-height: 1.35; }
.jobs-apply-intro { font-size: 15px; line-height: 1.9; color: var(--text-light); margin-bottom: 26px; }
.jobs-apply-intro b { color: var(--primary); }

.jobs-flow { display: grid; gap: 14px; margin-bottom: 26px; }
.jobs-flow-step { display: flex; align-items: flex-start; gap: 13px; }
.jobs-flow-step i {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 13px; font-weight: 700; color: #fff;
    background: var(--grad-brand); box-shadow: 0 4px 12px rgba(0,168,150,.28);
}
.jobs-flow-step b { display: block; font-size: 14.5px; color: var(--primary-deep); line-height: 1.4; }
.jobs-flow-step span { font-size: 13px; color: var(--text-light); }

.jobs-apply-note {
    background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--teal);
    border-radius: 10px; padding: 13px 16px; margin-bottom: 12px;
}
.jobs-apply-note b { display: block; font-size: 13.5px; color: var(--primary-deep); margin-bottom: 4px; }
.jobs-apply-note p { font-size: 13px; color: var(--text-light); line-height: 1.75; }

.jobs-form-card { padding: 32px 30px 28px; }
.jobs-form-card h3 { margin-bottom: 20px; }
.jobs-form-privacy { font-size: 12.5px; color: #93a4b8; margin-top: 12px; text-align: center; }
.jobs-form-card .form-group select {
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--text);
    background: var(--bg-light); transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366788F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.jobs-form-card .form-group select:focus {
    outline: none; border-color: var(--primary-mid); background-color: #fff;
    box-shadow: 0 0 0 3px rgba(61,123,234,.14);
}
.jobs-form-card select.is-picked { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.16); }

/* 简历上传 */
.job-file { position: relative; }
.job-file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.job-file-box {
    width: 100%; display: flex; align-items: center; gap: 13px; text-align: left;
    padding: 15px 16px; border: 1.6px dashed #C6D8EE; border-radius: 12px;
    background: #F8FBFF; cursor: pointer; font-family: inherit;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.job-file-box:hover { border-color: var(--primary-mid); background: #F1F7FF; }
.job-file-ico {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    background: #fff; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.job-file-text { flex: 1; min-width: 0; }
.job-file-text b {
    display: block; font-size: 14px; color: var(--text); font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-file-text small { display: block; font-size: 12.5px; color: #93a4b8; margin-top: 2px; }
.job-file-btn {
    flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--primary);
    background: #EAF2FF; border-radius: 18px; padding: 7px 14px;
}
.job-file.has-file .job-file-box { border-style: solid; border-color: #9FDCD1; background: #F2FCFA; }
.job-file.has-file .job-file-ico { background: #E7F8F5; border-color: #B7E7DE; }
.job-file.has-file .job-file-btn { background: #E7F8F5; color: #00795f; }
.job-file.is-bad .job-file-box { border-style: solid; border-color: #F3B5B0; background: #FEF6F5; }
.job-file.is-bad .job-file-text b { color: #c0392b; }
.job-file.is-bad .job-file-btn { background: #FDECEA; color: #c0392b; }

/* ---------- 底部自荐 ---------- */
.jobs-last { padding-top: 10px; }
.jobs-last-card {
    background:
        radial-gradient(ellipse at 88% 118%, rgba(0,168,150,.34), transparent 48%),
        linear-gradient(120deg, var(--primary-deep), var(--primary) 78%, var(--primary-mid));
    border-radius: 22px; padding: 46px 44px; color: #fff; text-align: center;
    box-shadow: 0 18px 40px rgba(20,38,94,.18);
}
.jobs-last-card h2 { font-size: 26px; margin-bottom: 12px; }
.jobs-last-card p { max-width: 620px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: #d3e2f7; }
.jobs-last-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.jobs-last-actions .btn { padding: 12px 26px; }
.jobs-last-actions .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: #fff; }
.jobs-last-actions .btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .jobs-why { grid-template-columns: repeat(2, 1fr); }
    .jobs-apply-wrap { grid-template-columns: 1fr; gap: 26px; }
    .jobs-apply-aside { order: 0; }
    .jobs-flow { grid-template-columns: repeat(2, 1fr); display: grid; gap: 14px 20px; }
}
@media (max-width: 900px) {
    .jobs-grid { grid-template-columns: 1fr; }
    .jobs-hero { padding: 58px 0 50px; }
    .jobs-hero-sub { font-size: 15px; }
}
@media (max-width: 640px) {
    .jobs-hero { padding: 46px 0 42px; }
    .jobs-hero h1 { font-size: 28px; }
    .jobs-hero-sub { font-size: 14px; line-height: 1.85; margin-top: 14px; }
    .jobs-br { display: none; }
    .jobs-hero-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 22px auto 20px; border-radius: 14px; }
    .jobs-hero-stats > div { padding: 13px 8px; }
    .jobs-hero-stats > div + div::before { display: none; }
    .jobs-hero-stats > div:nth-child(2n)::before {
        content: ''; display: block; position: absolute; left: 0; top: 22%; height: 56%;
        width: 1px; background: rgba(255,255,255,.16);
    }
    .jobs-hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
    .jobs-hero-stats b { font-size: 19px; }
    .jobs-hero-cta { padding: 12px 26px; font-size: 14.5px; }

    .jobs-why { grid-template-columns: 1fr; gap: 14px; }
    .jobs-why-card { padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start; }
    .jobs-why-ico { margin-bottom: 0; flex-shrink: 0; width: 38px; height: 38px; font-size: 18px; }

    .job-card { padding: 20px 18px 16px; border-radius: 16px; }
    .job-card-head { flex-direction: column; gap: 8px; }
    .job-card-title h3 { font-size: 17.5px; }
    .job-salary { font-size: 19px; }
    .job-meta { gap: 6px; margin: 13px 0 10px; }
    .job-meta span { font-size: 12px; padding: 3px 9px; }
    .job-detail { grid-template-columns: 1fr; gap: 14px; padding: 14px 15px; }
    .job-card-foot { margin-top: 15px; padding-top: 13px; }
    .job-toggle { font-size: 13px; }
    .job-apply { font-size: 13.5px; padding: 8px 14px; }

    .jobs-apply-aside h2 { font-size: 24px; }
    .jobs-apply-intro { font-size: 14px; margin-bottom: 20px; }
    .jobs-flow { grid-template-columns: 1fr; gap: 12px; }
    .jobs-form-card { padding: 22px 18px 20px; }
    /* 移动端：输入 16px 防止 iOS 聚焦自动放大；控件加高更好点 */
    .jobs-form-card .form-group input,
    .jobs-form-card .form-group select,
    .jobs-form-card .form-group textarea { font-size: 16px; padding: 13px 14px; }
    .jobs-form-card .form-row { grid-template-columns: 1fr; }
    .job-file-box { padding: 14px; }
    .job-file-text b { font-size: 13.5px; }
    .job-file-btn { padding: 7px 12px; font-size: 12.5px; }

    .jobs-last-card { padding: 32px 20px; border-radius: 18px; }
    .jobs-last-card h2 { font-size: 21px; }
    .jobs-last-card p { font-size: 14px; }
    .jobs-last-actions .btn { padding: 11px 22px; font-size: 14px; }
}
@media (max-width: 380px) {
    .jobs-hero-stats b { font-size: 17px; }
    .job-salary { font-size: 18px; }
    .job-card-title h3 { font-size: 16.5px; }
}
/* 锚点跳转时给固定头部留出空间，避免标题被遮 */
#positions, #apply, #posters { scroll-margin-top: 88px; }
/* ---------- 海报分享（招贤纳士） ---------- */
.jobs-posters { padding-top: 10px; }
.jobs-poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jobs-poster-grid a {
    display: block; border-radius: 16px; overflow: hidden; background: #0b1a35;
    box-shadow: 0 10px 28px rgba(20,38,94,.16);
    transition: transform .25s, box-shadow .25s;
}
.jobs-poster-grid a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,38,94,.24); }
.jobs-poster-grid img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .jobs-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 380px) { .jobs-poster-grid { gap: 10px; } }

/* ---------- 招贤纳士优化（2026-11-13） ---------- */
/* 数据条现在只有「在招岗位 / 用人部门」两格，收窄后更协调 */
.jobs-hero-stats { max-width: 440px; }

/* 图形验证码：.form-group input 的 width:100% 会把右侧图片挤扁，这里显式给宽度 */
.code-row input { flex: 1; width: auto; min-width: 0; }
.captcha-img {
    flex: 0 0 140px; width: 140px; height: 46px;
    object-fit: contain; padding: 1px; background: #fff;
}

@media (max-width: 640px) {
    /* 提交区在手机上：表单卡片留白收一点，控件间距更紧凑 */
    .jobs-form-card { padding: 20px 16px 18px; }
    .jobs-form-card .form-group { margin-bottom: 15px; }
    .jobs-form-card .form-group label { font-size: 13.5px; margin-bottom: 6px; }
    .jobs-form-card .form-row { gap: 15px; }

    /* 验证码：手机上图片略窄，保证输入框还有足够宽度 */
    .code-row { gap: 8px; }
    .captcha-img { flex: 0 0 112px; width: 112px; height: 44px; }
    .jobs-form-card .code-row input { padding: 12px 12px; }

    /* 文件选择：文字多了自动换行，按钮不挤压 */
    .job-file-box { flex-wrap: wrap; gap: 8px 10px; padding: 13px; }
    .job-file-text { flex: 1 1 130px; min-width: 0; }
    .job-file-btn { margin-left: auto; }

    /* 提交按钮：手机上更高更好点 */
    .jobs-form-card .form-submit { padding: 15px; border-radius: 14px; }
    .jobs-form-privacy { font-size: 12px; line-height: 1.7; }
}

/* ---------- 多端安装包（2026-11-15） ---------- */
.dl-multi-tip { margin: 0 0 10px; font-size: 13px; color: #5a7184; line-height: 1.7; }
.dl-multi-tip b { color: var(--teal); }
.dl-list { display: flex; flex-direction: column; }
.dl-list .dl-item { margin-top: 8px; }
.dl-list .dl-item .dl-btn-ico { font-size: 16px; }
.app-tags .tag-plat { background: #eef2ff; color: #3b4fa8; border: 1px solid #d3dbfa;
  border-radius: 999px; padding: 2px 9px; font-size: 11.5px; }

/* 我的应用：整卡可点（与 .app-card 一致的手感） */
.myapp-card[data-href] { cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.myapp-card[data-href]:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(12,81,216,.16); border-color: var(--primary-mid, #b9cff3); }
.myapp-card[data-href]:focus-visible { outline: 2px solid var(--primary, #0C51D8); outline-offset: 3px; }
