/* ==========================================================================
   创业宝盒 — 全站基础样式
   风格：干净、克制的商业排版；默认浅色，可切换深色
   ========================================================================== */

/* ---------- 1. 主题变量 ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --bg-mute: #f1f3f5;
    --surface: #ffffff;
    --line: #e9eaee;
    --line-2: #dbdee3;

    --text: #17191d;
    --text-2: #43474f;
    --muted: #757b87;
    --muted-2: #9ba1ab;

    --brand: #9c7016;
    --brand-hover: #7f5a10;
    --brand-bg: #fdf8ec;
    --brand-line: #eddcb8;

    --btn-bg: #1b1e23;
    --btn-fg: #ffffff;

    --danger: #c8423c;
    --success: #2c8a58;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-sm: 0 2px 8px -2px rgba(16, 24, 40, .09);
    --shadow: 0 12px 30px -16px rgba(16, 24, 40, .22);

    --r-xs: 4px;
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 12px;

    --wrap: 1180px;
    --header-h: 66px;
    --ease: cubic-bezier(.2, .6, .3, 1);

    /* 旧变量名兼容（脚本内联样式仍在使用） */
    --gold: var(--brand);
    --gold-2: var(--brand-hover);
    --gold-3: var(--brand-hover);
    --gold-soft: var(--brand-bg);
    --gold-line: var(--brand-line);
    --panel: var(--bg-soft);
    --panel-2: var(--bg-mute);
    --panel-3: var(--bg-mute);

    --font: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-num: "DIN Alternate", "Bahnschrift", var(--font);
}

[data-theme="dark"] {
    --bg: #16181c;
    --bg-soft: #1c1f24;
    --bg-mute: #23272d;
    --surface: #1c1f24;
    --line: #2b2f36;
    --line-2: #393e46;

    --text: #eceef0;
    --text-2: #c5c9d0;
    --muted: #969ba4;
    --muted-2: #7a808a;

    --brand: #d9b062;
    --brand-hover: #e8c883;
    --brand-bg: rgba(217, 176, 98, .12);
    --brand-line: rgba(217, 176, 98, .3);

    --btn-bg: #e6c887;
    --btn-fg: #1b1e23;

    --danger: #e5736d;
    --success: #57c48c;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 2px 10px -2px rgba(0, 0, 0, .5);
    --shadow: 0 14px 34px -18px rgba(0, 0, 0, .75);
}

/* 深色模式下轻微压低产品截图亮度，避免刺眼 */
[data-theme="dark"] .p-card__media img,
[data-theme="dark"] .mini-item img,
[data-theme="dark"] .case-card__img img,
[data-theme="dark"] .gallery__main img,
[data-theme="dark"] .thumbs button img,
[data-theme="dark"] .dd-shot img {
    filter: brightness(.9) contrast(.98);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 14px);
    background: var(--bg);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-2);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

body.is-locked {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    color: var(--text);
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s var(--ease);
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--brand-bg);
    color: var(--brand-hover);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 10px;
    border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted-2);
}

