/* roulang page: index */
:root {
        --pg-primary: #0d1e3a;
        --pg-highlight: #00ff9d;
        --pg-accent: #ff7a45;
        --pg-bg-light: #e0e6f1;
        --pg-bg-dark: #070e1f;
        --pg-text: #f8f9fa;
        --pg-text-secondary: #adb5bd;
        --pg-border: rgba(255, 255, 255, 0.1);
        --pg-radius: 12px;
        --pg-radius-sm: 8px;
        --pg-shadow: 0 8px 32px rgba(0, 255, 157, 0.1);
        --pg-spacer-lg: 5rem;
        --pg-spacer-md: 3rem;
        --pg-spacer-sm: 1.5rem;
    }
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    body {
        font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
        font-size: 16px;
        line-height: 1.7;
        color: var(--pg-text);
        background-color: var(--pg-primary);
        overflow-x: hidden;
    }
    a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    a:hover {
        color: var(--pg-highlight);
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .container-custom {
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 var(--pg-spacer-sm);
    }
    .section-py {
        padding-top: var(--pg-spacer-lg);
        padding-bottom: var(--pg-spacer-lg);
    }
    @media (max-width: 768px) {
        .section-py {
            padding-top: var(--pg-spacer-md);
            padding-bottom: var(--pg-spacer-md);
        }
    }
    .glass-card {
        background: rgba(13, 30, 58, 0.7);
        backdrop-filter: blur(10px);
        border: 1px solid var(--pg-border);
        border-radius: var(--pg-radius);
        box-shadow: var(--pg-shadow);
        padding: var(--pg-spacer-sm);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 255, 157, 0.15);
    }
    .btn {
        border-radius: var(--pg-radius-sm);
        font-weight: 600;
        padding: 0.75rem 1.75rem;
        transition: all 0.3s ease;
        border: none;
    }
    .btn-primary-custom {
        background-color: var(--pg-highlight);
        color: var(--pg-primary);
    }
    .btn-primary-custom:hover,
    .btn-primary-custom:focus {
        background-color: var(--pg-highlight);
        color: var(--pg-primary);
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
    }
    .btn-outline-custom {
        border: 2px solid var(--pg-accent);
        color: var(--pg-accent);
        background-color: transparent;
    }
    .btn-outline-custom:hover {
        background-color: rgba(255, 122, 69, 0.1);
        color: var(--pg-accent);
    }
    h1, h2, h3, h4 {
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.25rem;
        color: var(--pg-highlight);
    }
    h3 {
        font-size: 1.75rem;
    }
    p {
        margin-bottom: 1rem;
        color: var(--pg-text-secondary);
    }
    .lead {
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--pg-text);
    }
    /* 导航 */
    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1030;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .navbar-custom {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .navbar-brand-custom {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
        font-weight: 800;
        color: var(--pg-highlight);
    }
    .navbar-nav-custom {
        display: flex;
        list-style: none;
        margin: 0;
    }
    .nav-item-custom {
        margin: 0 1.25rem;
    }
    .nav-link-custom {
        color: var(--pg-text);
        font-weight: 500;
        position: relative;
        padding: 0.5rem 0;
    }
    .nav-link-custom::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--pg-highlight);
        transition: width 0.3s ease;
    }
    .nav-link-custom:hover::after,
    .nav-link-custom.active::after {
        width: 100%;
    }
    .nav-link-custom.active {
        color: var(--pg-highlight);
    }
    .navbar-toggler-custom {
        display: none;
        border: 1px solid var(--pg-border);
        border-radius: var(--pg-radius-sm);
        padding: 0.5rem 0.75rem;
        background: transparent;
        color: var(--pg-text);
    }
    @media (max-width: 992px) {
        .navbar-custom {
            justify-content: space-between;
        }
        .navbar-brand-custom {
            position: static;
            transform: none;
        }
        .navbar-toggler-custom {
            display: block;
        }
        .navbar-collapse-custom {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: rgba(7, 14, 31, 0.95);
            backdrop-filter: blur(10px);
            padding: 5rem 2rem 2rem;
            transition: right 0.4s ease;
            z-index: 1020;
        }
        .navbar-collapse-custom.show {
            right: 0;
        }
        .navbar-nav-custom {
            flex-direction: column;
        }
        .nav-item-custom {
            margin: 0.75rem 0;
        }
    }
    /* Hero */
    .hero {
        min-height: 100vh;
        background: linear-gradient(rgba(13, 30, 58, 0.85), rgba(13, 30, 58, 0.95)), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
        display: flex;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .hero-content {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
        padding: 2rem;
    }
    .hero h1 {
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        margin-top: 2.5rem;
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    @media (max-width: 768px) {
        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }
        .hero h1 {
            font-size: 2.5rem;
        }
    }
    /* 产品哲学 */
    .philosophy-content {
        display: flex;
        align-items: center;
        gap: 4rem;
    }
    .philosophy-text {
        flex: 1;
    }
    .philosophy-visual {
        flex: 1;
        background: var(--pg-bg-dark);
        border-radius: var(--pg-radius);
        padding: 2rem;
        border: 1px solid var(--pg-border);
    }
    .pillars {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    .pillar-item {
        padding: 2rem;
        border-left: 4px solid var(--pg-highlight);
        background: rgba(255, 255, 255, 0.03);
    }
    @media (max-width: 768px) {
        .philosophy-content {
            flex-direction: column;
        }
    }
    /* 优势数据 */
    .dashboard {
        background-color: var(--pg-bg-dark);
        border-radius: var(--pg-radius);
        padding: 3rem;
        margin-top: 3rem;
    }
    .stat-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    .stat-item {
        text-align: center;
        padding: 2rem;
    }
    .stat-number {
        font-size: 3rem;
        font-weight: 800;
        color: var(--pg-highlight);
        display: block;
        line-height: 1;
        margin-bottom: 0.5rem;
    }
    /* 应用场景 */
    .scene-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    .scene-card .card-img-top {
        height: 180px;
        object-fit: cover;
        border-radius: var(--pg-radius) var(--pg-radius) 0 0;
    }
    .scene-card .card-body {
        padding: 1.5rem;
    }
    .scene-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    .scene-tag {
        background: rgba(0, 255, 157, 0.1);
        color: var(--pg-highlight);
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-size: 0.875rem;
    }
    /* 解决方案架构 */
    .arch-visual {
        width: 100%;
        height: 400px;
        background: var(--pg-bg-dark);
        border-radius: var(--pg-radius);
        border: 1px solid var(--pg-border);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 3rem 0;
        position: relative;
        overflow: hidden;
    }
    .arch-node {
        position: absolute;
        width: 80px;
        height: 80px;
        background: rgba(13, 30, 58, 0.9);
        border: 2px solid var(--pg-highlight);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: var(--pg-highlight);
    }
    .arch-line {
        position: absolute;
        height: 2px;
        background: var(--pg-highlight);
        opacity: 0.5;
    }
    .arch-text {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    /* 集成与支持 */
    .integration-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    .faq-accordion .accordion-item {
        background: transparent;
        border: 1px solid var(--pg-border);
        border-radius: var(--pg-radius);
        margin-bottom: 1rem;
        overflow: hidden;
    }
    .faq-accordion .accordion-button {
        background: rgba(255, 255, 255, 0.03);
        color: var(--pg-text);
        font-weight: 600;
        padding: 1.25rem;
        border: none;
        box-shadow: none;
    }
    .faq-accordion .accordion-button:not(.collapsed) {
        background: rgba(0, 255, 157, 0.05);
        color: var(--pg-highlight);
        border-bottom: 1px solid var(--pg-border);
    }
    .faq-accordion .accordion-button::after {
        filter: invert(0.8);
    }
    .faq-accordion .accordion-body {
        background: rgba(255, 255, 255, 0.02);
        padding: 1.25rem;
        border-top: 1px solid var(--pg-border);
    }
    /* CTA */
    .cta-section {
        background: linear-gradient(135deg, var(--pg-primary) 0%, var(--pg-bg-dark) 100%);
        border-radius: var(--pg-radius);
        padding: 4rem;
        text-align: center;
        margin: var(--pg-spacer-lg) 0;
        border: 1px solid var(--pg-border);
    }
    /* 页脚 */
    footer {
        background-color: var(--pg-bg-dark);
        padding-top: var(--pg-spacer-lg);
        padding-bottom: 2rem;
        border-top: 1px solid var(--pg-border);
    }
    .footer-logo {
        font-size: 2rem;
        font-weight: 800;
        color: var(--pg-highlight);
        margin-bottom: 1.5rem;
    }
    .footer-links h5 {
        color: var(--pg-text);
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
    }
    .footer-links ul {
        list-style: none;
        padding: 0;
    }
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    .footer-contact p {
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    .footer-contact i {
        color: var(--pg-highlight);
        width: 20px;
    }
    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        color:var(--pg-text);
        transition: background 0.3s ease;
    }
    .social-link:hover {
        background: var(--pg-highlight);
        color: var(--pg-primary);
    }
    .footer-copyright {
        text-align: center;
        padding-top: 2rem;
        margin-top: 2rem;
        border-top: 1px solid var(--pg-border);
        color: var(--pg-text-secondary);
        font-size: 0.875rem;
    }

/* roulang page: category1 */
:root {
            --color-primary: #0d1e3a; /* 代码幽蓝 */
            --color-secondary: #00ff9d; /* 模拟高光绿 */
            --color-accent: #ff7a45; /* 警示橙 */
            --color-light: #e0e6f1; /* 逻辑灰 */
            --color-dark: #070e1f; /* 页脚深色 */
            --color-text: #f8f9fa;
            --color-text-muted: #adb5bd;
            --border-radius: 12px;
            --border-radius-btn: 8px;
            --box-shadow: 0 8px 32px rgba(0, 255, 157, 0.1);
            --box-shadow-heavy: 0 12px 48px rgba(0, 255, 157, 0.15);
            --transition: all 0.3s ease;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
            line-height: 1.6;
            color: var(--color-text);
            background-color: var(--color-primary);
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.03) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(13, 30, 58, 0.7) 0%, transparent 20%);
            background-attachment: fixed;
            margin: 0;
            padding-top: 76px; /* 为固定导航留出空间 */
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        h1 { font-size: 3rem; }
        h2 { font-size: 2.25rem; margin-bottom: 2rem; }
        h3 { font-size: 1.75rem; }
        p { margin-bottom: 1rem; }

        .container-custom {
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        section {
            padding: 5rem 0;
        }
        section:nth-child(even) {
            background-color: rgba(13, 30, 58, 0.7);
        }
        @media (max-width: 768px) {
            section {
                padding: 3rem 0;
            }
        }

        /* --- 导航样式 --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1030;
            background-color: rgba(13, 30, 58, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .navbar-custom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            position: relative;
        }
        .navbar-brand-custom {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--color-secondary);
            text-decoration: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .navbar-toggler-custom {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--border-radius-btn);
            color: var(--color-text);
            font-size: 1.25rem;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            z-index: 1025;
        }
        .navbar-collapse-custom {
            display: flex;
            flex-grow: 1;
            justify-content: space-between;
            align-items: center;
        }
        .navbar-nav-custom {
            display: flex;
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
            gap: 2rem;
        }
        .nav-item-custom {
            display: flex;
            align-items: center;
        }
        .nav-link-custom {
            color: var(--color-text-muted);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            transition: var(--transition);
        }
        .nav-link-custom:hover,
        .nav-link-custom.active {
            color: var(--color-secondary);
        }
        .nav-link-custom.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--color-secondary);
            border-radius: 1px;
        }

        @media (max-width: 768px) {
            .navbar-nav-custom {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                flex-direction: column;
                background-color: rgba(13, 30, 58, 0.98);
                backdrop-filter: blur(10px);
                padding: 4rem 2rem 2rem;
                gap: 1.5rem;
                transition: right 0.3s ease;
                box-shadow: -5px 0 15px rgba(0,0,0,0.2);
                z-index: 1020;
            }
            .navbar-nav-custom.show {
                right: 0;
            }
            .nav-link-custom {
                font-size: 1.1rem;
            }
            .navbar-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,0.5);
                z-index: 1015;
            }
            .navbar-overlay.show {
                display: block;
            }
        }

        /* --- 按钮样式 (覆盖 Bootstrap) --- */
        .btn-primary-custom {
            background-color: var(--color-secondary);
            color: var(--color-primary);
            border: none;
            border-radius: var(--border-radius-btn);
            padding: 0.75rem 2rem;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: var(--box-shadow);
        }
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
        }
        .btn-outline-custom {
            background-color: transparent;
            color: var(--color-accent);
            border: 2px solid var(--color-accent);
            border-radius: var(--border-radius-btn);
            padding: 0.75rem 2rem;
            font-weight: 600;
            transition: var(--transition);
        }
        .btn-outline-custom:hover {
            background-color: rgba(255, 122, 69, 0.1);
            color: var(--color-accent);
        }

        /* --- 卡片样式 --- */
        .card-custom {
            background: rgba(13, 30, 58, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            padding: 2rem;
            height: 100%;
            transition: var(--transition);
            box-shadow: var(--box-shadow);
        }
        .card-custom:hover {
            transform: translateY(-8px);
            box-shadow: var(--box-shadow-heavy);
            border-color: rgba(0, 255, 157, 0.3);
        }
        .card-icon {
            font-size: 2.5rem;
            color: var(--color-secondary);
            margin-bottom: 1.5rem;
        }
        .card-img-top-custom {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
        }
        .card-body-custom {
            padding: 1.5rem;
        }
        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        .tag {
            display: inline-block;
            background-color: rgba(0, 255, 157, 0.1);
            color: var(--color-secondary);
            padding: 0.25rem 0.75rem;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* --- Hero 区域 --- */
        .hero-category {
            background: linear-gradient(rgba(13, 30, 58, 0.9), rgba(13, 30, 58, 0.7)), url('/assets/images/backpic/back-2.webp') no-repeat center center / cover;
            padding: 8rem 0 5rem;
            text-align: center;
            border-radius: 0 0 var(--border-radius) var(--border-radius);
            margin-top: -2rem;
        }
        .hero-category h1 {
            color: var(--color-secondary);
        }
        .hero-category .lead {
            font-size: 1.25rem;
            color: var(--color-text-muted);
            max-width: 800px;
            margin: 0 auto 2rem;
        }

        /* --- 场景卡片网格 --- */
        .scenarios-grid .col-md-6, .scenarios-grid .col-lg-4 {
            margin-bottom: 2rem;
        }

        /* --- FAQ --- */
        .faq-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding-bottom: 1rem;
            margin-bottom: 1rem;
        }
        .faq-question {
            font-weight: 600;
            color: var(--color-text);
            cursor: pointer;
            padding: 1rem 0;
            position: relative;
            transition: color 0.2s ease;
        }
        .faq-question:hover {
            color: var(--color-secondary);
        }
        .faq-question::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            color: var(--color-secondary);
            transition: transform 0.3s ease;
        }
        .faq-question.active::after {
            transform: translateY(-50%) rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            color: var(--color-text-muted);
            padding-right: 2rem;
        }
        .faq-answer.show {
            max-height: 300px;
        }

        /* --- CTA --- */
        .cta-section {
            background: linear-gradient(135deg, rgba(13, 30, 58, 0.9) 0%, rgba(7, 14, 31, 0.9) 100%);
            border-radius: var(--border-radius);
            padding: 4rem;
            text-align: center;
            border: 1px solid rgba(0, 255, 157, 0.2);
        }
        .cta-title {
            color: var(--color-secondary);
            margin-bottom: 1.5rem;
        }

        /* --- 页脚样式 --- */
        footer {
            background-color: var(--color-dark);
            color: var(--color-text-muted);
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--color-secondary);
            margin-bottom: 1rem;
        }
        .footer-links h5, .footer-contact h5 {
            color: var(--color-text);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }
        .footer-links ul {
            list-style: none;
            padding-left: 0;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .footer-links a {
            color: var(--color-text-muted);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .footer-links a:hover {
            color: var(--color-secondary);
        }
        .footer-contact p {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }
        .footer-contact i {
            color: var(--color-secondary);
            margin-right: 0.75rem;
            margin-top: 0.2rem;
            min-width: 16px;
        }
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--color-text-muted);
            border-radius: 50%;
            text-decoration: none;
            transition: var(--transition);
        }
        .social-link:hover {
            background-color: var(--color-secondary);
            color: var(--color-primary);
            transform: translateY(-3px);
        }
        .footer-copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 0.9rem;
        }
