/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1e3a8a;
            --primary-dark: #152c6b;
            --primary-light: #3b5cb8;
            --accent: #f59e0b;
            --accent-dark: #d48a06;
            --accent-light: #fbbf4a;
            --bg-body: #f0f4f8;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --text-white: #ffffff;
            --border-light: #e2e8f0;
            --border-focus: #3b5cb8;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-xl: 0 24px 60px rgba(0,0,0,0.18);
            --spacing-xs: 4px;
            --spacing-sm: 8px;
            --spacing-md: 16px;
            --spacing-lg: 24px;
            --spacing-xl: 40px;
            --spacing-2xl: 64px;
            --spacing-3xl: 96px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== Reset ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--primary-dark); }
        a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }
        button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; transition: all var(--transition); }
        button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }
        input, textarea { font-family: inherit; font-size: inherit; border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 10px 14px; transition: border-color var(--transition), box-shadow var(--transition); }
        input:focus, textarea:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(59, 92, 184, 0.15); outline: none; }
        ul { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }
        h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
        h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
        h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
        h4 { font-size: 1.1rem; }
        p { color: var(--text-secondary); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-lg); }
        .container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--spacing-lg); }
        .section { padding: var(--spacing-2xl) 0; }
        .section-title { text-align: center; margin-bottom: var(--spacing-xl); }
        .section-title h2 { margin-bottom: var(--spacing-sm); }
        .section-title p { max-width: 600px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

        /* ===== 按钮 ===== */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 12px 28px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
            transition: all var(--transition); border: 2px solid transparent; white-space: nowrap;
        }
        .btn-primary { background: var(--primary); color: var(--text-white); border-color: var(--primary); }
        .btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
        .btn-accent { background: var(--accent); color: var(--text-primary); border-color: var(--accent); }
        .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .btn-accent:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
        .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
        .btn-outline:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .btn-outline:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
        .btn-white { background: var(--bg-white); color: var(--primary); border-color: var(--bg-white); }
        .btn-white:hover { background: #f1f5f9; border-color: #f1f5f9; transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
        .btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: var(--radius-sm); }

        /* ===== 徽章 / 标签 ===== */
        .badge {
            display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3px;
            background: rgba(30, 58, 138, 0.08); color: var(--primary);
        }
        .badge-accent { background: rgba(245, 158, 11, 0.15); color: #b45309; }
        .badge-green { background: rgba(16, 185, 129, 0.12); color: #047857; }

        /* ===== 导航 ===== */
        .site-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            background: rgba(255,255,255,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.6); transition: background var(--transition);
        }
        .site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
        .header-left { display: flex; align-items: center; gap: var(--spacing-xl); }
        .logo { font-size: 1.35rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; display: flex; align-items: center; gap: 8px; }
        .logo i { color: var(--accent); font-size: 1.5rem; }
        .logo:hover { color: var(--primary-dark); }
        .nav-list { display: flex; align-items: center; gap: var(--spacing-lg); }
        .nav-list a {
            font-size: 0.92rem; font-weight: 500; color: var(--text-secondary); padding: 6px 0;
            position: relative; transition: color var(--transition);
        }
        .nav-list a::after {
            content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
            background: var(--primary); border-radius: 2px; transition: width var(--transition);
        }
        .nav-list a:hover { color: var(--primary); }
        .nav-list a:hover::after { width: 100%; }
        .nav-list a.active { color: var(--primary); font-weight: 600; }
        .nav-list a.active::after { width: 100%; }
        .header-right { display: flex; align-items: center; gap: var(--spacing-md); }
        .header-search { display: flex; align-items: center; background: var(--bg-body); border-radius: var(--radius-md); padding: 0 12px; border: 1px solid transparent; transition: all var(--transition); }
        .header-search:focus-within { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(59, 92, 184, 0.1); background: var(--bg-white); }
        .header-search input { border: none; background: transparent; padding: 8px 6px; width: 140px; font-size: 0.88rem; }
        .header-search input:focus { box-shadow: none; }
        .header-search i { color: var(--text-muted); font-size: 0.9rem; }
        .nav-toggle { display: none; font-size: 1.5rem; color: var(--text-primary); padding: 4px; }

        /* ===== 移动端导航 ===== */
        @media (max-width: 768px) {
            .nav-list { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: var(--spacing-md) var(--spacing-lg); border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-md); gap: var(--spacing-sm); }
            .nav-list.open { display: flex; }
            .nav-list a { padding: 10px 0; font-size: 1rem; }
            .header-right .header-search { display: none; }
            .header-right .btn { display: none; }
            .nav-toggle { display: block; }
            .header-left { gap: var(--spacing-md); }
        }
        @media (max-width: 520px) {
            .site-header .container { height: 60px; }
            .logo { font-size: 1.15rem; }
            .logo i { font-size: 1.2rem; }
        }

        /* ===== Hero / 分屏 ===== */
        .hero-split {
            padding-top: 68px; min-height: 88vh; display: flex; align-items: center;
            background: var(--bg-white); position: relative; overflow: hidden;
        }
        .hero-split .container { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); align-items: center; min-height: calc(88vh - 68px); }
        .hero-content { padding: var(--spacing-2xl) 0; }
        .hero-content .badge { margin-bottom: var(--spacing-md); }
        .hero-content h1 { margin-bottom: var(--spacing-md); color: var(--text-primary); }
        .hero-content h1 span { color: var(--primary); }
        .hero-content p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: var(--spacing-xl); max-width: 480px; line-height: 1.8; }
        .hero-actions { display: flex; gap: var(--spacing-md); flex-wrap: wrap; }
        .hero-actions .btn { min-width: 140px; }
        .hero-visual {
            position: relative; display: flex; align-items: center; justify-content: center;
            min-height: 400px; border-radius: var(--radius-lg); overflow: hidden;
            background-image: url('/assets/images/backpic/back-1.png'); background-size: cover; background-position: center;
            box-shadow: var(--shadow-xl);
        }
        .hero-visual::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(30,58,138,0.15) 0%, rgba(245,158,11,0.10) 100%);
        }
        .hero-visual-card {
            position: relative; z-index: 1; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
            padding: var(--spacing-xl) var(--spacing-lg); border-radius: var(--radius-md); text-align: center; max-width: 300px;
            box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.4);
        }
        .hero-visual-card i { font-size: 2.8rem; color: var(--primary); margin-bottom: var(--spacing-sm); }
        .hero-visual-card h4 { margin-bottom: 4px; color: var(--text-primary); }
        .hero-visual-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
        .hero-scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-muted); font-size: 1.4rem; animation: bounce 2s infinite; }
        @keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

        @media (max-width: 1024px) {
            .hero-split .container { grid-template-columns: 1fr; gap: var(--spacing-lg); text-align: center; }
            .hero-content p { margin-left: auto; margin-right: auto; }
            .hero-actions { justify-content: center; }
            .hero-visual { min-height: 320px; }
        }
        @media (max-width: 520px) {
            .hero-split { min-height: auto; padding-top: 60px; }
            .hero-split .container { min-height: auto; padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
            .hero-content { padding: var(--spacing-md) 0; }
            .hero-visual { min-height: 240px; }
            .hero-visual-card { padding: var(--spacing-md); max-width: 220px; }
            .hero-visual-card i { font-size: 2rem; }
            .hero-actions .btn { min-width: 120px; padding: 10px 20px; font-size: 0.9rem; }
        }

        /* ===== 特性 / 优势卡片 ===== */
        .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
        .feature-card {
            background: var(--bg-card); border-radius: var(--radius-md); padding: var(--spacing-xl) var(--spacing-lg);
            box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all var(--transition);
        }
        .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
        .feature-card .icon-wrap {
            width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
            background: rgba(30, 58, 138, 0.08); color: var(--primary); font-size: 1.4rem; margin-bottom: var(--spacing-md);
        }
        .feature-card h3 { margin-bottom: var(--spacing-sm); font-size: 1.15rem; }
        .feature-card p { font-size: 0.92rem; color: var(--text-secondary); margin: 0; line-height: 1.7; }

        @media (max-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

        /* ===== 分类入口 ===== */
        .category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
        .category-card {
            position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 240px;
            display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: all var(--transition);
            background-size: cover; background-position: center; border: 1px solid var(--border-light);
        }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .category-card .overlay {
            position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.10) 60%);
            transition: opacity var(--transition);
        }
        .category-card:hover .overlay { opacity: 0.85; }
        .category-card .card-body { position: relative; z-index: 1; padding: var(--spacing-lg); width: 100%; }
        .category-card .card-body h3 { color: var(--text-white); margin-bottom: 4px; font-size: 1.25rem; }
        .category-card .card-body p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 0; }
        .category-card .card-body .btn { margin-top: var(--spacing-sm); }
        .category-card-1 { background-image: url('/assets/images/coverpic/cover-1.png'); }
        .category-card-2 { background-image: url('/assets/images/coverpic/cover-2.png'); }

        @media (max-width: 520px) { .category-grid { grid-template-columns: 1fr; } .category-card { min-height: 200px; } }

        /* ===== 内容 / 资讯列表 ===== */
        .post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
        .post-card {
            background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
            box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all var(--transition);
        }
        .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .post-card .post-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--border-light); }
        .post-card .post-body { padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg); }
        .post-card .post-cat { font-size: 0.78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
        .post-card .post-cat i { margin-right: 4px; }
        .post-card h3 { font-size: 1rem; margin-bottom: var(--spacing-xs); line-height: 1.4; }
        .post-card h3 a { color: var(--text-primary); }
        .post-card h3 a:hover { color: var(--primary); }
        .post-card .post-excerpt { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: var(--spacing-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .post-card .post-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: var(--spacing-md); }
        .post-card .post-meta i { margin-right: 4px; }
        .post-empty { grid-column: 1 / -1; text-align: center; padding: var(--spacing-2xl) var(--spacing-lg); color: var(--text-muted); background: var(--bg-card); border-radius: var(--radius-md); border: 1px dashed var(--border-light); }
        .post-empty i { font-size: 2.4rem; margin-bottom: var(--spacing-sm); display: block; color: var(--text-muted); }

        @media (max-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 520px) { .post-list { grid-template-columns: 1fr; } }

        /* ===== 统计数字 ===== */
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
        .stat-card {
            text-align: center; background: var(--bg-card); border-radius: var(--radius-md); padding: var(--spacing-xl) var(--spacing-md);
            box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all var(--transition);
        }
        .stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .stat-card .stat-number { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
        .stat-card .stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 4px; }
        .stat-card .stat-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: var(--spacing-sm); }

        @media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

        /* ===== 使用流程 ===== */
        .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); counter-reset: step; }
        .step-card {
            background: var(--bg-card); border-radius: var(--radius-md); padding: var(--spacing-xl) var(--spacing-lg);
            text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); position: relative; transition: all var(--transition);
        }
        .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .step-card .step-number {
            width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            background: var(--primary); color: var(--text-white); font-weight: 700; font-size: 1.2rem; margin: 0 auto var(--spacing-md);
        }
        .step-card h3 { font-size: 1.05rem; margin-bottom: var(--spacing-xs); }
        .step-card p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }
        .step-card .step-line {
            position: absolute; top: 48px; right: -24px; width: 48px; height: 2px;
            background: linear-gradient(90deg, var(--primary-light), var(--accent-light)); display: none;
        }
        .step-card:not(:last-child) .step-line { display: block; }

        @media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } .step-card .step-line { display: none !important; } }
        @media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

        /* ===== FAQ ===== */
        .faq-list { max-width: 760px; margin: 0 auto; }
        .faq-item { background: var(--bg-card); border-radius: var(--radius-md); margin-bottom: var(--spacing-sm); border: 1px solid var(--border-light); overflow: hidden; transition: all var(--transition); }
        .faq-item:hover { border-color: var(--primary-light); }
        .faq-question {
            width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md);
            padding: var(--spacing-md) var(--spacing-lg); font-size: 1rem; font-weight: 600; color: var(--text-primary); text-align: left;
            background: none; border: none; cursor: pointer;
        }
        .faq-question i { color: var(--primary); font-size: 1.1rem; transition: transform var(--transition); }
        .faq-item.active .faq-question i { transform: rotate(180deg); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
        .faq-answer-inner { padding: 0 var(--spacing-lg) var(--spacing-md); color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
        .faq-item.active .faq-answer { max-height: 300px; }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: var(--radius-lg); padding: var(--spacing-2xl) var(--spacing-xl); text-align: center;
            box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: url('/assets/images/backpic/back-2.png'); background-size: cover; background-position: center;
            opacity: 0.08; mix-blend-mode: overlay;
        }
        .cta-section h2 { color: var(--text-white); margin-bottom: var(--spacing-sm); position: relative; }
        .cta-section p { color: rgba(255,255,255,0.8); margin-bottom: var(--spacing-lg); position: relative; max-width: 500px; margin-left: auto; margin-right: auto; }
        .cta-section .btn { position: relative; }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: var(--spacing-2xl) 0 var(--spacing-lg);
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
        .footer-brand .logo { color: var(--text-white); margin-bottom: var(--spacing-sm); }
        .footer-brand .logo i { color: var(--accent); }
        .footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 300px; line-height: 1.8; }
        .footer-col h4 { color: var(--text-white); font-size: 0.95rem; margin-bottom: var(--spacing-md); }
        .footer-col ul li { margin-bottom: var(--spacing-sm); }
        .footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
        .footer-col ul li a:hover { color: var(--accent); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--spacing-lg);
            display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--spacing-md);
            font-size: 0.85rem; color: rgba(255,255,255,0.35);
        }
        .footer-bottom a { color: rgba(255,255,255,0.4); }
        .footer-bottom a:hover { color: var(--accent); }
        .footer-social { display: flex; gap: var(--spacing-md); }
        .footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.95rem; transition: all var(--transition); }
        .footer-social a:hover { background: var(--primary); color: var(--text-white); }

        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

        /* ===== 工具类 ===== */
        .text-center { text-align: center; }
        .mt-lg { margin-top: var(--spacing-lg); }
        .mb-lg { margin-bottom: var(--spacing-lg); }
        .bg-white { background: var(--bg-white); }
        .bg-light { background: var(--bg-body); }
        .rounded-md { border-radius: var(--radius-md); }
        .shadow-sm { box-shadow: var(--shadow-sm); }

        /* ===== 动画 ===== */
        .fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.6s ease forwards; }
        @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a5cff;
            --primary-dark: #0d3fa8;
            --primary-light: #e8eeff;
            --secondary: #ff6b35;
            --accent: #00c9a7;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-dark: #0b1a33;
            --bg-section-alt: #f0f4ff;
            --text-primary: #0b1a33;
            --text-secondary: #4a5a72;
            --text-light: #8899aa;
            --text-white: #ffffff;
            --border: #e2e8f0;
            --border-light: #f1f4f8;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-xs: 6px;
            --shadow-sm: 0 2px 8px rgba(10, 30, 60, 0.06);
            --shadow: 0 6px 24px rgba(10, 30, 60, 0.08);
            --shadow-lg: 0 16px 48px rgba(10, 30, 60, 0.12);
            --shadow-hover: 0 12px 36px rgba(26, 92, 255, 0.15);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-top: var(--header-height);
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            border: none;
            outline: none;
            background: none;
        }
        button {
            cursor: pointer;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.3;
            color: var(--text-primary);
        }
        h1 {
            font-size: 2.6rem;
        }
        h2 {
            font-size: 2rem;
        }
        h3 {
            font-size: 1.35rem;
        }
        h4 {
            font-size: 1.1rem;
        }
        p {
            color: var(--text-secondary);
            margin-bottom: 0.8rem;
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: var(--bg-section-alt);
        }
        .section-white {
            background: var(--bg-white);
        }
        .section-dark {
            background: var(--bg-dark);
            color: var(--text-white);
        }
        .section-dark h2,
        .section-dark h3,
        .section-dark p {
            color: var(--text-white);
        }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            margin-bottom: 12px;
            position: relative;
            display: inline-block;
        }
        .section-title h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 4px;
            margin: 12px auto 0;
        }
        .section-title p {
            font-size: 1.1rem;
            max-width: 640px;
            margin: 0 auto;
            color: var(--text-light);
        }
        .text-center {
            text-align: center;
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: var(--transition);
        }
        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .header-left {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }
        .logo i {
            color: var(--primary);
            font-size: 1.5rem;
        }
        .logo:hover {
            color: var(--primary);
        }
        .nav-list {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-list li a {
            display: block;
            padding: 8px 18px;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-secondary);
            border-radius: var(--radius-xs);
            transition: var(--transition);
            position: relative;
        }
        .nav-list li a:hover {
            color: var(--primary);
            background: var(--primary-light);
        }
        .nav-list li a.active {
            color: var(--primary);
            background: var(--primary-light);
            font-weight: 600;
        }
        .nav-list li a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary);
            border-radius: 4px;
        }
        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .header-search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-body);
            border: 1px solid var(--border);
            border-radius: 40px;
            padding: 6px 16px;
            transition: var(--transition);
        }
        .header-search:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.1);
        }
        .header-search i {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        .header-search input {
            background: none;
            border: none;
            padding: 4px 0;
            width: 160px;
            font-size: 0.9rem;
            color: var(--text-primary);
        }
        .header-search input::placeholder {
            color: var(--text-light);
        }
        .header-search input:focus {
            outline: none;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 40px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            line-height: 1.4;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }
        .btn-secondary {
            background: var(--bg-white);
            color: var(--primary);
            border: 2px solid var(--primary);
        }
        .btn-secondary:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-white);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }
        .btn-outline:hover {
            border-color: #fff;
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-sm {
            padding: 8px 20px;
            font-size: 0.85rem;
        }
        .btn-lg {
            padding: 16px 36px;
            font-size: 1.05rem;
        }
        .nav-toggle {
            display: none;
            font-size: 1.4rem;
            color: var(--text-primary);
            background: none;
            border: none;
            padding: 4px;
            cursor: pointer;
        }

        /* ===== Banner ===== */
        .page-banner {
            position: relative;
            padding: 100px 0 80px;
            background: var(--bg-dark);
            color: var(--text-white);
            overflow: hidden;
        }
        .page-banner .banner-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.25;
            pointer-events: none;
        }
        .page-banner .banner-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(11, 26, 51, 0.88) 40%, rgba(11, 26, 51, 0.6) 80%);
            pointer-events: none;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        .page-banner h1 {
            color: var(--text-white);
            font-size: 2.8rem;
            margin-bottom: 16px;
            max-width: 720px;
        }
        .page-banner p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.15rem;
            max-width: 600px;
            margin-bottom: 0;
        }
        .banner-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
        }
        .banner-breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
        }
        .banner-breadcrumb a:hover {
            color: #fff;
        }
        .banner-breadcrumb span {
            color: rgba(255, 255, 255, 0.9);
        }

        /* ===== 分类导航标签 ===== */
        .category-tabs {
            background: var(--bg-white);
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            position: sticky;
            top: var(--header-height);
            z-index: 100;
        }
        .category-tabs .container {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .category-tabs .container::-webkit-scrollbar {
            display: none;
        }
        .category-tab {
            flex-shrink: 0;
            padding: 8px 22px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg-body);
            border-radius: 40px;
            border: 1px solid var(--border);
            transition: var(--transition);
            cursor: pointer;
            white-space: nowrap;
        }
        .category-tab:hover {
            color: var(--primary);
            border-color: var(--primary);
            background: var(--primary-light);
        }
        .category-tab.active {
            color: #fff;
            background: var(--primary);
            border-color: var(--primary);
        }

        /* ===== 文章卡片网格 ===== */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .article-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
        }
        .article-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }
        .article-card .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            background: var(--bg-section-alt);
        }
        .article-card .card-body {
            padding: 24px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .article-card .card-tag {
            display: inline-block;
            padding: 3px 12px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-light);
            border-radius: 40px;
            margin-bottom: 10px;
            align-self: flex-start;
        }
        .article-card .card-body h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            line-height: 1.5;
        }
        .article-card .card-body h3 a {
            color: var(--text-primary);
        }
        .article-card .card-body h3 a:hover {
            color: var(--primary);
        }
        .article-card .card-body p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 12px;
            flex: 1;
        }
        .article-card .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.8rem;
            color: var(--text-light);
            border-top: 1px solid var(--border-light);
            padding-top: 14px;
            margin-top: auto;
        }
        .article-card .card-meta i {
            margin-right: 4px;
        }
        .article-card .card-meta span {
            display: flex;
            align-items: center;
        }

        /* ===== 图文区块 ===== */
        .feature-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .feature-block.reverse {
            direction: rtl;
        }
        .feature-block.reverse>* {
            direction: ltr;
        }
        .feature-block .feature-img {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            background: var(--bg-section-alt);
        }
        .feature-block .feature-img img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            display: block;
        }
        .feature-block .feature-content h2 {
            margin-bottom: 16px;
        }
        .feature-block .feature-content p {
            font-size: 1.05rem;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        .feature-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 16px;
        }
        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.95rem;
            color: var(--text-secondary);
        }
        .feature-list li i {
            color: var(--accent);
            font-size: 1.1rem;
            margin-top: 2px;
            flex-shrink: 0;
        }

        /* ===== 步骤流程 ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            border: 1px solid var(--border);
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
        .step-card .step-num {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 1.2rem;
            font-weight: 700;
            margin: 0 auto 16px;
            transition: var(--transition);
        }
        .step-card:hover .step-num {
            background: var(--primary);
            color: #fff;
        }
        .step-card h4 {
            margin-bottom: 8px;
            font-size: 1.05rem;
        }
        .step-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 0;
        }
        .step-card .step-connector {
            display: none;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow-sm);
        }
        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 18px 24px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
            transition: var(--transition);
            gap: 16px;
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-question i {
            font-size: 1.1rem;
            color: var(--text-light);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px;
        }
        .faq-item.active .faq-answer {
            max-height: 360px;
            padding: 0 24px 20px;
        }
        .faq-answer p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 0;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-dark);
            position: relative;
            overflow: hidden;
        }
        .cta-section .cta-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
            opacity: 0.12;
            pointer-events: none;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 80px 24px;
        }
        .cta-section h2 {
            color: var(--text-white);
            font-size: 2.2rem;
            margin-bottom: 16px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
            max-width: 560px;
            margin: 0 auto 32px;
        }
        .cta-section .btn-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer-brand .logo {
            color: var(--text-white);
            font-size: 1.3rem;
            margin-bottom: 12px;
            display: inline-flex;
        }
        .footer-brand .logo i {
            color: var(--primary);
        }
        .footer-brand p {
            font-size: 0.92rem;
            color: rgba(255, 255, 255, 0.55);
            max-width: 360px;
            line-height: 1.7;
        }
        .footer-col h4 {
            color: var(--text-white);
            font-size: 0.95rem;
            margin-bottom: 18px;
            font-weight: 600;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.9rem;
            transition: var(--transition);
        }
        .footer-col ul li a:hover {
            color: #fff;
            padding-left: 4px;
        }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 0;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .footer-social {
            display: flex;
            gap: 16px;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .article-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .feature-block {
                gap: 40px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            .page-banner h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            :root {
                --header-height: 64px;
            }
            .nav-list {
                display: none;
                position: absolute;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                flex-direction: column;
                padding: 16px 24px;
                border-bottom: 1px solid var(--border);
                box-shadow: var(--shadow);
                gap: 4px;
            }
            .nav-list.open {
                display: flex;
            }
            .nav-list li a {
                padding: 12px 16px;
                font-size: 1rem;
                border-radius: var(--radius-xs);
            }
            .nav-list li a.active::after {
                display: none;
            }
            .nav-toggle {
                display: block;
            }
            .header-search {
                display: none;
            }
            .header-right .btn-sm {
                display: none;
            }
            .page-banner {
                padding: 80px 0 60px;
            }
            .page-banner h1 {
                font-size: 1.8rem;
            }
            .page-banner p {
                font-size: 1rem;
            }
            .section {
                padding: 56px 0;
            }
            .section-title {
                margin-bottom: 32px;
            }
            .section-title h2 {
                font-size: 1.6rem;
            }
            .article-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .feature-block {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .feature-block.reverse {
                direction: ltr;
            }
            .feature-block .feature-img img {
                height: 260px;
            }
            .steps-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .step-card {
                padding: 24px 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .footer-bottom {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
            .cta-section .container {
                padding: 56px 24px;
            }
            .cta-section h2 {
                font-size: 1.6rem;
            }
            .category-tabs .container {
                gap: 6px;
            }
            .category-tab {
                padding: 6px 16px;
                font-size: 0.82rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner h1 {
                font-size: 1.5rem;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .btn-lg {
                padding: 14px 28px;
                font-size: 0.95rem;
            }
            .cta-section .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .article-card .card-img {
                height: 180px;
            }
        }

        /* ===== 焦点状态 ===== */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 3px solid var(--primary);
            outline-offset: 2px;
            border-radius: var(--radius-xs);
        }

        /* ===== 骨架屏占位 ===== */
        .skeleton {
            background: linear-gradient(90deg, var(--border-light) 25%, #e8edf4 50%, var(--border-light) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: var(--radius-xs);
        }
        @keyframes shimmer {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

/* roulang page: article */
/* ===== Design Variables ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary: #f8a917;
    --secondary-dark: #d48f0e;
    --bg-body: #f5f7fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #1e293b;
    --bg-footer: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
    --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    --container-max: 1200px;
    --header-height: 68px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}
button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    outline: none;
    background: none;
}
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-primary);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 0.8rem; }
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
/* ===== Header / Nav ===== */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}
.logo i { color: var(--primary); font-size: 1.3rem; }
.logo:hover { color: var(--primary); }
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list li a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: background var(--transition), color var(--transition);
}
.nav-list li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-list li a.active {
    background: var(--primary);
    color: #fff;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6px 16px;
    gap: 8px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}
