/* roulang page: index */
/* ===== 设计变量 ===== */
    :root {
        --primary: #C8102E;
        --primary-dark: #A30C22;
        --primary-light: #E84A5F;
        --secondary: #141A2B;
        --bg: #F4F6FA;
        --bg-white: #FFFFFF;
        --text: #1A1D26;
        --text-muted: #6B7280;
        --border: #E5E7ED;
        --radius-sm: 8px;
        --radius-md: 16px;
        --radius-lg: 24px;
        --radius-pill: 50px;
        --shadow-sm: 0 2px 10px rgba(20, 26, 43, 0.05);
        --shadow-md: 0 8px 28px rgba(20, 26, 43, 0.08);
        --shadow-lg: 0 20px 60px rgba(20, 26, 43, 0.12);
        --spacing: 100px;
        --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    }

    /* ===== 基础 Reset ===== */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }
    body {
        font-family: var(--font-base);
        background: var(--bg);
        color: var(--text);
        line-height: 1.7;
        font-size: 16px;
        overflow-x: hidden;
    }
    a {
        color: var(--primary);
        text-decoration: none;
        transition: all .3s ease;
    }
    a:hover {
        color: var(--primary-dark);
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    button,
    input,
    textarea,
    select {
        font-family: inherit;
        font-size: inherit;
    }
    ul,
    ol {
        list-style: none;
    }

    /* ===== 容器 ===== */
    .container {
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ===== 顶部 Dock 导航 ===== */
    .site-header {
        position: fixed;
        top: 16px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    .dock-nav {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-radius: 60px;
        box-shadow: 0 10px 40px rgba(20, 26, 43, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 8px 24px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 1.25rem;
        color: var(--text) !important;
        letter-spacing: 0.5px;
    }
    .navbar-brand .brand-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 15px;
        box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
    }
    .dock-nav .navbar-nav {
        gap: 4px;
    }
    .dock-nav .nav-link {
        font-weight: 600;
        font-size: 15px;
        color: var(--text);
        padding: 8px 18px;
        border-radius: 40px;
        transition: all .3s ease;
    }
    .dock-nav .nav-link:hover {
        color: var(--primary);
        background: rgba(200, 16, 46, 0.06);
    }
    .dock-nav .nav-link.active {
        color: var(--primary);
        background: rgba(200, 16, 46, 0.08);
        font-weight: 700;
    }
    .dock-actions .btn-brand {
        border-radius: 40px;
        padding: 8px 22px;
        font-weight: 600;
        font-size: 14px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: none;
        box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
        transition: all .3s ease;
    }
    .dock-actions .btn-brand:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
    }
    .navbar-toggler {
        border: none;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(200, 16, 46, 0.08);
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* ===== Hero 首屏 ===== */
    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        padding: 160px 0 100px;
    }
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(20, 26, 43, 0.88) 0%, rgba(200, 16, 46, 0.65) 100%);
        z-index: 1;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        color: #fff;
        max-width: 900px;
        margin: 0 auto;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 40px;
        padding: 6px 18px;
        font-size: 14px;
        font-weight: 600;
        backdrop-filter: blur(8px);
        margin-bottom: 28px;
        letter-spacing: 1px;
    }
    .hero h1 {
        font-size: clamp(2.6rem, 5vw, 4.2rem);
        font-weight: 900;
        line-height: 1.15;
        margin-bottom: 20px;
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        letter-spacing: 1px;
    }
    .hero p {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        opacity: 0.9;
        margin-bottom: 36px;
        font-weight: 300;
        line-height: 1.6;
    }
    .hero-actions {
        display: flex;
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .btn-hero {
        border-radius: 50px;
        padding: 14px 34px;
        font-weight: 700;
        font-size: 16px;
        transition: all .3s ease;
        border: none;
    }
    .btn-hero-primary {
        background: #fff;
        color: var(--primary);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    .btn-hero-primary:hover {
        background: #f0f0f0;
        color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    }
    .btn-hero-outline {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.7);
        padding: 12px 32px;
    }
    .btn-hero-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
        transform: translateY(-3px);
    }
    .hero-stats-row {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 56px;
        flex-wrap: wrap;
    }
    .hero-stat {
        text-align: center;
    }
    .hero-stat .num {
        font-size: 2rem;
        font-weight: 800;
        display: block;
    }
    .hero-stat .label {
        font-size: 13px;
        opacity: 0.7;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* ===== 通用板块 ===== */
    .section {
        padding: 110px 0;
    }
    .section-light {
        background: var(--bg-white);
    }
    .section-header {
        text-align: center;
        margin-bottom: 64px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    .section-tag {
        display: inline-block;
        background: rgba(200, 16, 46, 0.08);
        color: var(--primary);
        font-size: 13px;
        font-weight: 700;
        padding: 5px 16px;
        border-radius: 40px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }
    .section-header h2 {
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        font-weight: 800;
        margin-bottom: 14px;
        line-height: 1.3;
        color: var(--text);
    }
    .section-header p {
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.7;
    }

    /* ===== 核心说明 ===== */
    .feature-showcase {
        display: flex;
        align-items: center;
        gap: 60px;
        flex-wrap: wrap;
    }
    .showcase-image {
        position: relative;
        flex: 1 1 480px;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }
    .showcase-image img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        transition: transform .6s ease;
    }
    .showcase-image:hover img {
        transform: scale(1.04);
    }
    .showcase-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(20, 26, 43, 0.3), transparent);
    }
    .showcase-content {
        flex: 1 1 420px;
    }
    .showcase-content .section-tag {
        margin-bottom: 14px;
    }
    .showcase-content h2 {
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 800;
        margin-bottom: 20px;
        line-height: 1.35;
    }
    .showcase-content p {
        color: var(--text-muted);
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.75;
    }
    .feature-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 28px;
    }
    .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
        background: var(--bg);
        border-radius: 16px;
        border: 1px solid var(--border);
        transition: box-shadow .3s ease, transform .3s ease;
    }
    .feature-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
    .feature-item .icon-circle {
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
    }
    .feature-item h4 {
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 2px;
    }
    .feature-item p {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 0;
        line-height: 1.5;
    }

    /* ===== 分类入口 ===== */
    .category-banner {
        position: relative;
        border-radius: 28px;
        overflow: hidden;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, var(--secondary), #1d2740);
        box-shadow: var(--shadow-lg);
        min-height: 300px;
        transition: transform .4s ease;
    }
    .category-banner:hover {
        transform: translateY(-4px);
    }
    .category-banner-image {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 45%;
    }
    .category-banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .category-banner-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(20, 26, 43, 0.9), transparent);
    }
    .category-banner-content {
        position: relative;
        z-index: 2;
        padding: 48px 56px;
        color: #fff;
        flex: 1;
    }
    .category-banner-content .cb-tag {
        display: inline-block;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 30px;
        padding: 4px 16px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    .category-banner-content h3 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 12px;
    }
    .category-banner-content p {
        opacity: 0.85;
        max-width: 460px;
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 24px;
    }
    .btn-banner {
        background: #fff;
        color: var(--primary);
        border-radius: 40px;
        padding: 10px 28px;
        font-weight: 700;
        font-size: 14px;
        border: none;
        transition: all .3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .btn-banner:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(200, 16, 46, 0.4);
    }

    /* ===== 最新资讯 ===== */
    .news-card {
        background: var(--bg-white);
        border-radius: 20px;
        border: 1px solid var(--border);
        overflow: hidden;
        height: 100%;
        box-shadow: var(--shadow-sm);
        transition: all .4s ease;
        display: flex;
        flex-direction: column;
    }
    .news-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-6px);
        border-color: rgba(200, 16, 46, 0.15);
    }
    .news-card-img {
        height: 220px;
        overflow: hidden;
        position: relative;
    }
    .news-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }
    .news-card:hover .news-card-img img {
        transform: scale(1.06);
    }
    .news-card-body {
        padding: 28px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .news-badge {
        display: inline-block;
        background: rgba(200, 16, 46, 0.08);
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 30px;
        margin-bottom: 14px;
        align-self: flex-start;
        letter-spacing: 0.5px;
    }
    .news-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .news-title a {
        color: var(--text);
    }
    .news-title a:hover {
        color: var(--primary);
    }
    .news-summary {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.65;
        flex: 1;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border);
        padding-top: 14px;
        font-size: 13px;
        color: var(--text-muted);
    }
    .news-meta time {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .news-meta a {
        font-weight: 600;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .news-meta a:hover {
        color: var(--primary-dark);
    }

    /* ===== 登录流程 ===== */
    .steps-section {
        background: var(--secondary);
        color: #fff;
    }
    .steps-section .section-header h2 {
        color: #fff;
    }
    .steps-section .section-header p {
        color: rgba(255, 255, 255, 0.6);
    }
    .steps-section .section-tag {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    .step-card {
        text-align: center;
        padding: 36px 28px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 20px;
        height: 100%;
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: all .4s ease;
        position: relative;
    }
    .step-card:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-4px);
    }
    .step-number {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 22px;
        font-weight: 800;
        box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
        border: 3px solid rgba(255, 255, 255, 0.2);
    }
    .step-card h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .step-card p {
        font-size: 14px;
        opacity: 0.75;
        line-height: 1.6;
        margin-bottom: 0;
    }
    .step-arrow {
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.3);
        font-size: 20px;
        z-index: 3;
    }
    @media (max-width: 991px) {
        .step-arrow {
            display: none;
        }
    }

    /* ===== 统计数字 ===== */
    .stats-bar {
        background: var(--bg-white);
        padding: 80px 0;
    }
    .stat-item {
        text-align: center;
        padding: 20px;
    }
    .stat-item .icon {
        font-size: 36px;
        margin-bottom: 14px;
        color: var(--primary);
    }
    .stat-item .number {
        font-size: 2.6rem;
        font-weight: 900;
        color: var(--text);
        line-height: 1.2;
    }
    .stat-item .number span {
        color: var(--primary);
    }
    .stat-item .label {
        color: var(--text-muted);
        font-size: 15px;
        margin-top: 6px;
    }

    /* ===== FAQ ===== */
    .faq-wrapper {
        max-width: 820px;
        margin: 0 auto;
    }
    .faq-wrapper .accordion-item {
        border: 1px solid var(--border);
        border-radius: 16px !important;
        margin-bottom: 14px;
        overflow: hidden;
        background: var(--bg-white);
        box-shadow: var(--shadow-sm);
        transition: box-shadow .3s ease;
    }
    .faq-wrapper .accordion-item:hover {
        box-shadow: var(--shadow-md);
    }
    .faq-wrapper .accordion-button {
        padding: 22px 28px;
        font-weight: 700;
        font-size: 16px;
        color: var(--text);
        background: transparent;
        box-shadow: none;
        transition: color .3s ease;
    }
    .faq-wrapper .accordion-button:not(.collapsed) {
        background: rgba(200, 16, 46, 0.04);
        color: var(--primary);
    }
    .faq-wrapper .accordion-button::after {
        background-size: 18px;
        border-radius: 50%;
        background-color: rgba(200, 16, 46, 0.08);
        width: 32px;
        height: 32px;
        background-position: center;
        transition: transform .3s ease;
    }
    .faq-wrapper .accordion-button:focus {
        box-shadow: none;
        border-color: var(--primary);
    }
    .faq-wrapper .accordion-body {
        padding: 0 28px 24px;
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.75;
    }

    /* ===== CTA 区域 ===== */
    .cta-section {
        position: relative;
        border-radius: 32px;
        overflow: hidden;
        padding: 80px 60px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        text-align: center;
        color: #fff;
        box-shadow: 0 20px 60px rgba(200, 16, 46, 0.35);
        margin: 0 20px;
    }
    .cta-section h2 {
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 800;
        margin-bottom: 14px;
    }
    .cta-section p {
        opacity: 0.85;
        max-width: 600px;
        margin: 0 auto 32px;
        font-size: 16px;
    }
    .cta-actions {
        display: flex;
        gap: 14px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .btn-cta-white {
        background: #fff;
        color: var(--primary);
        border-radius: 50px;
        padding: 13px 36px;
        font-weight: 700;
        border: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        font-size: 15px;
        transition: all .3s ease;
    }
    .btn-cta-white:hover {
        transform: translateY(-2px);
        background: #f8f8f8;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }
    .btn-cta-outline {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 50px;
        padding: 11px 34px;
        font-weight: 700;
        font-size: 15px;
        transition: all .3s ease;
    }
    .btn-cta-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
        color: #fff;
        transform: translateY(-2px);
    }

    /* ===== 页脚 ===== */
    .site-footer {
        background: var(--secondary);
        color: rgba(255, 255, 255, 0.8);
        padding: 70px 0 30px;
        margin-top: 40px;
    }
    .footer-brand h3 {
        color: #fff;
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-brand h3 .brand-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }
    .footer-brand p {
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
        max-width: 300px;
        line-height: 1.6;
    }
    .footer-links h4 {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 18px;
    }
    .footer-links ul li {
        margin-bottom: 10px;
    }
    .footer-links ul li a {
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
        transition: all .3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .footer-links ul li a:hover {
        color: #fff;
        padding-left: 4px;
    }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 50px;
        padding-top: 24px;
        text-align: center;
        color: rgba(255, 255, 255, 0.4);
        font-size: 13px;
    }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
        :root {
            --spacing: 80px;
        }
        .section {
            padding: 80px 0;
        }
        .category-banner-content {
            padding: 36px 40px;
        }
        .category-banner-image {
            width: 40%;
        }
    }
    @media (max-width: 768px) {
        :root {
            --spacing: 60px;
        }
        .section {
            padding: 60px 0;
        }
        .site-header {
            top: 8px;
        }
        .dock-nav {
            padding: 6px 16px;
            border-radius: 40px;
        }
        .navbar-brand {
            font-size: 1.05rem;
        }
        .navbar-brand .brand-icon {
            width: 32px;
            height: 32px;
            font-size: 13px;
        }
        .dock-nav .navbar-collapse {
            padding: 16px 8px 8px;
            border-top: 1px solid var(--border);
            margin-top: 10px;
        }
        .dock-nav .nav-link {
            padding: 10px 18px;
        }
        .dock-actions {
            margin-top: 8px;
        }
        .hero {
            min-height: 90vh;
            padding: 130px 0 80px;
        }
        .hero h1 {
            font-size: 2.2rem;
        }
        .hero p {
            font-size: 1.05rem;
        }
        .hero-stats-row {
            gap: 24px;
            margin-top: 36px;
        }
        .feature-showcase {
            gap: 40px;
        }
        .showcase-image img {
            height: 300px;
        }
        .category-banner {
            flex-direction: column;
        }
        .category-banner-image {
            position: relative;
            width: 100%;
            height: 200px;
        }
        .category-banner-image::after {
            background: linear-gradient(to bottom, transparent, rgba(20, 26, 43, 0.4));
        }
        .category-banner-content {
            padding: 32px 28px;
        }
        .category-banner-content h3 {
            font-size: 1.6rem;
        }
        .cta-section {
            padding: 60px 24px;
            margin: 0 10px;
            border-radius: 24px;
        }
        .stat-item .number {
            font-size: 2rem;
        }
        .section-header {
            margin-bottom: 40px;
        }
    }
    @media (max-width: 520px) {
        .container {
            padding-left: 16px;
            padding-right: 16px;
        }
        .navbar-brand {
            font-size: 0.95rem;
            gap: 8px;
        }
        .navbar-brand .brand-icon {
            width: 28px;
            height: 28px;
            font-size: 11px;
        }
        .hero h1 {
            font-size: 1.8rem;
        }
        .hero p {
            font-size: 0.95rem;
        }
        .btn-hero {
            padding: 12px 26px;
            font-size: 14px;
        }
        .feature-item {
            flex-direction: column;
            align-items: flex-start;
        }
        .step-card {
            padding: 24px 16px;
        }
        .step-card h4 {
            font-size: 16px;
        }
        .news-card-body {
            padding: 20px;
        }
        .stat-item .number {
            font-size: 1.7rem;
        }
        .footer-bottom {
            font-size: 12px;
        }
        .cta-actions .btn-cta-white,
        .cta-actions .btn-cta-outline {
            padding: 11px 24px;
            font-size: 14px;
        }
    }

