/* AI赋能科技 · 蓝白企业主题 */
:root {
    --blue: #1d4ed8;
    --blue-dark: #12327a;
    --blue-soft: #eaf1ff;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f5f8fc;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(15, 23, 42, .07);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.75 "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    line-height: 1.35;
    font-weight: 700;
}

p { margin: 0; }

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

.wrap-narrow { max-width: 860px; }

/* 顶栏 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: .2px;
}

.brand:hover { color: var(--ink); }

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue), #2f6bff);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 8px 18px rgba(29, 78, 216, .28);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--text);
    font-size: 15px;
}

.nav-link:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav-link.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }

/* 语言切换 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-link {
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 13px;
}

.lang-link:hover { background: var(--blue-soft); color: var(--blue-dark); }
.lang-link.active { color: var(--blue); font-weight: 600; }

/* 会员入口 */
.member-nav { display: flex; align-items: center; gap: 4px; }
.member-logout { display: inline; }
.member-logout .link { background: none; border: 0; padding: 5px 6px; color: var(--muted); cursor: pointer; font-size: 13px; }
.member-logout .link:hover { color: var(--blue); }
.member-alt { margin-top: 12px; color: var(--muted); font-size: 13px; }
.member-alt a { color: var(--blue); }
.member-alt span { margin: 0 6px; }
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.member-grid .form-wrap { margin: 0; }
.member-grid h2 { margin-top: 0; }
@media (max-width: 760px) {
    .member-grid { grid-template-columns: 1fr; }
}

/* 搜索框 */
.header-search,
.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.search-form input {
    width: 180px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}

.search-form { margin: 18px 0 12px; }

.search-form input {
    width: 320px;
    max-width: 100%;
    padding: 11px 14px;
}

.header-search button,
.search-form button {
    border: 0;
    border-radius: 9px;
    padding: 9px 16px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.header-search button:hover,
.search-form button:hover { background: var(--blue-dark); }

mark {
    background: #fff2b0;
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    background: #fff;
}

.tag-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.tag-chip em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.footer-tags { margin-top: 4px; }

/* 自定义表单 */
.form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
}

.cms-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    color: var(--ink);
}

.form-field em {
    font-style: normal;
    color: #d64545;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
}

.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-soft);
}

.cms-form .btn { align-self: flex-start; }

.form-note {
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
}

.form-note.success {
    background: #e9f7ef;
    color: #1e7b45;
    border: 1px solid #bfe6cf;
}

.form-note.error {
    background: #fdecec;
    color: #b23b3b;
    border: 1px solid #f3c8c8;
}

