/* roulang page: index */
:root {
            --bg-base: #0d1117;
            --bg-card: #161b22;
            --bg-surface: #21262d;
            --border-line: #30363d;
            --border-focus: rgba(0, 229, 255, 0.4);
            --primary-orange: #ff5722;
            --accent-cyan: #00e5ff;
            --text-title: #f0f6fc;
            --text-body: #c9d1d9;
            --text-dim: #8b949e;
            --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
            --card-radius: 6px;
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-body);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            color: var(--accent-cyan);
            text-decoration: none;
            transition: color 0.2s ease, opacity 0.2s ease;
        }
        a:hover {
            color: #4df0ff;
        }

        /* 顶部主导航与步骤指示条 */
        .site-header {
            background-color: rgba(13, 17, 23, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-line);
            z-index: 1030;
        }
        .brand-logo {
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: var(--text-title);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .brand-logo i {
            color: var(--primary-orange);
            font-size: 1.35rem;
        }
        .nav-link-custom {
            color: var(--text-body);
            font-size: 0.92rem;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        .nav-link-custom:hover, .nav-link-custom.active {
            color: var(--text-title);
            background-color: var(--bg-surface);
        }

        /* 步骤流程指示条 */
        .steps-bar-wrapper {
            background-color: #11161d;
            border-bottom: 1px solid var(--border-line);
            padding: 8px 0;
            font-size: 0.82rem;
        }
        .step-node {
            display: inline-flex;
            align-items: center;
            color: var(--text-dim);
            text-decoration: none;
            transition: color 0.2s;
        }
        .step-node:hover {
            color: var(--text-title);
        }
        .step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--bg-surface);
            border: 1px solid var(--border-line);
            font-size: 0.72rem;
            margin-right: 6px;
            color: var(--accent-cyan);
            font-family: var(--font-mono);
        }
        .step-node.active .step-num {
            background: var(--primary-orange);
            border-color: var(--primary-orange);
            color: #fff;
            box-shadow: 0 0 8px rgba(255, 87, 34, 0.4);
        }
        .step-node.active {
            color: var(--text-title);
            font-weight: 600;
        }
        .step-arrow {
            color: #3b434d;
            margin: 0 10px;
            font-size: 0.75rem;
        }

        /* 通用区块与标题 */
        .section-padding {
            padding: 72px 0;
            border-bottom: 1px solid rgba(48, 54, 61, 0.5);
        }
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--accent-cyan);
            background: rgba(0, 229, 255, 0.08);
            border: 1px solid rgba(0, 229, 255, 0.25);
            padding: 3px 10px;
            border-radius: 3px;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .section-title {
            color: var(--text-title);
            font-size: 1.85rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
        }
        .section-desc {
            color: var(--text-dim);
            font-size: 0.98rem;
            max-width: 800px;
            margin-bottom: 36px;
        }

        /* HUD 卡片样式 */
        .hud-card {
            background: var(--bg-card);
            border: 1px solid var(--border-line);
            border-radius: var(--card-radius);
            padding: 24px;
            position: relative;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
            transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
            height: 100%;
        }
        .hud-card:hover {
            border-color: rgba(0, 229, 255, 0.4);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        }
        .hud-card-accent {
            border-top: 3px solid var(--primary-orange);
        }
        .hud-card-cyan {
            border-top: 3px solid var(--accent-cyan);
        }

        /* 按钮系统 */
        .btn-core {
            background-color: var(--primary-orange);
            color: #fff;
            font-weight: 600;
            padding: 10px 22px;
            border-radius: 4px;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        .btn-core:hover {
            background-color: #e64a19;
            color: #fff;
            box-shadow: 0 0 16px rgba(255, 87, 34, 0.4);
        }
        .btn-ghost {
            background-color: transparent;
            color: var(--text-title);
            border: 1px solid var(--border-line);
            padding: 9px 20px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        .btn-ghost:hover {
            border-color: var(--accent-cyan);
            color: var(--accent-cyan);
            background: rgba(0, 229, 255, 0.05);
        }

        /* 状态指示灯与等宽字体 */
        .pulse-lamp {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #00e676;
            box-shadow: 0 0 8px #00e676;
            margin-right: 6px;
        }
        .mono-val {
            font-family: var(--font-mono);
            font-weight: 700;
        }

        /* 数据对比表 */
        .table-custom {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border: 1px solid var(--border-line);
            border-radius: var(--card-radius);
            overflow: hidden;
            background: var(--bg-card);
        }
        .table-custom th {
            background: var(--bg-surface);
            color: var(--text-title);
            padding: 14px 16px;
            font-weight: 600;
            border-bottom: 1px solid var(--border-line);
        }
        .table-custom td {
            padding: 14px 16px;
            color: var(--text-body);
            border-bottom: 1px solid rgba(48, 54, 61, 0.6);
            vertical-align: middle;
        }
        .table-custom tr:last-child td {
            border-bottom: none;
        }
        .highlight-col {
            background: rgba(255, 87, 34, 0.05);
            border-left: 1px solid rgba(255, 87, 34, 0.3);
            border-right: 1px solid rgba(255, 87, 34, 0.3);
        }

        /* 终端代码视窗 */
        .cli-window {
            background: #090c10;
            border: 1px solid var(--border-line);
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 6px 25px rgba(0,0,0,0.6);
        }
        .cli-bar {
            background: #161b22;
            padding: 8px 14px;
            border-bottom: 1px solid var(--border-line);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .cli-dots {
            display: flex;
            gap: 6px;
        }
        .cli-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
        }
        .cli-body {
            padding: 18px;
            font-family: var(--font-mono);
            font-size: 0.85rem;
            color: #79c0ff;
            line-height: 1.7;
            overflow-x: auto;
        }

        /* 手风琴 FAQ */
        .accordion-item {
            background: var(--bg-card);
            border: 1px solid var(--border-line);
            margin-bottom: 12px;
            border-radius: var(--card-radius) !important;
            overflow: hidden;
        }
        .accordion-button {
            background: var(--bg-card);
            color: var(--text-title);
            font-weight: 600;
            padding: 18px 20px;
            border: none;
            box-shadow: none !important;
        }
        .accordion-button:not(.collapsed) {
            background: var(--bg-surface);
            color: var(--accent-cyan);
            border-bottom: 1px solid var(--border-line);
        }
        .accordion-body {
            background: var(--bg-card);
            color: var(--text-body);
            font-size: 0.94rem;
            padding: 20px;
        }

        /* 输入控件定制 */
        .form-control-dark, .form-select-dark {
            background-color: #090c10;
            border: 1px solid var(--border-line);
            color: var(--text-title);
            padding: 10px 14px;
            border-radius: 4px;
        }
        .form-control-dark:focus, .form-select-dark:focus {
            background-color: #090c10;
            border-color: var(--accent-cyan);
            color: var(--text-title);
            box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
            outline: none;
        }

        /* 页脚 */
        .site-footer {
            background: #090c10;
            border-top: 1px solid var(--border-line);
            padding: 50px 0 30px;
            font-size: 0.88rem;
            color: var(--text-dim);
        }

        @media (max-width: 991px) {
            .section-padding { padding: 50px 0; }
            .section-title { font-size: 1.55rem; }
            .steps-bar-wrapper { overflow-x: auto; white-space: nowrap; }
        }

/* roulang page: category1 */
:root {
      --bg-base: #0d1117;
      --bg-card: #161b22;
      --bg-surface: #21262d;
      --border-line: #30363d;
      --border-focus: rgba(0, 229, 255, 0.4);
      --primary-orange: #ff5722;
      --accent-cyan: #00e5ff;
      --text-title: #f0f6fc;
      --text-body: #c9d1d9;
      --text-dim: #8b949e;
      --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
      --card-radius: 6px;
    }

    body {
      background-color: var(--bg-base);
      color: var(--text-body);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: var(--accent-cyan);
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    a:hover {
      color: #4df0ff;
    }

    /* 顶部导航与步骤状态 */
    .site-header {
      background-color: rgba(13, 17, 23, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-line);
      z-index: 1030;
    }

    .brand-logo {
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: var(--text-title);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand-logo i {
      color: var(--primary-orange);
      font-size: 1.35rem;
    }

    .nav-link-custom {
      color: var(--text-body);
      font-size: 0.92rem;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: 4px;
      transition: all 0.2s ease;
    }

    .nav-link-custom:hover, .nav-link-custom.active {
      color: var(--text-title);
      background-color: var(--bg-surface);
    }

    .pulse-lamp {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #3fb950;
      margin-right: 8px;
      box-shadow: 0 0 8px #3fb950;
    }

    /* 步骤流程指示条 */
    .steps-bar-wrapper {
      background-color: #11161d;
      border-bottom: 1px solid var(--border-line);
      padding: 8px 0;
      font-size: 0.82rem;
    }

    .step-node {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-dim);
      text-decoration: none;
      padding: 4px 10px;
      border-radius: 3px;
      transition: all 0.2s ease;
    }

    .step-node.active {
      color: var(--accent-cyan);
      background: rgba(0, 229, 255, 0.08);
      font-weight: 600;
    }

    .step-num {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      padding: 1px 6px;
      border-radius: 2px;
      background: var(--bg-surface);
      border: 1px solid var(--border-line);
    }

    .step-node.active .step-num {
      background: var(--accent-cyan);
      color: #000;
      border-color: var(--accent-cyan);
    }

    .step-arrow {
      color: #3b434d;
      margin: 0 10px;
      font-size: 0.75rem;
    }

    /* 按钮规范 */
    .btn-core {
      background-color: var(--primary-orange);
      color: #fff;
      font-weight: 600;
      padding: 9px 20px;
      border-radius: 4px;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
    }

    .btn-core:hover {
      background-color: #e64a19;
      color: #fff;
      box-shadow: 0 0 16px rgba(255, 87, 34, 0.4);
    }

    .btn-ghost {
      background-color: transparent;
      color: var(--text-title);
      border: 1px solid var(--border-line);
      padding: 8px 18px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      transition: all 0.2s ease;
    }

    .btn-ghost:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      background: rgba(0, 229, 255, 0.05);
    }

    /* 通用区块与标题 */
    .section-padding {
      padding: 64px 0;
      border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--accent-cyan);
      background: rgba(0, 229, 255, 0.08);
      border: 1px solid rgba(0, 229, 255, 0.25);
      padding: 3px 10px;
      border-radius: 3px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-title {
      color: var(--text-title);
      font-size: 1.75rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 10px;
    }

    .section-desc {
      color: var(--text-dim);
      font-size: 0.95rem;
      max-width: 820px;
      margin-bottom: 32px;
    }

    /* HUD 卡片样式 */
    .hud-card {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--card-radius);
      padding: 24px;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
      transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
      height: 100%;
    }

    .hud-card:hover {
      border-color: rgba(0, 229, 255, 0.4);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    .hud-card-accent {
      border-top: 3px solid var(--primary-orange);
    }

    .hud-card-cyan {
      border-top: 3px solid var(--accent-cyan);
    }

    /* 过滤检索控制栏 */
    .filter-panel {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--card-radius);
      padding: 20px 24px;
      margin-bottom: 28px;
    }

    .filter-group-title {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      min-width: 80px;
    }

    .filter-pill {
      font-size: 0.82rem;
      color: var(--text-body);
      background: var(--bg-surface);
      border: 1px solid var(--border-line);
      padding: 4px 14px;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .filter-pill:hover {
      color: #fff;
      border-color: var(--accent-cyan);
    }

    .filter-pill.active {
      color: var(--accent-cyan);
      background: rgba(0, 229, 255, 0.12);
      border-color: var(--accent-cyan);
      font-weight: 600;
    }

    .sort-select {
      background-color: var(--bg-surface);
      border: 1px solid var(--border-line);
      color: var(--text-title);
      font-size: 0.84rem;
      padding: 6px 12px;
      border-radius: 4px;
    }

    /* 进度条与指标条 */
    .metric-progress {
      height: 6px;
      background: var(--bg-surface);
      border-radius: 3px;
      overflow: hidden;
    }

    .metric-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--accent-cyan), var(--primary-orange));
    }

    /* 分页控制器 */
    .pagination-custom .page-link {
      background-color: var(--bg-card);
      border: 1px solid var(--border-line);
      color: var(--text-body);
      padding: 8px 16px;
      font-size: 0.88rem;
      font-family: var(--font-mono);
      margin: 0 3px;
      border-radius: 4px;
      transition: all 0.2s ease;
    }

    .pagination-custom .page-link:hover {
      background-color: var(--bg-surface);
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
    }

    .pagination-custom .page-item.active .page-link {
      background-color: var(--accent-cyan);
      border-color: var(--accent-cyan);
      color: #0d1117;
      font-weight: 700;
    }

    /* 对标表格 */
    .spec-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      border: 1px solid var(--border-line);
      border-radius: var(--card-radius);
      overflow: hidden;
    }

    .spec-table th, .spec-table td {
      padding: 14px 18px;
      font-size: 0.9rem;
      border-bottom: 1px solid var(--border-line);
      border-right: 1px solid var(--border-line);
    }

    .spec-table th:last-child, .spec-table td:last-child {
      border-right: none;
    }

    .spec-table tr:last-child td {
      border-bottom: none;
    }

    .spec-table th {
      background-color: var(--bg-surface);
      color: var(--text-title);
      font-weight: 600;
      font-family: var(--font-mono);
    }

    .spec-table td {
      background-color: var(--bg-card);
      color: var(--text-body);
    }

    .spec-table tr:hover td {
      background-color: rgba(33, 38, 45, 0.7);
    }

    /* 手风琴 FAQ */
    .accordion-item {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      margin-bottom: 12px;
      border-radius: var(--card-radius) !important;
      overflow: hidden;
    }

    .accordion-button {
      background: var(--bg-card);
      color: var(--text-title);
      font-weight: 600;
      padding: 16px 20px;
      border: none;
      box-shadow: none !important;
      font-size: 0.95rem;
    }

    .accordion-button:not(.collapsed) {
      background: var(--bg-surface);
      color: var(--accent-cyan);
      border-bottom: 1px solid var(--border-line);
    }

    .accordion-button::after {
      filter: invert(1);
    }

    .accordion-body {
      background: var(--bg-card);
      color: var(--text-body);
      font-size: 0.92rem;
      line-height: 1.7;
      padding: 20px;
    }

    /* 终端与代码视窗 */
    .cli-box {
      background: #090c10;
      border: 1px solid var(--border-line);
      border-radius: var(--card-radius);
      overflow: hidden;
    }

    .cli-header {
      background: #11161d;
      padding: 8px 14px;
      border-bottom: 1px solid var(--border-line);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cli-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
    }

    .cli-dot-red { background: #f85149; }
    .cli-dot-yellow { background: #e3b341; }
    .cli-dot-green { background: #3fb950; }

    .cli-body {
      padding: 16px;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: #79c0ff;
      line-height: 1.7;
      overflow-x: auto;
    }

    /* 页脚样式 */
    .footer-custom {
      background-color: #0a0d12;
      border-top: 1px solid var(--border-line);
      padding: 60px 0 30px;
    }

    .footer-sub {
      border-top: 1px solid rgba(48, 54, 61, 0.6);
      padding-top: 24px;
      margin-top: 40px;
      font-size: 0.82rem;
      color: var(--text-dim);
    }

    .hover-white:hover {
      color: #ffffff !important;
    }

    .font-mono {
      font-family: var(--font-mono);
    }

    .text-cyan {
      color: var(--accent-cyan) !important;
    }

    .text-orange {
      color: var(--primary-orange) !important;
    }

    .text-dim {
      color: var(--text-dim) !important;
    }

    @media (max-width: 991.98px) {
      .section-padding {
        padding: 48px 0;
      }
      .section-title {
        font-size: 1.5rem;
      }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
