/* ====================================================
   400电话销售系统 - 前端样式 (现代优化版)
   ==================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 品牌色系 */
    --primary: #e1251b;
    --primary-600: #c8161d;
    --primary-700: #a01116;
    --primary-50: #fff5f4;
    --primary-100: #ffe8e6;
    --gold: #f5a623;
    --gold-soft: #fff7e9;

    /* 中性色 */
    --text: #1f2329;
    --text-2: #4e5969;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #eceef1;
    --border-strong: #dfe3e8;
    --bg: #f4f6f8;
    --white: #fff;

    /* 功能色 */
    --success: #00b42a;
    --success-bg: #e8ffea;
    --warning: #ff7d00;
    --warning-bg: #fff3e8;
    --info: #165dff;
    --info-bg: #e8f3ff;
    --danger: #f53f3f;

    /* 设计令牌 */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-1: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-2: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-3: 0 12px 32px rgba(225,37,27,0.12);
    --shadow-hover: 0 18px 44px rgba(17,24,39,0.14);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-700); }
img { max-width: 100%; display: block; }

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

/* ===== Header (吸顶毛玻璃) ===== */
.site-header {
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .5px;
    padding: 7px 11px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(225,37,27,0.35);
}
.logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; gap: 1px; }
.logo-brand { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: .5px; }
.logo-brand .tm { font-size: 11px; font-weight: 600; color: var(--primary); margin-left: 1px; position: relative; top: -1px; }
.logo-desc { font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: .5px; }

.main-nav { display: flex; gap: 6px; }
.main-nav a {
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all .2s;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-50); }
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-50);
    font-weight: 600;
}

.header-right { display: flex; gap: 10px; align-items: center; }
.header-right a {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.btn-login { color: var(--text-2); }
.btn-login:hover { color: var(--primary); background: var(--primary-50); }
.btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(225,37,27,0.3);
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(225,37,27,0.4); }
.btn-cart { color: var(--text-2); }
.btn-cart:hover { color: var(--primary); background: var(--primary-50); }
.btn-user { color: var(--primary); font-weight: 600; }
.btn-logout { color: var(--text-muted); }
.btn-logout:hover { color: var(--danger); }

/* ===== Main Content ===== */
.main-content { padding: 28px 0 48px; min-height: 60vh; }

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    background:
        radial-gradient(900px 400px at 12% -20%, rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(700px 380px at 92% 120%, rgba(255,180,160,0.22), transparent 55%),
        linear-gradient(135deg, #e1251b 0%, #ff5a4d 48%, #ff7a45 100%);
    color: #fff;
    text-align: center;
    padding: 66px 20px 58px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(225,37,27,0.28);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.hero p {
    font-size: 16px;
    opacity: 0.94;
    margin-bottom: 28px;
    font-weight: 400;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
    padding: 6px;
}
.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    outline: none;
    color: var(--text);
    background: transparent;
}
.hero-search button {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border: none;
    padding: 0 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.hero-search button:hover { filter: brightness(1.05); transform: scale(1.02); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 34px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-size: 32px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.hero-stat .label { font-size: 13px; opacity: 0.9; margin-top: 4px; }

/* ===== Section Title ===== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.section-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-left: 15px;
}
.section-title h2::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 22px;
    background: linear-gradient(180deg, var(--primary) 0%, #ff7a45 100%);
    border-radius: 3px;
}
.section-title a { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.section-title a:hover { color: var(--primary); }

/* ===== Filter Bar (分类胶囊) ===== */
.filter-bar {
    background: #fff;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { color: var(--text-light); font-size: 13px; white-space: nowrap; font-weight: 500; }
.filter-group select, .filter-group input {
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.filter-group select:focus, .filter-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}
.filter-group .btn-search {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}
.filter-group .btn-search:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* 兼容首页分类标签（独立 pill 形式） */
.filter-bar .level-tab,
.level-tab {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    white-space: nowrap;
}
.filter-bar .level-tab:hover,
.level-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}
.filter-bar .level-tab.active,
.level-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(225,37,27,0.3);
}

/* ===== Level Tabs (列表页，药丸形式) ===== */
.level-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.level-tabs a {
    padding: 9px 22px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    box-shadow: var(--shadow-1);
}
.level-tabs a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.level-tabs a.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(225,37,27,0.32);
}

/* ===== Number Grid ===== */
.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.number-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    box-shadow: var(--shadow-1);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.number-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff7a45 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.number-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
    border-color: transparent;
}
.number-card:hover::before { transform: scaleX(1); }
.number-card .featured-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, #ffce6b 100%);
    color: #6b3b00;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(245,166,35,0.4);
}
.number-card .number {
    font-size: 27px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    font-variant-numeric: tabular-nums;
    transition: color .2s;
}
.number-card:hover .number { color: var(--primary); }
.number-card .desc {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 16px;
    min-height: 20px;
    line-height: 1.5;
}
.number-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.number-card .level-tag {
    background: var(--primary-50);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.number-card .operator { font-size: 12px; color: var(--text-muted); }
.number-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    border-top: 1px dashed var(--border-strong);
}
.number-card .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}
.number-card .price::before { content: '¥'; font-size: 15px; font-weight: 600; margin-right: 1px; }
.number-card .monthly { font-size: 12px; color: var(--text-muted); }