/* ---------- 3. 布局工具 ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 72px 0;
}

.section--tight {
    padding: 52px 0;
}

.section--soft {
    background: var(--bg-soft);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head--left {
    text-align: left;
    margin-left: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(23px, 2.7vw, 32px);
    font-weight: 700;
    letter-spacing: -.2px;
}

.section-desc {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

.gold {
    color: var(--brand);
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 13px;
}

.num {
    font-family: var(--font-num);
    font-variant-numeric: tabular-nums;
}

.between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: grid;
    gap: 20px;
}

.hide {
    display: none !important;
}

@media (max-width: 760px) {
    .hide-sm {
        display: none !important;
    }
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 22px 0;
}

/* ---------- 4. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color .18s var(--ease), border-color .18s var(--ease),
        color .18s var(--ease), opacity .18s var(--ease);
}

.btn svg {
    width: 17px;
    height: 17px;
}

.btn--primary {
    background: var(--btn-bg);
    color: var(--btn-fg);
}

.btn--primary:hover {
    opacity: .86;
}

.btn--secondary {
    background: var(--bg);
    border-color: var(--line-2);
    color: var(--text);
}

.btn--secondary:hover {
    border-color: var(--text);
}

.btn--outline {
    border-color: var(--brand-line);
    color: var(--brand);
    background: var(--brand-bg);
}

.btn--outline:hover {
    border-color: var(--brand);
}

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

.btn--sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13.5px;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: .45;
    pointer-events: none;
}

.btn.is-on {
    color: var(--danger);
    border-color: currentColor;
    background: transparent;
}

text.btn,
a.btn {
    text-align: center;
}

/* ---------- 5. 顶栏 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__mark {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 16px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .2px;
}

.logo__sub {
    font-size: 11px;
    color: var(--muted-2);
    letter-spacing: .5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav a {
    padding: 7px 13px;
    border-radius: var(--r-xs);
    font-size: 14.5px;
    color: var(--text-2);
}

.nav a:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.nav a.is-active {
    color: var(--brand);
    background: var(--brand-bg);
    font-weight: 500;
}

.header__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 主题切换 */
.theme-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text-2);
    display: grid;
    place-items: center;
    transition: border-color .18s var(--ease), color .18s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--line-2);
    color: var(--text);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle > span {
    grid-area: 1 / 1;
    display: flex;
}

.theme-toggle__moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

[data-theme="dark"] .theme-toggle__moon {
    display: block;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text-2);
}

.icon-btn:hover {
    color: var(--text);
    border-color: var(--line-2);
}

.icon-btn svg {
    width: 19px;
    height: 19px;
}

.burger {
    display: none;
}

/* 移动端抽屉 */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 950;
    pointer-events: none;
}

.drawer__mask {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 22, .38);
    opacity: 0;
    transition: opacity .24s var(--ease);
}

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 18px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .26s var(--ease);
    overflow-y: auto;
}

.drawer.is-open {
    pointer-events: auto;
}

.drawer.is-open .drawer__mask {
    opacity: 1;
}

.drawer.is-open .drawer__panel {
    transform: none;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.drawer a.drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--text-2);
}

.drawer a.drawer__link:hover,
.drawer a.drawer__link.is-active {
    background: var(--bg-soft);
    color: var(--brand);
}

.drawer__link svg {
    width: 15px;
    height: 15px;
    opacity: .45;
}

.drawer__foot {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
}

/* ---------- 6. 首页主视觉 ---------- */
.hero {
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 48px;
    align-items: center;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

.hero__tag b {
    color: var(--brand);
    font-weight: 600;
}

.hero__title {
    margin: 18px 0 0;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.6px;
}

.hero__sub {
    margin-top: 16px;
    max-width: 520px;
    font-size: 16px;
    color: var(--muted);
}

.hero__search {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    max-width: 480px;
    padding: 6px;
    border-radius: var(--r);
    border: 1px solid var(--line-2);
    background: var(--bg);
}

.hero__search:focus-within {
    border-color: var(--brand-line);
}

.hero__search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 14.5px;
}

.hero__search input::placeholder {
    color: var(--muted-2);
}

.hero__quick {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-2);
}

.hero__quick a {
    color: var(--text-2);
    text-decoration: underline;
    text-decoration-color: var(--line-2);
    text-underline-offset: 3px;
}

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

.hero__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__stats {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat__num {
    font-family: var(--font-num);
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.stat__num span {
    font-size: 14px;
    color: var(--muted);
    margin-left: 1px;
    font-weight: 500;
}

.stat__label {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

/* 主视觉右侧 */
.hero__preview {
    display: grid;
    gap: 14px;
    align-content: start;
}

.hero__preview-label {
    font-size: 12.5px;
    color: var(--muted-2);
    letter-spacing: .4px;
}

.hero__points {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.hero__points li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13.6px;
    color: var(--text-2);
}

.hero__points li > [data-icon] {
    display: flex;
    flex-shrink: 0;
    margin-top: 4px;
}

.hero__points svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
    flex-shrink: 0;
}

/* 主视觉右侧：紧凑热销列表 */
.hero__list {
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg);
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.mini-item:last-child {
    border-bottom: 0;
}

.mini-item:hover {
    background: var(--bg-soft);
}

.mini-item img {
    width: 62px;
    height: 42px;
    border-radius: var(--r-xs);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.mini-item__text {
    flex: 1;
    min-width: 0;
}

.mini-item__name {
    display: block;
    font-size: 14.5px;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-item__meta {
    display: block;
    font-size: 12.5px;
    color: var(--muted-2);
    margin-top: 2px;
}

.mini-item__price {
    font-family: var(--font-num);
    font-size: 15px;
    color: var(--brand);
    font-weight: 600;
    white-space: nowrap;
}

/* 信任条 */
.trust {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.trust__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 22px;
}

.trust__item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.6px;
    color: var(--text-2);
}

.trust__item svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
    flex-shrink: 0;
}

/* ---------- 7. 分类卡片 ---------- */
.cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}

.cat-card {
    display: block;
    padding: 20px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
    transition: border-color .18s var(--ease);
}

.cat-card:hover {
    border-color: var(--line-2);
}

.cat-card__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--brand);
    margin-bottom: 14px;
}

