/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #1a1a2e;
            --primary-light: #2d2d4a;
            --accent: #e94560;
            --accent-hover: #d63850;
            --accent-light: rgba(233, 69, 96, 0.12);
            --gold: #ffd700;
            --gold-light: rgba(255, 215, 0, 0.15);
            --bg: #f5f6fa;
            --bg-white: #ffffff;
            --bg-dark: #0f0f1a;
            --text: #2d3436;
            --text-light: #636e72;
            --text-white: #f8f9fa;
            --border: #e9ecef;
            --border-light: #f1f3f5;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --sidebar-width: 240px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-sans);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            overflow-x: hidden;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: inherit; text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent); }
        button, input, textarea { font-family: inherit; outline: none; border: none; }
        ul { list-style: none; padding: 0; margin: 0; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--primary); }
        h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
        h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.75rem; }
        h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
        p { margin-bottom: 0.75rem; color: var(--text-light); }
        .container-custom { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

        /* ===== App Wrapper ===== */
        .app-wrapper { display: flex; min-height: 100vh; }

        /* ===== Sidebar (Desktop Left Nav) ===== */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--bg-white);
            border-right: 1px solid var(--border);
            position: fixed; top: 0; left: 0; bottom: 0;
            z-index: 1040;
            display: flex; flex-direction: column;
            padding: 28px 16px 20px;
            transition: transform 0.35s ease;
            box-shadow: 2px 0 20px rgba(0,0,0,0.04);
        }
        .sidebar-brand {
            display: flex; align-items: center; gap: 10px;
            padding: 0 8px 24px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 20px;
        }
        .sidebar-brand .brand-icon {
            width: 38px; height: 38px;
            background: linear-gradient(135deg, var(--accent), var(--gold));
            border-radius: var(--radius-sm);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; font-weight: 800; color: #fff;
            flex-shrink: 0;
        }
        .sidebar-brand .brand-text {
            font-size: 1.2rem; font-weight: 800; color: var(--primary);
            letter-spacing: 0.5px;
        }
        .sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }
        .sidebar-nav .nav-item {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            font-weight: 500; font-size: 0.95rem;
            color: var(--text-light);
            transition: var(--transition);
            cursor: pointer;
        }
        .sidebar-nav .nav-item i { width: 20px; text-align: center; font-size: 1rem; }
        .sidebar-nav .nav-item:hover {
            background: var(--accent-light);
            color: var(--accent);
        }
        .sidebar-nav .nav-item.active {
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            box-shadow: 0 4px 14px rgba(233, 69, 96, 0.30);
        }
        .sidebar-footer {
            padding-top: 16px;
            border-top: 1px solid var(--border);
            font-size: 0.8rem;
            color: var(--text-light);
            text-align: center;
        }
        .sidebar-footer .social-links {
            display: flex; justify-content: center; gap: 14px;
            margin-bottom: 10px;
        }
        .sidebar-footer .social-links a {
            width: 34px; height: 34px;
            border-radius: 50%;
            background: var(--bg);
            display: flex; align-items: center; justify-content: center;
            color: var(--text-light);
            transition: var(--transition);
        }
        .sidebar-footer .social-links a:hover {
            background: var(--accent);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ===== Mobile Top Nav ===== */
        .mobile-topbar {
            display: none;
            position: fixed; top: 0; left: 0; right: 0;
            z-index: 1050;
            background: var(--bg-white);
            padding: 12px 20px;
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            align-items: center; justify-content: space-between;
        }
        .mobile-topbar .brand-text {
            font-size: 1.1rem; font-weight: 800; color: var(--primary);
        }
        .mobile-topbar .hamburger {
            background: none; border: none; font-size: 1.4rem;
            color: var(--primary); cursor: pointer;
            padding: 4px 8px; border-radius: 6px;
        }
        .mobile-topbar .hamburger:hover { background: var(--bg); }

        /* Offcanvas overlay for mobile */
        .sidebar-overlay {
            display: none;
            position: fixed; inset: 0; z-index: 1035;
            background: rgba(0,0,0,0.4);
            opacity: 0; transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .sidebar-overlay.show { opacity: 1; pointer-events: auto; }

        /* ===== Main Content ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            padding-top: 0;
        }
        /* Hero section */
        .hero-section {
            position: relative;
            min-height: 85vh;
            display: flex; align-items: center;
            background: var(--bg-dark) url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
            background-attachment: fixed;
            padding: 60px 40px;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(15,15,26,0.88) 0%, rgba(26,26,46,0.72) 60%, rgba(233,69,96,0.30) 100%);
            z-index: 1;
        }
        .hero-content { position: relative; z-index: 2; max-width: 720px; }
        .hero-content .hero-badge {
            display: inline-block;
            background: var(--gold-light);
            color: var(--gold);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px;
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,215,0,0.20);
        }
        .hero-content h1 {
            color: #fff;
            font-size: clamp(2.2rem, 5vw, 3.6rem);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 20px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.30);
        }
        .hero-content h1 .highlight { color: var(--gold); }
        .hero-content .hero-sub {
            color: rgba(255,255,255,0.80);
            font-size: clamp(1rem, 1.6vw, 1.2rem);
            line-height: 1.8;
            margin-bottom: 32px;
            max-width: 600px;
        }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
        .hero-actions .btn-accent {
            display: inline-flex; align-items: center; gap: 10px;
            background: var(--accent);
            color: #fff;
            padding: 14px 36px;
            border-radius: 50px;
            font-weight: 600; font-size: 1rem;
            transition: var(--transition);
            box-shadow: 0 6px 24px rgba(233,69,96,0.35);
            border: none;
        }
        .hero-actions .btn-accent:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 10px 32px rgba(233,69,96,0.40);
            color: #fff;
        }
        .hero-actions .btn-ghost {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,0.10);
            backdrop-filter: blur(6px);
            color: #fff;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 500; font-size: 0.95rem;
            border: 1px solid rgba(255,255,255,0.20);
            transition: var(--transition);
        }
        .hero-actions .btn-ghost:hover {
            background: rgba(255,255,255,0.20);
            color: #fff;
            transform: translateY(-2px);
        }
        .hero-stats {
            display: flex; flex-wrap: wrap; gap: 32px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid rgba(255,255,255,0.12);
        }
        .hero-stats .stat-item { text-align: left; }
        .hero-stats .stat-item .num {
            font-size: 1.8rem; font-weight: 800; color: var(--gold);
            line-height: 1.2;
        }
        .hero-stats .stat-item .label {
            font-size: 0.85rem; color: rgba(255,255,255,0.60);
            margin-top: 2px;
        }

        /* ===== Section Shared ===== */
        .section-block { padding: 80px 40px; }
        .section-block .section-title { text-align: center; margin-bottom: 12px; }
        .section-block .section-subtitle {
            text-align: center;
            color: var(--text-light);
            font-size: 1.05rem;
            max-width: 600px;
            margin: 0 auto 48px;
        }
        .section-block.bg-white { background: var(--bg-white); }
        .section-block.bg-dark {
            background: var(--bg-dark);
            color: var(--text-white);
        }
        .section-block.bg-dark h2 { color: #fff; }
        .section-block.bg-dark .section-subtitle { color: rgba(255,255,255,0.70); }

        /* ===== Feature Cards ===== */
        .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .feature-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 36px 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
            text-align: left;
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent-light);
        }
        .feature-card .icon {
            width: 56px; height: 56px;
            border-radius: var(--radius-sm);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 18px;
        }
        .feature-card .icon.icon-red { background: var(--accent-light); color: var(--accent); }
        .feature-card .icon.icon-gold { background: var(--gold-light); color: var(--gold); }
        .feature-card .icon.icon-blue { background: rgba(108,92,231,0.12); color: #6c5ce7; }
        .feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary); }
        .feature-card p { font-size: 0.92rem; margin-bottom: 0; }

        /* ===== Showcase / Topic Cards ===== */
        .showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .showcase-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .showcase-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        .showcase-card .card-img {
            width: 100%; aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
        }
        .showcase-card .card-body { padding: 20px 22px 24px; }
        .showcase-card .card-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
        .showcase-card .card-body p { font-size: 0.88rem; margin-bottom: 12px; }
        .showcase-card .card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
        .showcase-card .card-tags .tag {
            display: inline-block;
            background: var(--bg);
            color: var(--text-light);
            padding: 3px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        /* ===== CMS News / List ===== */
        .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
        .news-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 24px 26px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .news-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent-light);
        }
        .news-card .meta {
            display: flex; align-items: center; gap: 12px;
            font-size: 0.82rem; color: var(--text-light);
            margin-bottom: 8px;
        }
        .news-card .meta .cat {
            background: var(--accent-light);
            color: var(--accent);
            padding: 2px 12px;
            border-radius: 50px;
            font-weight: 600;
        }
        .news-card h3 { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.4; }
        .news-card h3 a { color: var(--primary); }
        .news-card h3 a:hover { color: var(--accent); }
        .news-card p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-light); }
        .news-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 20px;
            color: var(--text-light);
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border);
        }

        /* ===== Stats / Counter ===== */
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
        .stat-card {
            background: rgba(255,255,255,0.06);
            border-radius: var(--radius-md);
            padding: 32px 16px;
            border: 1px solid rgba(255,255,255,0.08);
            transition: var(--transition);
        }
        .stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.10); }
        .stat-card .num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1.2; }
        .stat-card .label { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover { border-color: var(--accent-light); }
        .faq-item .faq-question {
            display: flex; align-items: center; justify-content: space-between;
            padding: 18px 24px;
            font-weight: 600; font-size: 1rem;
            cursor: pointer;
            color: var(--primary);
            background: none; width: 100%; text-align: left;
            border: none;
            transition: var(--transition);
        }
        .faq-item .faq-question:hover { color: var(--accent); }
        .faq-item .faq-question i { transition: transform 0.3s ease; color: var(--accent); }
        .faq-item.active .faq-question i { transform: rotate(180deg); }
        .faq-item .faq-answer {
            padding: 0 24px 18px;
            font-size: 0.92rem;
            color: var(--text-light);
            display: none;
            line-height: 1.7;
        }
        .faq-item.active .faq-answer { display: block; }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-dark) url('/assets/images/backpic/back-2.webp') center center / cover no-repeat;
            background-attachment: fixed;
            padding: 80px 40px;
            text-align: center;
            position: relative;
        }
        .cta-section::before {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(15,15,26,0.85), rgba(26,26,46,0.70));
            z-index: 1;
        }
        .cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
        .cta-content h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
        .cta-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 28px; }
        .cta-content .btn-cta {
            display: inline-flex; align-items: center; gap: 10px;
            background: var(--gold);
            color: var(--primary);
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 700; font-size: 1.05rem;
            transition: var(--transition);
            box-shadow: 0 6px 24px rgba(255,215,0,0.30);
        }
        .cta-content .btn-cta:hover {
            background: #ffc800;
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(255,215,0,0.40);
            color: var(--primary);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--primary);
            color: rgba(255,255,255,0.70);
            padding: 48px 40px 32px;
        }
        .site-footer .footer-grid {
            display: grid; grid-template-columns: 2fr 1fr 1fr;
            gap: 36px;
            max-width: 1200px; margin: 0 auto;
        }
        .site-footer .footer-brand .f-logo {
            font-size: 1.3rem; font-weight: 800; color: #fff;
            margin-bottom: 10px;
        }
        .site-footer .footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); max-width: 320px; }
        .site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
        .site-footer ul li { margin-bottom: 8px; }
        .site-footer ul li a { color: rgba(255,255,255,0.60); font-size: 0.88rem; }
        .site-footer ul li a:hover { color: var(--gold); }
        .site-footer .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.10);
            padding-top: 20px;
            margin-top: 36px;
            text-align: center;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.45);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .feature-grid { grid-template-columns: repeat(2, 1fr); }
            .showcase-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .news-grid { grid-template-columns: 1fr; }
            .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .sidebar { display: none; }
            .mobile-topbar { display: flex; }
            .sidebar-overlay { display: block; }
            .sidebar.mobile-open {
                display: flex;
                transform: translateX(0);
                box-shadow: 4px 0 40px rgba(0,0,0,0.20);
            }
            .main-content { margin-left: 0; padding-top: 60px; }
            .hero-section { padding: 40px 24px; min-height: 70vh; background-attachment: scroll; }
            .section-block { padding: 50px 20px; }
            .feature-grid { grid-template-columns: 1fr; }
            .showcase-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .stat-card { padding: 20px 12px; }
            .stat-card .num { font-size: 1.8rem; }
            .hero-stats { gap: 20px; }
            .hero-stats .stat-item .num { font-size: 1.4rem; }
            .cta-section { padding: 50px 24px; }
            .site-footer { padding: 36px 20px 24px; }
            .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            .faq-item .faq-question { padding: 14px 18px; font-size: 0.92rem; }
            .faq-item .faq-answer { padding: 0 18px 14px; }
        }
        @media (max-width: 520px) {
            .hero-content h1 { font-size: 1.8rem; }
            .hero-actions { flex-direction: column; width: 100%; }
            .hero-actions .btn-accent,
            .hero-actions .btn-ghost { width: 100%; justify-content: center; }
            .hero-stats { flex-direction: column; gap: 14px; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .section-block { padding: 36px 16px; }
            .news-card { padding: 18px; }
        }

        /* ===== Utility ===== */
        .text-accent { color: var(--accent); }
        .text-gold { color: var(--gold); }
        .fw-800 { font-weight: 800; }
        .mt-2 { margin-top: 20px; }
        .mb-1 { margin-bottom: 10px; }
        .gap-2 { gap: 20px; }

/* roulang page: category1 */
:root {
            --primary: #6c3bff;
            --primary-dark: #5228d9;
            --primary-light: #8f6bff;
            --secondary: #ff6b9d;
            --accent: #00d4aa;
            --bg-dark: #0f0b1a;
            --bg-card: #1a1330;
            --bg-section: #130e24;
            --text-light: #f0edf8;
            --text-muted: #a89fc8;
            --text-body: #d5cee8;
            --border-color: #2f2650;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow: 0 12px 40px rgba(108, 59, 255, 0.12);
            --shadow-hover: 0 20px 60px rgba(108, 59, 255, 0.22);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --sidebar-width: 240px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg-dark);
            color: var(--text-body);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            display: flex;
            min-height: 100vh;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: #fff;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container-custom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* ===== 左侧导航 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-card);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            z-index: 1050;
            padding: 28px 0;
            backdrop-filter: blur(12px);
            transition: var(--transition);
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 24px 28px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 20px;
        }

        .brand-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }

        .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: 0.5px;
        }

        .sidebar-nav {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 0 12px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-muted);
            font-weight: 500;
            font-size: 15px;
            transition: var(--transition);
            border: none;
            background: transparent;
        }
        .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }
        .nav-item:hover {
            background: rgba(108, 59, 255, 0.12);
            color: var(--text-light);
        }
        .nav-item.active {
            background: linear-gradient(135deg, rgba(108, 59, 255, 0.2), rgba(255, 107, 157, 0.08));
            color: #fff;
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--primary);
        }

        .sidebar-footer {
            padding: 20px 24px 0;
            border-top: 1px solid var(--border-color);
            margin-top: 12px;
        }
        .social-links {
            display: flex;
            gap: 16px;
            margin-bottom: 12px;
        }
        .social-links a {
            color: var(--text-muted);
            font-size: 18px;
            transition: var(--transition);
        }
        .social-links a:hover {
            color: var(--primary-light);
            transform: translateY(-2px);
        }
        .sidebar-footer span {
            font-size: 12px;
            color: var(--text-muted);
            display: block;
        }

        /* ===== 主内容区 ===== */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
        }

        /* ===== 移动端导航切换 ===== */
        .navbar-toggler-custom {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1060;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            padding: 10px 14px;
            color: var(--text-light);
            font-size: 20px;
            cursor: pointer;
            backdrop-filter: blur(12px);
            transition: var(--transition);
        }
        .navbar-toggler-custom:hover {
            background: var(--primary-dark);
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1045;
            backdrop-filter: blur(4px);
        }

        /* ===== Hero 区块 ===== */
        .hero-section {
            position: relative;
            padding: 100px 0 80px;
            background: linear-gradient(160deg, #120c24 0%, #1a1330 40%, #0f0b1a 100%);
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(108, 59, 255, 0.15), transparent 70%);
            pointer-events: none;
        }
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 107, 157, 0.08), transparent 70%);
            pointer-events: none;
        }
        .hero-bg-img {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.webp') center center / cover no-repeat;
            opacity: 0.08;
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .hero-badge {
            display: inline-block;
            background: rgba(108, 59, 255, 0.2);
            border: 1px solid rgba(108, 59, 255, 0.3);
            border-radius: 50px;
            padding: 6px 20px;
            font-size: 14px;
            color: var(--primary-light);
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }
        .hero-title {
            font-size: 52px;
            font-weight: 800;
            line-height: 1.2;
            color: #fff;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }
        .hero-title span {
            background: linear-gradient(135deg, var(--primary-light), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-desc {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 640px;
            margin: 0 auto 32px;
            line-height: 1.8;
        }
        .hero-actions {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== 按钮 ===== */
        .btn-custom {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }
        .btn-primary-custom {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 6px 24px rgba(108, 59, 255, 0.3);
        }
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 36px rgba(108, 59, 255, 0.4);
            color: #fff;
        }
        .btn-outline-custom {
            background: transparent;
            color: var(--text-light);
            border: 1.5px solid var(--border-color);
        }
        .btn-outline-custom:hover {
            border-color: var(--primary);
            background: rgba(108, 59, 255, 0.08);
            color: #fff;
            transform: translateY(-3px);
        }
        .btn-sm-custom {
            padding: 10px 22px;
            font-size: 14px;
        }

        /* ===== 通用板块 ===== */
        .section-block {
            padding: 80px 0;
        }
        .section-block-alt {
            background: var(--bg-section);
        }
        .section-label {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--primary-light);
            margin-bottom: 12px;
        }
        .section-title {
            font-size: 36px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: -0.3px;
        }
        .section-sub {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 640px;
            margin-bottom: 48px;
            line-height: 1.8;
        }
        .text-center .section-sub {
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== 卡片 ===== */
        .card-custom {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 32px 28px;
            transition: var(--transition);
            height: 100%;
        }
        .card-custom:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(108, 59, 255, 0.3);
        }
        .card-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-bottom: 20px;
            background: rgba(108, 59, 255, 0.15);
            color: var(--primary-light);
        }
        .card-custom h4 {
            font-size: 20px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 12px;
        }
        .card-custom p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 0;
        }
        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 16px;
        }
        .tag {
            display: inline-block;
            background: rgba(108, 59, 255, 0.1);
            border: 1px solid rgba(108, 59, 255, 0.2);
            border-radius: 50px;
            padding: 4px 14px;
            font-size: 12px;
            color: var(--primary-light);
        }

        /* ===== 图文区块 ===== */
        .feature-row {
            display: flex;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }
        .feature-image {
            flex: 1 1 45%;
            min-width: 280px;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .feature-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            min-height: 320px;
        }
        .feature-text {
            flex: 1 1 45%;
            min-width: 280px;
        }
        .feature-text h3 {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
        }
        .feature-text p {
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            color: var(--text-body);
            font-size: 15px;
        }
        .feature-list li i {
            color: var(--accent);
            font-size: 18px;
            margin-top: 3px;
            flex-shrink: 0;
        }

        /* ===== 流程步骤 ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 32px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 36px 28px;
            text-align: center;
            transition: var(--transition);
            position: relative;
        }
        .step-card::before {
            counter-increment: step;
            content: counter(step);
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(108, 59, 255, 0.3);
        }
        .step-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(108, 59, 255, 0.25);
        }
        .step-card .step-icon {
            font-size: 36px;
            color: var(--primary-light);
            margin-bottom: 16px;
        }
        .step-card h5 {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 10px;
        }
        .step-card p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 0;
        }

        /* ===== 场景卡片 ===== */
        .scene-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }
        .scene-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 28px 24px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        .scene-card::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(108, 59, 255, 0.08), transparent 70%);
            pointer-events: none;
        }
        .scene-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(108, 59, 255, 0.25);
        }
        .scene-card .scene-emoji {
            font-size: 32px;
            margin-bottom: 14px;
        }
        .scene-card h5 {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 10px;
        }
        .scene-card p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }
        .scene-card .tag {
            font-size: 11px;
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 32px;
            text-align: center;
        }
        .stat-item .stat-number {
            font-size: 42px;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }
        .stat-item .stat-label {
            font-size: 15px;
            color: var(--text-muted);
            margin-top: 6px;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: rgba(108, 59, 255, 0.2);
        }
        .faq-question {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 24px;
            background: transparent;
            border: none;
            color: var(--text-light);
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-align: left;
            gap: 16px;
        }
        .faq-question i {
            transition: var(--transition);
            color: var(--text-muted);
            flex-shrink: 0;
        }
        .faq-question[aria-expanded="true"] i {
            transform: rotate(180deg);
            color: var(--primary-light);
        }
        .faq-answer {
            padding: 0 24px 18px;
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
            display: none;
        }
        .faq-item.active .faq-answer {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
            background: linear-gradient(160deg, #1a1330, #0f0b1a);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('/assets/images/backpic/back-3.webp') center center / cover no-repeat;
            opacity: 0.06;
            pointer-events: none;
        }
        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 640px;
            margin: 0 auto;
        }
        .cta-content h2 {
            font-size: 36px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
        }
        .cta-content p {
            color: var(--text-muted);
            font-size: 17px;
            margin-bottom: 32px;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-card);
            border-top: 1px solid var(--border-color);
            padding: 56px 24px 32px;
            margin-top: auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 48px;
            max-width: 1200px;
            margin: 0 auto 40px;
        }
        .footer-brand .f-logo {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 320px;
        }
        .site-footer h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 16px;
        }
        .site-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .site-footer ul li {
            margin-bottom: 10px;
        }
        .site-footer ul a {
            color: var(--text-muted);
            font-size: 14px;
            transition: var(--transition);
        }
        .site-footer ul a:hover {
            color: var(--primary-light);
        }
        .footer-bottom {
            text-align: center;
            font-size: 13px;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .navbar-toggler-custom {
                display: block;
            }
            .main-wrapper {
                margin-left: 0;
            }
            .overlay.show {
                display: block;
            }
            .hero-title {
                font-size: 32px;
            }
            .hero-desc {
                font-size: 16px;
            }
            .section-title {
                font-size: 28px;
            }
            .feature-row {
                flex-direction: column;
                gap: 32px;
            }
            .feature-image {
                flex: 1 1 100%;
                min-width: 0;
            }
            .feature-text {
                flex: 1 1 100%;
                min-width: 0;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-grid {
                grid-template-columns: 1fr 1fr;
            }
            .scene-grid {
                grid-template-columns: 1fr 1fr;
            }
            .hero-actions {
                flex-direction: column;
                align-items: center;
            }
            .btn-custom {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
        }

        @media (max-width: 520px) {
            .hero-title {
                font-size: 26px;
            }
            .section-title {
                font-size: 24px;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .scene-grid {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            .stat-item .stat-number {
                font-size: 32px;
            }
            .card-custom {
                padding: 24px 20px;
            }
            .container-custom {
                padding: 0 16px;
            }
            .section-block {
                padding: 48px 0;
            }
            .cta-section {
                padding: 48px 0;
            }
            .faq-question {
                padding: 14px 16px;
                font-size: 15px;
            }
            .faq-answer {
                padding: 0 16px 14px;
            }
        }

        /* ===== Bootstrap 覆盖 ===== */
        .btn {
            font-family: var(--font-sans);
        }
        .row {
            --bs-gutter-x: 24px;
        }

/* roulang page: article */
:root {
            --primary: #4a6cf7;
            --primary-dark: #3b5de7;
            --primary-light: #6b8aff;
            --secondary: #6c5ce7;
            --accent: #00cec9;
            --accent-light: #55efc4;
            --dark: #1a1a2e;
            --dark-2: #16213e;
            --dark-3: #0f3460;
            --bg: #f4f6f9;
            --bg-card: #ffffff;
            --text: #2d3436;
            --text-light: #636e72;
            --text-muted: #b2bec3;
            --border: #e9ecef;
            --border-light: #f1f3f5;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-xs: 6px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
            --shadow-sidebar: 4px 0 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --sidebar-width: 260px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            font-size: 16px;
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
        }

        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 {
            font-family: inherit;
            font-size: inherit;
        }
        ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        /* ===== Sidebar ===== */
        .sidebar {
            width: var(--sidebar-width);
            min-height: 100vh;
            background: var(--dark);
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1050;
            padding: 28px 0 20px;
            transition: var(--transition);
            box-shadow: var(--shadow-sidebar);
            overflow-y: auto;
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            padding: 0 24px 28px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            gap: 14px;
        }

        .brand-icon {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 20px;
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }

        .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.5px;
        }

        .sidebar-nav {
            flex: 1;
            padding: 20px 12px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 18px;
            border-radius: var(--radius-sm);
            color: rgba(255, 255, 255, 0.65);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .nav-item:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(4px);
        }

        .nav-item:focus-visible {
            outline: 2px solid var(--primary-light);
            outline-offset: 2px;
        }

        .nav-item.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            box-shadow: 0 4px 15px rgba(74, 108, 247, 0.35);
        }

        .nav-item.active i {
            color: #fff;
        }

        .sidebar-footer {
            padding: 20px 24px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            color: rgba(255, 255, 255, 0.4);
            font-size: 18px;
            transition: var(--transition);
        }

        .social-links a:hover {
            color: var(--primary-light);
            transform: scale(1.15);
        }

        .sidebar-footer span {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
        }

        /* ===== Main Content ===== */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Article Hero ===== */
        .article-hero {
            position: relative;
            padding: 80px 40px 60px;
            background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
            color: #fff;
            overflow: hidden;
        }

        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
            opacity: 0.2;
            pointer-events: none;
        }

        .article-hero .container {
            position: relative;
            z-index: 2;
            max-width: 960px;
            margin: 0 auto;
        }

        .article-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .article-breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
            transition: var(--transition);
        }

        .article-breadcrumb a:hover {
            color: #fff;
        }

        .article-breadcrumb .separator {
            color: rgba(255, 255, 255, 0.3);
        }

        .article-hero h1 {
            font-size: 36px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-meta i {
            font-size: 14px;
            opacity: 0.7;
        }

        .article-meta .category-badge {
            display: inline-block;
            padding: 4px 16px;
            border-radius: 50px;
            background: rgba(74, 108, 247, 0.25);
            color: var(--primary-light);
            font-size: 13px;
            font-weight: 600;
            border: 1px solid rgba(74, 108, 247, 0.3);
        }

        /* ===== Article Body ===== */
        .article-body {
            flex: 1;
            padding: 40px 40px 60px;
        }

        .article-body .container {
            max-width: 960px;
            margin: 0 auto;
        }

        .article-featured-image {
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }

        .article-featured-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .article-content {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 48px 52px;
            box-shadow: var(--shadow);
            line-height: 1.9;
            font-size: 16px;
            color: var(--text);
        }

        .article-content h2,
        .article-content h3,
        .article-content h4 {
            margin-top: 36px;
            margin-bottom: 16px;
            font-weight: 700;
            color: var(--dark);
            letter-spacing: -0.3px;
        }

        .article-content h2 {
            font-size: 26px;
            border-bottom: 2px solid var(--border);
            padding-bottom: 10px;
        }

        .article-content h3 {
            font-size: 22px;
        }

        .article-content h4 {
            font-size: 18px;
        }

        .article-content p {
            margin-bottom: 20px;
        }

        .article-content ul,
        .article-content ol {
            margin-bottom: 20px;
            padding-left: 24px;
        }

        .article-content ul li,
        .article-content ol li {
            margin-bottom: 8px;
        }

        .article-content ul li::marker {
            color: var(--primary);
        }

        .article-content blockquote {
            border-left: 4px solid var(--primary);
            padding: 16px 24px;
            margin: 24px 0;
            background: #f8f9ff;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-light);
            font-style: italic;
        }

        .article-content pre {
            background: var(--dark);
            color: #e4e4e4;
            padding: 20px 24px;
            border-radius: var(--radius-sm);
            overflow-x: auto;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .article-content code {
            background: #f0f0f0;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 14px;
            color: var(--secondary);
        }

        .article-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

        .article-content img {
            border-radius: var(--radius-sm);
            margin: 24px 0;
            box-shadow: var(--shadow);
        }

        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .article-content a:hover {
            color: var(--primary-dark);
        }

        .article-not-found {
            text-align: center;
            padding: 80px 20px;
            background: var(--bg-card);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .article-not-found .not-found-icon {
            font-size: 64px;
            color: var(--text-muted);
            margin-bottom: 24px;
        }

        .article-not-found h2 {
            font-size: 28px;
            color: var(--dark);
            margin-bottom: 12px;
        }

        .article-not-found p {
            color: var(--text-light);
            margin-bottom: 28px;
        }

        .article-not-found .btn-home {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            font-weight: 600;
            transition: var(--transition);
        }

        .article-not-found .btn-home:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(74, 108, 247, 0.3);
            color: #fff;
        }

        /* ===== Article Footer Nav ===== */
        .article-footer-nav {
            margin-top: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }

        .article-footer-nav .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 50px;
            background: var(--bg);
            color: var(--text);
            font-weight: 500;
            transition: var(--transition);
            border: 1px solid var(--border);
        }

        .article-footer-nav .btn-back:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateX(-4px);
        }

        .article-footer-nav .btn-share {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 50px;
            background: var(--primary);
            color: #fff;
            font-weight: 500;
            transition: var(--transition);
            border: none;
        }

        .article-footer-nav .btn-share:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 40px 30px;
            margin-top: auto;
        }

        .site-footer .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr;
            gap: 48px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 28px;
        }

        .footer-brand .f-logo {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.5);
            max-width: 360px;
        }

        .site-footer h4 {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: 0.3px;
        }

        .site-footer ul li {
            margin-bottom: 10px;
        }

        .site-footer ul li a {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            transition: var(--transition);
        }

        .site-footer ul li a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }

        .footer-bottom {
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.3);
            padding-top: 8px;
        }

        /* ===== Mobile Toggle ===== */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1060;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-xs);
            background: var(--dark);
            color: #fff;
            border: none;
            font-size: 20px;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
        }

        .mobile-toggle:hover {
            background: var(--primary);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1045;
            backdrop-filter: blur(4px);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-hero h1 {
                font-size: 30px;
            }
            .article-content {
                padding: 36px 32px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 36px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
            }

            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .sidebar-overlay.active {
                display: block;
            }

            .mobile-toggle {
                display: flex;
            }

            .main-wrapper {
                margin-left: 0;
            }

            .article-hero {
                padding: 60px 20px 40px;
            }

            .article-hero h1 {
                font-size: 26px;
            }

            .article-body {
                padding: 24px 16px 40px;
            }

            .article-content {
                padding: 24px 20px;
                border-radius: var(--radius-sm);
            }

            .article-content h2 {
                font-size: 22px;
            }
            .article-content h3 {
                font-size: 18px;
            }

            .article-meta {
                gap: 12px;
                font-size: 13px;
            }

            .article-footer-nav {
                flex-direction: column;
                align-items: stretch;
            }

            .article-footer-nav .btn-back,
            .article-footer-nav .btn-share {
                justify-content: center;
            }

            .site-footer {
                padding: 40px 20px 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .footer-brand p {
                max-width: 100%;
            }
        }

        @media (max-width: 520px) {
            .article-hero h1 {
                font-size: 22px;
            }

            .article-content {
                padding: 20px 16px;
                font-size: 15px;
            }

            .article-content h2 {
                font-size: 20px;
            }
            .article-content h3 {
                font-size: 17px;
            }

            .article-meta {
                flex-direction: column;
                gap: 8px;
            }

            .article-breadcrumb {
                font-size: 13px;
            }

            .article-not-found {
                padding: 40px 16px;
            }

            .article-not-found .not-found-icon {
                font-size: 48px;
            }

            .article-not-found h2 {
                font-size: 22px;
            }
        }

        /* ===== Utility ===== */
        .text-center {
            text-align: center;
        }
        .mt-2 {
            margin-top: 16px;
        }
        .mb-2 {
            margin-bottom: 16px;
        }
        .gap-2 {
            gap: 16px;
        }
        .flex-wrap {
            flex-wrap: wrap;
        }
        .d-flex {
            display: flex;
        }
        .align-center {
            align-items: center;
        }
