/* roulang page: index */
:root {
            --primary: #4F46E5;
            --primary-dark: #4338CA;
            --primary-light: #EEF2FF;
            --secondary: #F59E0B;
            --secondary-dark: #D97706;
            --secondary-light: #FFFBEB;
            --violet: #7C3AED;
            --bg: #F8F7FC;
            --surface: #FFFFFF;
            --text: #1F2937;
            --text-body: #4B5563;
            --text-muted: #9CA3AF;
            --border: #E5E7EB;
            --divider: #F3F4F6;
            --footer-bg: #111827;
            --footer-text: #9CA3AF;
            --success: #10B981;
            --radius-lg: 20px;
            --radius-md: 12px;
            --radius-sm: 999px;
            --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
            --shadow-hover: 0 8px 25px rgba(79,70,229,.12), 0 2px 6px rgba(0,0,0,.06);
            --shadow-btn: 0 2px 6px rgba(79,70,229,.3);
            --gradient: linear-gradient(135deg,#4F46E5,#7C3AED 60%,rgba(245,158,11,.5));
            --gradient-strong: linear-gradient(135deg,#4F46E5,#7C3AED);
            --font-main: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
        }
        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-main);
            background: var(--bg);
            color: var(--text-body);
            line-height: 1.75;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }
        a { text-decoration: none; color: var(--primary); transition: color .2s; }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; }
        .container { max-width: 1200px; }
        .section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
        .section-head h2 { font-size: 30px; font-weight: 700; color: var(--text); margin: 0; letter-spacing: -.5px; }
        .section-head p { color: var(--text-muted); margin-top: 6px; }
        .section-head.center { flex-direction: column; align-items: center; text-align: center; }
        .view-all { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
        .view-all i { transition: transform .25s; }
        .view-all:hover i { transform: translateX(3px); }
        .view-all::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
        .view-all { position: relative; }
        .view-all:hover { text-decoration: none; }
        .view-all:hover::after { transform: scaleX(1); }

        /* 按钮 */
        .btn { border-radius: var(--radius-md); font-weight: 600; font-size: 16px; padding: 12px 28px; transition: all .25s; }
        .btn-primary {
            background: var(--gradient-strong);
            border: none;
            color: #fff;
            box-shadow: var(--shadow-btn);
        }
        .btn-primary:hover { background: var(--gradient-strong); filter: brightness(1.08); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79,70,229,.35); }
        .btn-primary:active { transform: translateY(0); }
        .btn-primary:focus, .btn:focus, .form-control:focus, .form-select:focus { outline: none; box-shadow: 0 0 0 3px rgba(79,70,229,.3); border: 1px solid var(--primary); }
        .btn-outline-primary {
            background: var(--surface);
            border: 1px solid #D1D5DB;
            color: var(--primary);
        }
        .btn-outline-primary:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); }
        .btn-lg { padding: 14px 36px; font-size: 16px; }
        .btn-nav { padding: 8px 22px; font-size: 14px; border-radius: 999px; }
        .btn-light { background: #fff; border: none; color: var(--primary); padding: 14px 36px; font-weight: 700; border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,.1); transition: all .25s; }
        .btn-light:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.12); }

        /* 导航 */
        .custom-navbar {
            background: rgba(255,255,255,.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
            min-height: 72px;
            padding: 10px 0;
            transition: all .3s ease;
            z-index: 1030;
        }
        .custom-navbar.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 24px rgba(0,0,0,.06); }
        .navbar-brand { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0; }
        .brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--gradient-strong); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; box-shadow: var(--shadow-btn); }
        .brand-text { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
        .brand-text span { color: var(--primary); }
        .custom-navbar .navbar-nav { gap: 4px; }
        .custom-navbar .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-body);
            padding: 8px 16px;
            border-radius: 8px;
            position: relative;
            transition: color .2s, background .2s;
        }
        .custom-navbar .nav-link::after {
            content: '';
            position: absolute;
            left: 16px; right: 16px; bottom: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .3s;
        }
        .custom-navbar .nav-link:hover { color: var(--primary); background: var(--primary-light); }
        .custom-navbar .nav-link:hover::after { transform: scaleX(1); }
        .custom-navbar .nav-link.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }
        .custom-navbar .nav-link.active::after { transform: scaleX(1); }
        .nav-tools { display: flex; align-items: center; gap: 10px; }
        .command-search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #F3F4F6;
            border-radius: 999px;
            padding: 8px 16px;
            border: 1px solid transparent;
            transition: all .3s;
            width: 190px;
        }
        .command-search i { color: var(--text-muted); font-size: 13px; }
        .command-search input { border: none; background: transparent; outline: none; font-size: 13px; color: var(--text); width: 100%; }
        .command-search input::placeholder { color: var(--text-muted); }
        .command-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.15); width: 210px; }
        .nav-icon {
            width: 36px; height: 36px;
            border-radius: 50%;
            background: var(--bg);
            display: flex; align-items: center; justify-content: center;
            color: var(--text-body); font-size: 15px;
            transition: all .2s;
            border: 1px solid transparent;
        }
        .nav-icon:hover { background: var(--primary-light); color: var(--primary); border-color: rgba(79,70,229,.2); }
        .navbar-toggler { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }
        .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(79,70,229,.2); }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%234F46E5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
            width: 1.2em; height: 1.2em;
        }

        /* Hero */
        .hero-section { position: relative; padding: 80px 0 64px; overflow: hidden; background: linear-gradient(135deg,#eef2ff,#f8f7fc 50%,#fffbeb); }
        .hero-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle,rgba(124,58,237,.12),transparent 70%); border-radius: 50%; }
        .hero-section::after { content: ''; position: absolute; bottom: -40px; left: 10%; width: 280px; height: 280px; background: radial-gradient(circle,rgba(245,158,11,.1),transparent 70%); border-radius: 50%; }
        .hero-badge {
            display: inline-block;
            background: rgba(79,70,229,.1);
            color: var(--primary);
            font-size: 13px; font-weight: 600;
            padding: 6px 16px;
            border-radius: 999px;
            margin-bottom: 18px;
        }
        .hero-section h1 { font-size: 42px; font-weight: 800; color: var(--text); line-height: 1.25; margin-bottom: 14px; letter-spacing: -1px; }
        .hero-subtitle { font-size: 19px; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
        .hero-desc { font-size: 16px; color: var(--text-body); max-width: 480px; margin-bottom: 24px; }
        .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
        .hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); border: 1px solid var(--border); }
        .hero-visual img { width: 100%; height: 340px; object-fit: cover; display: block; }
        .hero-stats {
            position: absolute; left: 16px; right: 16px; bottom: 16px;
            background: rgba(255,255,255,.9);
            backdrop-filter: blur(8px);
            border-radius: 14px;
            padding: 14px 18px;
            display: flex;
            justify-content: space-around;
            border: 1px solid rgba(255,255,255,.6);
            box-shadow: 0 4px 16px rgba(0,0,0,.08);
        }
        .hero-stat { text-align: center; }
        .hero-stat span { display: block; font-size: 22px; font-weight: 800; color: var(--text); }
        .hero-stat small { font-size: 12px; color: var(--text-muted); }

        /* 数据徽章带 */
        .stats-strip { padding: 0 0 72px; margin-top: -24px; position: relative; z-index: 2; }
        .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
        .stat-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: transform .25s, box-shadow .25s;
        }
        .stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .stat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(79,70,229,.12); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; flex-shrink: 0; }
        .stat-number { display: block; font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.2; }
        .stat-label { font-size: 13px; color: var(--text-muted); }

        /* 爆款网格 */
        .featured-section { padding: 72px 0; }
        .card-custom {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: transform .25s, box-shadow .25s;
        }
        .card-custom:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .card-custom .img-wrap { position: relative; overflow: hidden; height: 200px; }
        .card-custom .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
        .card-custom:hover .img-wrap img { transform: scale(1.03); }
        .badge-hot {
            position: absolute; top: 14px; right: 14px; z-index: 2;
            background: var(--secondary);
            color: #fff;
            font-size: 12px; font-weight: 600;
            padding: 4px 12px;
            border-radius: 999px;
            box-shadow: 0 2px 8px rgba(245,158,11,.4);
        }
        .badge-new { background: var(--success); box-shadow: 0 2px 8px rgba(16,185,129,.3); }
        .card-body-custom { padding: 22px; flex: 1; display: flex; flex-direction: column; }
        .card-body-custom h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
        .card-body-custom p { font-size: 14px; color: var(--text-body); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
        .card-footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--divider); }
        .card-tag { font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 999px; }
        .card-link { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
        .card-link i { transition: transform .25s; }
        .card-link:hover i { transform: translateX(3px); }

        /* 评价轮播 */
        .testimonial-section { background: var(--primary-light); padding: 72px 0; position: relative; }
        .testimonial-section .section-head h2 { color: var(--text); }
        .testimonial-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            padding: 44px 36px;
            text-align: center;
            max-width: 720px;
            margin: 0 auto;
        }
        .testimonial-stars { color: var(--secondary); font-size: 18px; margin-bottom: 18px; letter-spacing: 2px; }
        .testimonial-text { font-size: 17px; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 24px; position: relative; padding: 0 20px; }
        .testimonial-text::before { content: '\201C'; font-size: 48px; color: var(--primary); font-family: Georgia,serif; position: absolute; top: -10px; left: -6px; opacity: .3; }
        .testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
        .testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-strong); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
        .testimonial-name { font-weight: 600; color: var(--text); font-size: 15px; }
        .testimonial-role { font-size: 13px; color: var(--text-muted); }
        .carousel-control-prev, .carousel-control-next {
            width: 44px; height: 44px;
            border-radius: 50%;
            background: var(--surface);
            border: 1px solid var(--border);
            opacity: 1;
            top: 50%;
            transform: translateY(-50%);
            box-shadow: var(--shadow-card);
            transition: all .25s;
            display: flex; align-items: center; justify-content: center;
        }
        .carousel-control-prev:hover, .carousel-control-next:hover { background: var(--primary); border-color: var(--primary); }
        .carousel-control-prev { left: 0; }
        .carousel-control-next { right: 0; }
        .carousel-control-prev i, .carousel-control-next i { color: var(--primary); font-size: 16px; }
        .carousel-control-prev:hover i, .carousel-control-next:hover i { color: #fff; }
        .carousel-indicators { position: static; margin-top: 24px; }
        .carousel-indicators button { width: 28px; height: 4px; border-radius: 2px; background: #D1D5DB; border: none; margin: 0 4px; transition: all .3s; opacity: 1; }
        .carousel-indicators button.active { background: var(--primary); width: 44px; }

        /* 保障条 */
        .guarantee-section { padding: 72px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--border); background: var(--surface); }
        .guarantee-item { text-align: center; padding: 20px 12px; transition: transform .25s; }
        .guarantee-item:hover { transform: translateY(-4px); }
        .guarantee-icon {
            width: 56px; height: 56px;
            border-radius: 50%;
            background: rgba(79,70,229,.12);
            display: flex; align-items: center; justify-content: center;
            color: var(--primary); font-size: 22px;
            margin: 0 auto 16px;
            transition: all .3s;
        }
        .guarantee-item:hover .guarantee-icon { background: var(--gradient-strong); color: #fff; transform: scale(1.06); box-shadow: var(--shadow-btn); }
        .guarantee-item h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
        .guarantee-item p { font-size: 14px; color: var(--text-muted); margin: 0; }

        /* 最新资讯 */
        .news-section { padding: 72px 0; }
        .news-list { display: flex; flex-direction: column; gap: 14px; }
        .news-card {
            display: flex; align-items: center; justify-content: space-between;
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            padding: 22px 26px;
            transition: all .25s;
            gap: 20px;
        }
        .news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(79,70,229,.35); }
        .news-content { flex: 1; min-width: 0; }
        .news-content h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .news-content p { font-size: 14px; color: var(--text-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
        .news-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
        .news-cat { font-size: 13px; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 999px; font-weight: 500; }
        .news-date { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
        .empty-state {
            background: var(--surface);
            border: 1px dashed var(--border);
            border-radius: var(--radius-lg);
            padding: 60px 20px;
            text-align: center;
            color: var(--text-muted);
        }
        .empty-icon { font-size: 36px; margin-bottom: 12px; color: var(--text-muted); opacity: .5; }

        /* FAQ */
        .faq-section { padding: 72px 0; background: var(--surface); }
        .faq-section .section-head.left { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 10px; }
        .accordion-custom .accordion-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
        .accordion-custom .accordion-button { padding: 18px 24px; font-weight: 600; color: var(--text); font-size: 15px; background: var(--surface); border: none; box-shadow: none; gap: 12px; }
        .accordion-custom .accordion-button:not(.collapsed) { color: var(--primary); background: var(--primary-light); }
        .accordion-custom .accordion-button:focus { box-shadow: none; border: none; }
        .accordion-custom .accordion-button::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234F46E5'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); }
        .accordion-custom .accordion-body { padding: 16px 24px 20px; background: var(--bg); color: var(--text-body); border-top: 1px solid var(--divider); font-size: 14px; line-height: 1.75; }
        .faq-num { font-family: 'SF Mono','Consolas',monospace; color: var(--primary); font-weight: 700; font-size: 14px; margin-right: 8px; min-width: 26px; }
        .accordion-button:not(.collapsed) .faq-num { color: var(--primary-dark); }

        /* CTA */
        .cta-section { padding: 72px 0; }
        .cta-box {
            background: var(--gradient-strong);
            border-radius: 24px;
            padding: 48px 56px;
            display: flex; align-items: center; justify-content: space-between; gap: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 12px 32px rgba(79,70,229,.3);
        }
        .cta-box::after { content: ''; position: absolute; top: -40px; right: 20px; width: 180px; height: 180px; background: radial-gradient(circle,rgba(245,158,11,.35),transparent 70%); border-radius: 50%; }
        .cta-content { position: relative; z-index: 1; }
        .cta-content h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; }
        .cta-content p { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; }
        .cta-box .btn-light { position: relative; z-index: 1; }

        /* 页脚 */
        .site-footer { background: var(--footer-bg); padding: 72px 0 0; color: var(--footer-text); }
        .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; } .footer-brand .brand-text { color: #fff; }
        .footer-brand .brand-text span { color: #A5B4FC; }
        .footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
        .site-footer h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
        .site-footer ul { list-style: none; padding: 0; margin: 0; }
        .site-footer ul li { margin-bottom: 10px; }
        .site-footer ul li a { color: var(--footer-text); font-size: 14px; transition: color .2s, padding-left .2s; }
        .site-footer ul li a:hover { color: #fff; padding-left: 4px; }
        .footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
        .footer-contact i { color: #6B7280; width: 16px; }
        .social-links { display: flex; gap: 10px; margin-top: 18px; }
        .social-links a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: var(--footer-text); font-size: 14px; transition: all .25s; }
        .social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; text-align: center; font-size: 14px; color: #6B7280; }

        /* 响应式 */
        @media (max-width: 991.98px) {
            .custom-navbar .navbar-collapse { background: var(--surface); border-radius: 16px; padding: 20px; margin-top: 12px; box-shadow: var(--shadow-hover); border: 1px solid var(--border); }
            .custom-navbar .navbar-nav { gap: 0; margin-bottom: 16px; }
            .custom-navbar .nav-link { padding: 10px 14px; }
            .custom-navbar .nav-link::after { display: none; }
            .nav-tools { flex-wrap: wrap; }
            .command-search { width: 100%; }
            .command-search:focus-within { width: 100%; }
            .hero-section { padding: 56px 0 48px; }
            .hero-section h1 { font-size: 32px; }
            .hero-visual { margin-top: 28px; }
            .hero-visual img { height: 240px; }
            .stats-grid { grid-template-columns: repeat(2,1fr); }
            .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
            .cta-box { flex-direction: column; text-align: center; padding: 40px 28px; }
            .cta-box .btn-light { width: 100%; }
            .card-custom .img-wrap { height: 180px; }
        }
        @media (max-width: 767.98px) {
            .hero-section { padding: 40px 0 36px; }
            .hero-section h1 { font-size: 28px; }
            .hero-subtitle { font-size: 16px; }
            .hero-desc { font-size: 15px; }
            .hero-stats { flex-wrap: wrap; gap: 8px; }
            .hero-stat { flex: 1; min-width: 80px; }
            .hero-stat span { font-size: 18px; }
            .stats-grid { grid-template-columns: 1fr; }
            .stats-strip { padding-bottom: 48px; }
            .featured-section, .testimonial-section, .guarantee-section, .news-section, .faq-section, .cta-section { padding: 48px 0; }
            .section-head h2 { font-size: 24px; }
            .card-custom .img-wrap { height: 160px; }
            .news-card { flex-direction: column; align-items: flex-start; padding: 18px; }
            .news-side { width: 100%; justify-content: space-between; }
            .card-body-custom h3 { font-size: 18px; }
            .testimonial-card { padding: 28px 20px; }
            .testimonial-text { font-size: 15px; }
            .section-head { margin-bottom: 24px; }
            .site-footer { padding-top: 48px; }
            .site-footer .row > div { margin-bottom: 32px; }
            .footer-bottom { margin-top: 20px; }
        }
        @media (max-width: 520px) {
            .brand-text { font-size: 17px; }
            .btn-nav { padding: 8px 16px; font-size: 13px; }
            .command-search { width: 100%; }
            .nav-tools { display: flex; flex-direction: column; align-items: stretch; }
            .nav-icon { display: none; }
            .btn-nav { width: 100%; text-align: center; }
            .cta-content h2 { font-size: 21px; }
        }

/* roulang page: category1 */
:root {
            --primary: #4F46E5;
            --primary-dark: #4338CA;
            --primary-light: #EEF2FF;
            --primary-transparent: rgba(79, 70, 229, .12);
            --secondary: #F59E0B;
            --secondary-dark: #D97706;
            --secondary-light: #FFFBEB;
            --bg: #F8F7FC;
            --surface: #FFFFFF;
            --footer-bg: #111827;
            --footer-text: #9CA3AF;
            --text: #1F2937;
            --text-body: #4B5563;
            --text-muted: #9CA3AF;
            --border: #E5E7EB;
            --divider: #F3F4F6;
            --success: #10B981;
            --radius-lg: 20px;
            --radius-md: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .04);
            --shadow-hover: 0 8px 25px rgba(79, 70, 229, .12), 0 2px 6px rgba(0, 0, 0, .06);
            --shadow-btn: 0 2px 6px rgba(79, 70, 229, .3);
            --gradient-brand: 135deg, #4F46E5, #7C3AED, #F59E0B;
            --font-stack: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-stack);
            color: var(--text-body);
            background: var(--bg);
            line-height: 1.75;
            margin: 0;
            padding-top: 72px;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color .25s ease;
        }
        a:hover {
            color: var(--primary-dark);
        }
        .container {
            max-width: 1200px;
        }
        .btn {
            border-radius: var(--radius-md);
            font-weight: 600;
            transition: all .25s ease;
        }
        .btn-primary {
            background: linear-gradient(135deg, #4F46E5, #7C3AED);
            border: none;
            color: #fff;
            box-shadow: var(--shadow-btn);
            padding: 12px 28px;
        }
        .btn-primary:hover {
            filter: brightness(1.05);
            transform: translateY(-2px);
            color: #fff;
            box-shadow: var(--shadow-hover);
        }
        .btn-primary:active {
            transform: translateY(-1px);
        }
        .btn-primary:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .3), var(--shadow-btn);
        }
        .btn-outline-secondary {
            background: #fff;
            border: 1px solid #D1D5DB;
            color: var(--primary);
            padding: 10px 24px;
        }
        .btn-outline-secondary:hover {
            border-color: var(--primary);
            background: var(--primary-light);
            color: var(--primary);
        }
        .btn-light {
            background: #fff;
            color: var(--primary);
            border: none;
            box-shadow: var(--shadow-btn);
            padding: 12px 30px;
            font-weight: 600;
        }
        .btn-light:hover {
            background: #f0f0f0;
            color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        /* ===== 导航栏 ===== */
        .custom-navbar {
            background: rgba(255, 255, 255, .85);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
            transition: background .3s ease, box-shadow .3s ease;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1030;
        }
        .custom-navbar.scrolled {
            background: rgba(255, 255, 255, .96);
            box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
        }
        .custom-navbar .navbar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text);
            font-weight: 700;
            font-size: 20px;
            white-space: nowrap;
        }
        .custom-navbar .navbar-brand:hover {
            color: var(--text);
            text-decoration: none;
        }
        .brand-mark {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-md);
            background: linear-gradient(var(--gradient-brand));
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            box-shadow: var(--shadow-btn);
            flex-shrink: 0;
        }
        .brand-text {
            font-size: 19px;
            letter-spacing: .3px;
        }
        .brand-text span {
            color: var(--primary);
            font-weight: 600;
        }
        .navbar-nav .nav-link {
            color: var(--text-body);
            font-size: 15px;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: var(--radius-md);
            position: relative;
            transition: color .25s ease;
        }
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .25s ease;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--primary);
        }
        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            transform: scaleX(1);
        }
        .navbar-nav .nav-link.active {
            font-weight: 600;
        }
        .nav-tools {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .command-search {
            background: #F3F4F6;
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid transparent;
            transition: all .25s ease;
        }
        .command-search i {
            color: var(--text-muted);
            font-size: 14px;
        }
        .command-search input {
            border: none;
            outline: none;
            background: transparent;
            font-size: 14px;
            color: var(--text);
            width: 120px;
        }
        .command-search input::placeholder {
            color: var(--text-muted);
        }
        .command-search:focus-within {
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
        }
        .nav-icon {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: var(--text-body);
            background: transparent;
            transition: all .25s ease;
            font-size: 15px;
        }
        .nav-icon:hover {
            background: var(--primary-light);
            color: var(--primary);
            text-decoration: none;
        }
        .btn-nav {
            padding: 8px 20px;
            border-radius: var(--radius-md);
            font-size: 14px;
        }
        .navbar-toggler {
            border: none;
            padding: 6px 10px;
            box-shadow: none;
        }
        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .2);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234F46E5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* ===== 分类 Hero ===== */
        .category-hero {
            position: relative;
            background: linear-gradient(135deg, rgba(17, 24, 39, .75) 0%, rgba(79, 70, 229, .65) 55%, rgba(245, 158, 11, .30) 100%), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            padding: 70px 0 80px;
            color: #fff;
            border-bottom: 4px solid rgba(255, 255, 255, .08);
        }
        .category-hero .breadcrumb-nav {
            font-size: 14px;
            color: rgba(255, 255, 255, .75);
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .category-hero .breadcrumb-nav a {
            color: rgba(255, 255, 255, .85);
            transition: color .25s ease;
        }
        .category-hero .breadcrumb-nav a:hover {
            color: #fff;
            text-decoration: underline;
        }
        .category-hero .breadcrumb-nav .separator {
            opacity: .5;
        }
        .category-hero .breadcrumb-nav .current {
            color: #fff;
            font-weight: 500;
        }
        .category-hero h1 {
            font-size: 40px;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 14px;
            color: #fff;
            letter-spacing: .5px;
        }
        .category-hero .hero-subtitle {
            font-size: 17px;
            line-height: 1.75;
            color: rgba(255, 255, 255, .9);
            max-width: 620px;
            margin-bottom: 0;
        }

        /* ===== 分类概览卡 ===== */
        .category-overview {
            padding: 64px 0 40px;
        }
        .overview-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            padding: 40px;
        }
        .overview-card p {
            margin-bottom: 14px;
            font-size: 16px;
        }
        .overview-card p:last-child {
            margin-bottom: 0;
        }
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: flex-start;
        }
        .tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 13px;
            font-weight: 500;
            padding: 5px 14px;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(79, 70, 229, .12);
            transition: all .25s ease;
            cursor: default;
        }
        .tag:hover {
            background: #E0E7FF;
            border-color: rgba(79, 70, 229, .25);
        }

        /* ===== 正文内容区 ===== */
        .category-body {
            padding: 40px 0 64px;
        }
        .content-inner {
            max-width: 860px;
            margin: 0 auto;
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            padding: 48px;
        }
        .content-inner h2 {
            font-size: 30px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
            margin-top: 40px;
        }
        .content-inner h2:first-child {
            margin-top: 0;
        }
        .content-inner h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 12px;
            margin-top: 32px;
        }
        .content-inner p {
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.8;
        }
        .content-inner ul {
            margin-bottom: 24px;
            padding-left: 20px;
        }
        .content-inner ul li {
            margin-bottom: 10px;
            font-size: 15px;
            line-height: 1.75;
            position: relative;
        }
        .content-inner ul li::marker {
            color: var(--primary);
        }
        .content-inner blockquote {
            border-left: 4px solid var(--primary);
            background: var(--primary-light);
            padding: 20px 24px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 28px 0;
            font-size: 16px;
            color: var(--text-body);
            font-style: normal;
        }
        .content-inner blockquote p {
            margin-bottom: 0;
        }
        .content-media {
            margin: 32px 0 8px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
        }
        .content-media img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        /* ===== 条目索引 ===== */
        .category-index {
            padding: 40px 0 64px;
            background: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 36px;
        }
        .section-head h2 {
            font-size: 30px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0;
        }
        .section-head .section-desc {
            color: var(--text-muted);
            font-size: 15px;
        }
        .index-card {
            background: var(--bg);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 28px;
            height: 100%;
            transition: all .25s ease;
            display: flex;
            gap: 18px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
        }
        .index-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(79, 70, 229, .4);
            background: var(--surface);
        }
        .index-num {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-md);
            background: var(--primary-light);
            color: var(--primary);
            font-weight: 700;
            font-size: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all .25s ease;
        }
        .index-card:hover .index-num {
            background: var(--primary);
            color: #fff;
        }
        .index-card h4 {
            font-size: 17px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
        }
        .index-card p {
            font-size: 14px;
            color: var(--text-body);
            margin-bottom: 0;
            line-height: 1.7;
        }

        /* ===== FAQ ===== */
        .category-faq {
            padding: 64px 0;
        }
        .faq-wrap {
            max-width: 860px;
            margin: 0 auto;
        }
        .category-faq .section-head {
            justify-content: center;
            text-align: center;
            margin-bottom: 32px;
        }
        .category-faq .section-head h2 {
            width: 100%;
        }
        .category-faq .section-head .section-desc {
            width: 100%;
            max-width: 560px;
            margin: 0 auto;
        }
        .accordion-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            background: var(--surface);
            margin-bottom: 16px;
            box-shadow: var(--shadow-card);
        }
        .accordion-item:last-child {
            margin-bottom: 0;
        }
        .accordion-button {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            padding: 18px 24px;
            background: var(--surface);
            border: none;
            box-shadow: none;
            display: flex;
            align-items: center;
        }
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234F46E5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transition: transform .25s ease;
            width: 16px;
            height: 16px;
            background-size: 16px;
        }
        .accordion-button:not(.collapsed) {
            background: var(--primary-light);
            color: var(--primary);
            box-shadow: none;
        }
        .accordion-button:not(.collapsed)::after {
            transform: rotate(180deg);
        }
        .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
            border-color: transparent;
        }
        .accordion-button:hover {
            background: var(--bg);
        }
        .accordion-button:not(.collapsed):hover {
            background: var(--primary-light);
        }
        .faq-num {
            color: var(--primary);
            font-weight: 700;
            margin-right: 14px;
            font-family: "Courier New", monospace;
            font-size: 14px;
            flex-shrink: 0;
        }
        .accordion-body {
            background: var(--bg);
            color: var(--text-body);
            padding: 16px 24px 20px;
            font-size: 15px;
            line-height: 1.8;
            border-top: 1px solid var(--divider);
        }

        /* ===== CTA ===== */
        .category-cta {
            padding: 64px 0 80px;
        }
        .cta-card {
            background: linear-gradient(135deg, #4F46E5, #7C3AED 70%, #F59E0B);
            border-radius: var(--radius-lg);
            padding: 48px;
            color: #fff;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-hover);
        }
        .cta-card h3 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #fff;
        }
        .cta-card p {
            font-size: 16px;
            color: rgba(255, 255, 255, .9);
            margin-bottom: 0;
        }
        .cta-card .btn-light {
            border-radius: var(--radius-md);
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--footer-bg);
            color: var(--footer-text);
            padding: 64px 0 24px;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-weight: 700;
            font-size: 20px;
            margin-bottom: 14px;
        }
        .footer-brand:hover {
            color: #fff;
            text-decoration: none;
        }
        .footer-brand .brand-mark {
            width: 36px;
            height: 36px;
            font-size: 14px;
        }
        .footer-brand .brand-text span {
            color: #A5B4FC;
        }
        .footer-desc {
            font-size: 14px;
            line-height: 1.75;
            margin-bottom: 20px;
            max-width: 320px;
            color: var(--footer-text);
        }
        .social-links {
            display: flex;
            gap: 10px;
        }
        .social-links a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, .15);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--footer-text);
            transition: all .25s ease;
            font-size: 15px;
        }
        .social-links a:hover {
            color: #fff;
            border-color: var(--primary);
            background: var(--primary);
            text-decoration: none;
        }
        .site-footer h4 {
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: 18px;
        }
        .site-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .site-footer ul li {
            margin-bottom: 10px;
        }
        .site-footer ul a {
            color: var(--footer-text);
            font-size: 14px;
            transition: color .25s ease;
        }
        .site-footer ul a:hover {
            color: #fff;
            text-decoration: none;
        }
        .footer-contact li {
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--footer-text);
        }
        .footer-contact i {
            color: var(--primary);
            width: 16px;
            text-align: center;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .08);
            padding-top: 24px;
            margin-top: 40px;
            text-align: center;
        }
        .footer-bottom p {
            font-size: 14px;
            color: var(--footer-text);
            margin-bottom: 0;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 991px) {
            .navbar-nav {
                padding: 16px 0;
            }
            .navbar-nav .nav-link {
                padding: 10px 4px;
                font-size: 16px;
            }
            .navbar-nav .nav-link::after {
                left: 4px;
                right: auto;
                width: 24px;
                transform: scaleX(0);
            }
            .navbar-nav .nav-link:hover::after,
            .navbar-nav .nav-link.active::after {
                transform: scaleX(1);
            }
            .nav-tools {
                padding-top: 12px;
                border-top: 1px solid var(--divider);
            }
            .command-search {
                flex: 1;
            }
            .command-search input {
                width: 100%;
            }
            .category-hero {
                padding: 56px 0 64px;
            }
            .category-hero h1 {
                font-size: 34px;
            }
            .category-hero .hero-subtitle {
                font-size: 16px;
            }
            .category-body,
            .category-index,
            .category-faq,
            .category-cta {
                padding: 48px 0;
            }
            .content-inner {
                padding: 36px;
            }
            .cta-card {
                padding: 40px;
            }
        }
        @media (max-width: 767px) {
            body {
                padding-top: 64px;
            }
            .custom-navbar {
                padding: 6px 0;
            }
            .brand-mark {
                width: 34px;
                height: 34px;
                font-size: 14px;
            }
            .brand-text {
                font-size: 17px;
            }
            .category-hero {
                padding: 44px 0 52px;
            }
            .category-hero h1 {
                font-size: 30px;
            }
            .category-hero .hero-subtitle {
                font-size: 15px;
            }
            .category-overview {
                padding: 40px 0 24px;
            }
            .overview-card {
                padding: 28px 22px;
            }
            .tag-cloud {
                margin-top: 18px;
            }
            .content-inner {
                padding: 26px 20px;
            }
            .content-inner h2 {
                font-size: 24px;
                margin-top: 32px;
            }
            .content-inner h3 {
                font-size: 18px;
            }
            .content-inner blockquote {
                padding: 16px 18px;
            }
            .section-head h2 {
                font-size: 24px;
            }
            .index-card {
                padding: 22px 18px;
                gap: 14px;
            }
            .index-num {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            .accordion-button {
                font-size: 15px;
                padding: 16px 18px;
            }
            .accordion-body {
                padding: 14px 18px 18px;
            }
            .faq-num {
                margin-right: 10px;
                font-size: 13px;
            }
            .cta-card {
                padding: 32px 24px;
                text-align: left;
            }
            .cta-card h3 {
                font-size: 22px;
            }
            .cta-card .btn-light {
                margin-top: 16px;
                display: inline-block;
            }
            .site-footer {
                padding: 48px 0 20px;
            }
            .site-footer h4 {
                margin-bottom: 14px;
            }
            .footer-bottom {
                margin-top: 24px;
            }
        }
        @media (max-width: 520px) {
            .category-hero h1 {
                font-size: 26px;
            }
            .category-hero .hero-subtitle {
                font-size: 14px;
            }
            .overview-card {
                padding: 24px 18px;
            }
            .content-inner {
                padding: 22px 16px;
            }
            .cta-card {
                padding: 28px 20px;
            }
            .nav-tools .nav-icon:nth-child(2) {
                display: none;
            }
        }

/* roulang page: article */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    --secondary: #F59E0B;
    --secondary-hover: #D97706;
    --secondary-light: #FFFBEB;
    --bg: #F8F7FC;
    --surface: #FFFFFF;
    --text: #1F2937;
    --text-body: #4B5563;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --divider: #F3F4F6;
    --success: #10B981;
    --footer-bg: #111827;
    --footer-text: #9CA3AF;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
    --shadow-hover: 0 8px 25px rgba(79,70,229,.12), 0 2px 6px rgba(0,0,0,.06);
    --shadow-btn: 0 2px 6px rgba(79,70,229,.3);
    --gradient-brand: linear-gradient(135deg, #4F46E5 0%, #7C3AED 55%, #F59E0B 130%);
    --font-base: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(79,70,229,.3);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-base);
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4338CA, #6D28D9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79,70,229,.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-btn);
}