.cat-card__icon svg {
    width: 20px;
    height: 20px;
}

.cat-card__name {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text);
}

.cat-card__desc {
    margin-top: 5px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.cat-card__count {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--muted-2);
}

/* ---------- 8. 商品卡片 ----------
   .product-grid          图片在上、内容在下（首页热销 / 推荐 / 404）
   .product-grid--list    图片在左、内容在右（源码市场列表，每行两条） */
.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
    overflow: hidden;
    transition: border-color .18s var(--ease);
}

.p-card:hover {
    border-color: var(--line-2);
}

.p-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-mute);
    border-bottom: 1px solid var(--line);
}

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

.p-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: var(--r-xs);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--btn-fg);
    background: var(--btn-bg);
}

.p-card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--muted-2);
    z-index: 2;
}

.p-card__fav svg {
    width: 14px;
    height: 14px;
}

.p-card__fav:hover,
.p-card__fav.is-on {
    color: var(--danger);
    border-color: currentColor;
}

.p-card__body {
    padding: 16px 17px 17px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.p-card__cat {
    font-size: 12px;
    color: var(--muted-2);
    margin-bottom: 5px;
}

.p-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.p-card__title a:hover {
    color: var(--brand);
}

.p-card__desc {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.p-card__tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: var(--r-xs);
    font-size: 12px;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.tag svg {
    width: 12px;
    height: 12px;
}

.tag--gold {
    color: var(--brand);
    background: var(--brand-bg);
    border-color: var(--brand-line);
}

.tag--gold:hover {
    border-color: var(--brand);
}

.p-card__meta {
    margin-top: 11px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: var(--muted-2);
}

.p-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.p-card__meta svg {
    width: 13px;
    height: 13px;
}

.p-card__foot {
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price__cur {
    font-size: 13px;
    color: var(--brand);
    font-weight: 600;
}

.price__now {
    font-family: var(--font-num);
    font-size: 21px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -.3px;
    line-height: 1.2;
}

.price__unit {
    font-size: 12.5px;
    color: var(--muted-2);
    margin-left: 3px;
}

.price__old {
    font-size: 12.5px;
    color: var(--muted-2);
    text-decoration: line-through;
    margin-left: 6px;
}

/* 列表页：每行两条，图片在上、内容在下 */
.product-grid--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-grid--list .p-card__body {
    padding: 17px 19px 18px;
}

.product-grid--list .p-card__title {
    font-size: 17px;
}

.product-grid--list .p-card__desc {
    min-height: 0;
    -webkit-line-clamp: 2;
}

/* ---------- 8.5 左右分栏（服务内容） ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.split__list {
    display: grid;
    gap: 20px;
    margin-top: 26px;
}

.split__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.split__item > .cat-card__icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
}

.split__item b {
    display: block;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
}

.split__item p {
    margin-top: 5px;
    font-size: 13.4px;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- 9. 流程步骤 ---------- */.steps {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg);
}

.step {
    padding: 24px 22px;
    border-right: 1px solid var(--line);
}

.step:last-child {
    border-right: 0;
}

.step__no {
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 1px;
}

.step__title {
    margin-top: 10px;
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}

.step__desc {
    margin-top: 8px;
    font-size: 13.4px;
    color: var(--muted);
    line-height: 1.7;
}

.step__line {
    display: none;
}

/* ---------- 10. 特性 ---------- */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}

.feature {
    display: flex;
    gap: 14px;
    padding: 22px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
    transition: border-color .2s var(--ease);
}

a.feature:hover {
    border-color: var(--line-2);
}

.feature__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--brand);
}

