/* roulang page: index */
:root {
            --primary: #4f6ef7;
            --primary-dark: #3a55d6;
            --primary-light: #eef1fe;
            --accent: #ffb347;
            --accent-soft: #fff4e0;
            --bg: #f6f7fb;
            --surface: #ffffff;
            --text: #1a1f36;
            --text-soft: #5b6478;
            --text-mute: #9199a8;
            --border: #e4e7f0;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow: 0 12px 30px rgba(26, 31, 54, 0.08);
            --shadow-hover: 0 18px 40px rgba(26, 31, 54, 0.14);
            --dark-bg: #151a30;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: var(--font-family);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        ul,
        ol {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        h1,
        h2,
        h3,
        h4,
        p {
            margin: 0;
        }

        button,
        input {
            font-family: inherit;
        }

        :focus-visible {
            outline: 3px solid rgba(79, 110, 247, .35);
            outline-offset: 2px;
            border-radius: 6px;
        }

        .section {
            padding: 80px 0;
        }

        .section-head {
            max-width: 720px;
            margin: 0 auto 52px;
            text-align: center;
        }

        .section-head .eyebrow {
            display: inline-block;
            font-weight: 800;
            font-size: 14px;
            letter-spacing: 2px;
            color: var(--primary);
            background: var(--primary-light);
            padding: 6px 14px;
            border-radius: 999px;
            margin-bottom: 14px;
        }

        .section-head h2 {
            font-size: clamp(26px, 4vw, 36px);
            line-height: 1.3;
            margin: 0 0 14px;
            font-weight: 800;
        }

        .section-head p {
            font-size: 17px;
            color: var(--text-soft);
            margin: 0;
        }

        .section-head.light h2 {
            color: #fff;
        }

        .section-head.light p {
            color: rgba(255, 255, 255, .75);
        }

        .section-head.light .eyebrow {
            background: rgba(255, 255, 255, .14);
            color: #fff;
        }

        .section-alt {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, .86);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            height: 72px;
            position: relative;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 20px;
            letter-spacing: .2px;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 17px;
            box-shadow: 0 8px 18px rgba(79, 110, 247, .25);
        }

        .main-nav {
            display: flex;
            justify-content: center;
        }

        .main-nav ul {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .main-nav a {
            padding: 10px 16px;
            border-radius: 12px;
            font-weight: 600;
            color: var(--text-soft);
            transition: all .2s ease;
        }

        .main-nav a:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

        .main-nav a.active {
            color: var(--primary);
            background: var(--primary-light);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-box {
            position: relative;
        }

        .search-box i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-mute);
            font-size: 13px;
        }

        .search-box input {
            width: 210px;
            height: 40px;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 0 14px 0 38px;
            background: var(--bg);
            color: var(--text);
            font-size: 14px;
            transition: all .25s ease;
        }

        .search-box input:focus {
            width: 250px;
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(79, 110, 247, .12);
            outline: none;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: 0;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all .2s ease;
            font-size: 15px;
            line-height: 1;
            padding: 0 20px;
            height: 42px;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(79, 110, 247, .3);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--accent);
            color: #3a2b10;
        }

        .btn-accent:hover {
            background: #f6a62f;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(255, 179, 71, .3);
        }

        .btn-light {
            background: #fff;
            color: var(--primary-dark);
        }

        .btn-light:hover {
            background: rgba(255, 255, 255, .88);
            transform: translateY(-2px);
        }

        .btn-hero-outline {
            background: transparent;
            color: #fff;
            border: 1.5px solid rgba(255, 255, 255, .7);
        }

        .btn-hero-outline:hover {
            background: rgba(255, 255, 255, .15);
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-ghost-light {
            background: transparent;
            color: #fff;
            border: 1.5px solid rgba(255, 255, 255, .6);
        }

        .btn-ghost-light:hover {
            background: rgba(255, 255, 255, .15);
            color: #fff;
            transform: translateY(-2px);
        }

        .menu-toggle {
            display: none;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--surface);
            color: var(--text);
            font-size: 20px;
            cursor: pointer;
            align-items: center;
            justify-content: center;
        }

        .mobile-panel {
            display: none;
            border-top: 1px solid var(--border);
            padding: 16px 0;
            background: var(--surface);
        }

        .mobile-panel .mobile-nav a {
            display: block;
            padding: 12px 16px;
            border-radius: 12px;
            font-weight: 600;
            color: var(--text-soft);
        }

        .mobile-panel .mobile-nav a.active {
            color: var(--primary);
            background: var(--primary-light);
        }

        .mobile-search {
            position: relative;
            margin: 12px 16px 4px;
        }

        .mobile-search i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-mute);
            font-size: 14px;
        }

        .mobile-search input {
            width: 100%;
            height: 44px;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 0 16px 0 38px;
            background: var(--bg);
        }

        .hero {
            position: relative;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            color: #fff;
            padding: 100px 0;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(10, 14, 32, .92) 0%, rgba(15, 22, 48, .78) 55%, rgba(15, 22, 48, .55) 100%);
        }

        .hero-inner {
            position: relative;
            z-index: 2;
        }

        .hero-copy {
            max-width: 640px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .25);
            font-size: 14px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 22px;
        }

        .hero h1 {
            font-size: 48px;
            line-height: 1.28;
            margin: 0 0 18px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .hero p {
            font-size: 18px;
            line-height: 1.8;
            color: rgba(255, 255, 255, .88);
            margin: 0;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 32px;
        }

        .hero-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 24px;
            margin-top: 34px;
            padding-top: 28px;
            border-top: 1px solid rgba(255, 255, 255, .16);
        }

        .hero-list li {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            color: rgba(255, 255, 255, .85);
        }

        .hero-list i {
            color: var(--accent);
        }

        .hero-card {
            background: rgba(255, 255, 255, .96);
            border-radius: 24px;
            padding: 26px;
            color: var(--text);
            box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
            max-width: 420px;
            margin-left: auto;
        }

        .hero-card-label {
            font-size: 14px;
            font-weight: 800;
            color: var(--text-mute);
            letter-spacing: 1px;
            display: block;
            margin-bottom: 18px;
        }

        .hero-card-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 14px;
            border-radius: 16px;
            background: var(--bg);
            border: 1px solid var(--border);
            margin-bottom: 12px;
            transition: all .2s ease;
        }

        .hero-card-row:last-child {
            margin-bottom: 0;
        }

        .hero-card-row:hover {
            border-color: var(--primary);
            background: var(--primary-light);
            transform: translateX(4px);
        }

        .hero-card-row i {
            width: 42px;
            height: 42px;
            flex: 0 0 auto;
            border-radius: 13px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 17px;
        }

        .hero-card-row strong {
            display: block;
            font-size: 15px;
        }

        .hero-card-row span {
            font-size: 13px;
            color: var(--text-soft);
            display: block;
        }

        .feature-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px 26px;
            height: 100%;
            transition: all .25s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }

        .feature-icon {
            width: 54px;
            height: 54px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 22px;
            margin-bottom: 18px;
        }

        .feature-card.card-login .feature-icon {
            background: var(--primary-light);
            color: var(--primary);
        }

        .feature-card.card-nav .feature-icon {
            background: #eafaf1;
            color: #16a34a;
        }

        .feature-card.card-news .feature-icon {
            background: var(--accent-soft);
            color: #d97706;
        }

        .feature-card.card-faq .feature-icon {
            background: #f3ebff;
            color: #7c3aed;
        }

        .feature-card h3 {
            font-size: 19px;
            margin: 0 0 10px;
            font-weight: 700;
        }

        .feature-card p {
            font-size: 14.5px;
            color: var(--text-soft);
            margin: 0;
            line-height: 1.7;
        }

        .section-category {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .category-card {
            display: flex;
            gap: 20px;
            align-items: center;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            transition: all .25s ease;
            height: 100%;
        }

        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }

        .category-cover {
            width: 130px;
            height: 110px;
            flex: 0 0 auto;
            border-radius: 14px;
            overflow: hidden;
            position: relative;
        }

        .category-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }

        .category-card:hover .category-cover img {
            transform: scale(1.05);
        }

        .category-body h3 {
            font-size: 19px;
            font-weight: 700;
            margin: 0 0 8px;
        }

        .category-body p {
            font-size: 14.5px;
            color: var(--text-soft);
            margin: 0 0 12px;
            line-height: 1.7;
        }

        .category-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
            font-weight: 700;
            font-size: 14px;
        }

        .category-link i {
            transition: transform .2s ease;
        }

        .category-card:hover .category-link i {
            transform: translateX(4px);
        }

        .news-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all .25s ease;
            height: 100%;
        }

        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .news-link {
            display: block;
            padding: 24px;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .news-cat {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 999px;
        }

        .news-date {
            font-size: 13px;
            color: var(--text-mute);
        }

        .news-card h3 {
            font-size: 18px;
            margin: 0 0 10px;
            line-height: 1.5;
            font-weight: 700;
        }

        .news-card p {
            font-size: 14px;
            color: var(--text-soft);
            margin: 0 0 16px;
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-more {
            font-size: 14px;
            color: var(--primary);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .news-more i {
            transition: transform .2s ease;
        }

        .news-card:hover .news-more i {
            transform: translateX(4px);
        }

        .empty-news {
            text-align: center;
            padding: 48px 20px;
            background: var(--surface);
            border: 1px dashed var(--border);
            border-radius: var(--radius);
            color: var(--text-soft);
            font-size: 16px;
        }

        .steps-section {
            background: var(--dark-bg);
            position: relative;
            overflow: hidden;
        }

        .steps-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
            opacity: .14;
        }

        .steps-section .grid-container {
            position: relative;
            z-index: 2;
        }

        .step-card {
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: var(--radius);
            padding: 28px;
            height: 100%;
            backdrop-filter: blur(8px);
        }

        .step-num {
            font-size: 34px;
            font-weight: 800;
            color: var(--accent);
            line-height: 1;
            display: block;
            margin-bottom: 16px;
        }

        .step-card h3 {
            color: #fff;
            font-size: 19px;
            margin: 0 0 10px;
            font-weight: 700;
        }

        .step-card p {
            color: rgba(255, 255, 255, .78);
            font-size: 14.5px;
            margin: 0;
            line-height: 1.7;
        }

        .stats-bar {
            margin-top: 48px;
        }

        .stat-box {
            background: rgba(255, 255, 255, .07);
            border: 1px solid rgba(255, 255, 255, .12);
            border-radius: 18px;
            text-align: center;
            padding: 20px 16px;
            height: 100%;
        }

        .stat-box strong {
            display: block;
            font-size: 30px;
            color: #fff;
            margin-bottom: 4px;
        }

        .stat-box span {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, .72);
        }

        .section-resource {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .resource-card {
            display: block;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all .25s ease;
            height: 100%;
        }

        .resource-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }

        .resource-thumb {
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .resource-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }

        .resource-card:hover .resource-thumb img {
            transform: scale(1.06);
        }

        .resource-tag {
            position: absolute;
            left: 16px;
            top: 16px;
            background: rgba(255, 255, 255, .9);
            color: var(--primary-dark);
            padding: 5px 12px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 700;
        }

        .resource-body {
            padding: 22px;
        }

        .resource-body h3 {
            font-size: 18px;
            margin: 0 0 10px;
            line-height: 1.5;
        }

        .resource-body p {
            font-size: 14px;
            color: var(--text-soft);
            margin: 0;
            line-height: 1.7;
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            margin-bottom: 14px;
            overflow: hidden;
            transition: box-shadow .2s ease;
        }

        .faq-item[open] {
            box-shadow: var(--shadow);
        }

        .faq-item summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 20px 22px;
            font-size: 17px;
            font-weight: 700;
            cursor: pointer;
            list-style: none;
            color: var(--text);
            transition: background .2s ease;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary:hover {
            background: var(--bg);
        }

        .faq-item summary::after {
            content: "+";
            font-size: 22px;
            color: var(--primary);
            font-weight: 400;
            flex: 0 0 auto;
            transition: transform .2s ease;
        }

        .faq-item[open] summary::after {
            transform: rotate(45deg);
        }

        .faq-item p {
            padding: 0 22px 20px;
            color: var(--text-soft);
            font-size: 15.5px;
            line-height: 1.8;
            margin: 0;
        }

        .cta-box {
            position: relative;
            border-radius: 28px;
            overflow: hidden;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            padding: 60px 40px;
            text-align: center;
            color: #fff;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(79, 110, 247, .92), rgba(124, 44, 255, .82));
        }

        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }

        .cta-content h2 {
            font-size: clamp(24px, 4vw, 34px);
            line-height: 1.35;
            margin: 0 0 14px;
            font-weight: 800;
        }

        .cta-content p {
            font-size: 16px;
            color: rgba(255, 255, 255, .88);
            margin: 0 0 30px;
            line-height: 1.8;
        }

        .cta-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: center;
        }

        .site-footer {
            background: #10152a;
            color: #a9b0c3;
            padding: 64px 0 0;
        }

        .footer-brand .logo {
            color: #fff;
            margin-bottom: 14px;
        }

        .footer-brand p {
            font-size: 14.5px;
            color: #7f879d;
            line-height: 1.8;
            max-width: 340px;
        }

        .footer-links h4 {
            color: #fff;
            font-size: 16px;
            margin-bottom: 18px;
        }

        .footer-links a {
            color: #a9b0c3;
            font-size: 14.5px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
            transition: color .2s ease;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .1);
            margin-top: 48px;
            padding: 18px 0 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            font-size: 14px;
            color: #7f879d;
        }

        @media (max-width: 1024px) {
            .search-box {
                display: none;
            }

            .hero {
                padding: 80px 0;
            }

            .hero h1 {
                font-size: 40px;
            }

            .hero-card {
                margin: 30px auto 0;
            }
        }

        @media (max-width: 900px) {
            .desktop-nav {
                display: none;
            }

            .menu-toggle {
                display: inline-flex;
            }

            .section {
                padding: 60px 0;
            }

            .section-head {
                margin-bottom: 40px;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                height: 64px;
            }

            .header-actions .btn-header {
                display: none;
            }

            .hero {
                padding: 60px 0;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero p {
                font-size: 16px;
            }

            .hero-card {
                padding: 20px;
            }

            .section {
                padding: 48px 0;
            }

            .section-head h2 {
                font-size: 26px;
            }

            .section-head p {
                font-size: 15px;
            }

            .category-card {
                flex-direction: column;
                align-items: flex-start;
            }

            .category-cover {
                width: 100%;
                height: 160px;
            }

            .cta-box {
                padding: 44px 22px;
            }
        }

        @media (max-width: 520px) {
            .hero h1 {
                font-size: 26px;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .step-card {
                padding: 22px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

/* roulang page: category1 */
:root {
    --primary: #1b3a6b;
    --primary-light: #2b5aa8;
    --primary-dark: #122a4f;
    --accent: #e8a33d;
    --accent-light: #f5bf66;
    --accent-dark: #d18a24;
    --dark-bg: #0f1e36;
    --bg-light: #f5f8fc;
    --bg-card: #ffffff;
    --text-main: #1f2a3a;
    --text-body: #3a4658;
    --text-weak: #76859a;
    --border: #e2e9f2;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(20, 40, 80, 0.06);
    --shadow-md: 0 8px 24px rgba(20, 40, 80, 0.08);
    --shadow-lg: 0 16px 44px rgba(20, 40, 80, 0.12);
    --space-section: 90px;
    --space-card: 28px;
    --font-sans: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-sans); background: #fff; color: var(--text-main); line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 14px; }
button { cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 12px; line-height: 1.35; color: var(--text-main); font-weight: 700; }
p { margin: 0 0 16px; color: var(--text-body); }
.grid-container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }

.header-inner { gap: 18px; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(20, 40, 80, 0.04); }
.site-header .grid-container { padding-top: 0; padding-bottom: 0; }
.header-inner { min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text-main); letter-spacing: 0.5px; }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; box-shadow: 0 4px 10px rgba(27, 58, 107, 0.25); }
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.04); }
.logo span:last-child { background: linear-gradient(90deg, var(--primary-dark), var(--primary-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav ul { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.main-nav a { font-size: 15px; color: var(--text-body); font-weight: 500; padding: 8px 2px; position: relative; transition: color .2s ease; display: inline-block; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; border-radius: 2px; }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after { width: 100%; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.search-box { position: relative; display: flex; align-items: center; background: var(--bg-light); border: 1px solid var(--border); border-radius: 30px; padding: 6px 8px 6px 14px; width: 220px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.08); background: #fff; }
.search-box i { color: var(--text-weak); font-size: 13px; margin-right: 6px; }
.search-box input { border: none; outline: none; background: transparent; width: calc(100% - 28px); color: var(--text-main); font-size: 13px; }
.search-box input::placeholder { color: var(--text-weak); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 30px; font-weight: 600; font-size: 14px; padding: 10px 22px; transition: all .25s ease; border: 1px solid transparent; letter-spacing: 0.3px; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px rgba(27, 58, 107, 0.2); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(27, 58, 107, 0.25); }
.btn-accent { background: var(--accent); color: #1f2a3a; border-color: var(--accent); box-shadow: 0 6px 16px rgba(232, 163, 61, 0.2); }
.btn-accent:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 163, 61, 0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary-light); }
.btn-outline:hover { background: rgba(27, 58, 107, 0.06); border-color: var(--primary); transform: translateY(-2px); }
.btn-header { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.menu-toggle { display: none; font-size: 22px; color: var(--primary); padding: 4px; margin-left: 4px; }
.mobile-panel { display: none; background: #fff; border-top: 1px solid var(--border); padding: 16px 20px 22px; position: absolute; top: 100%; left: 0; right: 0; box-shadow: 0 16px 30px rgba(20, 40, 80, 0.12); border-radius: 0 0 16px 16px; }
.mobile-panel.open { display: block; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.mobile-nav a { font-size: 16px; font-weight: 500; color: var(--text-body); padding: 10px 4px; border-bottom: 1px solid #f0f4f9; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--primary); font-weight: 600; }
.mobile-search { display: flex; align-items: center; background: var(--bg-light); border: 1px solid var(--border); border-radius: 24px; padding: 6px 10px 6px 14px; }
.mobile-search i { color: var(--text-weak); margin-right: 6px; font-size: 14px; }
.mobile-search input { border: none; outline: none; background: transparent; width: 100%; font-size: 14px; padding: 6px 0; }

.category-banner { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 50%, var(--primary) 100%); padding: 70px 0 62px; position: relative; overflow: hidden; }
.category-banner::before { content: ""; position: absolute; top: -30%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(232, 163, 61, 0.22) 0%, transparent 70%); border-radius: 50%; }
.category-banner::after { content: ""; position: absolute; bottom: -40%; left: 15%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(43, 90, 168, 0.75) 0%, transparent 70%); border-radius: 50%; }
.category-banner .grid-container { position: relative; z-index: 2; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,0.7); transition: color .2s; }
.crumb a:hover { color: var(--accent-light); }
.crumb i { font-size: 10px; opacity: 0.6; }
.category-banner h1 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; line-height: 1.25; }
.category-banner .banner-desc { color: rgba(255,255,255,0.82); font-size: 16px; max-width: 680px; margin-bottom: 26px; line-height: 1.7; }
.banner-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.banner-tag { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.92); font-size: 13px; padding: 6px 16px; border-radius: 30px; backdrop-filter: blur(6px); }
.category-nav-section { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.category-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.category-nav-list .label { font-size: 13px; color: var(--text-weak); margin-right: 6px; }
.category-nav-list a { font-size: 14px; color: var(--text-body); padding: 4px 2px; border-bottom: 2px solid transparent; transition: all .2s; }
.category-nav-list a.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--accent); }
.category-nav-list a:hover { color: var(--primary); }

.section { padding: var(--space-section) 0; position: relative; }
.section-alt { background: var(--bg-light); }
.section-header { margin-bottom: 44px; }
.section-eyebrow { color: var(--accent-dark); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; line-height: 1.35; }
.section-desc { color: var(--text-body); font-size: 16px; max-width: 640px; line-height: 1.7; }

.guide-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-card); height: 100%; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.guide-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); opacity: 0; transition: opacity .3s; }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-card:hover::before { opacity: 1; }
.guide-card-icon { width: 52px; height: 52px; background: rgba(27, 58, 107, 0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); margin-bottom: 16px; transition: background .3s, color .3s; }
.guide-card:hover .guide-card-icon { background: var(--primary); color: #fff; }
.guide-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 0; flex: 1; }
.guide-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--primary); transition: gap .2s; }
.guide-card .card-link:hover { gap: 10px; }