/* roulang page: category1 */
/* =====================================================
           主题变量与基础重置
        ===================================================== */
        :root {
            --primary: #0f2b46;
            --primary-light: #1e4a6e;
            --accent: #e6a817;
            --accent-hover: #c99412;
            --bg-body: #f5f7fb;
            --bg-white: #ffffff;
            --bg-soft: #eef2f7;
            --text-main: #1c2b36;
            --text-muted: #5b6b7b;
            --border-color: #e3e8ef;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
            --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
            --transition: all 0.25s ease;
            --spacer: 80px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-main);
            background: var(--bg-body);
        }

        img {
            max-width: 100%;
            height: auto;
            vertical-align: middle;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--accent);
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.25;
            margin-top: 0;
        }

        p {
            margin-top: 0;
        }

        .container {
            max-width: 1140px;
        }

        /* =====================================================
           导航栏（浮动 Dock）
        ===================================================== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 16px 24px;
            pointer-events: none;
        }

        .site-header .dock-nav {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 999px;
            padding: 8px 16px;
            box-shadow: var(--shadow-md);
            max-width: 1200px;
            margin: 0 auto;
            transition: var(--transition);
        }

        .site-header .navbar-brand {
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand-icon {
            width: 38px;
            height: 38px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .site-header .navbar-nav {
            gap: 4px;
        }

        .site-header .nav-link {
            color: var(--text-muted);
            font-weight: 500;
            padding: 8px 20px;
            border-radius: 999px;
            transition: var(--transition);
        }

        .site-header .nav-link:hover {
            color: var(--primary);
            background: rgba(15, 43, 70, 0.06);
        }

        .site-header .nav-link.active {
            color: var(--primary);
            background: rgba(15, 43, 70, 0.10);
            font-weight: 600;
        }

        .site-header .dock-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-brand {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 999px;
            padding: 8px 24px;
            font-weight: 500;
            transition: var(--transition);
        }

        .btn-brand:hover {
            background: var(--accent);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(230, 168, 23, 0.3);
        }

        .btn-brand-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 999px;
            padding: 6px 22px;
            font-weight: 500;
            transition: var(--transition);
        }

        .btn-brand-outline:hover {
            background: var(--primary);
            color: #fff;
        }

        .navbar-toggler {
            border: none;
            color: var(--primary);
            font-size: 1.4rem;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        @media (max-width: 991.98px) {
            .site-header {
                padding: 8px 12px;
            }

            .site-header .dock-nav {
                border-radius: 24px;
                padding: 12px 16px;
            }

            .site-header .navbar-collapse {
                background: #fff;
                border-radius: 16px;
                padding: 16px;
                margin-top: 10px;
                box-shadow: var(--shadow-lg);
            }

            .site-header .navbar-nav {
                gap: 6px;
            }

            .site-header .nav-link {
                padding: 10px 16px;
            }

            .site-header .dock-actions {
                margin-top: 12px;
                justify-content: flex-start;
            }
        }

        /* =====================================================
           Page Hero（页面头图）
        ===================================================== */
        .page-hero {
            position: relative;
            background: linear-gradient(135deg, rgba(15, 43, 70, 0.92), rgba(30, 74, 110, 0.82)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            color: #fff;
            padding: 100px 0 80px;
            margin-top: -100px;
            text-align: center;
        }

        .page-hero .hero-content {
            position: relative;
            z-index: 2;
        }

        .page-hero .hero-tag {
            display: inline-block;
            background: rgba(255, 255, 255, 0.15);
            padding: 6px 18px;
            border-radius: 999px;
            font-size: 0.9rem;
            letter-spacing: 1px;
            backdrop-filter: blur(4px);
            margin-bottom: 20px;
        }

        .page-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 1rem;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .page-hero p.lead {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 700px;
            margin: 0 auto;
        }

        .page-hero .hero-meta {
            margin-top: 24px;
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .page-hero .hero-meta span {
            background: rgba(255, 255, 255, 0.12);
            padding: 6px 16px;
            border-radius: 999px;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        @media (max-width: 768px) {
            .page-hero {
                padding: 80px 0 60px;
            }
            .page-hero h1 {
                font-size: 2rem;
            }
            .page-hero p.lead {
                font-size: 1rem;
            }
        }

        /* =====================================================
           主体板块基础
        ===================================================== */
        .section-padding {
            padding: var(--spacer) 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-title h2 {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 12px;
        }

        .section-title p {
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        .section-title.text-start {
            text-align: left;
        }

        .section-title.text-start p {
            margin: 0;
        }

        .bg-soft-block {
            background: var(--bg-soft);
            border-radius: var(--radius);
        }

        .text-primary-custom {
            color: var(--primary);
        }

        /* =====================================================
           指南分类介绍
        ===================================================== */
        .intro-card {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            background: var(--bg-white);
            border-radius: var(--radius);
            padding: 40px;
            box-shadow: var(--shadow-md);
        }

        .intro-card .intro-text {
            flex: 1 1 60%;
        }

        .intro-card .intro-text h3 {
            color: var(--primary);
            margin-bottom: 16px;
        }

        .intro-card .intro-text p {
            color: var(--text-muted);
        }

        .intro-card .intro-tags {
            flex: 1 1 30%;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .intro-tag-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: var(--bg-soft);
            padding: 14px 20px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

        .intro-tag-item:hover {
            background: var(--primary);
            color: #fff;
            transform: translateX(6px);
        }

        .intro-tag-item i {
            font-size: 1.2rem;
            color: var(--accent);
        }

        @media (max-width: 768px) {
            .intro-card {
                padding: 24px;
                gap: 24px;
            }
            .intro-card .intro-text,
            .intro-card .intro-tags {
                flex: 1 1 100%;
            }
        }

        /* =====================================================
           登录方式卡片
        ===================================================== */
        .method-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 32px 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            text-align: center;
            transition: var(--transition);
            height: 100%;
        }

        .method-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }

        .method-card .method-icon {
            width: 64px;
            height: 64px;
            background: var(--bg-soft);
            color: var(--primary);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 20px;
        }

        .method-card h4 {
            font-size: 1.15rem;
            color: var(--primary);
            margin-bottom: 14px;
        }

        .method-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .method-card .btn-link-custom {
            display: inline-block;
            margin-top: 16px;
            color: var(--accent);
            font-weight: 600;
        }

        .method-card .btn-link-custom:hover {
            color: var(--accent-hover);
        }

        /* =====================================================
           登录步骤时间线
        ===================================================== */
        .steps-timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding-left: 30px;
        }

        .steps-timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            height: 100%;
            width: 2px;
            background: var(--border-color);
        }

        .step-item {
            position: relative;
            margin-bottom: 36px;
            padding: 24px 32px;
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--accent);
            transition: var(--transition);
        }

        .step-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(6px);
        }

        .step-item::before {
            content: attr(data-step);
            position: absolute;
            left: -42px;
            top: 20px;
            width: 32px;
            height: 32px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            text-align: center;
            line-height: 32px;
            font-weight: 700;
            border: 3px solid #fff;
            box-shadow: var(--shadow-sm);
        }

        .step-item h4 {
            color: var(--primary);
            margin-bottom: 8px;
        }

        .step-item p {
            color: var(--text-muted);
            margin: 0;
        }

        @media (max-width: 576px) {
            .steps-timeline {
                padding-left: 24px;
            }
            .step-item {
                padding: 18px 20px;
            }
            .step-item::before {
                left: -34px;
                width: 26px;
                height: 26px;
                line-height: 26px;
                font-size: 0.85rem;
            }
        }

        /* =====================================================
           注意事项 / 信息卡
        ===================================================== */
        .info-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            display: flex;
            gap: 16px;
            transition: var(--transition);
            height: 100%;
        }

        .info-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }

        .info-card .icon-wrapper {
            width: 48px;
            height: 48px;
            background: var(--bg-soft);
            border-radius: 12px;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .info-card h5 {
            color: var(--primary);
            margin-bottom: 8px;
        }

        .info-card p {
            color: var(--text-muted);
            margin: 0;
            font-size: 0.95rem;
        }

        /* =====================================================
           FAQ 折叠面板
        ===================================================== */
        .faq-wrapper {
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-wrapper .accordion-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius) !important;
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .faq-wrapper .accordion-button {
            padding: 20px 24px;
            font-weight: 600;
            color: var(--primary);
            background: #fff;
            font-size: 1rem;
            border: none;
        }

        .faq-wrapper .accordion-button:not(.collapsed) {
            background: var(--primary);
            color: #fff;
            box-shadow: none;
        }

        .faq-wrapper .accordion-button:focus {
            box-shadow: 0 0 0 4px rgba(15, 43, 70, 0.1);
        }

        .faq-wrapper .accordion-body {
            padding: 8px 24px 20px;
            color: var(--text-muted);
        }

        /* =====================================================
           相关资源卡片
        ===================================================== */
        .resource-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            height: 100%;
        }

        .resource-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }

        .resource-card .card-img-top {
            height: 180px;
            object-fit: cover;
            border-bottom: 1px solid var(--border-color);
        }

        .resource-card .card-body {
            padding: 24px;
        }

        .resource-card .card-title {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 8px;
        }

        .resource-card .card-text {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .resource-card .btn-sm {
            margin-top: 12px;
            border-radius: 999px;
        }

        /* =====================================================
           CTA 区块
        ===================================================== */
        .cta-section {
            background: var(--primary);
            color: #fff;
            border-radius: var(--radius);
            padding: 48px;
            text-align: center;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            position: relative;
            isolation: isolate;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(15, 43, 70, 0.88);
            border-radius: var(--radius);
            z-index: -1;
        }

        .cta-section h3 {
            font-size: 2rem;
            margin-bottom: 12px;
        }

        .cta-section p {
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin: 0 auto 24px;
        }

        .cta-section .btn-brand {
            background: var(--accent);
            color: var(--primary);
        }

        .cta-section .btn-brand:hover {
            background: var(--accent-hover);
            color: var(--primary);
        }

        @media (max-width: 768px) {
            .cta-section {
                padding: 32px 20px;
            }
            .cta-section h3 {
                font-size: 1.5rem;
            }
        }

        /* =====================================================
           页脚
        ===================================================== */
        .site-footer {
            background: var(--primary);
            color: rgba(255, 255, 255, 0.8);
            padding: 60px 0 20px;
            margin-top: 60px;
        }

        .site-footer h3 {
            color: #fff;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .site-footer .footer-brand p {
            font-size: 0.95rem;
            margin: 16px 0 0;
        }

        .site-footer h4 {
            color: #fff;
            font-size: 1.05rem;
            margin-bottom: 16px;
        }

        .site-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .site-footer ul li {
            margin-bottom: 8px;
        }

        .site-footer ul a {
            color: rgba(255, 255, 255, 0.75);
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .site-footer ul a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
            font-size: 0.9rem;
        }

        .footer-bottom p {
            margin: 0;
        }

        /* =====================================================
           响应式细节
        ===================================================== */
        @media (max-width: 1024px) {
            :root {
                --spacer: 60px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --spacer: 50px;
            }
            .section-title h2 {
                font-size: 1.8rem;
            }
            .page-hero h1 {
                font-size: 1.9rem;
            }
        }

        @media (max-width: 520px) {
            .site-header .navbar-brand {
                font-size: 1rem;
            }
            .site-header .navbar-brand .brand-icon {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
            }
            .cta-section p {
                font-size: 0.9rem;
            }
        }

        /* 焦点可访问性 */
        a:focus,
        button:focus,
        .btn:focus {
            outline: 3px solid rgba(230, 168, 23, 0.5);
            outline-offset: 2px;
        }

/* roulang page: article */
:root {
    --primary: #c8102e;
    --primary-dark: #9e0c24;
    --primary-light: #fde8ec;
    --dark: #0f1c2e;
    --dark-2: #1a2744;
    --accent: #f0a500;
    --body-bg: #f5f7fb;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --shadow: 0 10px 30px rgba(15, 28, 46, 0.06);
    --shadow-lg: 0 25px 50px rgba(15, 28, 46, 0.12);
    --transition: all 0.3s ease;
    --font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: var(--body-bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* Container refinement */
.container { max-width: 1200px; }
.btn { border-radius: 12px; font-weight: 600; transition: var(--transition); }
.btn:focus, .btn:focus-visible { box-shadow: 0 0 0 0.25rem rgba(200, 16, 46, 0.2); }
.btn-brand {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 600;
}
.btn-brand:hover, .btn-brand:active, .btn-brand.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}
.btn-outline-brand {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 50px;
    padding: 9px 20px;
    font-weight: 600;
}
.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.25);
}
.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
}
.btn-light:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Header / Dock Nav ===== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 16px 0;
    width: 100%;
    pointer-events: none;
}
.dock-nav {
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 60px;
    padding: 6px 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 35px rgba(15, 28, 46, 0.1);
    transition: var(--transition);
}
.dock-nav:hover { box-shadow: 0 14px 40px rgba(15, 28, 46, 0.13); }
.navbar-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}
.navbar-brand:hover { color: var(--primary); }
.navbar-toggler {
    border: none;
    color: var(--text);
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.04);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-nav { gap: 4px; }
.dock-nav .nav-link {
    font-weight: 600;
    color: var(--text);
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}
.dock-nav .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.dock-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}
.dock-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 991.98px) {
    .site-header { padding: 12px 14px 0; }
    .dock-nav { border-radius: 24px; padding: 10px 16px; }
    .navbar-collapse {
        background: #fff;
        border-radius: 18px;
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
    }
    .navbar-nav { margin: 0 0 12px; gap: 2px; }
    .dock-actions { width: 100%; }
    .dock-actions .btn { width: 100%; }
}