.feature__icon svg {
    width: 20px;
    height: 20px;
}

.feature__title {
    font-size: 15.5px;
    color: var(--text);
    font-weight: 600;
}

.feature__desc {
    margin-top: 6px;
    font-size: 13.4px;
    color: var(--muted);
    line-height: 1.7;
}

/* 服务条目（编号列表） */
.svc-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.svc-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.svc-item__no {
    font-family: var(--font-num);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 1px;
    padding-top: 3px;
}

.svc-item__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.svc-item__desc {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}

.svc-item__points {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px 20px;
}

.svc-item__points li {
    display: flex;
    gap: 8px;
    font-size: 13.4px;
    color: var(--text-2);
}

.svc-item__points svg {
    width: 15px;
    height: 15px;
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 5px;
}

/* ---------- 11. 合作方式（无价格） ---------- */
.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
}

.plan--hot {
    border-color: var(--brand-line);
    background: var(--brand-bg);
}

.plan__flag {
    align-self: flex-start;
    padding: 2px 9px;
    border-radius: var(--r-xs);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan__name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.plan__note {
    margin-top: 6px;
    font-size: 13.4px;
    color: var(--muted);
}

.plan__list {
    margin: 18px 0 22px;
    display: grid;
    gap: 10px;
}

.plan__list li {
    display: flex;
    gap: 9px;
    font-size: 13.6px;
    color: var(--text-2);
    line-height: 1.6;
}

.plan__list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--brand);
}

.plan .btn {
    margin-top: auto;
}

/* ---------- 12. 评价 ---------- */
.review-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.review {
    padding: 22px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
}

.review__stars {
    display: flex;
    gap: 2px;
    color: var(--brand);
    margin-bottom: 12px;
}

.review__stars svg {
    width: 14px;
    height: 14px;
}

.review__text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.8;
}

.review__user {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 11px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--btn-fg);
    background: var(--btn-bg);
    flex-shrink: 0;
}

.review__name {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.review__role {
    display: block;
    font-size: 12.5px;
    color: var(--muted-2);
}

/* ---------- 13. CTA ---------- */
.cta {
    padding: 46px 40px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--bg-soft);
    text-align: center;
}

.cta h2 {
    font-size: clamp(22px, 2.6vw, 30px);
}

.cta p {
    margin: 12px auto 26px;
    max-width: 520px;
    color: var(--muted);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ---------- 14. 页脚 ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 48px 0 22px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 34px;
}

.footer__about p {
    margin-top: 14px;
    font-size: 13.4px;
    color: var(--muted);
    max-width: 340px;
}

.footer__contact {
    margin-top: 16px;
    display: grid;
    gap: 9px;
}

.footer__contact div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.6px;
    color: var(--text-2);
}

.footer__contact svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    flex-shrink: 0;
}

.footer h4 {
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 600;
}

.footer__links {
    display: grid;
    gap: 10px;
}

.footer__links a {
    font-size: 13.5px;
    color: var(--muted);
}

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

.footer__bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 12.8px;
    color: var(--muted-2);
}

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

/* ---------- 15. 移动端底部四按钮 ---------- */
.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.tabbar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 7px 2px 5px;
    border-radius: var(--r-sm);
    font-size: 11.5px;
    color: var(--muted);
}

.tabbar__item svg {
    width: 21px;
    height: 21px;
}

.tabbar__item.is-active {
    color: var(--brand);
}

.tabbar__item--cta {
    color: var(--btn-fg);
    background: var(--btn-bg);
}

.tabbar__item--cta.is-active {
    color: var(--btn-fg);
}

.tabbar__dot {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 4px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    font-family: var(--font-num);
}

/* 悬浮工具 */
.float-cs {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 910;
    display: grid;
    gap: 8px;
}

