/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #0f1b2d;
            --primary-light: #1a2d4a;
            --primary-dark: #080f1a;
            --accent: #c9a84c;
            --accent-light: #dfc06a;
            --accent-dark: #a88a2e;
            --bg: #f8fafc;
            --bg-card: #ffffff;
            --bg-dark: #0f1b2d;
            --bg-section: #f1f4f9;
            --text: #1a2332;
            --text-light: #5a6a7e;
            --text-muted: #8a9aaa;
            --text-white: #f0f2f5;
            --border: #e2e8f0;
            --border-light: #f1f4f9;
            --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06);
            --shadow: 0 4px 16px rgba(15, 27, 45, 0.08);
            --shadow-lg: 0 12px 40px rgba(15, 27, 45, 0.12);
            --shadow-accent: 0 4px 20px rgba(201, 168, 76, 0.3);
            --radius-sm: 6px;
            --radius: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
            --container: 1200px;
            --header-h: 72px;
            --nav-h: 52px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--accent-dark); 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; }
        button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; }
        input, textarea { font-family: inherit; font-size: inherit; }
        ul { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--primary); }
        h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
        h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
        h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
        h4 { font-size: 1.1rem; }
        p { margin-bottom: 1em; color: var(--text-light); }
        .container {
            width: 100%;
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section { padding: 80px 0; }
        .section-alt { background: var(--bg-section); }
        .section-dark { background: var(--bg-dark); color: var(--text-white); }
        .section-dark h2,
        .section-dark h3,
        .section-dark .section-subtitle { color: var(--text-white); }
        .section-dark p { color: rgba(240, 242, 245, 0.75); }
        .section-title { text-align: center; margin-bottom: 12px; }
        .section-subtitle {
            text-align: center;
            font-size: 1.05rem;
            color: var(--text-light);
            max-width: 680px;
            margin: 0 auto 48px;
        }
        .section-dark .section-subtitle { color: rgba(240, 242, 245, 0.7); }

        /* ===== Header & Navigation ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(15, 27, 45, 0.97);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(201, 168, 76, 0.15);
            transition: background var(--transition), box-shadow var(--transition);
        }
        .header.scrolled { background: rgba(15, 27, 45, 0.99); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--header-h);
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo {
            font-size: 1.45rem;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }
        .logo i { color: var(--accent); font-size: 1.3rem; }
        .logo span { color: var(--accent); }
        .logo:hover { color: var(--accent-light); }
        .nav-main { display: flex; align-items: center; gap: 4px; }
        .nav-main a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            color: rgba(240, 242, 245, 0.75);
            font-size: 0.92rem;
            font-weight: 500;
            transition: all var(--transition);
            position: relative;
            white-space: nowrap;
        }
        .nav-main a:hover { color: var(--text-white); background: rgba(201, 168, 76, 0.1); }
        .nav-main a.active {
            color: var(--accent);
            background: rgba(201, 168, 76, 0.12);
        }
        .nav-main a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }
        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .search-toggle {
            color: rgba(240, 242, 245, 0.7);
            font-size: 1.1rem;
            padding: 8px 10px;
            border-radius: var(--radius-sm);
            transition: all var(--transition);
        }
        .search-toggle:hover { color: var(--accent); background: rgba(201, 168, 76, 0.1); }
        .btn-nav-cta {
            background: var(--accent);
            color: var(--primary-dark);
            padding: 8px 22px;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 0.88rem;
            transition: all var(--transition);
            white-space: nowrap;
        }
        .btn-nav-cta:hover { background: var(--accent-light); color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
        .mobile-toggle {
            display: none;
            color: var(--text-white);
            font-size: 1.4rem;
            padding: 8px;
            border-radius: var(--radius-sm);
        }
        .mobile-toggle:hover { background: rgba(201, 168, 76, 0.1); color: var(--accent); }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            min-height: 92vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 140px 24px 80px;
            background: var(--primary-dark);
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.3;
            z-index: 0;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,27,45,0.92) 0%, rgba(15,27,45,0.70) 50%, rgba(15,27,45,0.88) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 820px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(201, 168, 76, 0.15);
            border: 1px solid rgba(201, 168, 76, 0.25);
            color: var(--accent-light);
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 28px;
            letter-spacing: 0.3px;
        }
        .hero-badge i { font-size: 0.75rem; }
        .hero-title {
            font-size: clamp(2.4rem, 6vw, 4rem);
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.15;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }
        .hero-title span { color: var(--accent); }
        .hero-desc {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: rgba(240, 242, 245, 0.75);
            max-width: 640px;
            margin: 0 auto 36px;
            line-height: 1.8;
        }
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--accent);
            color: var(--primary-dark);
            padding: 14px 36px;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 1rem;
            transition: all var(--transition);
            box-shadow: var(--shadow-accent);
        }
        .btn-primary:hover { background: var(--accent-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: transparent;
            color: var(--text-white);
            padding: 14px 36px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 1rem;
            border: 1.5px solid rgba(240, 242, 245, 0.3);
            transition: all var(--transition);
        }
        .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,0.08); transform: translateY(-2px); }
        .hero-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            justify-content: center;
            margin-top: 56px;
            padding-top: 40px;
            border-top: 1px solid rgba(240, 242, 245, 0.08);
        }
        .hero-stat { text-align: center; }
        .hero-stat-num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            line-height: 1.2;
        }
        .hero-stat-label {
            font-size: 0.85rem;
            color: rgba(240, 242, 245, 0.6);
            margin-top: 4px;
        }

        /* ===== Advantages ===== */
        .adv-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 28px;
        }
        .adv-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 36px 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            text-align: center;
        }
        .adv-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(201,168,76,0.2); }
        .adv-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.5rem;
            color: var(--accent-dark);
        }
        .adv-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
        .adv-card p { font-size: 0.92rem; margin-bottom: 0; }

        /* ===== Categories ===== */
        .cat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
        }
        .cat-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            background: var(--primary-dark);
            box-shadow: var(--shadow);
            transition: all var(--transition);
            display: block;
            min-height: 260px;
        }
        .cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
        .cat-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            transition: transform 0.5s ease;
        }
        .cat-card:hover img { transform: scale(1.05); }
        .cat-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(15,27,45,0.85) 0%, rgba(15,27,45,0.3) 60%, rgba(15,27,45,0.1) 100%);
            z-index: 1;
        }
        .cat-body {
            position: relative;
            z-index: 2;
            padding: 32px 28px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            height: 100%;
            min-height: 260px;
        }
        .cat-tag {
            display: inline-block;
            background: var(--accent);
            color: var(--primary-dark);
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            margin-bottom: 12px;
            align-self: flex-start;
        }
        .cat-body h3 { color: var(--text-white); font-size: 1.3rem; margin-bottom: 8px; }
        .cat-body p { color: rgba(240, 242, 245, 0.7); font-size: 0.9rem; margin-bottom: 0; }
        .cat-arrow {
            position: absolute;
            bottom: 32px;
            right: 28px;
            color: var(--accent);
            font-size: 1.2rem;
            opacity: 0.7;
            transition: all var(--transition);
        }
        .cat-card:hover .cat-arrow { opacity: 1; transform: translateX(4px); }

        /* ===== Latest Posts (CMS) ===== */
        .post-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 28px;
        }
        .post-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(201,168,76,0.15); }
        .post-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            background: var(--bg-section);
        }
        .post-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
        .post-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 10px;
        }
        .post-meta .post-cat {
            background: rgba(201,168,76,0.12);
            color: var(--accent-dark);
            padding: 2px 12px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.75rem;
        }
        .post-body h3 { font-size: 1.05rem; margin-bottom: 10px; flex: 1; }
        .post-body h3 a { color: var(--primary); transition: color var(--transition); }
        .post-body h3 a:hover { color: var(--accent-dark); }
        .post-excerpt {
            font-size: 0.88rem;
            color: var(--text-light);
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .post-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.82rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border-light);
            padding-top: 14px;
            margin-top: auto;
        }
        .post-footer a { color: var(--accent-dark); font-weight: 600; }
        .post-footer a:hover { color: var(--accent); }
        .empty-posts {
            grid-column: 1 / -1;
            text-align: center;
            padding: 48px 24px;
            color: var(--text-muted);
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px dashed var(--border);
        }
        .empty-posts i { font-size: 2rem; margin-bottom: 12px; color: var(--text-muted); display: block; }

        /* ===== Stats / Data ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 28px;
            text-align: center;
        }
        .stat-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(240,242,245,0.08);
            border-radius: var(--radius);
            padding: 36px 20px;
            transition: all var(--transition);
        }
        .stat-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(201,168,76,0.2); transform: translateY(-2px); }
        .stat-card .stat-num {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--accent);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .stat-card .stat-label { font-size: 0.9rem; color: rgba(240,242,245,0.7); }

        /* ===== Steps / Process ===== */
        .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-radius: var(--radius);
            padding: 36px 24px 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            text-align: center;
            position: relative;
            transition: all var(--transition);
        }
        .step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
        .step-num {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--accent);
            color: var(--primary-dark);
            font-weight: 800;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
        }
        .step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
        .step-card p { font-size: 0.88rem; margin-bottom: 0; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover { border-color: rgba(201,168,76,0.2); }
        .faq-q {
            padding: 20px 24px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            cursor: pointer;
            transition: background var(--transition);
            background: transparent;
            width: 100%;
            text-align: left;
        }
        .faq-q:hover { background: rgba(201,168,76,0.04); }
        .faq-q i { color: var(--accent); font-size: 0.85rem; transition: transform var(--transition); flex-shrink: 0; }
        .faq-item.open .faq-q i { transform: rotate(180deg); }
        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px;
            font-size: 0.92rem;
            color: var(--text-light);
            line-height: 1.8;
        }
        .faq-item.open .faq-a {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: var(--radius-xl);
            padding: 64px 48px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.06;
        }
        .cta-section h2 { color: var(--text-white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; position: relative; }
        .cta-section p { color: rgba(240,242,245,0.75); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; position: relative; }
        .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; position: relative; }
        .cta-actions .btn-primary { background: var(--accent); color: var(--primary-dark); }
        .cta-actions .btn-primary:hover { background: var(--accent-light); }
        .cta-actions .btn-outline { border-color: rgba(240,242,245,0.25); color: var(--text-white); }
        .cta-actions .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

        /* ===== Footer ===== */
        .footer {
            background: var(--primary-dark);
            border-top: 1px solid rgba(201,168,76,0.1);
            padding: 48px 0 32px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 36px;
        }
        .footer-brand .logo { font-size: 1.25rem; margin-bottom: 14px; }
        .footer-brand p { font-size: 0.88rem; color: rgba(240,242,245,0.55); max-width: 320px; }
        .footer-col h4 { color: var(--text-white); font-size: 0.95rem; margin-bottom: 16px; }
        .footer-col a {
            display: block;
            padding: 4px 0;
            font-size: 0.88rem;
            color: rgba(240,242,245,0.55);
            transition: all var(--transition);
        }
        .footer-col a:hover { color: var(--accent); padding-left: 4px; }
        .footer-social { display: flex; gap: 12px; margin-top: 16px; }
        .footer-social a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(240,242,245,0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(240,242,245,0.5);
            font-size: 1rem;
            transition: all var(--transition);
            padding: 0;
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
        .footer-bottom {
            border-top: 1px solid rgba(240,242,245,0.06);
            padding-top: 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-size: 0.82rem;
            color: rgba(240,242,245,0.4);
        }
        .footer-bottom a { color: rgba(240,242,245,0.5); }
        .footer-bottom a:hover { color: var(--accent); }

        /* ===== Mobile Nav ===== */
        .mobile-menu {
            display: none;
            position: fixed;
            top: var(--header-h);
            left: 0;
            right: 0;
            background: rgba(15,27,45,0.99);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(201,168,76,0.1);
            padding: 16px 24px 24px;
            z-index: 999;
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.3s ease;
        }
        .mobile-menu.open { transform: translateY(0); opacity: 1; }
        .mobile-menu a {
            display: block;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: rgba(240,242,245,0.75);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all var(--transition);
        }
        .mobile-menu a:hover { background: rgba(201,168,76,0.08); color: var(--accent); }
        .mobile-menu a.active { color: var(--accent); background: rgba(201,168,76,0.12); }

        /* ===== Back to Top ===== */
        .back-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--accent);
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow-lg);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all var(--transition);
        }
        .back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .back-top:hover { background: var(--accent-light); transform: translateY(-4px); box-shadow: var(--shadow-accent); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .hero { min-height: 80vh; padding: 120px 24px 60px; }
        }
        @media (max-width: 768px) {
            :root { --header-h: 64px; }
            .nav-main { display: none; }
            .nav-actions .btn-nav-cta { display: none; }
            .mobile-toggle { display: block; }
            .mobile-menu { display: block; }
            .section { padding: 56px 0; }
            .hero { min-height: 70vh; padding: 100px 20px 48px; }
            .hero-stats { gap: 24px; margin-top: 36px; padding-top: 28px; }
            .hero-stat-num { font-size: 1.6rem; }
            .adv-grid { grid-template-columns: 1fr 1fr; }
            .cat-grid { grid-template-columns: 1fr 1fr; }
            .post-grid { grid-template-columns: 1fr 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .steps-grid { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .cta-section { padding: 40px 24px; border-radius: var(--radius); }
            .back-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }
        }
        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .hero { padding: 90px 16px 36px; min-height: 60vh; }
            .hero-title { font-size: 1.8rem; }
            .hero-desc { font-size: 0.92rem; }
            .hero-actions { flex-direction: column; align-items: center; }
            .btn-primary, .btn-outline { width: 100%; justify-content: center; padding: 12px 24px; }
            .hero-stats { flex-direction: column; gap: 16px; }
            .adv-grid { grid-template-columns: 1fr; }
            .cat-grid { grid-template-columns: 1fr; }
            .post-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stats-grid .stat-card { padding: 24px 12px; }
            .stats-grid .stat-num { font-size: 2rem; }
            .steps-grid { grid-template-columns: 1fr; }
            .faq-q { padding: 16px 18px; font-size: 0.92rem; }
            .faq-a { font-size: 0.85rem; }
            .cta-section { padding: 32px 18px; }
            .footer { padding: 32px 0 24px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .back-top { bottom: 16px; right: 16px; }
        }

/* roulang page: category1 */
/* ========== :root 设计变量 ========== */
        :root {
            --primary: #1a2a6c;
            --primary-light: #2d4a8e;
            --primary-dark: #0f1a4a;
            --secondary: #e8b830;
            --secondary-light: #f0d060;
            --secondary-dark: #c9a020;
            --accent: #ff6b35;
            --bg-body: #f5f7fc;
            --bg-card: #ffffff;
            --bg-dark: #0f1a4a;
            --bg-dark-alt: #1a2a6c;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #7a7a9a;
            --text-white: #ffffff;
            --border-color: #e2e6f0;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(26, 42, 108, 0.06);
            --shadow-md: 0 6px 24px rgba(26, 42, 108, 0.10);
            --shadow-lg: 0 12px 40px rgba(26, 42, 108, 0.14);
            --shadow-xl: 0 20px 60px rgba(26, 42, 108, 0.18);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --spacing-section: 80px;
            --container-max: 1200px;
        }

        /* ========== 基础 Reset ========== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-light);
        }
        a:focus-visible {
            outline: 3px solid var(--secondary);
            outline-offset: 2px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }
        button:focus-visible {
            outline: 3px solid var(--secondary);
            outline-offset: 2px;
        }

        ul,
        ol {
            list-style: none;
        }

        /* ========== 容器 ========== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== 按钮 ========== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            transition: var(--transition);
            border: 2px solid transparent;
            text-align: center;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--primary);
            color: var(--text-white);
            border-color: var(--primary);
        }
        .btn-primary:hover {
            background: var(--primary-light);
            border-color: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(26, 42, 108, 0.30);
            color: var(--text-white);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(26, 42, 108, 0.20);
        }
        .btn-secondary {
            background: var(--secondary);
            color: var(--primary-dark);
            border-color: var(--secondary);
        }
        .btn-secondary:hover {
            background: var(--secondary-light);
            border-color: var(--secondary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 184, 48, 0.35);
            color: var(--primary-dark);
        }
        .btn-secondary:active {
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(232, 184, 48, 0.25);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(26, 42, 108, 0.20);
        }
        .btn-outline-light {
            background: transparent;
            color: var(--text-white);
            border-color: rgba(255, 255, 255, 0.6);
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--text-white);
            color: var(--text-white);
            transform: translateY(-2px);
        }
        .btn-lg {
            padding: 16px 36px;
            font-size: 17px;
        }
        .btn-sm {
            padding: 8px 18px;
            font-size: 13px;
        }

        /* ========== 徽章 / 标签 ========== */
        .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.3px;
            background: var(--secondary);
            color: var(--primary-dark);
        }
        .badge-blue {
            background: rgba(26, 42, 108, 0.10);
            color: var(--primary);
        }
        .badge-green {
            background: rgba(52, 199, 89, 0.12);
            color: #1a8a3a;
        }
        .badge-orange {
            background: rgba(255, 107, 53, 0.12);
            color: #cc4a1a;
        }
        .badge-purple {
            background: rgba(120, 80, 200, 0.12);
            color: #5a30a0;
        }

        /* ========== 标题与段落 ========== */
        .section-title {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.25;
            color: var(--text-primary);
            margin-bottom: 12px;
        }
        .section-subtitle {
            font-size: 17px;
            color: var(--text-secondary);
            max-width: 640px;
            line-height: 1.6;
        }
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-header .section-subtitle {
            margin: 0 auto;
        }

        /* ========== 导航 ========== */
        .header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 20px rgba(26, 42, 108, 0.06);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.3px;
        }
        .logo i {
            color: var(--secondary);
            font-size: 26px;
        }
        .logo span {
            color: var(--secondary);
        }
        .logo:hover {
            color: var(--primary);
        }

        .nav-main {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav-main a {
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
            position: relative;
        }
        .nav-main a:hover {
            color: var(--primary);
            background: rgba(26, 42, 108, 0.06);
        }
        .nav-main a.active {
            color: var(--text-white);
            background: var(--primary);
            font-weight: 600;
        }
        .nav-main a.active:hover {
            background: var(--primary-light);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .search-toggle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 18px;
            transition: var(--transition);
            background: transparent;
        }
        .search-toggle:hover {
            background: rgba(26, 42, 108, 0.06);
            color: var(--primary);
        }

        .mobile-toggle {
            display: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--text-primary);
            background: transparent;
            transition: var(--transition);
        }
        .mobile-toggle:hover {
            background: rgba(26, 42, 108, 0.06);
        }

        /* ========== 移动端导航 ========== */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 68px;
            left: 0;
            width: 100%;
            height: calc(100vh - 68px);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 999;
            padding: 24px 20px;
            overflow-y: auto;
            flex-direction: column;
            gap: 8px;
            border-top: 1px solid var(--border-color);
        }
        .mobile-nav.open {
            display: flex;
        }
        .mobile-nav a {
            display: block;
            padding: 14px 20px;
            border-radius: var(--radius-md);
            font-size: 17px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .mobile-nav a:hover {
            background: rgba(26, 42, 108, 0.06);
            color: var(--primary);
        }
        .mobile-nav a.active {
            background: var(--primary);
            color: var(--text-white);
        }

        /* ========== Banner 区域 ========== */
        .page-banner {
            position: relative;
            padding: 100px 0 80px;
            background: var(--bg-dark);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 26, 74, 0.88) 0%, rgba(26, 42, 108, 0.78) 100%);
            z-index: 1;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        .page-banner .badge {
            margin-bottom: 16px;
        }
        .page-banner h1 {
            font-size: 42px;
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.2;
            margin-bottom: 16px;
            max-width: 700px;
        }
        .page-banner p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 580px;
            line-height: 1.7;
            margin-bottom: 28px;
        }
        .page-banner .banner-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.65);
        }
        .breadcrumb a {
            color: rgba(255, 255, 255, 0.75);
        }
        .breadcrumb a:hover {
            color: var(--secondary);
        }
        .breadcrumb span {
            color: var(--secondary);
        }
        .breadcrumb i {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
        }

        /* ========== 板块间距 ========== */
        .section {
            padding: var(--spacing-section) 0;
        }
        .section-bg-alt {
            background: var(--bg-card);
        }
        .section-bg-dark {
            background: var(--bg-dark);
            color: var(--text-white);
        }
        .section-bg-dark .section-title {
            color: var(--text-white);
        }
        .section-bg-dark .section-subtitle {
            color: rgba(255, 255, 255, 0.7);
        }

        /* ========== 卡片网格 ========== */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }

        /* ========== 卡片 ========== */
        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            overflow: hidden;
            border: 1px solid var(--border-color);
        }
        .card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }
        .card-img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
        }
        .card-body {
            padding: 24px 20px 20px;
        }
        .card-body .badge {
            margin-bottom: 10px;
        }
        .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-primary);
            line-height: 1.4;
        }
        .card-body p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 14px;
        }
        .card-body .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-light);
        }
        .card-body .card-meta i {
            margin-right: 4px;
        }
        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
        }
        .card-link i {
            transition: var(--transition);
            font-size: 12px;
        }
        .card-link:hover i {
            transform: translateX(4px);
        }

        /* ========== 图文区块 ========== */
        .feature-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .feature-row.reverse {
            direction: rtl;
        }
        .feature-row.reverse>* {
            direction: ltr;
        }
        .feature-image {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        .feature-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        .feature-content h2 {
            font-size: 30px;
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.25;
        }
        .feature-content p {
            font-size: 16px;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .feature-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 15px;
            color: var(--text-primary);
        }
        .feature-list li i {
            color: var(--secondary);
            font-size: 18px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        /* ========== 步骤流程 ========== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            counter-reset: step;
        }
        .step-card {
            text-align: center;
            padding: 32px 20px 28px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            position: relative;
        }
        .step-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }
        .step-number {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--text-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 800;
            margin: 0 auto 16px;
            position: relative;
            z-index: 1;
        }
        .step-card h4 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ========== 数据统计 ========== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
        }
        .stat-item {
            text-align: center;
            padding: 28px 16px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-md);
            border: 1px solid rgba(255, 255, 255, 0.10);
            transition: var(--transition);
        }
        .stat-item:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-2px);
        }
        .stat-number {
            font-size: 38px;
            font-weight: 800;
            color: var(--secondary);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .stat-label {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.75);
        }

        /* ========== FAQ ========== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            box-shadow: var(--shadow-sm);
        }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 22px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            text-align: left;
            background: transparent;
            transition: var(--transition);
            gap: 16px;
        }
        .faq-question:hover {
            background: rgba(26, 42, 108, 0.03);
        }
        .faq-question i {
            color: var(--primary);
            font-size: 14px;
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }
        .faq-answer {
            padding: 0 22px 18px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-answer {
            display: block;
        }

        /* ========== CTA ========== */
        .cta-box {
            background: var(--primary);
            border-radius: var(--radius-lg);
            padding: 56px 48px;
            text-align: center;
            background-image: url('/assets/images/backpic/back-3.png');
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
        }
        .cta-box::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 26, 74, 0.88) 0%, rgba(26, 42, 108, 0.82) 100%);
            z-index: 1;
        }
        .cta-box>* {
            position: relative;
            z-index: 2;
        }
        .cta-box h2 {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: 12px;
        }
        .cta-box p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 560px;
            margin: 0 auto 28px;
            line-height: 1.6;
        }
        .cta-box .btn-secondary {
            font-size: 17px;
            padding: 16px 36px;
        }

        /* ========== 页脚 ========== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.85);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer-brand .logo {
            color: var(--text-white);
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.7;
            margin-bottom: 18px;
            max-width: 360px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 18px;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--secondary);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            padding: 5px 0;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--secondary);
            padding-left: 4px;
        }
        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 0;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.45);
            flex-wrap: wrap;
            gap: 8px;
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.6);
        }
        .footer-bottom a:hover {
            color: var(--secondary);
        }

        /* ========== 响应式 ========== */
        @media (max-width: 1024px) {
            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            .grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .feature-row {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .feature-row.reverse {
                direction: ltr;
            }
            .page-banner h1 {
                font-size: 34px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --spacing-section: 56px;
            }
            .nav-main {
                display: none;
            }
            .mobile-toggle {
                display: flex;
            }
            .header-actions .btn {
                display: none;
            }
            .page-banner {
                padding: 72px 0 56px;
            }
            .page-banner h1 {
                font-size: 28px;
            }
            .page-banner p {
                font-size: 16px;
            }
            .section-title {
                font-size: 26px;
            }
            .grid-3,
            .grid-4,
            .grid-2 {
                grid-template-columns: 1fr;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .cta-box {
                padding: 40px 24px;
            }
            .cta-box h2 {
                font-size: 24px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .feature-content h2 {
                font-size: 24px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner h1 {
                font-size: 24px;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
            .footer-social {
                justify-content: center;
            }
            .banner-actions .btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* ========== 辅助 ========== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mb-16 {
            margin-bottom: 16px;
        }
        .mb-24 {
            margin-bottom: 24px;
        }
        .gap-12 {
            gap: 12px;
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .flex-wrap {
            flex-wrap: wrap;
        }

/* roulang page: article */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --secondary: #e8a838;
    --secondary-light: #f0c060;
    --accent: #d4782a;
    --bg-body: #f5f7fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #0f2440;
    --text-dark: #1a2332;
    --text-main: #2d3a4a;
    --text-light: #6a7a8a;
    --text-white: #f0f4f8;
    --border-light: #e2e8f0;
    --border-color: #d0d8e4;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.10);
    --shadow-lg: 0 12px 40px rgba(26, 58, 92, 0.14);
    --shadow-xl: 0 20px 60px rgba(26, 58, 92, 0.18);
    --transition: all 0.25s ease;
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container: 1200px;
    --nav-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); color: var(--text-main); background: var(--bg-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Header & Navigation */
.header { position: sticky; top: 0; z-index: 1000; background: var(--bg-white); box-shadow: 0 2px 16px rgba(26,58,92,0.08); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--secondary); font-size: 1.4rem; }
.logo span { color: var(--secondary); }
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a { padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 500; color: var(--text-main); transition: var(--transition); position: relative; }
.nav-main a:hover { background: rgba(26,58,92,0.06); color: var(--primary); }
.nav-main a.active { background: var(--primary); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--primary); border-radius: 3px; transition: var(--transition); }
.mobile-overlay { display: none; }

/* Hero Banner */
.page-hero { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--primary-dark); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat; opacity: 0.35; }
.page-hero .container { position: relative; z-index: 2; padding: 60px 24px; }
.page-hero h1 { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 0.95rem; flex-wrap: wrap; }
.page-hero .breadcrumb a { color: var(--secondary-light); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* Main Content */
.main-wrap { padding: 48px 0 64px; }
.article-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.article-main { background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.article-header { padding: 40px 40px 24px; border-bottom: 1px solid var(--border-light); }
.article-header .cat-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; background: var(--secondary); color: var(--primary-dark); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 14px; }
.article-header h1 { font-size: 1.9rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-light); font-size: 0.9rem; }
.article-meta i { margin-right: 5px; color: var(--primary-light); }
.article-meta span { display: inline-flex; align-items: center; }
.article-body { padding: 40px; font-size: 1.05rem; line-height: 1.85; color: var(--text-main); }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin: 1.8em 0 0.6em; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); margin: 1.4em 0 0.5em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.article-body ul li { list-style: disc; margin-bottom: 0.4em; }
.article-body ol li { list-style: decimal; margin-bottom: 0.4em; }
.article-body blockquote { border-left: 4px solid var(--secondary); background: #faf6ee; padding: 16px 20px; margin: 1.5em 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-main); }
.article-body a { color: var(--primary-light); border-bottom: 1px solid transparent; }
.article-body a:hover { border-bottom-color: var(--primary-light); }
.article-body img { border-radius: var(--radius-sm); margin: 1.5em 0; box-shadow: var(--shadow-sm); }
.article-footer { padding: 24px 40px 40px; border-top: 1px solid var(--border-light); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { display: inline-block; padding: 4px 14px; border-radius: 20px; background: var(--bg-body); color: var(--text-light); font-size: 0.8rem; border: 1px solid var(--border-light); transition: var(--transition); }
.article-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.article-share { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 0.9rem; }
.article-share a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-body); color: var(--text-light); border: 1px solid var(--border-light); transition: var(--transition); }
.article-share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.not-found { text-align: center; padding: 80px 40px; }
.not-found i { font-size: 3.6rem; color: var(--text-light); margin-bottom: 20px; display: block; }
.not-found h2 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 12px; }
.not-found p { color: var(--text-light); margin-bottom: 24px; }
.not-found .btn { display: inline-block; padding: 12px 32px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-weight: 600; }
.not-found .btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-card { background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; }
.sidebar-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--secondary); display: flex; align-items: center; gap: 8px; }
.sidebar-card h3 i { color: var(--secondary); }
.sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-list a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.sidebar-list a:last-child { border-bottom: none; }
.sidebar-list .thumb { width: 70px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--bg-body); }
.sidebar-list .info { flex: 1; min-width: 0; }
.sidebar-list .info .title { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.sidebar-list .info .date { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; display: block; }
.sidebar-list a:hover .info .title { color: var(--primary-light); }
.sidebar-cta { text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.sidebar-cta h3 { color: #fff; border-bottom-color: var(--secondary); }
.sidebar-cta p { font-size: 0.92rem; opacity: 0.85; margin-bottom: 18px; }
.sidebar-cta .btn { display: inline-block; padding: 10px 28px; border-radius: var(--radius-sm); background: var(--secondary); color: var(--primary-dark); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.sidebar-cta .btn:hover { background: var(--secondary-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,168,56,0.35); }

/* Related Posts */
.related-section { margin-top: 48px; }
.related-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.related-section h2 i { color: var(--secondary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card .pic { width: 100%; height: 180px; object-fit: cover; background: var(--bg-body); }
.related-card .info { padding: 18px 20px 20px; }
.related-card .info .cat { font-size: 0.75rem; color: var(--primary-light); font-weight: 600; letter-spacing: 0.3px; }
.related-card .info h3 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.related-card .info .date { font-size: 0.8rem; color: var(--text-light); }
.related-card:hover .info h3 { color: var(--primary-light); }

/* Footer */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand .logo i { color: var(--secondary); }
.footer-brand .logo span { color: var(--secondary); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.7; max-width: 380px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); font-size: 1.1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); }
.footer-col h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.85rem; color: rgba(255,255,255,0.45); gap: 12px; }
.footer-bottom a { color: var(--secondary-light); }
.footer-bottom a:hover { color: var(--secondary); }

/* Back to top */
.back-top { position: fixed; bottom: 36px; right: 36px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-md); transition: var(--transition); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Responsive */
@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-main { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-white); flex-direction: column; padding: 80px 24px 24px; gap: 6px; box-shadow: -8px 0 40px rgba(0,0,0,0.12); transition: var(--transition); z-index: 1001; }
    .nav-main.open { right: 0; }
    .nav-main a { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .mobile-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition); }
    .mobile-overlay.show { opacity: 1; visibility: visible; }
    .page-hero { min-height: 240px; }
    .page-hero h1 { font-size: 1.8rem; }
    .article-header { padding: 24px 20px 16px; }
    .article-header h1 { font-size: 1.4rem; }
    .article-body { padding: 24px 20px; font-size: 1rem; }
    .article-footer { padding: 16px 20px 24px; flex-direction: column; align-items: flex-start; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .back-top { bottom: 24px; right: 24px; width: 42px; height: 42px; font-size: 1rem; }
}
@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .page-hero h1 { font-size: 1.4rem; }
    .article-header h1 { font-size: 1.2rem; }
    .article-meta { font-size: 0.8rem; gap: 10px; flex-wrap: wrap; }
    .sidebar-card { padding: 20px; }
}