/* ===== Article Banner ===== */
.article-banner {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 160px 0 90px;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.92) 0%, rgba(15, 28, 46, 0.78) 45%, rgba(200, 16, 46, 0.55) 100%);
}
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}
.breadcrumb-nav { margin-bottom: 18px; }
.breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 8px 18px;
    display: inline-flex;
    backdrop-filter: blur(8px);
    margin-bottom: 0;
}
.breadcrumb-item { font-size: 13px; }
.breadcrumb-item a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); content: "/"; }
.breadcrumb-item.active { color: rgba(255, 255, 255, 0.7); }
.category-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}
.banner-content h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    align-items: center;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--accent); }

/* ===== Article Section ===== */
.article-section { padding: 60px 0 40px; }
.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-lg); }
.article-body { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 2.2rem 0 1.1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--border);
    color: var(--dark);
}
.article-body h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 1.8rem 0 0.9rem;
    color: var(--dark);
}
.article-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 1.5rem 0 0.7rem;
    color: var(--dark);
}
.article-body p { margin-bottom: 1.3rem; }
.article-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem auto;
    box-shadow: var(--shadow);
}
.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.45rem; }
.article-body blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.3rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    color: var(--dark);
    font-weight: 500;
}
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-dark); }
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 15px;
}
.article-body table th {
    background: var(--dark);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.article-body table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.article-body table tr:nth-child(even) td { background: #f8fafc; }
.article-body code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    color: var(--primary-dark);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.article-body pre {
    background: var(--dark);
    color: #e2e8f0;
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    margin: 1.5rem 0;
    line-height: 1.7;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 40px;
    transition: var(--transition);
    cursor: default;
}
.tag:hover { background: var(--primary-light); color: var(--primary); }

/* Not found */
.not-found-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 70px 40px;
    text-align: center;
}
.not-found-card i.fa-circle-exclamation {
    font-size: 52px;
    color: var(--accent);
    margin-bottom: 18px;
}
.not-found-card h2 { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.not-found-card p { color: var(--text-muted); margin-bottom: 26px; }

/* ===== Sidebar ===== */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}
.sidebar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sidebar-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card h3 i { color: var(--primary); }
.sidebar-guide { background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 100%); border: none; }
.sidebar-guide h3 { color: #fff; }
.sidebar-guide h3 i { color: var(--accent); }
.guide-list { margin-bottom: 18px; }
.guide-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}
.guide-list li:last-child { border-bottom: none; }
.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sidebar-card .muted { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 13px;
    padding: 5px 13px;
    border-radius: 40px;
    transition: var(--transition);
}
.tag-link:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* ===== Feature Strip ===== */
.feature-strip { padding: 30px 0 20px; }
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.feature-text h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ===== Section Head ===== */
.section-head { text-align: center; margin-bottom: 42px; }
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 40px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.section-head p { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* ===== Related Section ===== */
.related-section { padding: 50px 0 50px; background: #fff; }
.related-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.related-card-img {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.07); }
.img-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(200, 16, 46, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}
.related-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.related-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}
.related-card-body h3 a { color: var(--dark); }
.related-card-body h3 a:hover { color: var(--primary); }
.related-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta a { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.card-meta a:hover { gap: 9px; }
.empty-state {
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== FAQ ===== */
.faq-section { padding: 70px 0; }
.custom-accordion .accordion-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.custom-accordion .accordion-item:hover { box-shadow: var(--shadow-lg); }
.custom-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding: 20px 24px;
    background: #fff;
    box-shadow: none;
    border-radius: var(--radius) !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}
.custom-accordion .accordion-button:focus { box-shadow: none; }
.custom-accordion .accordion-button::after {
    background-size: 14px;
    filter: grayscale(1) brightness(0.4);
}
.custom-accordion .accordion-button:not(.collapsed)::after { filter: grayscale(0) brightness(1); }
.custom-accordion .accordion-body {
    padding: 6px 24px 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    background: #fff;
}

/* ===== CTA ===== */
.cta-section { padding: 30px 0 70px; }
.cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 55%, #8f0f23 130%);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 28, 46, 0.25);
}
.cta-box::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.25);
    top: -130px;
    right: -70px;
}
.cta-box::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(240, 165, 0, 0.12);
    bottom: -90px;
    left: -60px;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 28px; }

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}
.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.footer-brand .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-links h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255, 255, 255, 0.65); font-size: 14px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 36px;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .banner-content h1 { font-size: 34px; }
    .article-card { padding: 30px 28px; }
    .cta-box { padding: 48px 30px; }
}
@media (max-width: 768px) {
    .article-banner { min-height: 420px; padding: 130px 0 60px; }
    .banner-content h1 { font-size: 28px; }
    .article-section { padding: 40px 0 30px; }
    .article-card { padding: 22px 20px; border-radius: 20px; }
    .article-body { font-size: 15px; }
    .article-body h2 { font-size: 22px; }
    .article-body h3 { font-size: 18px; }
    .article-body table { font-size: 13px; overflow-x: auto; display: block; }
    .article-sidebar { position: static; margin-top: 24px; }
    .section-head h2 { font-size: 26px; }
    .feature-card { padding: 20px 16px; }
    .cta-box { padding: 40px 22px; }
    .cta-content h2 { font-size: 24px; }
    .site-footer { padding: 44px 0 0; }
}
@media (max-width: 520px) {
    .site-header { padding: 10px 10px 0; }
    .dock-nav { border-radius: 20px; padding: 8px 14px; }
    .navbar-brand { font-size: 15px; }
    .navbar-brand .brand-icon { width: 30px; height: 30px; font-size: 12px; }
    .article-banner { min-height: 380px; padding: 120px 0 48px; }
    .article-meta { gap: 10px; font-size: 13px; }
    .article-card { padding: 18px 16px; }
    .article-footer { flex-direction: column; align-items: flex-start; }
    .not-found-card { padding: 48px 20px; }
    .related-card-img { height: 160px; }
    .cta-box { border-radius: 20px; }
    .cta-box .btn { width: 100%; }
    .footer-bottom p { font-size: 12px; }
}