/* ===== Detail Page ===== */
.detail-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-2);
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}
.detail-number {
    font-size: 46px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}
.detail-desc { font-size: 16px; color: var(--text-2); margin-bottom: 26px; line-height: 1.7; }
.detail-info { display: flex; flex-direction: column; gap: 2px; }
.detail-info .info-row {
    display: flex;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.detail-info .info-row .label {
    width: 96px;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}
.detail-info .info-row .value { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }

/* 右侧购买卡 */
.detail-buy {
    background: linear-gradient(180deg, var(--primary-50) 0%, #fff 60%);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 92px;
}
.detail-buy .big-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.detail-buy .big-price::before { content: '¥'; font-size: 20px; font-weight: 700; margin-right: 2px; }
.detail-buy .price-note { font-size: 13px; color: var(--text-light); margin-bottom: 22px; }
.detail-buy .btn-buy {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all .2s;
    box-shadow: 0 8px 20px rgba(225,37,27,0.32);
}
.detail-buy .btn-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(225,37,27,0.42); }
.detail-buy .btn-contact {
    display: block;
    width: 100%;
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 13px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.detail-buy .btn-contact:hover { background: var(--primary-50); }
.detail-buy .service-tags {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    font-size: 13px;
    color: var(--text-2);
}
.detail-buy .service-tags li { list-style: none; display: flex; align-items: center; gap: 8px; }
.detail-buy .service-tags li::before {
    content: '✓';
    color: #fff;
    background: var(--success);
    width: 16px; height: 16px;
    border-radius: 50%;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination a {
    padding: 9px 16px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.pagination a.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(225,37,27,0.3);
}

/* ===== Auth Pages ===== */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 56px 20px;
}
.auth-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-2);
    width: 420px;
    max-width: 100%;
    border: 1px solid var(--border);
}
.auth-box h2 { text-align: center; margin-bottom: 30px; color: var(--text); font-size: 22px; font-weight: 700; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}
.form-group .error-msg { color: var(--danger); font-size: 12px; margin-top: 5px; }
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 8px 20px rgba(225,37,27,0.3);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(225,37,27,0.4); }
.auth-box .switch-link { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-muted); }

/* ===== Cart Page ===== */
.cart-box { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-2); border: 1px solid var(--border); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 14px; border-bottom: 2px solid var(--border); color: var(--text-light); font-size: 13px; font-weight: 600; }
.cart-table td { padding: 16px 14px; border-bottom: 1px solid var(--border); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table .cart-number { font-size: 18px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.cart-table .cart-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.cart-table .btn-remove { color: var(--danger); cursor: pointer; background: none; border: none; font-size: 13px; padding: 4px 8px; border-radius: 6px; transition: all .2s; }
.cart-table .btn-remove:hover { background: var(--warning-bg); }
.cart-summary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 2px solid var(--border);
}
.cart-summary .total { font-size: 26px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.cart-summary .total::before { content: '¥'; font-size: 16px; margin-right: 1px; }
.cart-summary .btn-checkout {
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    border: none;
    padding: 13px 42px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(225,37,27,0.3);
    transition: all .2s;
}
.cart-summary .btn-checkout:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(225,37,27,0.4); }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--text-muted); }
.cart-empty .icon { font-size: 52px; margin-bottom: 16px; }

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #1d2129 0%, #16181d 100%);
    color: #b4b8c0;
    padding: 48px 0 24px;
    margin-top: 48px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 34px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; position: relative; padding-left: 12px; }
