/* roulang page: index */
:root {
            --primary: #1e3a8a;
            --primary-light: #3b82f6;
            --accent: #f59e0b;
            --bg: #ffffff;
            --text: #0f172a;
            --text-weak: #64748b;
            --border: #e2e8f0;
        }
        * {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            background: #f8fafc;
            color: var(--text);
            line-height: 1.7;
            margin: 0;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.2s ease;
        }
        img {
            max-width: 100%;
            display: block;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }

        .hero-bg {
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .hero-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 30, 77, 0.88) 0%, rgba(30, 58, 138, 0.72) 50%, rgba(59, 130, 246, 0.45) 100%);
            z-index: 1;
        }
        .hero-bg>* {
            position: relative;
            z-index: 2;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.3rem 1rem;
            border-radius: 9999px;
            letter-spacing: 0.05em;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--text);
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
        .section-sub {
            color: var(--text-weak);
            font-size: 1.05rem;
            max-width: 640px;
            line-height: 1.8;
        }

        .nav-link {
            position: relative;
            font-weight: 500;
            padding: 0.5rem 0.25rem;
            color: #cbd5e1;
            transition: color 0.2s;
            font-size: 0.95rem;
        }
        .nav-link:hover {
            color: #ffffff;
        }
        .nav-link.active {
            color: #ffffff;
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }

        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-card-hover, 0 12px 40px rgba(15, 30, 77, 0.14));
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            background: var(--accent);
            color: #1e3a8a;
            font-weight: 700;
            padding: 0.9rem 2rem;
            border-radius: 0.75rem;
            border: none;
            font-size: 1rem;
            transition: all 0.25s ease;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
        }
        .btn-primary:hover {
            background: #f59e0b;
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
            transform: translateY(-2px);
        }
        .btn-outline-light {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            border: 2px solid rgba(255, 255, 255, 0.6);
            color: #ffffff;
            font-weight: 600;
            padding: 0.85rem 1.8rem;
            border-radius: 0.75rem;
            font-size: 1rem;
            transition: all 0.25s ease;
            background: transparent;
        }
        .btn-outline-light:hover {
            border-color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
        }

        .faq-item {
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: #ffffff;
            overflow: hidden;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .faq-item.open {
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 4px 20px rgba(15, 30, 77, 0.06);
        }
        .faq-q {
            padding: 1.2rem 1.5rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1rem;
            color: var(--text);
            user-select: none;
        }
        .faq-q .icon {
            color: var(--primary-light);
            transition: transform 0.3s;
            font-size: 0.9rem;
            flex-shrink: 0;
            margin-left: 1rem;
        }
        .faq-item.open .faq-q .icon {
            transform: rotate(180deg);
        }
        .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding: 0 1.5rem;
            color: var(--text-weak);
            font-size: 0.95rem;
            line-height: 1.8;
        }
        .faq-item.open .faq-a {
            max-height: 500px;
            padding-bottom: 1.2rem;
        }

        .stat-card {
            background: #ffffff;
            border-radius: 1.25rem;
            padding: 1.8rem 1.5rem;
            text-align: center;
            box-shadow: 0 4px 24px rgba(15, 30, 77, 0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid #f1f5f9;
        }
        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 32px rgba(15, 30, 77, 0.1);
        }
        .stat-num {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
        }
        .stat-label {
            color: var(--text-weak);
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }

        .timeline-line {
            position: relative;
        }
        .timeline-line::before {
            content: '';
            position: absolute;
            left: 24px;
            top: 20px;
            bottom: 20px;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary-light), var(--accent));
            border-radius: 2px;
        }

        .footer-link {
            color: #94a3b8;
            font-size: 0.9rem;
            transition: color 0.2s;
            line-height: 2;
        }
        .footer-link:hover {
            color: #ffffff;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.5rem;
            }
            .hero-content h1 {
                font-size: 2rem !important;
            }
        }
        @media (max-width: 520px) {
            .section-title {
                font-size: 1.35rem;
            }
            .stat-num {
                font-size: 1.8rem;
            }
        }

        /* 移动端导航 */
        .mobile-menu {
            display: none;
        }
        .mobile-menu.open {
            display: block;
        }
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .mobile-toggle {
                display: flex !important;
            }
        }
        @media (min-width: 769px) {
            .mobile-toggle {
                display: none !important;
            }
        }