.steps-wrap { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.step-item::before { content: ""; position: absolute; top: 44px; left: 22px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(232, 163, 61, 0.08)); border-radius: 2px; }
.step-item:last-child::before { display: none; }
.step-num { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; box-shadow: 0 6px 14px rgba(27, 58, 107, 0.25); position: relative; z-index: 2; }
.step-content { padding-top: 6px; }
.step-content h3 { font-size: 17px; margin-bottom: 6px; }
.step-content p { margin-bottom: 4px; font-size: 14px; line-height: 1.7; }
.step-content .step-tip { background: rgba(232, 163, 61, 0.1); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 8px 14px; font-size: 13px; color: #6b5b3a; margin-top: 8px; }

.feat-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; }
.feat-block:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat-media { position: relative; height: 196px; overflow: hidden; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feat-block:hover .feat-media img { transform: scale(1.05); }
.feat-media .media-badge { position: absolute; top: 14px; left: 14px; background: rgba(27, 58, 107, 0.82); color: #fff; border-radius: 30px; padding: 4px 14px; font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); }
.feat-body { padding: 22px; }
.feat-body h3 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
.feat-body p { font-size: 13px; color: var(--text-body); margin-bottom: 12px; line-height: 1.7; }
.feat-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-weak); }

.toc-box { position: sticky; top: 90px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.toc-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.toc-box h4 i { color: var(--accent); }
.toc-list li { margin-bottom: 2px; }
.toc-list a { display: block; font-size: 13px; color: var(--text-body); padding: 8px 12px; border-radius: var(--radius-sm); transition: all .2s; border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.active { color: var(--primary); background: rgba(27, 58, 107, 0.05); border-left-color: var(--accent); }

.res-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 16px; transition: box-shadow .25s, transform .25s; }
.res-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.res-icon { width: 46px; height: 46px; background: linear-gradient(135deg, rgba(27, 58, 107, 0.1), rgba(27, 58, 107, 0.06)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--primary); flex-shrink: 0; }
.res-card-detail { flex: 1; }
.res-card-detail h3 { font-size: 15px; margin-bottom: 4px; }
.res-card-detail p { font-size: 13px; margin-bottom: 8px; line-height: 1.6; }
.res-tag { font-size: 11px; background: rgba(232, 163, 61, 0.12); color: var(--accent-dark); padding: 3px 12px; border-radius: 20px; font-weight: 600; }
.res-card .arrow { color: var(--text-weak); font-size: 14px; align-self: center; transition: transform .2s, color .2s; }
.res-card:hover .arrow { transform: translateX(4px); color: var(--primary); }

.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-main); gap: 12px; }
.faq-q i { color: var(--primary); font-size: 14px; transition: transform .3s; flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-q:hover { color: var(--primary); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 14px; line-height: 1.8; color: var(--text-body); border-top: 1px solid #f0f2f6; padding-top: 14px; }
.faq-item.active .faq-a { display: block; }
.faq-a a { color: var(--primary); font-weight: 500; }

.cta-box { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: var(--radius-lg); padding: 56px 48px; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; top: -40%; right: -15%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(232, 163, 61, 0.28) 0%, transparent 70%); border-radius: 50%; }
.cta-box::after { content: ""; position: absolute; bottom: -50%; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(43, 90, 168, 0.7) 0%, transparent 70%); border-radius: 50%; }
.cta-box .grid-x { position: relative; z-index: 2; align-items: center; }
.cta-box h2 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 0; max-width: 540px; line-height: 1.7; }
.cta-box .btn { white-space: nowrap; }