.float-cs button,
.float-cs a {
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line-2);
    color: var(--text-2);
    box-shadow: var(--shadow-sm);
    transition: border-color .18s var(--ease), color .18s var(--ease);
}

.float-cs svg {
    width: 19px;
    height: 19px;
}

.float-cs button:hover,
.float-cs a:hover {
    color: var(--brand);
    border-color: var(--brand-line);
}

.float-cs [data-top] svg {
    transform: rotate(180deg);
}

/* ---------- 16. 面包屑 ---------- */
.crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--muted-2);
    flex-wrap: wrap;
}

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

.crumb svg {
    width: 12px;
    height: 12px;
}

.crumb b {
    color: var(--text-2);
    font-weight: 500;
}

/* ---------- 17. 子页头部 ---------- */
.page-hero {
    padding: 46px 0 40px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.page-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
}

.page-hero p {
    max-width: 640px;
    color: var(--muted);
}

/* ---------- 18. 表单 ---------- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13.4px;
    color: var(--text-2);
}

.field label i {
    color: var(--danger);
    font-style: normal;
    margin-left: 2px;
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    transition: border-color .18s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
    color: var(--muted-2);
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--brand);
}

.textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.7;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ba1ab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
    padding-right: 36px;
}

.field__err {
    font-size: 12.2px;
    color: var(--danger);
    display: none;
}

.field.is-error .input,
.field.is-error .select,
.field.is-error .textarea {
    border-color: var(--danger);
}

.field.is-error .field__err {
    display: block;
}

.check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13.2px;
    color: var(--muted);
    cursor: pointer;
}

.check input {
    width: 15px;
    height: 15px;
    margin-top: 4px;
    accent-color: var(--brand);
    flex-shrink: 0;
}

/* ---------- 19. 面板 / 通用 ---------- */
.panel {
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg);
    padding: 24px;
}

.panel--soft {
    background: var(--bg-soft);
}

.notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--brand-line);
    background: var(--brand-bg);
    font-size: 13.2px;
    color: var(--text-2);
}

.notice svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 4px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--bg);
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: border-color .18s var(--ease), color .18s var(--ease);
}

.chip:hover {
    border-color: var(--muted-2);
}

.chip.is-on {
    background: var(--brand-bg);
    border-color: var(--brand-line);
    color: var(--brand);
    font-weight: 500;
}

.chip svg {
    width: 15px;
    height: 15px;
}

.check-list {
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    gap: 9px;
    font-size: 14px;
    color: var(--text-2);
}

.check-list svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 5px;
}

.check-list > li > [data-icon] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.check-list > li > [data-icon] svg {
    margin-top: 0;
}

/* 统计条 */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}

.stat-strip > div {
    padding: 22px 18px;
    background: var(--bg);
    border-right: 1px solid var(--line);
    text-align: center;
}

.stat-strip > div:last-child {
    border-right: 0;
}

.stat-strip b {
    display: block;
    font-family: var(--font-num);
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--text);
    font-weight: 700;
}

.stat-strip span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: var(--muted);
}

/* 案例卡 */
.case-card {
    border-radius: var(--r);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg);
}

.case-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-mute);
    border-bottom: 1px solid var(--line);
}

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

.case-card__body {
    padding: 18px 20px 20px;
}

.case-card__title {
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}

.case-card__desc {
    margin-top: 7px;
    font-size: 13.4px;
    color: var(--muted);
}

.case-card__meta {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 12.5px;
    color: var(--muted-2);
}

.case-card__meta b {
    color: var(--text-2);
    font-weight: 500;
}

/* ---------- 20. 空状态 / Toast / 弹层 ---------- */
.empty {
    padding: 56px 20px;
    text-align: center;
    color: var(--muted);
}

.empty svg {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: var(--muted-2);
}

.toast-wrap {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    display: grid;
    gap: 8px;
    pointer-events: none;
    width: max-content;
    max-width: 90vw;
}

.toast {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 14px;
    color: var(--text);
}

.toast svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.toast--ok svg {
    color: var(--success);
}

.toast--err svg {
    color: var(--danger);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
}

.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 22, .42);
}