/* roulang page: category1 */
:root {
            --brand-900: #0f1e3d;
            --brand-950: #0a1428;
            --accent-400: #22d3ee;
            --accent-600: #0891b2;
            --radius: 16px;
            --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.14);
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            margin: 0;
        }
        *, *::before, *::after {
            box-sizing: border-box;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.2s ease;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }
        .container-section {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }
        .nav-link {
            color: #94a3b8;
            font-weight: 500;
            font-size: 15px;
            padding: 8px 4px;
            position: relative;
            transition: color 0.2s;
        }
        .nav-link:hover {
            color: #ffffff;
        }
        .nav-link.active {
            color: #ffffff;
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--accent-400), var(--accent-600));
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #22d3ee, #0891b2);
            color: #0a1428;
            font-weight: 700;
            border-radius: 10px;
            padding: 12px 24px;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(8, 145, 178, 0.45);
        }
        .btn-primary:focus-visible {
            outline: 2px solid #22d3ee;
            outline-offset: 3px;
        }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: #e2e8f0;
            font-weight: 600;
            border: 1.5px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            padding: 12px 24px;
            transition: background 0.2s, border-color 0.2s;
        }
        .btn-ghost:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.5);
        }
        .page-hero {
            background-image: linear-gradient(135deg, rgba(10, 20, 40, 0.92), rgba(15, 30, 61, 0.88)), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            position: relative;
            padding: 90px 0 60px;
        }
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #94a3b8;
            margin-bottom: 16px;
        }
        .breadcrumb a {
            color: #94a3b8;
        }
        .breadcrumb a:hover {
            color: #22d3ee;
        }
        .breadcrumb .sep {
            color: #475569;
        }
        .card {
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow-card);
            border: 1px solid #e2e8f0;
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 999px;
            background: rgba(34, 211, 238, 0.12);
            color: #0891b2;
        }
        .badge-solid {
            background: linear-gradient(135deg, #22d3ee, #0891b2);
            color: #0a1428;
        }
        .step-number {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            background: linear-gradient(135deg, #22d3ee, #0891b2);
            color: #0a1428;
            font-size: 16px;
            flex-shrink: 0;
        }
        .faq-item {
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 20px 24px;
            background: #fff;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .faq-item:hover {
            border-color: #22d3ee;
            box-shadow: 0 4px 16px rgba(34, 211, 238, 0.1);
        }
        .footer-link {
            color: #94a3b8;
            font-size: 14px;
            transition: color 0.2s, padding-left 0.2s;
        }
        .footer-link:hover {
            color: #22d3ee;
            padding-left: 4px;
        }
        .mobile-menu {
            display: none;
        }
        .mobile-menu.open {
            display: block;
        }
        .desktop-nav {
            display: flex;
        }
        .mobile-toggle {
            display: none;
        }
        @media (max-width: 1023px) {
            .desktop-nav {
                display: none;
            }
            .mobile-toggle {
                display: flex;
            }
        }
        @media (max-width: 768px) {
            .page-hero {
                padding: 60px 0 40px;
            }
            .container-section {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
        @media (max-width: 520px) {
            h1 {
                font-size: 1.6rem !important;
            }
            .nav-grid {
                grid-template-columns: 1fr !important;
            }
        }
        .focus-ring:focus-visible {
            outline: 3px solid #22d3ee;
            outline-offset: 3px;
            border-radius: 8px;
        }
        .table-wrap {
            overflow-x: auto;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }
        .table-wrap table {
            min-width: 640px;
            width: 100%;
            border-collapse: collapse;
            background: #fff;
        }
        .table-wrap th {
            background: #f1f5f9;
            padding: 14px 16px;
            text-align: left;
            font-size: 13px;
            font-weight: 700;
            color: #334155;
            border-bottom: 2px solid #e2e8f0;
        }
        .table-wrap td {
            padding: 14px 16px;
            border-bottom: 1px solid #f1f5f9;
            font-size: 14px;
            color: #475569;
        }
        .table-wrap tr:last-child td {
            border-bottom: none;
        }
        .list-check {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .list-check li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 12px;
        }
        .list-check li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: #0891b2;
            background: rgba(8, 145, 178, 0.1);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
        }
        .light-band {
            background-color: #ffffff;
        }
        .dark-band {
            background-color: #0f1e3d;
        }
        .timeline-item {
            position: relative;
            padding-left: 40px;
            padding-bottom: 32px;
            border-left: 2px dashed #d1e7ee;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 4px;
            width: 14px;
            height: 14px;
            background: #22d3ee;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 0 0 2px #22d3ee;
        }
        .timeline-item:last-child {
            border-left-color: transparent;
            padding-bottom: 0;
        }

/* roulang page: category2 */
:root {
            --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            --brand-900: #1e1b4b;
            --brand-950: #0f0c29;
            --accent-400: #fbbf24;
            --accent-600: #d97706;
            --text-body: #334155;
            --text-muted: #64748b;
            --radius-card: 16px;
            --shadow-card: 0 4px 24px rgba(15, 12, 41, 0.06);
            --shadow-card-hover: 0 12px 40px rgba(15, 12, 41, 0.14);
            --transition-base: all 0.3s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text-body);
            background: #f8fafc;
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-base);
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        /* Header & Nav */
        .desktop-nav .nav-link {
            color: #c7d2fe;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.5rem 0.25rem;
            border-bottom: 2px solid transparent;
            transition: var(--transition-base);
            letter-spacing: 0.02em;
        }

        .desktop-nav .nav-link:hover {
            color: #ffffff;
            border-bottom-color: var(--accent-400);
        }

        .desktop-nav .nav-link.active {
            color: #ffffff;
            border-bottom-color: var(--accent-400);
            font-weight: 600;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
            color: var(--brand-950);
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            transition: var(--transition-base);
            box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
        }

        .btn-primary:focus-visible,
        .btn-secondary:focus-visible,
        a:focus-visible {
            outline: 3px solid rgba(251, 191, 36, 0.5);
            outline-offset: 2px;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-weight: 500;
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            transition: var(--transition-base);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.35);
            transform: translateY(-2px);
        }

        .mobile-menu {
            display: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
        }

        .mobile-menu.open {
            display: block;
            max-height: 400px;
        }

        /* Cards */
        .feature-card {
            background: #ffffff;
            border-radius: var(--radius-card);
            padding: 1.75rem;
            box-shadow: var(--shadow-card);
            border: 1px solid #f1f5f9;
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-card-hover);
            border-color: #e2e8f0;
        }

        .feature-card .icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            margin-bottom: 1.25rem;
        }

        /* Section titles */
        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--accent-600);
            background: rgba(251, 191, 36, 0.1);
            padding: 0.4rem 1rem;
            border-radius: 999px;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #1a1a2e;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.05rem;
            max-width: 640px;
            margin: 0 auto;
        }

        /* Article list */
        .article-item {
            display: flex;
            gap: 1.25rem;
            padding: 1.25rem 1.5rem;
            background: #ffffff;
            border-radius: 14px;
            box-shadow: var(--shadow-card);
            border: 1px solid #f1f5f9;
            transition: var(--transition-base);
        }

        .article-item:hover {
            box-shadow: var(--shadow-card-hover);
            transform: translateY(-3px);
        }

        /* FAQ */
        .faq-item {
            background: #ffffff;
            border-radius: 14px;
            border: 1px solid #f1f5f9;
            box-shadow: var(--shadow-card);
            transition: var(--transition-base);
        }

        .faq-item:hover {
            border-color: #e2e8f0;
            box-shadow: var(--shadow-card-hover);
        }

        /* Footer */
        .footer-link {
            color: #94a3b8;
            font-size: 0.9rem;
            transition: var(--transition-base);
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .footer-link:hover {
            color: var(--accent-400);
            padding-left: 4px;
        }

        /* Hero */
        .hero-bg {
            background-image: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(30, 27, 75, 0.78)), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        .band-bg {
            background-image: linear-gradient(135deg, rgba(15, 12, 41, 0.92), rgba(30, 27, 75, 0.84)), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        /* Process step */
        .step-number {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
            color: var(--brand-950);
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .section-title {
                font-size: 1.7rem;
            }
            .feature-card {
                padding: 1.25rem;
            }
            .article-item {
                flex-direction: column;
                padding: 1.25rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .hero-bg {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
        }

        /* Daisy badge */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.78rem;
            font-weight: 600;
            padding: 0.35rem 0.75rem;
            border-radius: 999px;
        }

        /* Reveal animation */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
    --brand-primary: #2ba258;
    --brand-dark: #0f3d24;
    --brand-darker: #082b18;
    --accent: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.09);
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ===== 容器 ===== */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* ===== 导航 ===== */
.nav-link {
    position: relative;
    padding: 0.5rem 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}
.nav-link:hover { color: #ffffff; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #ffffff; font-weight: 600; }

.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #0f3d24;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.42);
    color: #082b18;
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.btn-primary:focus-visible { outline: 3px solid rgba(251,191,36,0.5); outline-offset: 2px; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 9999px;
    padding: 0.65rem 1.6rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-outline:focus-visible { outline: 3px solid rgba(255,255,255,0.5); outline-offset: 2px; }

/* ===== Footer 链接 ===== */
.footer-link {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.footer-link:hover { color: #ffffff; padding-left: 4px; }

/* ===== 文章 Hero ===== */
.article-hero {
    background: linear-gradient(135deg, rgba(15,61,36,0.96), rgba(8,43,24,0.9)),
        url('/assets/images/backpic/back-1.png') center / cover no-repeat;
    padding: 4.5rem 0 3rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.article-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    pointer-events: none;
}

.hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.hero-breadcrumb a:hover { color: #ffffff; }
.hero-breadcrumb .sep { color: rgba(255,255,255,0.4); }

.article-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    max-width: 820px;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.article-meta i { color: rgba(251,191,36,0.9); }

/* ===== 文章主体 ===== */
.article-body-section { padding: 3.5rem 0 2.5rem; }

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226,232,240,0.6);
    overflow: hidden;
}

.article-content-body { padding: 2.5rem 2.75rem; }

/* 正文排版 */
.article-content { font-size: 1.0625rem; line-height: 1.9; color: #334155; word-break: break-word; }
.article-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}
.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.8rem 0 0.8rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul { margin: 1rem 0 1.5rem 1.4rem; list-style: disc; }
.article-content ol { margin: 1rem 0 1.5rem 1.4rem; list-style: decimal; }
.article-content li { margin-bottom: 0.4rem; }
.article-content a { color: var(--brand-primary); border-bottom: 1px solid rgba(43,162,88,0.3); transition: border-color 0.2s; }
.article-content a:hover { border-bottom-color: var(--brand-primary); }
.article-content img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.article-content blockquote {
    border-left: 4px solid var(--brand-primary);
    background: #f0fdf4;
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    color: #475569;
    font-style: normal;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-content table th { background: #f8fafc; font-weight: 600; text-align: left; padding: 0.75rem 1rem; border: 1px solid var(--border-color); }
.article-content table td { padding: 0.75rem 1rem; border: 1px solid var(--border-color); }
.article-content hr { border: none; border-top: 1px solid var(--border-color); margin: 2rem 0; }

/* 文章底部操作 */
.article-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 2.75rem;
    border-top: 1px solid #f1f5f9;
    background: #fcfdfe;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags .tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-dark);
    background: rgba(43,162,88,0.1);
    border: 1px solid rgba(43,162,88,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: background 0.2s;
}
.article-tags .tag:hover { background: rgba(43,162,88,0.18); }

.article-actions { display: flex; gap: 0.75rem; }
.article-actions a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #f8fafc;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}
.article-actions a:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); transform: translateY(-2px); }

/* 未找到 */
.not-found-box {
    text-align: center;
    padding: 5rem 2rem;
}
.not-found-box .icon {
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background: #fef2f2;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.not-found-box h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.not-found-box p { color: var(--text-secondary); margin-bottom: 1.75rem; }
.not-found-box .btn-primary { background: linear-gradient(135deg, #2ba258, #1e8445); box-shadow: 0 4px 16px rgba(43,162,88,0.3); color: #fff; }
.not-found-box .btn-primary:hover { box-shadow: 0 8px 24px rgba(43,162,88,0.4); }

/* ===== 侧边栏 ===== */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226,232,240,0.6);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.sidebar-card:hover { box-shadow: var(--shadow-lg); }

.sidebar-cover { position: relative; height: 180px; overflow: hidden; }
.sidebar-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sidebar-cover:hover img { transform: scale(1.05); }
.sidebar-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,43,24,0.85), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.sidebar-cover .overlay span { color: #fff; font-weight: 600; font-size: 0.95rem; }

.sidebar-body { padding: 1.5rem; }

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-title i { color: var(--accent); font-size: 0.9rem; }

.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.sidebar-list li a:hover { background: #f0fdf4; color: var(--brand-primary); transform: translateX(3px); }
.sidebar-list li a i { font-size: 0.75rem; color: var(--text-light); transition: color 0.2s; }
.sidebar-list li a:hover i { color: var(--brand-primary); }

.contact-mini {
    background: linear-gradient(135deg, rgba(15,61,36,0.97), rgba(8,43,24,0.95));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: #fff;
}
.contact-mini h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
.contact-mini p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.contact-mini a { color: var(--accent); font-weight: 500; transition: opacity 0.2s; }
.contact-mini a:hover { opacity: 0.85; }

/* ===== CTA 区块 ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(15,61,36,0.94), rgba(8,43,24,0.88)),
        url('/assets/images/backpic/back-2.png') center / cover no-repeat;
    padding: 4.5rem 0;
    margin-top: 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
}
.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.cta-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-section .btn-primary { background: linear-gradient(135deg, #fbbf24, #d97706); color: #0f3d24; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.5); }

/* ===== FAQ 区块 ===== */
.faq-section { padding: 4.5rem 0; background: var(--bg-body); }
.faq-section .section-head { text-align: center; margin-bottom: 3rem; }
.faq-section .section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
.faq-section .section-head p { color: var(--text-secondary); margin-top: 0.5rem; font-size: 1rem; }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 860px; margin: 0 auto; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1.75rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.faq-item h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.faq-item h3 i { color: var(--brand-primary); font-size: 0.9rem; margin-top: 0.2rem; }
.faq-item p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; }

/* ===== 响应式断点 ===== */
@media (max-width: 1023px) {
    .desktop-nav { display: none; }
    .article-content-body { padding: 1.5rem; }
    .article-footer-bar { padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; }
    .article-hero { padding: 3rem 0 2rem; }
    .sidebar { margin-top: 2rem; }
}
@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
    .mobile-toggle { display: none; }
    .mobile-menu { display: none !important; }
}
@media (max-width: 520px) {
    .article-hero h1 { font-size: 1.4rem; }
    .article-content { font-size: 0.9875rem; }
    .article-meta { gap: 0.9rem; font-size: 0.82rem; }
    .cta-section { padding: 3rem 0; }
    .cta-btns .btn-primary, .cta-btns .btn-outline { width: 100%; justify-content: center; }
    .article-content-body { padding: 1.25rem; }
    .article-footer-bar { padding: 1rem; }
    .faq-item { padding: 1.25rem; }
}

/* ===== 焦点可访问性 ===== */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