.btn-outline-primary {
    background: #fff;
    border: 1px solid #D1D5DB;
    color: var(--primary);
    font-weight: 500;
}

.btn-outline-primary:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-hover);
}

.btn-nav {
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 10px;
}

/* ===== Navbar ===== */
.custom-navbar {
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,231,235,.75);
    min-height: 72px;
    padding: 0;
    transition: box-shadow .3s ease, background .3s ease;
    z-index: 1050;
    position: sticky;
    top: 0;
}

.custom-navbar.is-scrolled {
    background: rgba(255,255,255,.96);
    box-shadow: 0 4px 24px rgba(17,24,39,.07);
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 17px;
    margin-right: 10px;
    box-shadow: var(--shadow-btn);
    flex-shrink: 0;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
    white-space: nowrap;
}

.brand-text span {
    color: var(--primary);
    font-weight: 600;
}

.custom-navbar .navbar-nav {
    gap: 2px;
}

.custom-navbar .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 16px;
    margin: 0 2px;
    position: relative;
    border-radius: 8px;
    transition: color .25s ease;
}

.custom-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.custom-navbar .navbar-nav .nav-link:hover::after {
    width: 22px;
}

.custom-navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.custom-navbar .navbar-nav .nav-link.active::after {
    width: 22px;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}

