/* =========================
   全局重置与基础样式
   日用办公主题 · 专业蓝/暖琥珀配色
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;          /* 主色：专业蓝 */
    --primary-dark: #1e40af;     /* 深蓝 */
    --primary-light: #dbeafe;    /* 浅蓝 */
    --primary-soft: #eff6ff;     /* 极浅蓝(标签底色) */
    --accent: #f59e0b;           /* 点缀：琥珀色 */
    --accent-soft: #fef3c7;
    --bg: #f8fafc;               /* 背景：极淡灰蓝 */
    --surface: #ffffff;
    --text: #1f2937;
    --text-soft: #4b5563;
    --text-mute: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
    --shadow-strong: 0 14px 40px rgba(37, 99, 235, 0.16);
}

html, body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   顶部品牌信息条
   ========================= */
.topbar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
    color: #fff;
    font-size: 13px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}

.topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}

.topbar__logo {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.topbar__divider { opacity: 0.6; }

.topbar__tagline {
    opacity: 0.9;
}

.topbar__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar__link {
    transition: opacity .2s ease;
}
.topbar__link:hover { opacity: 0.8; }
.topbar__sep { opacity: 0.5; }

/* =========================
   搜索区
   ========================= */
.searchbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.searchbar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.searchbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* LOGO 已移除：保留文字标识 */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-text__name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.brand-text__sub {
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 2px;
    margin-top: 2px;
}

.search {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 2px solid var(--primary-light);
    border-radius: 999px;
    padding: 4px 4px 4px 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search__icon {
    color: var(--primary);
    display: inline-flex;
    margin-right: 8px;
}

.search__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 8px;
    font-size: 14px;
    color: var(--text);
    outline: none;
}

.search__btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 9px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.search__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.searchbar__hot {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-mute);
    flex-shrink: 0;
}
.searchbar__hot a {
    color: var(--text-soft);
    transition: color .2s ease;
}
.searchbar__hot a:hover { color: var(--primary); }
.searchbar__mobile {
    margin-left: 4px;
    color: var(--primary) !important;
    font-weight: 600;
}

/* =========================
   主导航
   ========================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 56px;
}

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

.nav-main__item {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    transition: all .2s ease;
    position: relative;
}
.nav-main__item:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-main__item--active {
    color: var(--primary-dark);
    background: var(--primary-light);
    font-weight: 700;
}
.nav-main__item--active::after {
    content: '';
    position: absolute;
    left: 18px; right: 18px;
    bottom: -1px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.nav-cats__item {
    padding: 6px 14px;
    font-size: 14px;
    color: var(--text-soft);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s ease;
}
.nav-cats__item:hover {
    color: var(--primary);
    background: var(--bg);
}
.caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
}

/* =========================
   Hero 区域
   ========================= */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #fffbeb 100%);
    padding: 80px 0 90px;
}

.hero__bg {
    position: absolute; inset: 0;
    pointer-events: none;
}

.hero__halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}
.hero__halo--a {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
    top: -120px; left: -100px;
}
.hero__halo--b {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #fcd34d 0%, transparent 70%);
    bottom: -100px; right: -80px;
}
.hero__halo--c {
    width: 240px; height: 240px;
    background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
    top: 40%; left: 45%;
}

.hero__burst {
    position: absolute;
    right: -40px; top: 20%;
    width: 360px; height: 360px;
    opacity: 0.5;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.hero__title {
    font-size: 48px;
    line-height: 1.18;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
}
.hero__title-line {
    display: block;
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__title-line--italic {
    font-style: italic;
    font-weight: 600;
}

.hero__lede {
    font-size: 19px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero__desc {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
}
.btn--ghost {
    background: #fff;
    color: var(--primary-dark);
    border-color: var(--primary);
}
.btn--ghost:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
.btn--lg {
    padding: 14px 36px;
    font-size: 16px;
}

.hero__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.hero__chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-soft);
}
.hero__chips .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.hero__card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    padding: 30px 28px;
    box-shadow: var(--shadow-strong);
}

.hero__card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.hero__card h3 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 700;
}
.hero__card p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* =========================
   区块通用
   ========================= */