.site-footer { background: var(--dark-bg); padding: 64px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(27, 58, 107, 0.7) 0%, transparent 70%); pointer-events: none; }
.site-footer .grid-container { position: relative; z-index: 2; }
.footer-top { padding-bottom: 36px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: #fff; font-size: 20px; }
.footer-brand .logo span:last-child { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.12); box-shadow: none; color: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.8; margin-top: 16px; max-width: 420px; }
.footer-links h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.55); font-size: 14px; padding: 4px 0; transition: all .2s; line-height: 1.8; }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-bottom span:first-child { color: rgba(255,255,255,0.45); }

@media screen and (max-width: 1024px) {
    .search-box { width: 160px; }
    .main-nav ul { gap: 20px; }
    :root { --space-section: 70px; }
}
@media screen and (max-width: 768px) {
    .site-header { position: sticky; top: 0; }
    .header-inner { min-height: 60px; }
    .main-nav.desktop-nav { display: none; }
    .search-box { display: none; }
    .btn-header { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .category-banner { padding: 50px 0 46px; }
    .category-banner h1 { font-size: 28px; }
    .cta-box { padding: 36px 24px; }
    :root { --space-section: 56px; }
    .footer-bottom { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; }
}
@media screen and (max-width: 520px) {
    .grid-container { padding-left: 16px; padding-right: 16px; }
    .category-banner h1 { font-size: 24px; }
    .section-title { font-size: 24px; }
    .header-inner { gap: 8px; }
    .toast-msg { width: 90%; }
}

/* roulang page: article */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --accent: #0ea5e9;
    --bg: #f8fafc;
    --bg-alt: #eef2f7;
    --text: #0f172a;
    --text-weak: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container,
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.header-inner .auto {
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.logo:hover {
    color: var(--primary);
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 11px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-weak);
    padding: 8px 4px;
    position: relative;
    font-size: 15px;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 14px;
    z-index: 1;
}

.search-box input {
    width: 210px;
    padding: 10px 16px 10px 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    width: 250px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    filter: brightness(1.05);
    color: #fff;
}

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: #bfdbfe;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

.btn-header {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text);
    font-size: 16px;
    transition: var(--transition);
}