.command-search {
    display: flex;
    align-items: center;
    background: #F3F4F6;
    border-radius: 999px;
    padding: 7px 16px;
    min-width: 150px;
    border: 1px solid transparent;
    transition: all .25s ease;
}

.command-search i {
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 13px;
}

.command-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    width: 100%;
    color: var(--text);
    font-family: var(--font-base);
}

.command-search input::placeholder {
    color: var(--text-muted);
}

.command-search:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-body);
    font-size: 15px;
    transition: all .25s ease;
    border: 1px solid transparent;
}

.nav-icon:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 10px;
    color: var(--text);
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31,41,55,.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Article Hero ===== */
.article-hero {
    position: relative;
    padding: 64px 0 96px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 45%, #FFF7ED 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
    opacity: .05;
    pointer-events: none;
}

.article-hero::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.08), transparent 70%);
    top: -180px;
    right: -80px;
    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 2;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-breadcrumb a {
    color: var(--text-muted);
    transition: color .2s ease;
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-breadcrumb .sep {
    color: #D1D5DB;
}

.article-breadcrumb .current {
    color: var(--text);
    font-weight: 500;
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    max-width: 860px;
    margin-bottom: 20px;
    letter-spacing: -.5px;
    text-wrap: balance;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-body);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    padding: 5px 16px;
    border-radius: 999px;
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.5;
    backdrop-filter: blur(4px);
}