.modal__box {
    position: relative;
    width: min(540px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 24px;
}

.modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.modal__title {
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
}

.modal__sub {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.modal__close {
    width: 32px;
    height: 32px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--muted);
    flex-shrink: 0;
}

.modal__close:hover {
    color: var(--text);
    border-color: var(--line-2);
}

.modal__close svg {
    width: 16px;
    height: 16px;
}

/* 订单摘要 */
.order-summary {
    padding: 15px;
    border-radius: var(--r-sm);
    background: var(--bg-soft);
    display: grid;
    gap: 8px;
    font-size: 13.2px;
}

.order-summary div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.order-summary span {
    color: var(--muted);
}

.order-summary b {
    color: var(--text);
    font-weight: 500;
    text-align: right;
}

.order-summary .total {
    padding-top: 9px;
    border-top: 1px solid var(--line-2);
    align-items: baseline;
}

.order-summary .total b {
    color: var(--brand);
    font-family: var(--font-num);
    font-size: 22px;
    font-weight: 700;
}

/* ---------- 21. FAQ ---------- */
.faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 2px;
    text-align: left;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

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

.faq-q i {
    font-style: normal;
    font-size: 13px;
    font-family: var(--font-num);
    color: var(--muted-2);
    flex-shrink: 0;
    min-width: 18px;
}

.faq-q svg {
    width: 17px;
    height: 17px;
    margin-left: auto;
    color: var(--muted-2);
    flex-shrink: 0;
    transition: transform .2s var(--ease);
}

.faq-q > [data-icon] {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: var(--muted-2);
    flex-shrink: 0;
    transition: transform .2s var(--ease);
}

.faq-q > [data-icon] svg {
    margin-left: 0;
}

.faq-item.is-open .faq-q {
    color: var(--brand);
}

.faq-item.is-open .faq-q svg,
.faq-item.is-open .faq-q > [data-icon] {
    transform: rotate(180deg);
    color: var(--brand);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .26s var(--ease);
}

.faq-a__in {
    padding: 0 2px 18px 32px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
}

.faq-a__in b {
    color: var(--text-2);
    font-weight: 600;
}

/* ---------- 22. 动效 ----------
   刻意不使用滚动淡入、位移等入场动画，保持页面静态稳定 */

.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1024px) {
    .header__inner {
        gap: 16px;
    }

    .nav a {
        padding: 7px 10px;
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .product-grid--list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-strip > div:nth-child(2) {
        border-right: 0;
    }

    .stat-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

/* 导航收进抽屉 */
@media (max-width: 880px) {
    .nav {
        display: none;
    }

    .burger {
        display: grid;
    }

    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
    }

    .tabbar {
        display: grid;
    }

    .float-cs {
        right: 14px;
        bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .float-cs button,
    .float-cs a {
        width: 38px;
        height: 38px;
    }

    .section {
        padding: 52px 0;
    }

    .section--tight {
        padding: 40px 0;
    }

    .hero {
        padding: 44px 0 42px;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-top: 30px;
    }

    .cta {
        padding: 34px 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 20px;
    }

    .svc-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 22px 0;
    }
}

@media (max-width: 720px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .step:last-child {
        border-bottom: 0;
    }

    /* 窄屏：热销卡片两列，列表页一行一条 */
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-grid--list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding: 0 16px;
    }

    .logo__sub {
        display: none;
    }

    .hero__sub {
        font-size: 15px;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
    }

    .p-card__body {
        padding: 14px 14px 15px;
    }

    .p-card__title {
        font-size: 15px;
    }

    .p-card__desc {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
    }

    .p-card__tags .tag:nth-child(n+3) {
        display: none;
    }

    .p-card__meta {
        gap: 5px 12px;
        font-size: 12px;
    }

    .p-card__meta span:nth-child(3) {
        display: none;
    }

    .price__now {
        font-size: 19px;
    }

    .p-card__foot .btn {
        padding: 0 12px;
        height: 34px;
        font-size: 13px;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .cat-card {
        padding: 16px;
    }

    .modal__box {
        padding: 20px 16px;
    }

    .trust__track {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero__search {
        flex-direction: column;
        padding: 10px;
    }

    .hero__search .btn {
        width: 100%;
    }
}