.footer-col h4::before { content: ''; position: absolute; left: 0; top: 4px; width: 3px; height: 16px; background: var(--primary); border-radius: 2px; }
.footer-col p { margin-bottom: 10px; font-size: 13px; color: #8b9099; line-height: 1.7; }
.footer-col a { color: #8b9099; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: #6b7280;
}
.footer-bottom p { margin-bottom: 6px; }

/* ===== Articles (GEO content) ===== */
.article-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.article-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-1);
    border: 1px solid var(--border);
    transition: all .25s;
}
.article-item:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--primary-100); }
.article-item h3 { font-size: 18px; margin-bottom: 9px; font-weight: 600; }
.article-item h3 a { color: var(--text); }
.article-item h3 a:hover { color: var(--primary); }
.article-item .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 9px; display: flex; gap: 14px; }
.article-item .excerpt { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.article-detail { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-2); border: 1px solid var(--border); }
.article-detail h1 { font-size: 28px; margin-bottom: 14px; font-weight: 800; line-height: 1.4; }
.article-detail .article-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--border); display: flex; gap: 16px; }
.article-detail .article-body { font-size: 16px; line-height: 1.85; color: var(--text); }
.article-detail .article-body h2 { font-size: 22px; margin: 28px 0 14px; font-weight: 700; }
.article-detail .article-body p { margin-bottom: 16px; }
.article-detail .article-body ul, .article-detail .article-body ol { margin: 16px 0 16px 24px; }
.article-detail .article-body li { margin-bottom: 9px; }