.meta-item i {
    color: var(--primary);
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* ===== Article Main Card ===== */
.article-main {
    background: var(--bg);
    padding: 0 0 72px;
    position: relative;
    z-index: 2;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-width: 880px;
    margin: -56px auto 0;
    padding: 48px 56px;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 56px;
    right: 56px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 0 0 6px 6px;
    opacity: .85;
}

/* ===== Article Body ===== */
.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-body);
}

.article-body > * + * {
    margin-top: 1.25em;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-top: 2em;
    margin-bottom: .75em;
    padding-bottom: .5em;
    border-bottom: 2px solid var(--primary-light);
    line-height: 1.4;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.8em;
    margin-bottom: .6em;
    line-height: 1.45;
}

.article-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.article-body p {
    line-height: 1.9;
    margin-bottom: 1em;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(79,70,229,.3);
    transition: text-decoration-color .25s ease;
}

.article-body a:hover {
    color: var(--primary-hover);
    text-decoration-color: var(--primary);
}

.article-body img {
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    width: 100%;
    height: auto;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 18px 24px;
    border-radius: 0 12px 12px 0;
    color: var(--text-body);
    font-style: normal;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.article-body li {
    margin-bottom: .45em;
    line-height: 1.8;
}

.article-body li::marker {
    color: var(--primary);
}

.article-body code {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .92em;
    font-family: "SFMono-Regular", Consolas, monospace;
}

.article-body pre {
    background: #1F2937;
    color: #E5E7EB;
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1.25em;
}

.article-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25em;
    font-size: 15px;
}