.header-search i { color: var(--text-muted); font-size: 0.9rem; }
.header-search input {
    background: transparent;
    border: none;
    padding: 4px 0;
    width: 140px;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.header-search input::placeholder { color: var(--text-muted); }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: none;
    line-height: 1.4;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,115,232,0.35);
}
.btn-sm { padding: 6px 18px; font-size: 0.85rem; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 6px;
    background: transparent;
    transition: background var(--transition);
}
.nav-toggle:hover { background: var(--bg-body); }
/* ===== Article Main ===== */
.article-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
}
.article-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}
.article-banner .container { position: relative; z-index: 2; }
.article-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.article-banner .breadcrumb a { color: var(--text-muted); }
.article-banner .breadcrumb a:hover { color: var(--secondary); }
.article-banner .breadcrumb span { color: var(--secondary); }
.article-banner h1 {
    color: var(--text-light);
    font-size: 2.2rem;
    max-width: 860px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.article-meta i { margin-right: 4px; }
.article-meta .category-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--bg-dark);
    padding: 2px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}
.article-body-section {
    padding: 48px 0 60px;
}
.article-body-section .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.article-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 44px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    min-height: 400px;
}
.article-content .content-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}
.article-content .content-body p { margin-bottom: 1.2rem; }
.article-content .content-body h2,
.article-content .content-body h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}
.article-content .content-body ul,
.article-content .content-body ol {
    margin: 0.8rem 0 1.2rem 1.6rem;
}
.article-content .content-body li { margin-bottom: 0.4rem; }
.article-content .content-body img {
    border-radius: var(--radius-md);
    margin: 1.5rem auto;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}