section {
    padding: 70px 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    max-width: 100%;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head--row > div { text-align: left; }

.section-head__kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.kicker--light {
    color: #fff;
    background: rgba(255,255,255,0.18);
}

.section-head__title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-head__sub {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================
   四大领域
   ========================= */
.domains {
    background: #fff;
}

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

.domain {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all .3s ease;
    overflow: hidden;
    color: inherit;
}
.domain::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.domain:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}
.domain:hover::before { transform: scaleX(1); }

.domain__no {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
}

.domain h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.domain p {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 14px;
    min-height: 70px;
}

.domain__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.domain__list li {
    font-size: 12px;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 999px;
}

.domain__more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s ease;
}
.domain:hover .domain__more { transform: translateX(4px); }

/* =========================
   信息大厅
   ========================= */
.hall {
    background: var(--bg);
}

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

.chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--text-soft);
    cursor: pointer;
    transition: all .2s ease;
}
.chip:hover {
    color: var(--primary);
    border-color: var(--primary-light);
}
.chip.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.hall__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 4px solid var(--primary);
}
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.info-card__tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.info-card__body {
    padding: 22px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.info-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 51px;
}
.info-card__excerpt {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.info-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 12px;
    color: var(--text-mute);
}

/* =========================
   行业资讯卡片 (重设计)
   ========================= */
.hall__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.news-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;
    box-shadow: 0 4px 18px rgba(30, 58, 138, 0.04);
}
/* 顶部彩色装饰条 */
.news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: height .3s ease;
    z-index: 2;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(30, 58, 138, 0.14);
    border-color: rgba(37, 99, 235, .35);
}
.news-card:hover::before { height: 6px; }
/* 背景大编号水印 */
.news-card__index {
    position: absolute;
    right: 14px; top: 38px;
    font-size: 90px;
    line-height: 1;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.06);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    pointer-events: none;
    z-index: 0;
    transition: color .35s ease, transform .35s ease;
}
.news-card:hover .news-card__index {
    color: rgba(37, 99, 235, 0.1);
    transform: translate(-2px, -2px);
}

