/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #0f1d35;
            --primary-light: #1a3a6b;
            --primary-dark: #080f1f;
            --accent: #d4a853;
            --accent-light: #e8c97a;
            --accent-dark: #b8923a;
            --bg-light: #f7f9fc;
            --bg-white: #ffffff;
            --bg-dark: #0a1628;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #8a8aaa;
            --text-white: #f0f4ff;
            --border-color: #e2e6ee;
            --border-light: #f0f2f8;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
            --shadow-xl: 0 24px 60px rgba(0,0,0,0.14);
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --sidebar-width: 240px;
            --sidebar-collapsed: 72px;
            --header-height: 64px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
        }

        /* ===== 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);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-light);
            min-height: 100vh;
            display: flex;
        }
        a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--accent); }
        a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
        img { max-width: 100%; height: auto; display: block; }
        button, input, textarea { font-family: inherit; font-size: inherit; }
        button { cursor: pointer; border: none; background: none; }
        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: clamp(2.2rem, 5vw, 3.6rem); }
        h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
        h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
        h4 { font-size: 1.1rem; }
        p { color: var(--text-secondary); margin-bottom: 1rem; }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section { padding: 80px 0; }
        .section-title { text-align: center; margin-bottom: 48px; }
        .section-title h2 { position: relative; display: inline-block; }
        .section-title h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent);
            margin: 12px auto 0;
            border-radius: 2px;
        }
        .section-title p { max-width: 600px; margin: 16px auto 0; color: var(--text-light); font-size: 1.05rem; }

        /* ===== Sidebar Navigation (App Shell) ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--primary);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: transform var(--transition), width var(--transition);
            box-shadow: 2px 0 20px rgba(0,0,0,0.2);
        }
        .sidebar-brand {
            padding: 28px 20px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .sidebar-brand .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--primary);
            flex-shrink: 0;
        }
        .sidebar-brand .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-white);
            letter-spacing: 0.5px;
        }
        .sidebar-brand .logo-text span { color: var(--accent); }
        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            overflow-y: auto;
        }
        .sidebar-nav li { margin-bottom: 4px; }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: rgba(255,255,255,0.7);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all var(--transition);
            position: relative;
        }
        .sidebar-nav a i { width: 20px; text-align: center; font-size: 1.1rem; flex-shrink: 0; }
        .sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: var(--text-white); }
        .sidebar-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
        .sidebar-nav li.active a {
            background: rgba(212,168,83,0.15);
            color: var(--accent);
            font-weight: 600;
        }
        .sidebar-nav li.active a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--accent);
            border-radius: 0 3px 3px 0;
        }
        .sidebar-footer {
            padding: 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 0.8rem;
            color: rgba(255,255,255,0.4);
            text-align: center;
        }

        /* ===== Mobile Header ===== */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background: var(--primary);
            z-index: 999;
            padding: 0 20px;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }
        .mobile-header .logo-text {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-white);
        }
        .mobile-header .logo-text span { color: var(--accent); }
        .hamburger {
            width: 40px;
            height: 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            border-radius: var(--radius-sm);
            transition: background var(--transition);
        }
        .hamburger:hover { background: rgba(255,255,255,0.08); }
        .hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text-white);
            border-radius: 2px;
            transition: all var(--transition);
        }
        .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ===== Overlay for mobile ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity var(--transition);
        }
        .sidebar-overlay.show { opacity: 1; }

        /* ===== Main Content ===== */
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            background: var(--bg-light);
        }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            min-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-dark);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(15,29,53,0.65) 50%, rgba(10,22,40,0.80) 100%);
            z-index: 1;
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 120px;
            background: linear-gradient(to top, var(--bg-light), transparent);
            z-index: 2;
        }
        .hero-content {
            position: relative;
            z-index: 3;
            text-align: center;
            padding: 40px 24px;
            max-width: 800px;
        }
        .hero-badge {
            display: inline-block;
            background: rgba(212,168,83,0.15);
            color: var(--accent);
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 24px;
            border: 1px solid rgba(212,168,83,0.2);
            backdrop-filter: blur(4px);
        }
        .hero-content h1 {
            color: var(--text-white);
            font-size: clamp(2.4rem, 6vw, 4rem);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }
        .hero-content h1 span { color: var(--accent); }
        .hero-content p {
            color: rgba(255,255,255,0.75);
            font-size: clamp(1rem, 2vw, 1.25rem);
            max-width: 600px;
            margin: 0 auto 32px;
            line-height: 1.7;
        }
        .hero-actions {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition);
            border: none;
            cursor: pointer;
        }
        .btn-primary {
            background: var(--accent);
            color: var(--primary);
            box-shadow: 0 4px 16px rgba(212,168,83,0.3);
        }
        .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,83,0.4); color: var(--primary); }
        .btn-primary:active { transform: translateY(0); }
        .btn-outline {
            background: transparent;
            color: var(--text-white);
            border: 2px solid rgba(255,255,255,0.3);
            backdrop-filter: blur(4px);
        }
        .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,168,83,0.1); transform: translateY(-2px); }
        .btn-outline:active { transform: translateY(0); }
        .btn-sm { padding: 10px 20px; font-size: 0.85rem; }

        /* ===== Intro Section ===== */
        .intro-section { background: var(--bg-white); }
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .intro-image {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
        }
        .intro-image img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.6s ease; }
        .intro-image:hover img { transform: scale(1.03); }
        .intro-text h2 { margin-bottom: 20px; }
        .intro-text p { margin-bottom: 16px; color: var(--text-secondary); }
        .intro-text .feature-list { margin-top: 24px; }
        .intro-text .feature-list li {
            display: flex;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .intro-text .feature-list li:last-child { border-bottom: none; }
        .intro-text .feature-list i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

        /* ===== Category Cards ===== */
        .category-section { background: var(--bg-light); }
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
        }
        .category-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            border: 1px solid var(--border-color);
        }
        .category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
        .category-card .card-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        .category-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .category-card:hover .card-img img { transform: scale(1.05); }
        .category-card .card-img .card-tag {
            position: absolute;
            top: 16px;
            left: 16px;
            background: rgba(15,29,53,0.85);
            color: var(--text-white);
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }
        .category-card .card-body { padding: 24px; }
        .category-card .card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
        .category-card .card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
        .category-card .card-footer { padding: 0 24px 20px; display: flex; justify-content: space-between; align-items: center; }
        .category-card .card-footer .btn-text {
            color: var(--primary-light);
            font-weight: 600;
            font-size: 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap var(--transition);
        }
        .category-card .card-footer .btn-text:hover { gap: 12px; color: var(--accent); }

        /* ===== Latest Posts (CMS) ===== */
        .posts-section { background: var(--bg-white); }
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 28px;
        }
        .post-card {
            background: var(--bg-light);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            border: 1px solid var(--border-color);
        }
        .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .post-card .post-img {
            height: 180px;
            overflow: hidden;
            background: var(--primary-light);
        }
        .post-card .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .post-card:hover .post-img img { transform: scale(1.04); }
        .post-card .post-body { padding: 20px; }
        .post-card .post-meta {
            display: flex;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 10px;
            align-items: center;
        }
        .post-card .post-meta .badge {
            background: var(--primary);
            color: var(--text-white);
            padding: 2px 10px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        .post-card .post-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
        .post-card .post-body h3 a { color: var(--text-primary); }
        .post-card .post-body h3 a:hover { color: var(--accent); }
        .post-card .post-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0; }
        .post-card .post-footer { padding: 0 20px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-light); }
        .post-card .post-footer a { font-weight: 600; color: var(--primary-light); }
        .post-card .post-footer a:hover { color: var(--accent); }
        .posts-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-light);
            background: var(--bg-light);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border-color);
        }
        .posts-empty i { font-size: 2.5rem; color: var(--border-color); margin-bottom: 16px; display: block; }
        .posts-empty p { font-size: 1rem; }

        /* ===== Stats Section ===== */
        .stats-section {
            background: var(--primary);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
        }
        .stats-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(15,29,53,0.88);
        }
        .stats-section .container { position: relative; z-index: 1; }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }
        .stat-item { padding: 20px; }
        .stat-item .stat-number {
            font-size: clamp(2.4rem, 4vw, 3.6rem);
            font-weight: 800;
            color: var(--accent);
            line-height: 1.1;
            margin-bottom: 8px;
        }
        .stat-item .stat-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 500; }
        .stat-divider { width: 40px; height: 2px; background: rgba(212,168,83,0.4); margin: 12px auto; border-radius: 2px; }

        /* ===== Featured Section ===== */
        .featured-section { background: var(--bg-light); }
        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 28px;
        }
        .featured-item {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
        }
        .featured-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
        .featured-item .icon-wrap {
            width: 64px;
            height: 64px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            color: var(--accent);
            transition: transform var(--transition);
        }
        .featured-item:hover .icon-wrap { transform: scale(1.08); }
        .featured-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
        .featured-item p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

        /* ===== FAQ Section ===== */
        .faq-section { background: var(--bg-white); }
        .faq-list { max-width: 800px; margin: 0 auto; }
        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            overflow: hidden;
            transition: box-shadow var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow-sm); }
        .faq-item summary {
            padding: 20px 24px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            transition: background var(--transition);
            list-style: none;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after {
            content: '\f107';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--text-light);
            transition: transform var(--transition);
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .faq-item[open] summary::after { transform: rotate(180deg); }
        .faq-item[open] summary { background: rgba(15,29,53,0.03); }
        .faq-item .faq-answer {
            padding: 0 24px 20px;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item .faq-answer p:last-child { margin-bottom: 0; }

        /* ===== CTA Section ===== */
        .cta-section {
            background: var(--primary);
            background-image: url('/assets/images/backpic/back-3.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(10,22,40,0.85);
        }
        .cta-section .container { position: relative; z-index: 1; text-align: center; }
        .cta-section h2 { color: var(--text-white); margin-bottom: 16px; }
        .cta-section p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
        .cta-section .btn-primary { font-size: 1.05rem; padding: 16px 40px; }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.6);
            padding: 60px 0 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand .logo-text {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 12px;
            display: block;
        }
        .footer-brand .logo-text span { color: var(--accent); }
        .footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 300px; }
        .footer-col h4 { color: var(--text-white); font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
        .footer-col ul a:hover { color: var(--accent); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            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: 12px; }
        .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);
            transition: all var(--transition);
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .intro-grid { gap: 40px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
        }

        @media (max-width: 768px) {
            .sidebar { transform: translateX(-100%); width: 280px; }
            .sidebar.open { transform: translateX(0); }
            .mobile-header { display: flex; }
            .sidebar-overlay { display: block; }
            .main-content { margin-left: 0; padding-top: var(--header-height); }
            .hero { min-height: 70vh; }
            .intro-grid { grid-template-columns: 1fr; gap: 32px; }
            .intro-image img { height: 260px; }
            .category-grid { grid-template-columns: 1fr; }
            .posts-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .featured-grid { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .section { padding: 56px 0; }
            .hero-content { padding: 24px 16px; }
            .hero-actions { flex-direction: column; align-items: center; }
            .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
        }

        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .featured-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stat-item { padding: 12px; }
            .stat-item .stat-number { font-size: 2rem; }
            .faq-item summary { padding: 16px; font-size: 0.9rem; }
            .faq-item .faq-answer { padding: 0 16px 16px; }
            .hero-content h1 { font-size: 2rem; }
            .section-title { margin-bottom: 32px; }
            .btn { padding: 12px 24px; font-size: 0.9rem; }
        }

        @media (min-width: 769px) {
            .sidebar-overlay { display: none !important; }
        }

        /* ===== Utility ===== */
        .text-accent { color: var(--accent); }
        .text-center { text-align: center; }
        .mt-8 { margin-top: 8px; }
        .mt-16 { margin-top: 16px; }
        .mt-24 { margin-top: 24px; }
        .mb-16 { margin-bottom: 16px; }
        .mb-24 { margin-bottom: 24px; }
        .gap-8 { gap: 8px; }
        .gap-16 { gap: 16px; }
        .flex-center { display: flex; align-items: center; justify-content: center; }
        .badge {
            display: inline-block;
            background: var(--primary);
            color: var(--text-white);
            padding: 3px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .badge-accent { background: var(--accent); color: var(--primary); }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #0d1b3e;
            --primary-light: #1a2a5e;
            --primary-dark: #080f25;
            --accent: #d4a84b;
            --accent-hover: #e0b85c;
            --accent-light: #f5e6c8;
            --bg: #f5f7fa;
            --card-bg: #ffffff;
            --text: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #8a8aa0;
            --border: #e5e7eb;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 16px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --sidebar-width: 240px;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 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);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            display: flex;
            min-height: 100vh;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.25;
            font-weight: 600;
            color: var(--text);
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Sidebar ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--primary);
            color: #fff;
            display: flex;
            flex-direction: column;
            padding: 28px 0 20px;
            z-index: 1000;
            transition: var(--transition);
            overflow-y: auto;
        }
        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 24px 32px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .logo-icon {
            width: 42px;
            height: 42px;
            background: var(--accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--primary);
            flex-shrink: 0;
        }
        .logo-text {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: #fff;
        }
        .logo-text span {
            color: var(--accent);
        }
        .sidebar-nav {
            padding: 24px 12px 12px;
            flex: 1;
        }
        .sidebar-nav li {
            margin-bottom: 4px;
        }
        .sidebar-nav li a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
        }
        .sidebar-nav li a i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }
        .sidebar-nav li a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }
        .sidebar-nav li.active a {
            background: var(--accent);
            color: var(--primary);
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(212, 168, 75, 0.35);
        }
        .sidebar-footer {
            padding: 20px 24px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 13px;
            color: rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-footer i {
            color: var(--accent);
        }

        /* ===== Main Content ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Hero ===== */
        .page-hero {
            position: relative;
            padding: 100px 0 80px;
            background: var(--primary-dark);
            color: #fff;
            overflow: hidden;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.3;
            z-index: 0;
        }
        .page-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(13, 27, 62, 0.88) 0%, rgba(8, 15, 37, 0.92) 100%);
            z-index: 1;
        }
        .page-hero .container {
            position: relative;
            z-index: 2;
        }
        .page-hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .page-hero h1 span {
            color: var(--accent);
        }
        .page-hero p {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 640px;
            line-height: 1.6;
        }
        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 28px;
        }
        .hero-tags .tag {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(4px);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 14px;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        .hero-tags .tag i {
            margin-right: 6px;
            color: var(--accent);
        }

        /* ===== Section Common ===== */
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: #fff;
        }
        .section-title {
            font-size: 34px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }
        .section-sub {
            text-align: center;
            color: var(--text-secondary);
            font-size: 17px;
            max-width: 620px;
            margin: 0 auto 48px;
            line-height: 1.6;
        }
        .section-title-left {
            text-align: left;
        }
        .section-sub-left {
            text-align: left;
            margin-left: 0;
        }

        /* ===== Cards Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 28px;
        }
        .card-grid-3 {
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        }
        .card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--border);
        }
        .card:hover {
            box-shadow: var(--shadow);
            transform: translateY(-4px);
        }
        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 0;
        }
        .card-body {
            padding: 24px;
        }
        .card-body h3 {
            font-size: 19px;
            margin-bottom: 8px;
            font-weight: 600;
        }
        .card-body p {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .card-body .card-tag {
            display: inline-block;
            background: var(--accent-light);
            color: var(--primary);
            font-size: 12px;
            padding: 4px 14px;
            border-radius: 20px;
            font-weight: 500;
        }
        .card-body .card-link {
            color: var(--accent);
            font-weight: 600;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .card-body .card-link:hover {
            color: var(--accent-hover);
            gap: 10px;
        }

        /* ===== Intro Block ===== */
        .intro-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        .intro-block .intro-img {
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            width: 100%;
            height: 380px;
            object-fit: cover;
        }
        .intro-block .intro-content h2 {
            font-size: 32px;
            margin-bottom: 16px;
        }
        .intro-block .intro-content p {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .intro-block .intro-content .highlight-list {
            margin-top: 12px;
        }
        .intro-block .intro-content .highlight-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 8px 0;
            font-size: 15px;
            color: var(--text-secondary);
        }
        .intro-block .intro-content .highlight-list li i {
            color: var(--accent);
            font-size: 16px;
            margin-top: 4px;
            flex-shrink: 0;
        }

        /* ===== Data / Stats ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            text-align: center;
        }
        .stat-item {
            background: var(--card-bg);
            padding: 32px 16px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        .stat-item:hover {
            box-shadow: var(--shadow);
            transform: translateY(-2px);
        }
        .stat-item .stat-num {
            font-size: 40px;
            font-weight: 700;
            color: var(--accent);
            line-height: 1.1;
        }
        .stat-item .stat-label {
            font-size: 15px;
            color: var(--text-secondary);
            margin-top: 8px;
        }
        .stat-item .stat-icon {
            font-size: 28px;
            color: var(--primary-light);
            margin-bottom: 12px;
        }

        /* ===== Timeline / Process ===== */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 32px;
            counter-reset: step;
        }
        .process-step {
            background: var(--card-bg);
            padding: 32px 24px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            text-align: center;
            position: relative;
            transition: var(--transition);
        }
        .process-step:hover {
            box-shadow: var(--shadow);
            transform: translateY(-3px);
        }
        .process-step::before {
            counter-increment: step;
            content: counter(step);
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            width: 32px;
            height: 32px;
            background: var(--accent);
            color: var(--primary);
            font-weight: 700;
            font-size: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(212, 168, 75, 0.3);
        }
        .process-step .step-icon {
            font-size: 32px;
            color: var(--primary-light);
            margin-bottom: 16px;
            margin-top: 8px;
        }
        .process-step h4 {
            font-size: 18px;
            margin-bottom: 8px;
        }
        .process-step p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--card-bg);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            margin-bottom: 12px;
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--accent);
        }
        .faq-question {
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            transition: var(--transition);
        }
        .faq-question i {
            transition: var(--transition);
            color: var(--accent);
            font-size: 14px;
        }
        .faq-question.open i {
            transform: rotate(180deg);
        }
        .faq-answer {
            padding: 0 24px 18px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }
        .faq-answer.open {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
            background: var(--primary);
            color: #fff;
            text-align: center;
        }
        .cta-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #fff;
        }
        .cta-section p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 560px;
            margin: 0 auto 32px;
        }
        .btn-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 16px;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            background: var(--accent);
            color: var(--primary);
        }
        .btn:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
        }
        .btn-outline {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }
        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(212, 168, 75, 0.08);
            box-shadow: none;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 56px 0 28px;
            margin-top: auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 32px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer-brand .logo-text {
            font-size: 22px;
            margin-bottom: 12px;
        }
        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.55);
            max-width: 320px;
        }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 16px;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .footer-col ul li a:hover {
            color: var(--accent);
            padding-left: 4px;
        }
        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            padding-top: 24px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.4);
            gap: 12px;
        }
        .footer-bottom a {
            color: var(--accent);
        }
        .footer-bottom a:hover {
            color: var(--accent-hover);
        }
        .footer-social {
            display: flex;
            gap: 14px;
        }
        .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: 16px;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--accent);
            color: var(--primary);
        }

        /* ===== Table / Schedule ===== */
        .schedule-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .schedule-table thead {
            background: var(--primary);
            color: #fff;
        }
        .schedule-table th {
            padding: 14px 20px;
            font-size: 15px;
            font-weight: 600;
            text-align: left;
        }
        .schedule-table td {
            padding: 14px 20px;
            font-size: 14px;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border);
        }
        .schedule-table tbody tr:hover {
            background: rgba(212, 168, 75, 0.04);
        }
        .schedule-table .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        .badge-best {
            background: #d4edda;
            color: #155724;
        }
        .badge-good {
            background: #fff3cd;
            color: #856404;
        }
        .badge-fair {
            background: #f8d7da;
            color: #721c24;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .intro-block {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .intro-block .intro-img {
                height: 260px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                height: auto;
                position: relative;
                flex-direction: row;
                flex-wrap: wrap;
                padding: 12px 16px;
                align-items: center;
                justify-content: space-between;
            }
            .sidebar-brand {
                padding: 0;
                border-bottom: none;
                gap: 8px;
            }
            .sidebar-brand .logo-icon {
                width: 34px;
                height: 34px;
                font-size: 18px;
            }
            .sidebar-brand .logo-text {
                font-size: 18px;
            }
            .sidebar-nav {
                display: none;
                width: 100%;
                padding: 12px 0 0;
                flex: none;
            }
            .sidebar-nav.open {
                display: block;
            }
            .sidebar-nav li a {
                padding: 10px 12px;
                font-size: 14px;
            }
            .sidebar-footer {
                display: none;
            }
            .sidebar .mobile-toggle {
                display: flex !important;
            }
            .main-content {
                margin-left: 0;
            }
            .page-hero {
                padding: 60px 0 50px;
            }
            .page-hero h1 {
                font-size: 30px;
            }
            .page-hero p {
                font-size: 16px;
            }
            .section {
                padding: 48px 0;
            }
            .section-title {
                font-size: 26px;
            }
            .card-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .card-img {
                height: 160px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .stat-item {
                padding: 20px 12px;
            }
            .stat-item .stat-num {
                font-size: 28px;
            }
            .process-steps {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .btn {
                padding: 12px 28px;
                font-size: 14px;
            }
            .schedule-table {
                font-size: 13px;
            }
            .schedule-table th,
            .schedule-table td {
                padding: 10px 12px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .card-grid {
                grid-template-columns: 1fr;
            }
            .card-img {
                height: 200px;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .process-steps {
                grid-template-columns: 1fr;
            }
            .page-hero h1 {
                font-size: 26px;
            }
            .section-title {
                font-size: 22px;
            }
            .hero-tags .tag {
                font-size: 12px;
                padding: 6px 14px;
            }
            .faq-question {
                font-size: 14px;
                padding: 14px 16px;
            }
            .faq-answer {
                padding: 0 16px 14px;
                font-size: 14px;
            }
            .cta-section h2 {
                font-size: 26px;
            }
            .btn-group {
                flex-direction: column;
                align-items: center;
            }
        }

        /* ===== Mobile Toggle ===== */
        .mobile-toggle {
            display: none !important;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            padding: 4px 8px;
        }
        @media (max-width: 768px) {
            .mobile-toggle {
                display: flex !important;
            }
        }

        /* ===== Utility ===== */
        .text-accent {
            color: var(--accent);
        }
        .mt-12 {
            margin-top: 12px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mb-12 {
            margin-bottom: 12px;
        }
        .mb-24 {
            margin-bottom: 24px;
        }
        .text-center {
            text-align: center;
        }
        .gap-8 {
            gap: 8px;
        }
        .flex-wrap {
            display: flex;
            flex-wrap: wrap;
        }

        /* focus visible */
        a:focus-visible,
        button:focus-visible,
        .faq-question:focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 2px;
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #0d1b2a;
            --primary-light: #1b2d45;
            --primary-dark: #070f1a;
            --accent: #f5a623;
            --accent-hover: #e09515;
            --accent-light: #fff3e0;
            --bg-body: #f5f7fa;
            --bg-card: #ffffff;
            --bg-sidebar: #0d1b2a;
            --bg-footer: #0a1525;
            --text-primary: #1a1a2e;
            --text-body: #3d3d4a;
            --text-muted: #7a7a8a;
            --text-light: #e8e8f0;
            --text-sidebar: #c0c8d8;
            --border-color: #e6eaf0;
            --border-light: #f0f2f5;
            --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.1);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
            --sidebar-width: 240px;
            --header-height: 0px;
            --content-max-width: 860px;
        }

        /* ===== 基础 Reset ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; }
        body {
            font-family: var(--font-family);
            background: var(--bg-body);
            color: var(--text-body);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            display: flex;
            min-height: 100vh;
        }
        a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--accent-hover); }
        a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        img::selection { background: var(--accent-light); }
        ul, ol { list-style: none; }
        button, input, textarea { font-family: inherit; font-size: inherit; }
        button { cursor: pointer; border: none; background: none; }
        button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
        h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }

        /* ===== 布局 ===== */
        .app-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

        /* ===== 侧边栏 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: transform var(--transition), box-shadow var(--transition);
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
            overflow-y: auto;
        }
        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
        .sidebar::-webkit-scrollbar-track { background: transparent; }
        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 28px 24px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .logo-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--accent), #ff8c42);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
            flex-shrink: 0;
        }
        .logo-text {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.5px;
        }
        .logo-text span { color: var(--accent); }
        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
        }
        .sidebar-nav li { margin-bottom: 4px; }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: 10px;
            color: var(--text-sidebar);
            font-size: 0.95rem;
            font-weight: 500;
            transition: background var(--transition), color var(--transition);
        }
        .sidebar-nav a i { width: 20px; text-align: center; font-size: 1.05rem; }
        .sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
        .sidebar-nav li.active a {
            background: rgba(245, 166, 35, 0.15);
            color: var(--accent);
            font-weight: 600;
        }
        .sidebar-footer {
            padding: 20px 24px;
            border-top: 1px solid rgba(255,255,255,0.06);
            color: var(--text-sidebar);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 10px;
            opacity: 0.7;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            width: calc(100% - var(--sidebar-width));
        }

        /* ===== 移动端菜单按钮 ===== */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--bg-card);
            color: var(--text-primary);
            font-size: 20px;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            transition: background var(--transition), transform var(--transition);
            border: 1px solid var(--border-color);
        }
        .mobile-toggle:hover { background: var(--accent-light); transform: scale(1.05); }
        .mobile-toggle i { pointer-events: none; }

        /* ===== 文章页面 ===== */
        .article-page {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        /* ===== 文章横幅 ===== */
        .article-hero {
            position: relative;
            padding: 80px 48px 60px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #162a44 100%);
            overflow: hidden;
            min-height: 280px;
            display: flex;
            align-items: flex-end;
        }
        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.25;
            mix-blend-mode: overlay;
        }
        .article-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.5) 50%, transparent 100%);
        }
        .article-hero .container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: var(--content-max-width);
            margin: 0 auto;
        }
        .article-category-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(245, 166, 35, 0.2);
            color: var(--accent);
            font-size: 0.82rem;
            font-weight: 600;
            padding: 6px 16px;
            border-radius: 20px;
            border: 1px solid rgba(245, 166, 35, 0.3);
            margin-bottom: 16px;
            backdrop-filter: blur(4px);
        }
        .article-category-badge i { font-size: 0.75rem; }
        .article-hero h1 {
            font-size: 2.4rem;
            color: #fff;
            font-weight: 800;
            line-height: 1.3;
            letter-spacing: -0.02em;
            max-width: 90%;
            text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }
        .article-meta-hero {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
        }
        .article-meta-hero span {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .article-meta-hero i { font-size: 0.85rem; color: var(--accent); }

        /* ===== 文章正文区 ===== */
        .article-body-section {
            padding: 48px 48px 32px;
            flex: 1;
        }
        .article-body-section .container {
            max-width: var(--content-max-width);
            margin: 0 auto;
        }
        .article-body-inner {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 48px 56px;
            border: 1px solid var(--border-color);
        }
        .article-featured-image {
            margin-bottom: 36px;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .article-featured-image img {
            width: 100%;
            max-height: 480px;
            object-fit: cover;
        }
        .article-content {
            font-size: 1.05rem;
            line-height: 1.9;
            color: var(--text-body);
        }
        .article-content p {
            margin-bottom: 1.6em;
        }
        .article-content h2, .article-content h3, .article-content h4 {
            margin-top: 2em;
            margin-bottom: 0.8em;
            color: var(--text-primary);
        }
        .article-content h2 { font-size: 1.6rem; }
        .article-content h3 { font-size: 1.3rem; }
        .article-content h4 { font-size: 1.1rem; }
        .article-content ul, .article-content ol {
            margin-bottom: 1.6em;
            padding-left: 1.6em;
        }
        .article-content ul { list-style: disc; }
        .article-content ol { list-style: decimal; }
        .article-content li { margin-bottom: 0.5em; }
        .article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
        .article-content a:hover { color: var(--accent-hover); }
        .article-content blockquote {
            border-left: 4px solid var(--accent);
            padding: 16px 24px;
            margin: 1.6em 0;
            background: var(--accent-light);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-primary);
            font-style: italic;
        }
        .article-content code {
            background: #f0f2f5;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--primary);
        }
        .article-content img {
            border-radius: var(--radius-sm);
            margin: 1.6em auto;
            box-shadow: var(--shadow-sm);
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.6em 0;
            font-size: 0.95rem;
        }
        .article-content th, .article-content td {
            padding: 12px 16px;
            border: 1px solid var(--border-color);
            text-align: left;
        }
        .article-content th {
            background: var(--bg-body);
            font-weight: 600;
            color: var(--text-primary);
        }

        /* ===== 文章底部操作栏 ===== */
        .article-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 40px;
            padding-top: 28px;
            border-top: 1px solid var(--border-color);
            align-items: center;
            justify-content: space-between;
        }
        .article-actions-left {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.92rem;
            transition: all var(--transition);
            border: 1px solid transparent;
            cursor: pointer;
            text-decoration: none;
        }
        .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
        .btn-primary {
            background: var(--accent);
            color: var(--primary-dark);
            border-color: var(--accent);
            box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
        }
        .btn-primary:hover {
            background: var(--accent-hover);
            color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border-color: var(--border-color);
        }
        .btn-outline:hover {
            background: var(--bg-body);
            border-color: var(--text-muted);
            transform: translateY(-1px);
        }
        .btn-ghost {
            background: transparent;
            color: var(--text-muted);
            border-color: transparent;
        }
        .btn-ghost:hover {
            background: var(--bg-body);
            color: var(--text-primary);
        }

        /* ===== 推荐文章 ===== */
        .recommend-section {
            padding: 16px 48px 56px;
        }
        .recommend-section .container {
            max-width: var(--content-max-width);
            margin: 0 auto;
        }
        .recommend-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
        }
        .recommend-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .recommend-header h2 i { color: var(--accent); font-size: 1.3rem; }
        .recommend-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .recommend-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .recommend-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }
        .recommend-card-img {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .recommend-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .recommend-card:hover .recommend-card-img img { transform: scale(1.05); }
        .recommend-card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .recommend-card-body h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            line-height: 1.4;
        }
        .recommend-card-body p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
            flex: 1;
        }
        .recommend-card-body .card-tag {
            margin-top: 12px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.78rem;
            color: var(--accent);
            font-weight: 500;
        }

        /* ===== 错误状态 ===== */
        .error-state {
            padding: 80px 48px;
            text-align: center;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .error-state .error-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: 60px 48px;
            max-width: 520px;
            width: 100%;
            border: 1px solid var(--border-color);
        }
        .error-state .error-icon {
            font-size: 3.6rem;
            color: var(--accent);
            margin-bottom: 16px;
        }
        .error-state h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .error-state p {
            color: var(--text-muted);
            font-size: 1.05rem;
            margin-bottom: 28px;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-footer);
            color: rgba(255,255,255,0.7);
            padding: 56px 0 0;
            margin-top: auto;
        }
        .site-footer .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 48px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .footer-brand .logo-text { font-size: 1.5rem; margin-bottom: 16px; display: inline-block; }
        .footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 320px; opacity: 0.8; }
        .footer-col h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 32px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            transition: color var(--transition), padding-left var(--transition);
            display: inline-block;
        }
        .footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
        .footer-col ul li a i { margin-right: 8px; color: var(--accent); width: 16px; text-align: center; }
        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 24px 0;
            gap: 16px;
            font-size: 0.85rem;
            opacity: 0.7;
        }
        .footer-bottom a { color: var(--accent); }
        .footer-bottom a:hover { color: var(--accent-hover); }
        .footer-social { display: flex; gap: 14px; }
        .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.6);
            font-size: 1rem;
            transition: all var(--transition);
        }
        .footer-social a:hover {
            background: var(--accent);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* ===== 移动端遮罩 ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            backdrop-filter: blur(2px);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .article-hero h1 { font-size: 2rem; }
            .article-body-inner { padding: 36px 32px; }
            .recommend-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                box-shadow: none;
                border-right: none;
            }
            .sidebar.open { transform: translateX(0); box-shadow: 4px 0 30px rgba(0,0,0,0.25); }
            .sidebar-overlay.active { display: block; }
            .mobile-toggle { display: flex; }
            .main-content {
                margin-left: 0;
                width: 100%;
            }
            .article-hero {
                padding: 100px 24px 40px;
                min-height: 220px;
            }
            .article-hero h1 {
                font-size: 1.6rem;
                max-width: 100%;
            }
            .article-body-section { padding: 24px 16px 20px; }
            .article-body-inner { padding: 24px 20px; border-radius: var(--radius-md); }
            .article-content { font-size: 0.98rem; }
            .article-actions { flex-direction: column; align-items: stretch; }
            .article-actions-left { flex-direction: column; }
            .article-actions-left .btn { width: 100%; justify-content: center; }
            .recommend-section { padding: 8px 16px 40px; }
            .recommend-grid { grid-template-columns: 1fr; gap: 16px; }
            .recommend-header { flex-direction: column; align-items: flex-start; gap: 8px; }
            .error-state { padding: 60px 24px; }
            .error-state .error-card { padding: 40px 24px; }
            .site-footer .container { padding: 0 24px; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

        @media (max-width: 520px) {
            .article-hero { padding: 90px 16px 32px; }
            .article-hero h1 { font-size: 1.35rem; }
            .article-body-inner { padding: 18px 14px; }
            .article-meta-hero { font-size: 0.82rem; gap: 12px; }
            .article-content { font-size: 0.92rem; }
            .btn { padding: 8px 18px; font-size: 0.85rem; }
            .recommend-card-img { height: 150px; }
        }

        /* ===== 打印样式 ===== */
        @media print {
            .sidebar, .mobile-toggle, .sidebar-overlay, .article-actions, .recommend-section, .site-footer { display: none !important; }
            .main-content { margin-left: 0; width: 100%; }
            .article-body-inner { box-shadow: none; border: none; padding: 0; }
            .article-hero { background: #fff !important; padding: 20px 0; min-height: auto; }
            .article-hero::before, .article-hero::after { display: none !important; }
            .article-hero h1 { color: #000; }
            .article-meta-hero { color: #666; }
        }