.menu-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-panel {
    display: none;
    padding: 16px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
}

.mobile-nav a:hover {
    background: var(--bg);
}

.mobile-nav a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}

.mobile-search {
    position: relative;
    margin-top: 12px;
}

.mobile-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 16px 12px 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.mobile-search input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.article-hero {
    position: relative;
    padding: 64px 0 56px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.82)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
    color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .sep {
    opacity: 0.5;
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
}

.article-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    font-size: 14px;
    opacity: 0.75;
}

.article-body-section {
    padding: 44px 0 28px;
}

.article-content-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    border: 1px solid var(--border);
}

.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}

.article-content h2 {
    font-size: 26px;
    margin: 36px 0 16px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
    letter-spacing: -0.3px;
}

.article-content h3 {
    font-size: 20px;
    margin: 28px 0 12px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.article-content a {
    color: var(--primary);
    border-bottom: 1px dashed var(--primary);
}

.article-content a:hover {
    border-bottom-style: solid;
    color: var(--primary-dark);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
    font-style: normal;
    color: var(--text-weak);
}

.article-content img {
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
    width: auto;
    height: auto;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.article-content table th,
.article-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-content table th {
    background: var(--bg-alt);
    font-weight: 600;
}

.article-content code {
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-weak);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: transparent;
}

.badge-primary:hover {
    background: #bfdbfe;
}

.article-not-found {
    text-align: center;
    padding: 56px 24px;
}

.article-not-found .not-found-icon {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.article-not-found h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.article-not-found p {
    color: var(--text-weak);
    margin-bottom: 24px;
}

.article-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.2);
}