/* 分类主题色 - 文具用品 */
.news-card--stationery::before { background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%); }
.news-card--stationery .news-card__cat { color: #1e40af; background: #eff6ff; }
.news-card--stationery .news-card__excerpt-quote { border-left-color: #2563eb; }
.news-card--stationery .news-card__index { color: rgba(37, 99, 235, 0.06); }
.news-card--stationery:hover { border-color: rgba(37, 99, 235, .35); }
/* 分类主题色 - 办公设备 */
.news-card--equipment::before { background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%); }
.news-card--equipment .news-card__cat { color: #b45309; background: #fffbeb; }
.news-card--equipment .news-card__excerpt-quote { border-left-color: #f59e0b; }
.news-card--equipment .news-card__index { color: rgba(245, 158, 11, 0.08); }
.news-card--equipment:hover { border-color: rgba(245, 158, 11, .35); }
/* 分类主题色 - 日用杂货 */
.news-card--sundries::before { background: linear-gradient(90deg, #0d9488 0%, #14b8a6 100%); }
.news-card--sundries .news-card__cat { color: #0f766e; background: #f0fdfa; }
.news-card--sundries .news-card__excerpt-quote { border-left-color: #14b8a6; }
.news-card--sundries .news-card__index { color: rgba(13, 148, 136, 0.08); }
.news-card--sundries:hover { border-color: rgba(13, 148, 136, .35); }
/* 分类主题色 - 数码耗材 */
.news-card--digital::before { background: linear-gradient(90deg, #e11d48 0%, #f43f5e 100%); }
.news-card--digital .news-card__cat { color: #be123c; background: #fff1f2; }
.news-card--digital .news-card__excerpt-quote { border-left-color: #f43f5e; }
.news-card--digital .news-card__index { color: rgba(225, 29, 72, 0.07); }
.news-card--digital:hover { border-color: rgba(225, 29, 72, .35); }

.news-card__body {
    padding: 24px 26px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}
.news-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.news-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: .5px;
}
.news-card__cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.news-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #b45309;
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
}
.news-card__badge::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .25);
}

.news-card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s ease;
    letter-spacing: .2px;
}
.news-card:hover .news-card__title { color: var(--primary-dark); }

.news-card__excerpt-quote {
    border-left: 3px solid var(--primary);
    padding: 4px 0 4px 12px;
    margin-bottom: 16px;
}
.news-card__excerpt {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: normal;
}

.news-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.news-card__tag {
    font-size: 11.5px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 600;
    transition: all .25s ease;
}
.news-card:hover .news-card__tag {
    background: #dbeafe;
}

.news-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    margin-top: auto;
}
.news-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text-mute);
}
.news-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.news-card__meta-item svg { color: var(--primary); opacity: .8; }
.news-card__meta-item em {
    font-style: normal;
    color: var(--text-soft);
    font-weight: 500;
}
.news-card__meta-divider {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--text-mute);
    opacity: .5;
}

.news-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}
.news-card__btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.news-card__btn svg { transition: transform .3s ease; }
.news-card__btn:hover svg { transform: translateX(2px); }

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

/* =========================
   服务方案
   ========================= */
.solutions {
    background: #fff;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.solution {
    background: linear-gradient(160deg, #fff 0%, #eff6ff 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.solution::after {
    content: '';
    position: absolute;
    right: -40px; bottom: -40px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.5;
    transition: transform .4s ease;
}
.solution:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}
.solution:hover::after { transform: scale(1.4); }

.solution__num {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.solution h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.solution p {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 18px;
    min-height: 48px;
    position: relative;
    z-index: 1;
}
.solution__price {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}
.solution__price small {
    font-size: 13px;
    color: var(--text-mute);
    font-weight: 500;
}

/* =========================
   顶部用户链接增强
   ========================= */
.topbar__user { font-weight: 600; color: #fff; }
.topbar__link--logout { color: rgba(255, 220, 220, 0.9); }
.topbar__link--logout:hover { color: #fecaca; }

/* =========================
   模态框
   ========================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(30, 58, 138, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s ease;
}
.modal.is-open {
    display: flex;
    opacity: 1;
}

.modal__panel {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(30, 58, 138, 0.28);
    transform: translateY(20px) scale(0.98);
    transition: transform .25s ease;
    position: relative;
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }

.modal__panel--sm { max-width: 420px; }
.modal__panel--lg { max-width: 760px; }

.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border: none;
    background: rgba(255,255,255,0.18);
    color: inherit;
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease, transform .2s ease;
}
.modal__close:hover { background: rgba(0,0,0,0.08); transform: rotate(90deg); }
.modal__header--user .modal__close,
.modal__header--login .modal__close,
.modal__header--register .modal__close {
    color: #fff;
}
.modal__header--user .modal__close:hover,
.modal__header--login .modal__close:hover,
.modal__header--register .modal__close:hover {
    background: rgba(255,255,255,0.25);
}

.modal__header {
    padding: 26px 28px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.modal__header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}
.modal__header p {
    font-size: 13.5px;
    color: var(--text-soft);
}
.modal__header--login,
.modal__header--register {
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, #1e3a8a 100%);
    color: #fff;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    padding: 30px 28px 26px;
}
.modal__header--login::before,
.modal__header--register::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.modal__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.modal__header--login h3,
.modal__header--register h3 { color: #fff; position: relative; z-index: 1; }
.modal__header--login p,
.modal__header--register p { color: rgba(255,255,255,0.9); position: relative; z-index: 1; max-width: 360px; }
.modal__header--user {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.modal__body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}
.modal__body--user { padding: 0; }

.modal__footer {
    padding: 14px 28px 22px;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-mute);
}
.modal__footer a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}
.modal__footer a:hover { text-decoration: underline; }
.modal__footer--right {
    text-align: right;
    padding: 16px 28px;
    border-top: 1px solid var(--border);
}

.btn--block {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* =========================
   表单元素
   ========================= */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    outline: none;
    font-family: inherit;
}
.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-group input::placeholder { color: #9ca3af; }

/* =========================
   输入框容器(带左侧图标 + 右侧眼睛)
   ========================= */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.input-wrap:hover { border-color: #cbd5e1; }
.input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.input-wrap__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px 0 12px;
    color: var(--text-soft);
    flex-shrink: 0;
}
.input-wrap input {
    flex: 1;
    min-width: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 11px 8px !important;
    box-shadow: none !important;
    font-size: 14.5px;
    color: var(--text);
    font-family: inherit;
    border-radius: 0 !important;
}
.input-wrap input::placeholder { color: #9ca3af; }
.input-wrap input:focus { box-shadow: none !important; }
.input-wrap__toggle {
    border: none;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    padding: 0 10px 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    transition: color .2s ease, background .2s ease;
}
.input-wrap__toggle:hover { color: var(--primary-dark); background: var(--primary-light); }
.input-wrap__toggle .eye-close { display: none; }
.input-wrap__toggle.is-shown .eye-open { display: none; }
.input-wrap__toggle.is-shown .eye-close { display: inline-block; }

/* =========================
   图形验证码
   ========================= */
.captcha {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.captcha__input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text);
    background: #fff;
    outline: none;
    font-family: 'SF Mono', 'Consolas', 'Roboto Mono', monospace;
    letter-spacing: 4px;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.captcha__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.captcha__input::placeholder {
    color: #9ca3af;
    letter-spacing: 0;
    font-family: inherit;
}
.captcha__box {
    position: relative;
    width: 140px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color .2s ease;
}
.captcha__box:hover { border-color: var(--primary); }
.captcha__canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.captcha__refresh {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: var(--primary-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .3s ease;
}
.captcha__refresh:hover {
    background: var(--primary);
    color: #fff;
}
.captcha__refresh.spinning svg {
    animation: captchaSpin .5s ease;
}
@keyframes captchaSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* 验证码测试答案(仅在 js/main.js 写入,可用于本地核对) */
.captcha-debug {
    margin: 8px 0 0;
    font-size: 12px;
    color: #1e40af;
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'SF Mono', 'Consolas', 'Roboto Mono', monospace;
    letter-spacing: 2px;
    user-select: all;
}

/* 自定义复选框 */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 22px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
}
.checkbox__box {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--primary);
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: all .15s ease;
}
.checkbox__box::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .15s ease;
}
.checkbox input[type="checkbox"]:checked ~ .checkbox__box {
    background: var(--primary);
    border-color: var(--primary);
}
.checkbox input[type="checkbox"]:checked ~ .checkbox__box::after {
    transform: rotate(45deg) scale(1);
}
.checkbox__text {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.6;
}
.checkbox__text a {
    color: var(--primary);
    font-weight: 600;
}
.checkbox__text a:hover { text-decoration: underline; }

/* =========================
   个人中心
   ========================= */
.user-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border);
}
.user-summary__avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}
.user-summary__info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.user-summary__info p {
    font-size: 12.5px;
    color: var(--text-mute);
    margin: 2px 0;
}
.user-summary__info p span {
    color: var(--text-soft);
    font-family: 'SF Mono', 'Consolas', monospace;
    letter-spacing: 0.5px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.tab-btn {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-mute);
    cursor: pointer;
    position: relative;
    transition: color .2s ease;
    font-family: inherit;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.is-active { color: var(--primary-dark); }
.tab-btn.is-active::after {
    content: '';
    position: absolute;
    left: 30%; right: 30%;
    bottom: 0;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.tab-content {
    display: none;
    padding: 24px 28px;
    min-height: 260px;
}
.tab-content.is-active { display: block; }

.table-empty {
    text-align: center;
    color: var(--text-mute);
    padding: 50px 0;
    font-size: 14px;
}
.table-empty a {
    color: var(--primary);
    font-weight: 600;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.orders-table thead th {
    background: var(--bg);
    color: var(--text-soft);
    font-weight: 600;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}
.orders-table tbody td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.orders-table tbody tr:hover { background: #fafafa; }
.orders-table tbody tr:last-child td { border-bottom: none; }
.orders-table .order-no {
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--text-mute);
    font-size: 12.5px;
}
.orders-table .order-amount {
    color: var(--primary-dark);
    font-weight: 700;
}
.orders-table .order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.orders-table .order-status--done,
.orders-table .order-status--paid {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.orders-table .order-status--progress {
    background: #fef3c7;
    color: #92400e;
}

.reading-item__badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #2563eb, #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    vertical-align: middle;
}

.readings-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.reading-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all .2s ease;
    cursor: pointer;
}
.reading-item:hover {
    border-color: var(--primary-light);
    background: var(--bg);
    transform: translateX(2px);
}
.reading-item__cover {
    width: 80px; height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-soft));
    background-size: cover;
    background-position: center;
}
.reading-item__body { flex: 1; min-width: 0; }
.reading-item__title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reading-item__meta {
    font-size: 12px;
    color: var(--text-mute);
    display: flex;
    align-items: center;
    gap: 8px;
}
.reading-item__cat {
    color: var(--primary);
    font-weight: 600;
}