/* ===== Alert ===== */
.alert { padding: 13px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #b3f0bd; }
.alert-error { background: var(--warning-bg); color: var(--danger); border-color: #ffc9c9; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #bfd8ff; }
.alert-warning { background: var(--gold-soft); color: var(--warning); border-color: #ffe0a8; }

/* ===== Float QR Code (右侧悬浮办理入口) ===== */
.float-qrcode {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 999;
    width: 156px;
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 12px 12px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
    border: 1px solid var(--border-strong);
    text-align: center;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}
.float-qrcode__close {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
.float-qrcode__close:hover { color: var(--danger); background: var(--warning-bg); }
.float-qrcode__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.float-qrcode__img {
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.float-qrcode__tip {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.55;
}
.float-qrcode-mini {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(225,37,27,0.36);
    transition: transform .2s, box-shadow .2s;
}
.float-qrcode-mini:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(225,37,27,0.45); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .float-qrcode { right: 12px; bottom: 76px; width: 132px; padding: 12px 10px 10px; }
    .float-qrcode__img { width: 100px; height: 100px; }
    .float-qrcode__title { font-size: 13px; }
    .float-qrcode__tip { font-size: 11px; }
    .float-qrcode-mini { right: 12px; bottom: 76px; }

    .header-inner { flex-direction: column; gap: 10px; height: auto; padding: 12px 0; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 4px; }
    .number-grid { grid-template-columns: 1fr; }
    .detail-box { grid-template-columns: 1fr; padding: 24px; }
    .detail-buy { position: static; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .hero-stats { gap: 30px; }
    .hero-stats .num { font-size: 26px; }
}

/* ===== Page Banner (栏目页 / 文章详情页通用) ===== */
.page-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
    padding: 42px 38px 40px;
    color: #fff;
    background:
        radial-gradient(680px 320px at 8% -35%, rgba(255,255,255,0.22), transparent 60%),
        radial-gradient(640px 360px at 96% 135%, rgba(255,170,150,0.26), transparent 55%),
        linear-gradient(125deg, #c8161d 0%, #e1251b 46%, #ff6a3d 100%);
    box-shadow: 0 16px 40px rgba(225,37,27,0.22);
    animation: bannerIn .5s ease both;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(circle at 28% 32%, #000 18%, transparent 80%);
    mask-image: radial-gradient(circle at 28% 32%, #000 18%, transparent 80%);
    pointer-events: none;
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 14px;
    opacity: 0.92;
}
.page-banner .crumb a { color: rgba(255,255,255,0.92); transition: color .2s; }
.page-banner .crumb a:hover { color: #fff; }
.page-banner .crumb .sep { opacity: 0.6; }
.page-banner h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.14);
}
.page-banner .sub {
    margin-top: 11px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 720px;
}
.page-banner .banner-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.page-banner .banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.14);
}
@keyframes bannerIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* ===== Responsive: Page Banner ===== */
@media (max-width: 768px) {
    .page-banner { padding: 30px 22px 28px; margin-bottom: 22px; }
    .page-banner h1 { font-size: 23px; }
    .page-banner .sub { font-size: 13.5px; }
    .page-banner .banner-meta span { font-size: 12px; padding: 5px 12px; }
}

/* ===== 首页资讯区块 (GEO/SEO 内链) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.news-card {
    display: block;
    padding: 18px 18px 16px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #ececec);
    border-radius: 12px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.news-card:hover {
    box-shadow: 0 6px 20px rgba(225,37,27,.10);
    transform: translateY(-2px);
    border-color: var(--primary, #e1251b);
}
.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light, #999);
    margin-bottom: 8px;
}
.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text, #18191c);
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-excerpt {
    font-size: 13.5px;
    color: var(--text-light, #666);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ===== 首页 GEO 优化新增区块（服务优势 / 常见问题） ===== */
.home-block { margin-top: 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }
.feature-item { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px 18px; transition: box-shadow .2s, transform .2s; }
.feature-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.feature-item h3 { font-size: 16px; color: #222; margin: 0 0 8px; }
.feature-item p { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }
.faq-list { margin-top: 16px; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 0 16px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-size: 15px; font-weight: 600; color: #222; padding: 14px 0; list-style: none; position: relative; padding-right: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 20px; color: #e1251b; font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { font-size: 14px; color: #555; line-height: 1.8; padding: 0 0 14px; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== 栏目页：办理指南 / 关于我们 ===== */
.col-section { background:#fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-2); border:1px solid var(--border); margin-bottom: 28px; }
.col-section--gray { background: var(--bg); box-shadow: none; }
.col-kicker { display:block; font-size:13px; font-weight:700; color: var(--primary); letter-spacing:1px; margin-bottom:8px; }
.col-section h2.col-h2 { font-size:26px; font-weight:800; color: var(--text); margin-bottom:10px; line-height:1.3; }
.col-section .col-sub { font-size:15px; color: var(--text-light); margin-bottom:6px; }
.col-body { font-size:15px; color: var(--text-2); line-height:1.85; margin-bottom:12px; }

/* 办理流程步骤（五步） */
.steps-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap:16px; margin-top:8px; }
.step-card { background: var(--bg); border-radius: var(--radius); padding:24px 20px; border:1px solid var(--border); }
.step-badge { width:40px; height:40px; border-radius:50%; background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%); color:#fff; font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; box-shadow: 0 6px 14px rgba(225,37,27,.28); }
.step-card h3 { font-size:17px; font-weight:700; color: var(--text); margin-bottom:6px; }
.step-card p { font-size:13px; color: var(--text-2); line-height:1.7; }

/* 材料 / 服务卡片图标 */
.col-icon { width:36px; height:36px; border-radius:9px; background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%); color:#fff; font-weight:800; font-size:16px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; box-shadow: 0 4px 12px rgba(225,37,27,.22); }

/* 数据带（关于我们） */
.stat-band { background: linear-gradient(135deg, #1d2129 0%, #16181d 100%); border-radius: var(--radius-lg); padding: 44px 40px; margin-bottom:28px; box-shadow: var(--shadow-2); }
.stat-band h2 { color:#fff; font-size:24px; font-weight:800; margin-bottom:26px; }
.stat-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.stat-cell { text-align:center; }
.stat-num { font-size:38px; font-weight:800; color: var(--primary); font-variant-numeric: tabular-nums; line-height:1.1; }
.stat-label { font-size:14px; color:#b4b8c0; margin-top:6px; }

/* 联系 CTA */
.contact-cta { background: linear-gradient(135deg, var(--primary) 0%, #ff5a4d 100%); border-radius: var(--radius-lg); padding: 52px 40px; text-align:center; box-shadow: 0 16px 40px rgba(225,37,27,.28); margin-bottom:28px; }
.contact-cta h2 { color:#fff; font-size:26px; font-weight:800; margin-bottom:10px; }
.contact-cta p { color: rgba(255,255,255,.92); font-size:15px; margin-bottom:22px; }
.contact-cta .btn-cta { display:inline-block; background:#fff; color: var(--primary); font-weight:700; font-size:15px; padding:13px 34px; border-radius:999px; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .2s; }
.contact-cta .btn-cta:hover { transform: translateY(-2px); }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .col-section { padding: 26px 18px; }
  .stat-band { padding: 30px 20px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}