.sidebar-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h3 i {
    color: var(--primary);
    font-size: 16px;
}

.sidebar-card p {
    font-size: 14px;
    color: var(--text-weak);
    margin-bottom: 16px;
}

.sidebar-list li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.sidebar-list a {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.sidebar-card .btn {
    margin-top: 4px;
}

.related-section {
    padding: 48px 0;
    background: var(--bg-alt);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.section-head .link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 16px;
    background: var(--primary-light);
    border-radius: 999px;
    transition: var(--transition);
}

.section-head .link-more:hover {
    background: #bfdbfe;
    transform: translateX(2px);
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.25);
}

.related-card .card-thumb {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.related-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .card-thumb img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-body .badge {
    margin-bottom: 10px;
    align-self: flex-start;
}

.related-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card:hover .related-card-body h3 {
    color: var(--primary);
}

.related-card-body p {
    font-size: 13px;
    color: var(--text-weak);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.empty-tip {
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-weak);
    font-size: 15px;
}

.faq-section {
    padding: 48px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3 i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-weak);
    margin: 0 0 0 24px;
    line-height: 1.7;
}

.cta-section {
    padding: 56px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(14, 165, 233, 0.88)), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 15px;
}

.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.65);
    padding: 56px 0 24px;
}

.footer-top {
    padding-bottom: 32px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 340px;
    margin-top: 12px;
}