/* =========================
   协议正文
   ========================= */
.agreement-body { max-height: 60vh; }

/* =========================
   付费二维码弹窗
   ========================= */
.modal__header--pay {
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, #1e3a8a 100%);
    color: #fff;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    padding: 28px 28px 24px;
}
.modal__header--pay::before {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.modal__header--pay .modal__eyebrow {
    position: relative; z-index: 1;
}
.modal__header--pay h3 { color: #fff; position: relative; z-index: 1; }
.modal__header--pay p { color: rgba(255,255,255,0.9); position: relative; z-index: 1; max-width: 480px; }

.payqr {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 4px 4px 0;
    align-items: start;
}
/* 左栏 */
.payqr__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    background: linear-gradient(180deg, #eff6ff 0%, #fffbeb 100%);
    border: 1px solid #dbeafe;
    border-radius: 16px;
}
.payqr__box {
    position: relative;
    width: 200px;
    height: 200px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
}
.payqr__code {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payqr__code svg { width: 100%; height: 100%; display: block; }
.payqr__code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}
.payqr__code-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payqr__brand {
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #f59e0b);
    color: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
    white-space: nowrap;
}
.payqr__brand-name { letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.payqr__brand-name::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
}
.payqr__brand-tip {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: .92;
}
.payqr__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--primary-dark);
    margin-top: 6px;
}
.payqr__price-cur { font-size: 18px; font-weight: 600; }
.payqr__price-num {
    font-size: 40px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -1px;
    line-height: 1;
}
.payqr__price-tag {
    font-size: 13px;
    color: var(--text-soft);
    margin-left: 4px;
}
.payqr__price-note {
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: .5px;
}

