/* roulang page: index */
:root {
            --brand-primary: #2563eb;
            --brand-secondary: #3b82f6;
            --brand-light: #eff6ff;
            --brand-dark: #1e3a8a;
            --text-primary: #1e293b;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border-light: #e2e8f0;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --radius-lg: 20px;
            --radius-md: 14px;
            --radius-sm: 8px;
            --shadow-card: 0 4px 28px rgba(30, 64, 175, 0.07);
            --shadow-hover: 0 12px 36px rgba(30, 64, 175, 0.12);
            --transition: all 0.3s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
            background-color: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        .container-custom {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ========== 导航 ========== */
        .navbar-main {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.7);
            position: sticky;
            top: 0;
            z-index: 100;
            transition: var(--transition);
        }
        .navbar-main .nav-link {
            position: relative;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 15px;
        }
        .navbar-main .nav-link:hover {
            color: var(--brand-primary);
            background: rgba(37, 99, 235, 0.06);
        }
        .navbar-main .nav-link.active {
            color: var(--brand-primary);
            background: rgba(37, 99, 235, 0.08);
            font-weight: 600;
        }
        .btn-nav-secondary {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #fff;
            border: 1.5px solid #dbeafe;
            color: var(--brand-primary);
            font-weight: 600;
            font-size: 14px;
            padding: 8px 20px;
            border-radius: 50px;
            transition: var(--transition);
        }
        .btn-nav-secondary:hover {
            border-color: var(--brand-primary);
            background: var(--brand-light);
            box-shadow: 0 2px 12px rgba(37, 99, 235, 0.12);
        }
        .btn-nav-primary {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            padding: 8px 22px;
            border-radius: 50px;
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
            transition: var(--transition);
        }
        .btn-nav-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.36);
        }

        /* 移动端菜单 */
        .mobile-menu {
            transition: all 0.35s ease;
            max-height: 0;
            overflow: hidden;
        }
        .mobile-menu.open {
            max-height: 320px;
        }

        /* ========== Hero ========== */
        .hero-section {
            position: relative;
            background-image: url('/assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            background-attachment: initial;
        }
        .hero-overlay {
            background: linear-gradient(120deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 64, 175, 0.78) 55%, rgba(37, 99, 235, 0.55) 100%);
        }
        .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.25);
            backdrop-filter: blur(8px);
            color: #e0e7ff;
            font-size: 13px;
            font-weight: 500;
            padding: 6px 18px;
            border-radius: 50px;
        }
        .hero-title {
            font-size: clamp(28px, 4vw, 44px);
            font-weight: 800;
            line-height: 1.3;
            color: #fff;
            letter-spacing: 0.5px;
        }
        .hero-desc {
            color: rgba(226, 232, 240, 0.92);
            font-size: clamp(15px, 1.2vw, 17px);
            line-height: 1.8;
            max-width: 620px;
        }
        .btn-hero-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            color: var(--brand-primary);
            font-weight: 700;
            font-size: 15px;
            padding: 12px 28px;
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: var(--transition);
        }
        .btn-hero-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
        }
        .btn-hero-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.12);
            border: 1.5px solid rgba(255, 255, 255, 0.45);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            padding: 12px 28px;
            border-radius: 50px;
            backdrop-filter: blur(4px);
            transition: var(--transition);
        }
        .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.7);
        }

        /* 指标条 */
        .metric-card {
            background: #fff;
            border-radius: var(--radius-md);
            padding: 22px 20px;
            text-align: center;
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(226, 232, 240, 0.6);
            transition: var(--transition);
        }
        .metric-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .metric-number {
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }
        .metric-label {
            color: var(--text-secondary);
            font-size: 14px;
            margin-top: 6px;
            font-weight: 500;
        }

        /* ========== 板块标题 ========== */
        .section-badge {
            display: inline-block;
            background: var(--brand-light);
            color: var(--brand-primary);
            font-weight: 600;
            font-size: 13px;
            padding: 5px 16px;
            border-radius: 50px;
            letter-spacing: 0.5px;
        }
        .section-title {
            font-size: clamp(24px, 2.6vw, 34px);
            font-weight: 800;
            line-height: 1.3;
            color: var(--text-primary);
            margin-top: 12px;
        }
        .section-desc {
            color: var(--text-secondary);
            font-size: 16px;
            max-width: 680px;
            margin-top: 10px;
        }

        /* ========== 平台区 ========== */
        .platform-wrap {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.6);
        }
        .platform-feature {
            display: flex;
            gap: 14px;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            background: #f8fafc;
            transition: var(--transition);
        }
        .platform-feature:hover {
            background: var(--brand-light);
            transform: translateX(4px);
        }
        .feature-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: #fff;
            font-size: 18px;
            flex-shrink: 0;
        }

        /* ========== 服务卡片 ========== */
        .service-card {
            background: #fff;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(226, 232, 240, 0.6);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
        .service-card .card-img {
            overflow: hidden;
            height: 190px;
        }
        .service-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .service-card:hover .card-img img {
            transform: scale(1.05);
        }
        .service-card .card-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .service-tag {
            align-self: flex-start;
            background: var(--brand-light);
            color: var(--brand-primary);
            font-size: 12px;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 50px;
        }
        .service-title {
            font-size: 19px;
            font-weight: 700;
            margin-top: 12px;
            color: var(--text-primary);
        }
        .service-text {
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.75;
            margin-top: 8px;
            flex: 1;
        }

        /* ========== 对比区 ========== */
        .compare-panel {
            background: #fff;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(226, 232, 240, 0.6);
            box-shadow: var(--shadow-card);
            padding: 28px;
            position: relative;
            transition: var(--transition);
        }
        .compare-panel:hover {
            box-shadow: var(--shadow-hover);
        }
        .compare-panel.traditional {
            background: #f8fafc;
        }
        .compare-list-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            font-size: 15px;
            color: var(--text-secondary);
        }
        .compare-list-item .icon-check {
            color: #10b981;
            font-size: 16px;
            flex-shrink: 0;
        }
        .compare-list-item .icon-times {
            color: #f43f5e;
            font-size: 16px;
            flex-shrink: 0;
        }

        /* ========== 资讯区 ========== */
        .news-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 18px 20px;
            border-radius: var(--radius-md);
            background: #fff;
            border: 1px solid rgba(226, 232, 240, 0.5);
            transition: var(--transition);
            margin-bottom: 8px;
        }
        .news-item:hover {
            background: var(--brand-light);
            transform: translateX(4px);
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
        }
        .news-date {
            flex-shrink: 0;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: #fff;
            border-radius: 10px;
            padding: 10px 12px;
            text-align: center;
            min-width: 56px;
            font-weight: 700;
            font-size: 14px;
        }
        .news-item-title {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 15px;
            line-height: 1.5;
            transition: var(--transition);
        }
        .news-item:hover .news-item-title {
            color: var(--brand-primary);
        }
        .news-meta {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 4px;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        /* 热门排行 */
        .rank-list {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(226, 232, 240, 0.6);
            padding: 24px;
        }
        .rank-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 0;
            border-bottom: 1px dashed #e2e8f0;
            transition: var(--transition);
        }
        .rank-item:last-child {
            border-bottom: none;
        }
        .rank-item:hover {
            padding-left: 6px;
        }
        .rank-num {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            background: #f1f5f9;
            color: var(--text-secondary);
            flex-shrink: 0;
        }
        .rank-item:nth-child(2) .rank-num {
            background: #fef3c7;
            color: #d97706;
        }
        .rank-item:nth-child(3) .rank-num {
            background: #e2e8f0;
            color: #475569;
        }
        .rank-item:nth-child(1) .rank-num {
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: #fff;
        }
        .rank-name {
            font-weight: 600;
            font-size: 14px;
            color: var(--text-primary);
            line-height: 1.4;
            flex: 1;
        }
        .rank-value {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ========== FAQ ========== */
        .faq-item {
            background: #fff;
            border-radius: var(--radius-md);
            border: 1px solid rgba(226, 232, 240, 0.6);
            box-shadow: 0 2px 12px rgba(30, 64, 175, 0.04);
            margin-bottom: 12px;
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: #bfdbfe;
        }
        .faq-item summary {
            cursor: pointer;
            padding: 22px 24px;
            font-weight: 600;
            font-size: 16px;
            color: var(--text-primary);
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            user-select: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary .fa-chevron-down {
            color: var(--brand-primary);
            font-size: 14px;
            transition: transform 0.35s ease;
            flex-shrink: 0;
        }
        .faq-item[open] summary .fa-chevron-down {
            transform: rotate(180deg);
        }
        .faq-item .faq-answer {
            padding: 0 24px 22px;
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.8;
            border-top: 1px solid #f1f5f9;
            padding-top: 16px;
        }

        /* ========== 表单 ========== */
        .form-wrap {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(226, 232, 240, 0.6);
            padding: 36px;
        }
        .form-wrap input,
        .form-wrap select {
            width: 100%;
            border: 1.5px solid #e2e8f0;
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            font-size: 15px;
            color: var(--text-primary);
            background: #f8fafc;
            transition: var(--transition);
            outline: none;
        }
        .form-wrap input:focus,
        .form-wrap select:focus {
            border-color: var(--brand-primary);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
        }
        .form-wrap input::placeholder {
            color: #94a3b8;
        }
        .form-submit {
            width: 100%;
            background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            padding: 14px 24px;
            border-radius: var(--radius-sm);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
        }
        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(37, 99, 235, 0.36);
        }
        .form-success {
            display: none;
        }
        .form-success.show {
            display: block;
            background: #ecfdf5;
            border: 1px solid #a7f3d0;
            color: #065f46;
            padding: 14px 20px;
            border-radius: var(--radius-sm);
            font-size: 15px;
        }

        /* ========== 页脚 ========== */
        .footer-main {
            background: #0f172a;
            color: #94a3b8;
            padding-top: 56px;
            padding-bottom: 24px;
        }
        .footer-title {
            color: #e2e8f0;
            font-weight: 700;
            font-size: 17px;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 32px;
            height: 3px;
            background: var(--brand-secondary);
            border-radius: 4px;
        }
        .footer-links a {
            display: block;
            padding: 5px 0;
            font-size: 14px;
            color: #94a3b8;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: #60a5fa;
            padding-left: 6px;
        }
        .copyright-bar {
            border-top: 1px solid rgba(148, 163, 184, 0.15);
            padding-top: 20px;
            margin-top: 40px;
            font-size: 13px;
        }

        /* ========== 响应式 ========== */
        @media (max-width: 768px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }
            .hero-title {
                font-size: 26px;
            }
            .hero-desc {
                font-size: 14px;
            }
            .form-wrap {
                padding: 24px 20px;
            }
            .compare-panel {
                padding: 20px;
            }
            .metric-card {
                padding: 16px 12px;
            }
            .metric-number {
                font-size: 24px;
            }
        }

        @media (max-width: 520px) {
            .btn-hero-primary,
            .btn-hero-secondary {
                width: 100%;
                justify-content: center;
            }
            .hero-cta {
                flex-direction: column;
                gap: 12px !important;
            }
            .service-card .card-img {
                height: 150px;
            }
            .news-item {
                flex-direction: column;
                gap: 10px;
            }
            .news-date {
                min-width: auto;
                display: inline-flex;
                padding: 4px 12px;
                border-radius: 50px;
                font-size: 12px;
            }
        }

        /* 通用hover */
        .link-more {
            color: var(--brand-primary);
            font-weight: 600;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }
        .link-more:hover {
            gap: 10px;
        }