.article-body table th,
.article-body table td {
    border: 1px solid var(--border);
    padding: 10px 16px;
    text-align: left;
}

.article-body table th {
    background: var(--primary-light);
    font-weight: 600;
    color: var(--text);
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}

/* ===== Tags ===== */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 36px;
    margin-top: 44px;
    border-top: 1px solid var(--divider);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    transition: all .25s ease;
    border: 1px solid transparent;
}

.tag-pill i {
    font-size: 12px;
}

.tag-pill:hover {
    background: #E0E7FF;
    color: var(--primary-hover);
    transform: translateY(-1px);
    border-color: rgba(79,70,229,.15);
}

/* ===== Prev Next ===== */
.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.pn-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    transition: all .25s ease;
    box-shadow: none;
}

.pn-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.pn-card.next {
    text-align: right;
    align-items: flex-end;
}

.pn-label {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pn-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

.pn-card:hover .pn-title {
    color: var(--primary);
}

/* ===== Empty State ===== */
.article-empty {
    text-align: center;
    padding: 64px 24px;
}

.article-empty .empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.article-empty h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.article-empty p {
    color: var(--text-body);
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.article-empty .btn {
    margin-top: 4px;
}

/* ===== Related Section ===== */
.related-section {
    padding: 8px 0 72px;
    background: var(--bg);
    position: relative;
}

.related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.related-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.3px;
}

.related-more {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .25s ease;
    padding: 8px 0;
}

.related-more i {
    transition: transform .25s ease;
    font-size: 13px;
}

.related-more:hover {
    color: var(--primary-hover);
}

.related-more:hover i {
    transform: translateX(3px);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.related-card-h {
    display: flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all .25s ease;
}

.related-card-h:hover {
    border-color: rgba(79,70,229,.35);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.related-card-h .rc-img {
    width: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.related-card-h .rc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.related-card-h:hover .rc-img img {
    transform: scale(1.04);
}

.related-card-h .rc-body {
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.related-card-h .rc-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color .25s ease;
}

.related-card-h:hover .rc-body h3 {
    color: var(--primary);
}

.related-card-h .rc-body p {
    font-size: 14px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Back Link ===== */
.back-link-wrap {
    text-align: center;
    padding: 0 0 72px;
    background: var(--bg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    padding: 11px 26px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all .25s ease;
    box-shadow: var(--shadow-card);
}

.back-link i {
    transition: transform .25s ease;
    font-size: 13px;
}

.back-link:hover {
    color: var(--primary-hover);
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--footer-bg);
    padding: 64px 0 0;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer a {
    color: var(--footer-text);
    transition: color .25s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #fff !important;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand .brand-text span {
    color: #A5B4FC;
}

.footer-desc {
    color: var(--footer-text);
    font-size: 14px;
    max-width: 320px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--footer-text);
    font-size: 16px;
    transition: all .25s ease;
    background: transparent;
}

.social-links a:hover {
    border-color: var(--primary);
    background: rgba(79,70,229,.2);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .5px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    font-size: 14px;
    color: var(--footer-text);
    transition: color .25s ease, padding-left .25s ease;
}

.site-footer ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: #A5B4FC;
    width: 16px;
    font-size: 14px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
}

.footer-bottom p {
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-brand {
        padding: 8px 0;
    }

    .custom-navbar .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .custom-navbar .navbar-collapse {
        background: #fff;
        border-radius: 16px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-hover);
        border: 1px solid var(--border);
    }

    .custom-navbar .navbar-nav .nav-link {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .custom-navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .custom-navbar .navbar-nav .nav-link.active {
        background: var(--primary-light);
    }

    .nav-tools {
        flex-wrap: wrap;
        gap: 12px;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid var(--divider);
        margin-top: 12px;
    }

    .command-search {
        width: 100%;
        min-width: 0;
    }

    .nav-tools .btn-nav {
        flex: 1;
    }

    .related-card-h .rc-img {
        width: 180px;
    }

    .article-card {
        padding: 36px 36px;
        margin-top: -48px;
    }

    .article-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .article-hero {
        padding: 44px 0 80px;
    }

    .article-hero h1 {
        font-size: 28px;
        letter-spacing: -.3px;
    }

    .article-meta {
        gap: 8px;
    }

    .meta-item {
        padding: 4px 12px;
        font-size: 13px;
    }

    .article-card {
        padding: 28px 20px;
        margin-top: -40px;
        border-radius: 16px;
    }

    .article-card::before {
        left: 20px;
        right: 20px;
    }

    .article-body {
        font-size: 15px;
        line-height: 1.85;
    }

    .article-body h2 {
        font-size: 21px;
    }

    .article-body h3 {
        font-size: 18px;
    }

    .prev-next {
        grid-template-columns: 1fr;
    }

    .pn-card.next {
        text-align: left;
        align-items: flex-start;
    }

    .related-section {
        padding-bottom: 48px;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .related-header h2 {
        font-size: 24px;
    }

    .related-card-h .rc-img {
        width: 110px;
    }

    .related-card-h .rc-body {
        padding: 14px 16px;
    }

    .related-card-h .rc-body h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .related-card-h .rc-body p {
        font-size: 13px;
        line-height: 1.5;
    }

    .back-link-wrap {
        padding-bottom: 48px;
    }

    .site-footer {
        padding: 48px 0 0;
    }

    .article-breadcrumb .current {
        max-width: 200px;
    }
}

@media (max-width: 420px) {
    .related-card-h .rc-img {
        width: 90px;
    }

    .related-card-h .rc-body {
        padding: 12px 14px;
    }

    .related-card-h .rc-body h3 {
        font-size: 14px;
    }

    .related-card-h .rc-body p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

/* roulang page: category2 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #4F46E5;
            --primary-hover: #4338CA;
            --primary-light: #EEF2FF;
            --primary-alpha: rgba(79, 70, 229, .12);
            --secondary: #F59E0B;
            --secondary-hover: #D97706;
            --secondary-light: #FFFBEB;
            --success: #10B981;
            --bg: #F8F7FC;
            --surface: #FFFFFF;
            --text: #1F2937;
            --text-body: #4B5563;
            --text-muted: #9CA3AF;
            --border: #E5E7EB;
            --divider: #F3F4F6;
            --footer-bg: #111827;
            --footer-text: #9CA3AF;
            --radius-lg: 20px;
            --radius-md: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .04);
            --shadow-hover: 0 8px 25px rgba(79, 70, 229, .12), 0 2px 6px rgba(0, 0, 0, .06);
            --gradient-brand: 135deg, #4F46E5, #7C3AED, #F59E0B;
            --transition-base: .25s ease;
        }

        /* ===== Reset / Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-body);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition-base);
        }

        a:hover {
            color: var(--primary-hover);
        }

        img {
            max-width: 100%;
            height: auto;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        .container {
            max-width: 1200px;
            padding-left: 20px;
            padding-right: 20px;
        }

        .section-pad {
            padding: 96px 0;
        }

        .section-head {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-head h2 {
            font-size: 30px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
            letter-spacing: .5px;
        }

        .section-head p {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 0;
        }

        .bg-soft {
            background: var(--bg);
        }

        .bg-white {
            background: var(--surface);
        }

        /* ===== 导航栏 ===== */
        .custom-navbar {
            background: rgba(255, 255, 255, .85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            min-height: 72px;
            padding-top: 0;
            padding-bottom: 0;
            transition: box-shadow var(--transition-base), background var(--transition-base);
            z-index: 1030;
        }

        .custom-navbar.scrolled {
            background: rgba(255, 255, 255, .96);
            box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
        }

        .custom-navbar .navbar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0;
            margin-right: 20px;
        }

        .brand-mark {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, #4F46E5, #7C3AED);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 17px;
            box-shadow: 0 4px 10px rgba(79, 70, 229, .3);
            flex-shrink: 0;
        }

        .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            letter-spacing: .5px;
            white-space: nowrap;
        }

        .brand-text span {
            color: var(--primary);
            margin-left: 2px;
        }

        .custom-navbar .navbar-nav {
            gap: 4px;
        }

        .custom-navbar .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-body);
            padding: 8px 18px !important;
            border-radius: 999px;
            position: relative;
            transition: color var(--transition-base), background var(--transition-base);
        }

        .custom-navbar .nav-link::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            border-radius: 2px;
            background: var(--primary);
            transition: width var(--transition-base);
        }

        .custom-navbar .nav-link:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

        .custom-navbar .nav-link:hover::after,
        .custom-navbar .nav-link.active::after {
            width: 20px;
        }

        .custom-navbar .nav-link.active {
            color: var(--primary);
            font-weight: 600;
            background: var(--primary-light);
        }

        .nav-tools {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-left: 8px;
        }

        .command-search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #F3F4F6;
            border-radius: 999px;
            padding: 8px 16px;
            border: 1.5px solid transparent;
            transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
            min-width: 180px;
        }

        .command-search i {
            font-size: 14px;
            color: var(--text-muted);
        }

        .command-search input {
            border: none;
            outline: none;
            background: transparent;
            font-size: 14px;
            color: var(--text);
            width: 100%;
        }

        .command-search input::placeholder {
            color: var(--text-muted);
        }

        .command-search:focus-within {
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
        }

        .nav-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg);
            color: var(--text-body);
            font-size: 15px;
            border: 1px solid var(--border);
            transition: all var(--transition-base);
        }

        .nav-icon:hover {
            background: var(--primary-light);
            color: var(--primary);
            border-color: transparent;
        }

        .btn-nav {
            padding: 10px 24px !important;
            font-size: 15px !important;
            border-radius: 999px !important;
            background: linear-gradient(135deg, #4F46E5, #7C3AED) !important;
            border: none !important;
            color: #fff !important;
            font-weight: 600 !important;
            box-shadow: 0 2px 8px rgba(79, 70, 229, .3) !important;
            transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base) !important;
        }

        .btn-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(79, 70, 229, .35) !important;
            filter: brightness(1.05);
        }

        .btn-nav:active {
            transform: translateY(0);
        }

        .navbar-toggler {
            border: none;
            padding: 8px;
            border-radius: 10px;
            background: var(--bg);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .2);
            outline: none;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234F46E5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* ===== 面包屑 ===== */
        .breadcrumb-wrap {
            padding: 20px 0 0;
            background: transparent;
        }

        .breadcrumb {
            margin-bottom: 0;
            background: transparent;
            padding: 0;
        }

        .breadcrumb-item {
            font-size: 14px;
            color: var(--text-muted);
        }

        .breadcrumb-item a {
            color: var(--text-muted);
            transition: color var(--transition-base);
        }

        .breadcrumb-item a:hover {
            color: var(--primary);
        }

        .breadcrumb-item+.breadcrumb-item::before {
            content: '/';
            color: var(--text-muted);
        }

        .breadcrumb-item.active {
            color: #374151;
            font-weight: 500;
        }

        /* ===== 分类 Hero ===== */
        .category-hero {
            position: relative;
            padding: 72px 0 80px;
            overflow: hidden;
            background: linear-gradient(135deg, #EEF2FF 0%, #F8F7FC 45%, #FFFBEB 100%);
            border-bottom: 1px solid var(--border);
        }

        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: .12;
            pointer-events: none;
        }

        .category-hero .hero-content {
            position: relative;
            z-index: 2;
        }

        .category-hero h1 {
            font-size: 40px;
            font-weight: 700;
            color: var(--text);
            line-height: 1.25;
            margin-bottom: 16px;
            letter-spacing: 1px;
        }

        .category-hero .hero-desc {
            font-size: 16px;
            color: var(--text-body);
            line-height: 1.85;
            margin-bottom: 24px;
            max-width: 560px;
        }

        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-pill {
            display: inline-flex;
            align-items: center;
            padding: 6px 16px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .8);
            border: 1px solid var(--border);
            font-size: 13px;
            font-weight: 500;
            color: var(--text-body);
            transition: all var(--transition-base);
            backdrop-filter: blur(4px);
        }

        .tag-pill:hover {
            background: var(--primary-light);
            border-color: rgba(79, 70, 229, .3);
            color: var(--primary);
        }

        .hero-img-wrap {
            position: relative;
            z-index: 2;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-hover);
            border: 4px solid rgba(255, 255, 255, .8);
            aspect-ratio: 4/3;
        }

        .hero-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-img-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 60%, rgba(79, 70, 229, .08));
            pointer-events: none;
        }

        /* ===== 内容概览卡 ===== */
        .content-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            height: 100%;
            transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
        }

        .content-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(79, 70, 229, .25);
        }

        .content-card .card-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: var(--primary-alpha);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 20px;
            transition: background var(--transition-base), color var(--transition-base);
        }

        .content-card:hover .card-icon {
            background: linear-gradient(135deg, #4F46E5, #7C3AED);
            color: #fff;
        }

        .content-card h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }

        .content-card p {
            font-size: 15px;
            color: var(--text-body);
            line-height: 1.8;
            margin-bottom: 0;
        }

        /* ===== 条目索引 ===== */
        .index-card {
            background: var(--surface);
            border-radius: var(--radius-md);
            padding: 24px 28px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            display: flex;
            gap: 20px;
            align-items: flex-start;
            height: 100%;
            transition: all var(--transition-base);
        }

        .index-card:hover {
            border-color: rgba(79, 70, 229, .35);
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        .index-card .index-num {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
            min-width: 44px;
            font-family: "Helvetica Neue", Arial, sans-serif;
            letter-spacing: -.5px;
            border-bottom: 3px solid var(--primary);
            padding-bottom: 4px;
        }

        .index-card h4 {
            font-size: 17px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
        }

        .index-card p {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* ===== 浏览指引 ===== */
        .step-card {
            position: relative;
            background: var(--surface);
            border-radius: var(--radius-lg);
            padding: 36px 28px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-card);
            height: 100%;
            text-align: center;
            transition: transform var(--transition-base), box-shadow var(--transition-base);
        }

        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .step-number {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4F46E5, #7C3AED);
            color: #fff;
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 6px 16px rgba(79, 70, 229, .3);
        }

        .step-card h3 {
            font-size: 19px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }

        .step-card p {
            font-size: 14.5px;
            color: var(--text-body);
            line-height: 1.75;
            margin-bottom: 0;
        }

        /* ===== FAQ ===== */
        .faq-wrap {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-card);
        }

        .accordion-item {
            border: none;
            border-bottom: 1px solid var(--divider);
            background: transparent;
        }

        .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-button {
            padding: 20px 24px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: color var(--transition-base), background var(--transition-base);
        }

        .accordion-button .faq-num {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            min-width: 24px;
            font-family: "Helvetica Neue", Arial, sans-serif;
        }

        .accordion-button::after {
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f078";
            background-image: none;
            font-size: 14px;
            color: var(--text-muted);
            transition: transform .3s ease;
            width: auto;
            height: auto;
        }

        .accordion-button:not(.collapsed) {
            background: var(--primary-light);
            color: var(--primary);
            box-shadow: none;
        }

        .accordion-button:not(.collapsed)::after {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
            border-color: rgba(79, 70, 229, .3);
            outline: none;
        }

        .accordion-body {
            padding: 16px 24px 24px 62px;
            background: #F8F7FC;
            font-size: 14.5px;
            color: var(--text-body);
            line-height: 1.8;
            border-top: 1px solid var(--divider);
        }

        .faq-left h2 {
            font-size: 30px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
        }

        .faq-left p {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 0;
        }

        /* ===== CTA ===== */
        .cta-block {
            background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 70%, #F59E0B 130%);
            border-radius: var(--radius-lg);
            padding: 56px 64px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(79, 70, 229, .25);
        }

        .cta-block::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .08);
        }

        .cta-block h2 {
            font-size: 26px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }

        .cta-block p {
            font-size: 16px;
            color: rgba(255, 255, 255, .85);
            margin-bottom: 0;
        }

        .btn-light-custom {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 36px;
            border-radius: 999px;
            background: #fff;
            color: var(--primary);
            font-size: 16px;
            font-weight: 600;
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
            transition: all var(--transition-base);
        }

        .btn-light-custom:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
            color: var(--primary-hover);
        }

        .btn-light-custom:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--footer-bg);
            padding: 64px 0 32px;
            margin-top: 64px;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .footer-brand .brand-text {
            color: #fff;
        }

        .footer-brand .brand-text span {
            color: #A5B4FC;
        }

        .footer-desc {
            font-size: 14px;
            color: var(--footer-text);
            line-height: 1.8;
            margin-bottom: 20px;
            max-width: 320px;
        }

        .social-links {
            display: flex;
            gap: 10px;
        }

        .social-links a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, .15);
            color: var(--footer-text);
            font-size: 15px;
            transition: all var(--transition-base);
        }

        .social-links a:hover {
            background: var(--primary);
            color: #fff;
            border-color: transparent;
        }

        .site-footer h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 18px;
        }

        .site-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .site-footer ul li {
            margin-bottom: 10px;
        }

        .site-footer ul li a {
            font-size: 14px;
            color: var(--footer-text);
            transition: color var(--transition-base), padding-left var(--transition-base);
        }

        .site-footer ul li a:hover {
            color: #fff;
            padding-left: 3px;
        }

        .footer-contact li {
            font-size: 14px;
            color: var(--footer-text);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-contact li i {
            color: var(--primary);
            width: 16px;
            text-align: center;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .08);
            margin-top: 48px;
            padding-top: 24px;
            text-align: center;
        }

        .footer-bottom p {
            font-size: 14px;
            color: var(--footer-text);
            margin-bottom: 0;
        }

        /* ===== 通用工具 ===== */
        .btn:focus,
        .btn-ghost:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .3);
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 12px 28px;
            border-radius: var(--radius-md);
            background: #fff;
            border: 1.5px solid #D1D5DB;
            color: var(--primary);
            font-size: 15px;
            font-weight: 600;
            transition: all var(--transition-base);
        }

        .btn-ghost:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary-hover);
        }

        .btn-ghost i {
            transition: transform var(--transition-base);
        }

        .btn-ghost:hover i {
            transform: translateX(2px);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 991px) {
            .section-pad {
                padding: 64px 0;
            }

            .custom-navbar .navbar-collapse {
                background: rgba(255, 255, 255, .98);
                border-radius: 16px;
                padding: 20px;
                margin-top: 12px;
                box-shadow: var(--shadow-hover);
                border: 1px solid var(--border);
            }

            .custom-navbar .navbar-nav {
                gap: 2px;
            }

            .custom-navbar .nav-link {
                padding: 10px 16px !important;
            }

            .nav-tools {
                flex-wrap: wrap;
                margin-left: 0;
                margin-top: 12px;
            }

            .command-search {
                flex: 1 1 100%;
            }

            .category-hero {
                padding: 56px 0 64px;
            }

            .category-hero h1 {
                font-size: 32px;
            }

            .hero-img-wrap {
                margin-top: 32px;
                max-width: 480px;
            }

            .cta-block {
                padding: 40px 32px;
            }
        }

        @media (max-width: 767px) {
            .section-pad {
                padding: 48px 0;
            }

            .section-head {
                margin-bottom: 32px;
            }

            .section-head h2 {
                font-size: 24px;
            }

            .category-hero {
                padding: 40px 0 48px;
            }

            .category-hero h1 {
                font-size: 28px;
            }

            .category-hero .hero-desc {
                font-size: 15px;
            }

            .content-card {
                padding: 24px 20px;
            }

            .content-card h3 {
                font-size: 18px;
            }

            .index-card {
                padding: 20px;
                gap: 14px;
            }

            .index-card .index-num {
                font-size: 24px;
                min-width: 34px;
            }

            .step-card {
                padding: 28px 20px;
            }

            .faq-left {
                margin-bottom: 24px;
            }

            .accordion-button {
                padding: 16px 18px;
                font-size: 14px;
            }

            .accordion-body {
                padding: 14px 18px 18px 50px;
            }

            .cta-block {
                padding: 32px 24px;
            }

            .cta-block h2 {
                font-size: 21px;
            }

            .cta-block p {
                font-size: 15px;
                margin-bottom: 20px;
            }

            .btn-light-custom {
                padding: 12px 28px;
                font-size: 15px;
            }

            .site-footer {
                padding: 48px 0 24px;
                margin-top: 48px;
            }

            .footer-bottom {
                margin-top: 32px;
            }
        }

        @media (max-width: 520px) {
            .breadcrumb-item {
                font-size: 13px;
            }

            .tag-pill {
                font-size: 12px;
                padding: 5px 12px;
            }

            .hero-img-wrap {
                border-radius: 16px;
            }

            .index-card h4 {
                font-size: 15px;
            }

            .index-card p {
                font-size: 13px;
            }
        }
