/* roulang page: index */
:root {
      --bg-dark: #0d1117;
      --bg-card: #161b22;
      --bg-card-secondary: #21262d;
      --border-color: rgba(240, 246, 252, 0.12);
      --primary-cyan: #00f2fe;
      --accent-violet: #7928ca;
      --accent-orange: #ff5722;
      --text-main: #f0f6fc;
      --text-muted: #8b949e;
      --font-code: "JetBrains Mono", "Fira Code", monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.68;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    code, pre, .tech-mono {
      font-family: var(--font-code);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }

    /* 顶部双行导航系统 */
    .top-meta-bar {
      background-color: #07090d;
      font-size: 0.82rem;
      border-bottom: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 6px 0;
    }

    .capsule-navbar-wrapper {
      position: sticky;
      top: 14px;
      z-index: 1020;
      padding: 0 16px;
    }

    .capsule-navbar {
      background: rgba(22, 27, 34, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid var(--border-color);
      border-radius: 50px;
      padding: 10px 24px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    }

    .capsule-navbar .navbar-brand {
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .capsule-navbar .navbar-brand .brand-badge {
      display: inline-block;
      width: 10px;
      height: 10px;
      background: var(--primary-cyan);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--primary-cyan);
    }

    .capsule-navbar .nav-link {
      color: var(--text-muted);
      font-size: 0.94rem;
      font-weight: 500;
      padding: 8px 16px;
      border-radius: 20px;
      transition: all 0.2s ease;
    }

    .capsule-navbar .nav-link:hover,
    .capsule-navbar .nav-link.active {
      color: #fff;
      background: rgba(240, 246, 252, 0.08);
    }

    .btn-cyan-glow {
      background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
      color: #000 !important;
      font-weight: 600;
      border: none;
      border-radius: 30px;
      padding: 8px 22px;
      font-size: 0.92rem;
      box-shadow: 0 0 18px rgba(0, 242, 254, 0.35);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn-cyan-glow:hover {
      box-shadow: 0 0 25px rgba(0, 242, 254, 0.65);
      transform: translateY(-2px);
    }

    .btn-outline-custom {
      border: 1px solid var(--border-color);
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.03);
      border-radius: 30px;
      padding: 8px 22px;
      font-size: 0.92rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .btn-outline-custom:hover {
      border-color: var(--primary-cyan);
      color: var(--primary-cyan);
      background: rgba(0, 242, 254, 0.08);
    }

    /* Hero 大图沉浸视窗 */
    .hero-carousel-section {
      padding: 40px 0 60px 0;
      position: relative;
    }

    .hero-slide-card {
      min-height: 520px;
      border-radius: 24px;
      border: 1px solid var(--border-color);
      overflow: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
    }

    .hero-slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(13, 17, 23, 0.95) 15%, rgba(13, 17, 23, 0.72) 60%, rgba(13, 17, 23, 0.85) 100%);
    }

    .hero-content-box {
      position: relative;
      z-index: 2;
      padding: 48px;
      max-width: 780px;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 14px;
      background: rgba(0, 242, 254, 0.12);
      border: 1px solid rgba(0, 242, 254, 0.35);
      border-radius: 20px;
      color: var(--primary-cyan);
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .hero-h1-title {
      font-size: 2.85rem;
      font-weight: 800;
      line-height: 1.22;
      color: #fff;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .hero-h1-title span {
      background: linear-gradient(90deg, #00f2fe, #a855f7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 1.05rem;
      color: #c9d1d9;
      line-height: 1.8;
      margin-bottom: 30px;
    }

    .carousel-indicators [data-bs-target] {
      width: 38px;
      height: 4px;
      border-radius: 2px;
      background-color: var(--text-muted);
      border: none;
      opacity: 0.4;
      margin: 0 6px;
      transition: all 0.3s;
    }

    .carousel-indicators .active {
      opacity: 1;
      background-color: var(--primary-cyan);
      width: 58px;
    }

    /* 通用板块规范 */
    .app-section {
      padding: 70px 0;
      position: relative;
    }

    .app-section-alt {
      background: #090d12;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .section-header {
      margin-bottom: 44px;
    }

    .section-subtitle {
      color: var(--primary-cyan);
      font-size: 0.88rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
      display: inline-block;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 750;
      color: #fff;
      margin-bottom: 14px;
      line-height: 1.3;
    }

    .section-paragraph {
      color: var(--text-muted);
      font-size: 0.98rem;
      max-width: 760px;
      line-height: 1.75;
    }

    /* 样式卡片通用 */
    .matrix-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 28px;
      height: 100%;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .matrix-card:hover {
      border-color: rgba(0, 242, 254, 0.45);
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.1);
    }

    .matrix-icon {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      background: rgba(0, 242, 254, 0.1);
      color: var(--primary-cyan);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 20px;
    }

    .matrix-title {
      font-size: 1.2rem;
      font-weight: 650;
      color: #fff;
      margin-bottom: 12px;
    }

    .matrix-text {
      color: var(--text-muted);
      font-size: 0.92rem;
      line-height: 1.7;
    }

    /* 指标统计条 */
    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 24px 20px;
      text-align: left;
    }

    .metric-num {
      font-size: 2.25rem;
      font-weight: 800;
      color: #fff;
      font-family: var(--font-code);
      margin-bottom: 4px;
      display: flex;
      align-items: baseline;
      gap: 4px;
    }

    .metric-num .unit {
      font-size: 1rem;
      color: var(--primary-cyan);
      font-weight: 600;
    }

    .metric-label {
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    /* 对比表格看板 */
    .benchmark-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      overflow: hidden;
      background: var(--bg-card);
    }

    .benchmark-table th, .benchmark-table td {
      padding: 18px 24px;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.94rem;
    }

    .benchmark-table th {
      background: var(--bg-card-secondary);
      color: #fff;
      font-weight: 600;
    }

    .benchmark-table tr:last-child td {
      border-bottom: none;
    }

    .progress-custom {
      height: 8px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      overflow: hidden;
      margin-top: 6px;
    }

    .progress-bar-cyan {
      background: linear-gradient(90deg, #00f2fe, #4facfe);
    }

    /* 时间轴 */
    .timeline-wrap {
      position: relative;
      padding-left: 32px;
    }

    .timeline-wrap::before {
      content: '';
      position: absolute;
      left: 7px;
      top: 6px;
      bottom: 0;
      width: 2px;
      background: rgba(240, 246, 252, 0.15);
    }

    .timeline-node {
      position: relative;
      margin-bottom: 38px;
    }

    .timeline-dot {
      position: absolute;
      left: -32px;
      top: 6px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--bg-dark);
      border: 3px solid var(--primary-cyan);
      box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    }

    .timeline-badge {
      font-size: 0.82rem;
      background: rgba(121, 40, 202, 0.25);
      border: 1px solid rgba(121, 40, 202, 0.5);
      color: #d8b4fe;
      padding: 3px 10px;
      border-radius: 12px;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 深色折叠 FAQ */
    .accordion-custom .accordion-item {
      background-color: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px !important;
      margin-bottom: 12px;
      overflow: hidden;
    }

    .accordion-custom .accordion-button {
      background-color: var(--bg-card);
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      padding: 18px 24px;
      box-shadow: none;
    }

    .accordion-custom .accordion-button:not(.collapsed) {
      color: var(--primary-cyan);
      background-color: rgba(0, 242, 254, 0.04);
      border-left: 3px solid var(--primary-cyan);
    }

    .accordion-custom .accordion-button::after {
      filter: invert(1);
    }

    .accordion-custom .accordion-body {
      color: #c9d1d9;
      font-size: 0.94rem;
      line-height: 1.75;
      padding: 20px 24px 24px 24px;
      background: rgba(0, 0, 0, 0.15);
    }

    /* 表单组件 */
    .form-dark-control {
      background-color: #0b0e14;
      border: 1px solid var(--border-color);
      color: #fff;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 0.92rem;
      transition: all 0.2s ease;
    }

    .form-dark-control:focus {
      background-color: #0b0e14;
      border-color: var(--primary-cyan);
      color: #fff;
      box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
      outline: none;
    }

    /* 底部通用规范 */
    .footer-wrapper {
      background-color: #06080b;
      border-top: 1px solid var(--border-color);
      padding: 70px 0 30px 0;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .footer-title {
      color: #fff;
      font-size: 1rem;
      font-weight: 650;
      margin-bottom: 18px;
    }

    .footer-links-list {
      list-style: none;
      padding: 0;
    }

    .footer-links-list li {
      margin-bottom: 10px;
    }

    .footer-links-list a:hover {
      color: var(--primary-cyan);
    }

    .footer-bottom-bar {
      border-top: 1px solid rgba(240, 246, 252, 0.08);
      padding-top: 26px;
      margin-top: 48px;
      font-size: 0.82rem;
    }

    /* 响应式调整 */
    @media (max-width: 991px) {
      .hero-h1-title {
        font-size: 2.2rem;
      }
      .capsule-navbar {
        border-radius: 20px;
        padding: 12px 18px;
      }
      .hero-content-box {
        padding: 28px;
      }
    }

    @media (max-width: 576px) {
      .hero-h1-title {
        font-size: 1.8rem;
      }
      .hero-slide-card {
        min-height: 460px;
      }
    }