.footer-links h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .search-box input {
        width: 160px;
    }
    .search-box input:focus {
        width: 200px;
    }
    .article-hero h1 {
        font-size: 34px;
    }
    .article-content-card {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .search-box {
        display: none;
    }
    .btn-header {
        display: none;
    }
    .article-hero {
        padding: 48px 0 40px;
    }
    .article-hero h1 {
        font-size: 26px;
    }
    .article-body-section {
        padding: 28px 0 20px;
    }
    .article-content-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .article-sidebar {
        position: static;
        margin-top: 24px;
    }
    .related-card .card-thumb {
        height: 140px;
    }
    .cta-section {
        padding: 44px 0;
    }
    .cta-section h2 {
        font-size: 24px;
    }
    .footer-top .cell {
        margin-bottom: 16px;
    }
}

@media (max-width: 520px) {
    .header-inner {
        padding: 10px 0;
        gap: 10px;
    }
    .logo {
        font-size: 15px;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 9px;
    }
    .article-hero h1 {
        font-size: 22px;
    }
    .article-meta {
        gap: 12px;
        font-size: 13px;
    }
    .section-head h2 {
        font-size: 22px;
    }
    .section-head .link-more {
        padding: 6px 12px;
        font-size: 13px;
    }
    .related-card .card-thumb {
        height: 120px;
    }
    .faq-item {
        padding: 16px 18px;
    }
    .faq-item h3 {
        font-size: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