/* 右栏 */
.payqr__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.payqr__block {
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}
.payqr__block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.payqr__block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.payqr__block-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 0;
}
.payqr__block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.payqr__block-list li {
    position: relative;
    padding-left: 16px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.75;
    margin: 4px 0;
}
.payqr__block-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .7;
}
.payqr__block-list--sub li::before { background: var(--accent); opacity: .85; }

.payqr__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.payqr__steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.65;
}
.payqr__steps em {
    flex: 0 0 20px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.payqr__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
}
.payqr__contact-label {
    font-size: 12.5px;
    color: var(--text-mute);
    font-weight: 600;
}
.payqr__contact-value {
    font-size: 13.5px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.payqr__contact-value:hover { text-decoration: underline; }

.payqr__login-tip {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.65;
    margin: 0;
}
.payqr__login-tip a {
    color: #b45309;
    font-weight: 700;
    text-decoration: none;
}
.payqr__login-tip a:hover { text-decoration: underline; }
.payqr__login-tip.is-hidden { display: none; }

@media (max-width: 680px) {
    .payqr {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .payqr__left {
        padding: 18px 14px;
    }
    .payqr__box { width: 180px; height: 180px; padding: 12px; }
    .payqr__price-num { font-size: 34px; }
}

/* 通用底部按钮组(订单详情等弹窗复用) */
.payqr__cta {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}
.payqr__cta .btn { flex: 1; }
.agreement-content {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.85;
}
.agreement-content h4 {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}
.agreement-content h4:first-child { margin-top: 0; }
.agreement-content p {
    margin-bottom: 10px;
    text-indent: 2em;
}
.agreement-content p.agreement-date {
    text-align: right;
    color: var(--text-mute);
    margin-top: 24px;
    text-indent: 0;
    font-size: 12.5px;
}
.agreement-content ul,
.agreement-content ol {
    margin: 8px 0 14px;
    padding-left: 28px;
    text-indent: 0;
}
.agreement-content ul { list-style: disc; }
.agreement-content ol { list-style: decimal; }
.agreement-content li {
    margin: 4px 0;
    line-height: 1.8;
}
.agreement-content code {
    background: #eff6ff;
    color: #1e40af;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12.5px;
    font-family: 'SF Mono', 'Consolas', 'Roboto Mono', monospace;
}
.agreement-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
}
.agreement-content a:hover {
    color: var(--primary-dark);
    border-bottom-style: solid;
}

/* =========================
   页脚
   ========================= */
.footer {
    background: #1e3a8a;
    color: #cbd5e1;
    padding: 56px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 36px;
}

.footer__col--brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
    margin: 14px 0 10px;
    font-weight: 700;
}
.footer__col--brand p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.8;
}