.article-content .content-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 16px 20px;
    margin: 1.2rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article-content .content-body a { color: var(--primary); text-decoration: underline; }
.article-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.article-empty i { font-size: 3rem; margin-bottom: 16px; color: var(--border-color); }
.article-empty h2 { margin-bottom: 12px; }
.article-empty .btn { margin-top: 16px; }
/* ===== Sidebar ===== */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.sidebar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card h3 i { color: var(--primary); }
.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color var(--transition);
}
.sidebar-list li a:hover { color: var(--primary); }
.sidebar-list li a i { color: var(--primary); font-size: 0.8rem; margin-top: 4px; flex-shrink: 0; }
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 28px 24px;
}
.sidebar-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 8px 0 16px; }
.sidebar-cta .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}
.sidebar-cta .btn:hover { background: var(--secondary); color: var(--bg-dark); transform: translateY(-2px); }
/* ===== Related Section ===== */
.related-section {
    background: var(--bg-white);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}
.related-section .section-title {
    text-align: center;
    margin-bottom: 32px;
}
.related-section .section-title h2 { font-size: 1.6rem; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related-card {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.related-card .cat-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.related-card h4 { font-size: 1rem; margin-bottom: 8px; }
.related-card h4 a { color: var(--text-primary); }
.related-card h4 a:hover { color: var(--primary); }
.related-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card .meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}
/* ===== Footer ===== */
.site-footer {
    background: var(--bg-footer);
    color: var(--text-muted);
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.footer-brand .logo i { color: var(--secondary); }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); max-width: 340px; }
.footer-col h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a:hover { color: var(--secondary); }
.footer-col ul li a i { width: 16px; color: var(--secondary); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color var(--transition);
}
.footer-social a:hover { color: var(--secondary); }
/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .article-body-section .container {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .nav-toggle { display: block; }
    .header-search input { width: 100px; }
    .header-right .btn-sm { display: none; }
    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
        box-shadow: var(--shadow-md);
        gap: 4px;
    }
    .article-banner { padding: 40px 0 32px; min-height: 180px; }
    .article-banner h1 { font-size: 1.5rem; }
    .article-content { padding: 24px 20px; }
    .article-meta { gap: 12px; font-size: 0.82rem; }
    .article-sidebar { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
    .container { padding: 0 14px; }
    .header-search { display: none; }
    .article-banner h1 { font-size: 1.25rem; }
    .article-content { padding: 16px 14px; }
    .related-card { padding: 16px; }
}