/* 首页 Banner */
.hero {
    position: relative;
    overflow: hidden;
    background: #0b1f4d;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .42;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 24, 62, .94) 0%, rgba(10, 36, 96, .72) 48%, rgba(13, 42, 105, .35) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 96px;
    padding-bottom: 84px;
    max-width: 1180px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .eyebrow { color: #9dc0ff; }

.hero h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: 1px;
    line-height: 1.18;
}

.hero-desc {
    max-width: 560px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-stats strong {
    display: block;
    font-size: 30px;
    color: #fff;
    line-height: 1.2;
}

.hero-stats span { color: rgba(255, 255, 255, .68); font-size: 14px; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(29, 78, 216, .26); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: #eef4ff; color: var(--blue-dark); }

.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* 通用区块 */
.section { padding: 76px 0; }
.section-soft { background: #fff; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.section-head h2 { font-size: clamp(26px, 3vw, 34px); }

.section-desc {
    max-width: 460px;
    color: var(--muted);
    font-size: 15px;
}

.link-more {
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* 能力 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
}

.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* 产品卡片 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-cover {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eef7;
}

.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-cover img { transform: scale(1.04); }

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.card-body h3 { font-size: 18px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { color: var(--muted); font-size: 14px; }

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    font-size: 14px;
    color: var(--muted);
}

.card-meta strong { color: var(--blue); font-size: 17px; }

.badge {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

/* 新闻 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.news-cover {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e9eef7;
    overflow: hidden;
}

.news-cover img { width: 100%; height: 100%; object-fit: cover; }

.news-body { padding: 20px 22px 24px; }

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.tag {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
}

.news-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { color: var(--muted); font-size: 14px; }

.news-grid-list .news-card { display: grid; grid-template-columns: 300px 1fr; }
.news-grid-list .news-cover { aspect-ratio: auto; height: 100%; min-height: 190px; }
.news-grid-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* 案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.case-card:hover img { transform: scale(1.06); }

.case-mask {
    position: absolute;
    inset: auto 0 0 0;
    padding: 42px 22px 20px;
    background: linear-gradient(transparent, rgba(6, 20, 50, .86));
    color: #fff;
}

.case-mask span { color: #a9c5ff; font-size: 13px; }
.case-mask h3 { color: #fff; font-size: 19px; margin-top: 4px; }

/* CTA */
.cta-band {
    background: linear-gradient(120deg, var(--blue-dark), var(--blue));
    color: #fff;
    padding: 56px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 栏目页头 */
.page-head {
    position: relative;
    overflow: hidden;
    padding: 54px 0 44px;
    background: linear-gradient(120deg, #0d2a66, #1d4ed8 70%, #3b74ff);
    color: #fff;
}

.page-head h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.page-head .page-desc { margin-top: 12px; color: rgba(255, 255, 255, .8); max-width: 720px; }
.page-head .eyebrow { color: #a9c5ff; }

.page-head-cover { background: #0d2a66; }
.page-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
}
.page-head-cover .wrap { position: relative; z-index: 2; }

.page-head-article { background: linear-gradient(120deg, #0d2a66, #1b3f93); }
.article-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

/* 面包屑 */
.breadcrumb {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 7px; color: rgba(255, 255, 255, .4); }

/* 标签 chips */
.chip {
    display: inline-block;
    margin: 18px 8px 0 0;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    transition: all .2s ease;
}

.chip:hover { background: #fff; color: var(--blue); }

/* 面板与正文 */
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.panel-title { font-size: 21px; margin-bottom: 18px; }

.article-panel { padding: 40px 44px; }

.article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 28px;
}

.detail-body { color: #2b3a4f; font-size: 16px; line-height: 1.95; }
.detail-body h2 { font-size: 23px; margin: 30px 0 12px; }
.detail-body h3 { font-size: 19px; margin: 24px 0 10px; }
.detail-body p { margin: 0 0 16px; }
.detail-body ul, .detail-body ol { margin: 0 0 18px; padding-left: 22px; }
.detail-body li { margin-bottom: 8px; }
.detail-body img { border-radius: 10px; margin: 18px 0; }
.detail-body blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 4px solid var(--blue);
    background: var(--blue-soft);
    color: var(--blue-dark);
}

.article-foot {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.lead-text {
    font-size: 18px;
    color: var(--blue-dark);
    margin-bottom: 18px;
    font-weight: 600;
}

.deadline { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* 产品详情 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 32px;
}

.product-media {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.product-info h1 { font-size: clamp(28px, 3vw, 36px); margin: 10px 0 8px; }
.product-subtitle { color: var(--muted); font-size: 16px; }

.price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--blue-soft);
}

.price { color: var(--blue); font-size: 30px; font-weight: 800; }
.unit { color: var(--muted); font-size: 14px; }

.meta-list { margin: 0 0 26px; padding: 0; }
.meta-list div {
    display: flex;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}
.meta-list dt { width: 90px; color: var(--muted); margin: 0; }
.meta-list dd { margin: 0; color: var(--ink); }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.specs {
    white-space: pre-line;
    color: var(--text);
    line-height: 2;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 24px;
}

/* 下载 */
.download-list { display: flex; flex-direction: column; gap: 16px; }

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.download-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.file-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 66px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .5px;
}

.download-body { flex: 1; min-width: 0; }
.download-body h3 { font-size: 18px; margin-bottom: 6px; }
.download-body h3 a { color: var(--ink); }
.download-body h3 a:hover { color: var(--blue); }
.download-body p { color: var(--muted); font-size: 14px; }

.download-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.file-box {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 28px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.file-info { flex: 1; min-width: 200px; }
.file-info h3 { font-size: 19px; }

/* 招聘 */
.job-list { display: flex; flex-direction: column; gap: 16px; }

.job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.job-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.job-main { flex: 1; }

.job-title {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.job-title h3 { font-size: 19px; }
.job-title h3 a { color: var(--ink); }
.job-title h3 a:hover { color: var(--blue); }

.salary { color: #e8590c; font-weight: 700; font-size: 16px; }

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.job-tags span {
    padding: 4px 12px;
    border-radius: 999px;
    background: #f1f5fb;
    color: var(--muted);
    font-size: 13px;
}

.job-tags-lg { margin-top: 18px; }
.job-tags-lg span { background: rgba(255, 255, 255, .14); color: #fff; }
.job-tags-lg .salary { background: rgba(255, 255, 255, .18); color: #ffe0c2; }

/* 联系我们卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow);
}

.contact-label { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.contact-card strong { display: block; margin: 10px 0 6px; color: var(--ink); font-size: 17px; word-break: break-all; }
.contact-card p { color: var(--muted); font-size: 13px; }

/* 分页 */
.pager {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 36px;
    font-size: 14px;
}

.pager a,
.pager .current,
.pager .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--text);
}

.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .current { border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 600; }
.pager .disabled { color: #b8c2d1; background: #f8fafc; }
.pager .gap { color: var(--muted); padding: 0 2px; }
.pager .info { margin-left: auto; color: var(--muted); font-size: 13px; }

.empty {
    padding: 40px 0;
    color: var(--muted);
    text-align: center;
}

/* 页脚 */
.site-footer { background: #0b1a33; color: rgba(255, 255, 255, .72); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 44px;
}

.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.footer-brand p { margin-top: 16px; color: rgba(255, 255, 255, .58); font-size: 14px; max-width: 320px; }

.footer-links h3,
.footer-contact h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-contact p { color: rgba(255, 255, 255, .68); font-size: 14px; margin-bottom: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .48);
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: center;
    padding-bottom: 10px;
}

.footer-partners a { color: rgba(255, 255, 255, .58); }
.footer-partners a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid-list { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .wrap { padding: 0 18px; }
    .header-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; gap: 12px; }
    .site-nav { gap: 2px; }
    .nav-link { padding: 6px 10px; font-size: 14px; }
    .hero-inner { padding-top: 64px; padding-bottom: 60px; }
    .hero-stats { gap: 30px; margin-top: 40px; }
    .hero-stats strong { font-size: 24px; }
    .section { padding: 52px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
    .feature-grid, .card-grid, .news-grid, .case-grid { grid-template-columns: 1fr; }
    .news-grid-list .news-card { grid-template-columns: 1fr; }
    .news-grid-list .news-cover { min-height: 0; aspect-ratio: 4 / 3; }
    .panel, .article-panel { padding: 24px 20px; }
    .page-head { padding: 38px 0 32px; }
    .download-item, .job-item { flex-direction: column; align-items: flex-start; gap: 16px; }
    .download-item .btn, .job-item .btn { align-self: flex-start; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
    .pager .info { width: 100%; margin-left: 0; margin-top: 6px; }
}

/* 评论 */
.comment-section { padding-top: 0; }
.comment-panel { display: flex; flex-direction: column; gap: 18px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment-item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.comment-item-reply { margin-left: 28px; background: #f8fafc; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; }
.comment-head strong { color: var(--ink); }
.comment-head time { color: var(--muted); font-size: 13px; }
.comment-reply-to { color: var(--muted); font-size: 13px; }
.comment-reply-link { margin-left: auto; font-size: 13px; }
.comment-body { margin-top: 8px; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.comment-empty { padding: 12px 0; }
.comment-pager { justify-content: flex-start; }
.comment-form-wrap { display: flex; flex-direction: column; gap: 10px; }
.comment-login { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.comment-replying { margin: 0; font-size: 14px; color: var(--muted); }
.comment-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ===== 手机版：紧凑布局与触屏尺寸 ===== */
body { font-size: 15px; }
.wrap { padding: 0 14px; }

.header-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-height: 0;
    padding: 12px 0;
}
.header-inner .brand { flex: 1 1 auto; font-size: 17px; }
.site-nav {
    order: 5;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.nav-link { white-space: nowrap; padding: 6px 10px; font-size: 14px; }
.lang-switch { gap: 4px; }
.member-nav { gap: 6px; font-size: 14px; }
.header-search { order: 4; width: 100%; }
.header-search input { flex: 1 1 auto; width: auto; min-width: 0; }
.header-search button { flex: 0 0 auto; }

.hero-inner { padding-top: 48px; padding-bottom: 40px; }
.hero h1 { font-size: 30px; }
.hero-desc { margin-top: 14px; font-size: 15px; }
.hero-actions { gap: 10px; margin-top: 22px; }
.hero-stats { flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
.hero-stats strong { font-size: 22px; }
.hero-stats span { font-size: 13px; }

.section { padding: 40px 0; }
.section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.section-head h2 { font-size: 22px; }

.feature-grid,
.card-grid,
.news-grid,
.case-grid,
.news-grid-list,
.product-detail,
.contact-grid,
.footer-grid,
.member-grid { grid-template-columns: 1fr; }
.news-grid-list .news-card { grid-template-columns: 1fr; }
.news-grid-list .news-cover { min-height: 0; aspect-ratio: 4 / 3; }

.panel,
.article-panel { padding: 20px 16px; }
.page-head { padding: 32px 0 26px; }
.page-head h1 { font-size: 24px; }

.download-item,
.job-item { flex-direction: column; align-items: flex-start; gap: 14px; }
.download-item .btn,
.job-item .btn { align-self: flex-start; }
.cta-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

.btn { padding: 10px 18px; }
.form-field input,
.form-field textarea,
.form-field select { font-size: 16px; }

.comment-item-reply { margin-left: 12px; }
.pager .info { width: 100%; margin-left: 0; margin-top: 6px; }

/* 主题切换入口 */
.theme-switch {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 13px;
    color: inherit;
    opacity: .8;
}
.theme-switch:hover { color: inherit; opacity: 1; }
/* 商城 */
.section-tight { padding: 36px 0; }
.page-head-slim { padding: 26px 0; }
.page-head-slim .breadcrumb { margin: 0; }

.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.shop-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: fit-content; position: sticky; top: 88px; }
.shop-side-title { font-size: 16px; margin-bottom: 10px; }
.shop-cat { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: 14px; }
.shop-cat:hover { background: var(--blue-soft); }
.shop-cat.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.shop-cat.depth-1 { padding-left: 22px; }
.shop-cat.depth-2 { padding-left: 34px; }
.shop-main { min-width: 0; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 16px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-cover { display: block; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.product-body h3 { font-size: 16px; }
.product-sub { color: var(--muted); font-size: 13px; min-height: 20px; }
.product-price { display: flex; align-items: baseline; gap: 8px; color: #dc2626; }
.product-price strong { font-size: 20px; }
.product-price del { color: var(--muted); font-size: 13px; }
.product-price-lg strong { font-size: 32px; }
.product-meta { color: var(--muted); font-size: 13px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; align-items: center; }
.pager .btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.spec-table th { width: 180px; background: #f8fafc; color: var(--ink); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.product-main-image { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumbs img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.product-info { display: flex; flex-direction: column; gap: 14px; }
.product-info h1 { font-size: clamp(24px, 2.4vw, 32px); }
.product-summary { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; }

.sku-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sku-option { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; cursor: pointer; font-size: 14px; }
.sku-option input { accent-color: var(--blue); }
.sku-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.sku-option.disabled { opacity: .5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink); }
.field > span { font-weight: 600; }
.field input, .field textarea, .field select { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.field-inline { flex-direction: row; align-items: center; gap: 10px; }
.field-inline input { width: 100px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.buy-form { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.rich-text { background: #fff; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.form-note.inline { display: inline; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

/* 购物车 */
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) 100px 170px 100px 60px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.cart-line.unavailable { opacity: .65; }
.cart-check { display: flex; align-items: center; justify-content: center; }
.cart-cover { display: block; width: 84px; height: 84px; background: #f1f5f9; border-radius: 10px; overflow: hidden; flex: none; }
.cart-cover img { width: 100%; height: 100%; object-fit: cover; }
.cart-info h3 { font-size: 15px; }
.cart-qty form { display: flex; align-items: center; gap: 8px; }
.cart-qty input { width: 70px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.cart-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.cart-total strong { color: #dc2626; font-size: 24px; }
.link { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 0; }
.link:hover { color: #dc2626; text-decoration: underline; }

/* 结算与订单 */
.checkout-block, .order-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.checkout-block h2, .order-block h2 { font-size: 17px; margin-bottom: 12px; }
.coupon-options, .pay-channels { display: flex; flex-direction: column; gap: 10px; }
.coupon-option, .pay-channel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #f8fafc; cursor: pointer; }
.coupon-name { font-weight: 600; color: var(--ink); }
.coupon-rule { color: var(--muted); font-size: 13px; }
.pay-channel.disabled { opacity: .55; cursor: not-allowed; }
.pay-params { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pay-params dt { color: var(--muted); font-size: 13px; }
.pay-params dd { margin: 0; word-break: break-all; font-size: 13px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 14px; }
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px; overflow: hidden; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: #f8fafc; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-items { padding: 6px 18px; }
.order-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 110px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.order-item:last-child { border-bottom: 0; }
.order-item .cart-cover { width: 64px; height: 64px; }
.order-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.order-foot .amount { color: #dc2626; margin-left: 6px; font-size: 18px; }
.order-foot form { margin: 0; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 600; }
.status-cancelled { background: #f1f5f9; color: var(--muted); }
.status-completed { background: #ecfdf5; color: #047857; }
.status-pending { background: #fff7ed; color: #c2410c; }
.order-status-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.order-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.order-actions form { margin: 0; }
.order-summary p { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.order-summary .order-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 16px; }
.order-total strong { color: #dc2626; font-size: 22px; }
.order-coupons { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }

@media (max-width: 860px) {
    .shop-layout, .product-detail { grid-template-columns: 1fr; }
    .shop-side { position: static; }
    .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
    .cart-line .cart-cover { width: 64px; height: 64px; }
    .cart-line .cart-price, .cart-line .cart-qty, .cart-line .cart-subtotal, .cart-line .cart-remove { grid-column: 2; }
    .order-item { grid-template-columns: 56px minmax(0, 1fr); }
}


/* 栏目多条件筛选 */
.filter-bar{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.filter-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.filter-label{min-width:56px;font-size:13px;color:var(--muted)}
.filter-option{padding:4px 10px;border-radius:999px;font-size:13px;color:var(--text);background:var(--bg);border:1px solid var(--line)}
.filter-option.active{background:var(--blue);border-color:var(--blue);color:#fff}
.filter-reset{align-self:flex-end;font-size:13px;color:var(--blue)}