.footer__col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.footer__col a {
    display: block;
    color: #94a3b8;
    font-size: 13.5px;
    margin-bottom: 10px;
    transition: color .2s ease, transform .2s ease;
}
.footer__col a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
}
.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 12.5px;
}
.footer__bottom-inner a { color: #94a3b8; }
.footer__bottom-inner a:hover { color: var(--primary); }
.footer__bottom-inner .sep { opacity: 0.4; }

/* =========================
   回到顶部
   ========================= */
.back-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 999;
}
.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.back-top:hover { transform: translateY(-3px); }

/* =========================
   响应式
   ========================= */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; }
    .domains__grid, .solutions__grid { grid-template-columns: repeat(2, 1fr); }
    .hall__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar__inner { flex-direction: column; height: auto; padding: 8px 0; gap: 6px; }
    .topbar__meta { display: none; }
    .searchbar__inner { flex-direction: column; gap: 14px; }
    .search { width: 100%; }
    .searchbar__hot { flex-wrap: wrap; justify-content: center; }
    .navbar__inner { flex-direction: column; height: auto; padding: 10px 0; gap: 8px; }
    .nav-main, .nav-cats { flex-wrap: wrap; justify-content: center; }
    .hero { padding: 50px 0 60px; }
    .hero__title { font-size: 32px; }
    .hero__cta { flex-direction: column; }
    .section-head__title { font-size: 24px; }
    .domains__grid, .solutions__grid, .hall__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; gap: 6px; }
    /* 模态框 & 个人中心 */
    .modal { padding: 10px; }
    .modal__header, .modal__body, .modal__footer { padding-left: 18px; padding-right: 18px; }
    .modal__panel--lg { max-width: 100%; }
    .user-summary { padding: 18px; gap: 12px; }
    .user-summary__avatar { width: 52px; height: 52px; font-size: 22px; }
    .orders-table { font-size: 12.5px; }
    .orders-table thead th, .orders-table tbody td { padding: 10px 8px; }
    .orders-table .order-no, .orders-table .order-time { display: none; }
    .captcha { flex-direction: column; align-items: stretch; }
    .captcha__box { width: 100%; }
}

/* ========== 付费记录 · 操作列 ========== */
.orders-table .col-action { width: 110px; text-align: center; }
.link-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.link-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* ========== 阅读记录 · 删除按钮 ========== */
.reading-item {
    position: relative;
    padding-right: 44px;
}
.reading-item__del {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.reading-item__del:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: translateY(-50%) scale(1.1);
}
@media (max-width: 480px) {
    .reading-item__del { right: 10px; }
    .orders-table .col-action { width: 86px; }
    .link-btn { padding: 3px 8px; font-size: 11.5px; }
}

/* ========== 订单详情弹窗 ========== */
.order-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 18px;
}
.order-detail__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13.5px;
    gap: 12px;
}
.order-detail__row:last-of-type { border-bottom: none; }
.order-detail__label {
    color: var(--text-mute);
    font-weight: 500;
    flex-shrink: 0;
}
.order-detail__val {
    color: var(--text);
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}
.order-detail__val--mono {
    font-family: 'SF Mono', Consolas, 'Roboto Mono', monospace;
    color: var(--primary);
    font-size: 12.5px;
}
.order-detail__val--price {
    color: #dc2626;
    font-size: 16px;
    font-weight: 800;
}
.order-detail__tip {
    margin-top: 4px;
    padding: 10px 14px 14px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.6;
    background: #eff6ff;
    border-radius: 0 0 12px 12px;
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -6px;
    border-top: 1px dashed #93c5fd;
}
