/* roulang page: index */
:root {
      --brand-primary: #e63946;
      --brand-primary-hover: #d62839;
      --brand-secondary: #1d3557;
      --brand-accent: #f4a261;
      --bg-main: #0d1117;
      --bg-card: #161b22;
      --bg-card-hover: #1f242c;
      --bg-surface: #21262d;
      --text-main: #f0f6fc;
      --text-muted: #8b949e;
      --border-color: #30363d;
      --border-highlight: #ff5a5f;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
      --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.65;
      overflow-x: hidden;
      letter-spacing: 0.01em;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }
    a:hover {
      color: var(--brand-accent);
    }

    /* 顶部地图/定位风格导航条 */
    .top-location-bar {
      background-color: #0b0e14;
      border-bottom: 1px solid var(--border-color);
      font-size: 0.85rem;
      padding: 6px 0;
      color: var(--text-muted);
    }
    .top-location-bar .node-active {
      color: #2ea043;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .main-navbar {
      background-color: rgba(13, 17, 23, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1030;
      padding: 14px 0;
    }
    .navbar-brand {
      font-size: 1.6rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }
    .navbar-brand .brand-badge {
      background: linear-gradient(135deg, var(--brand-primary), #ff758c);
      font-size: 0.72rem;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      text-transform: uppercase;
      font-weight: 700;
    }
    .nav-link {
      color: #c9d1d9 !important;
      font-weight: 500;
      padding: 8px 16px !important;
      border-radius: var(--radius-sm);
      transition: var(--transition);
    }
    .nav-link:hover, .nav-link.active {
      color: #fff !important;
      background-color: var(--bg-surface);
    }

    /* 模块通用样式 */
    .section-wrap {
      padding: 72px 0;
      position: relative;
    }
    .section-wrap:nth-of-type(even) {
      background-color: #12161f;
    }
    .section-header {
      margin-bottom: 46px;
    }
    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-title::before {
      content: "";
      width: 4px;
      height: 24px;
      background: var(--brand-primary);
      border-radius: 2px;
      display: inline-block;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 0.96rem;
      line-height: 1.7;
      max-width: 820px;
    }

    /* Hero 众筹预热区 */
    .hero-section {
      background: radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
                  linear-gradient(180deg, #0d1117 0%, #161b22 100%);
      padding: 80px 0 60px;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-title {
      font-size: 2.5rem;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #ffffff 40%, #c9d1d9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-intro {
      font-size: 1.05rem;
      color: #8b949e;
      margin-bottom: 30px;
      line-height: 1.8;
    }
    .crowd-progress-box {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: var(--shadow-soft);
    }
    .progress-circle-wrapper {
      position: relative;
      width: 140px;
      height: 140px;
      margin: 0 auto 20px;
    }
    .progress-circle-svg {
      transform: rotate(-90deg);
      width: 100%;
      height: 100%;
    }
    .progress-circle-bg {
      fill: none;
      stroke: var(--bg-surface);
      stroke-width: 8;
    }
    .progress-circle-val {
      fill: none;
      stroke: var(--brand-primary);
      stroke-width: 8;
      stroke-linecap: round;
      stroke-dasharray: 377;
      stroke-dashoffset: 60;
      transition: stroke-dashoffset 1s ease-in-out;
    }
    .circle-label {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }
    .circle-label .percent {
      font-size: 1.6rem;
      font-weight: 800;
      color: #fff;
    }
    .circle-label .sub {
      font-size: 0.72rem;
      color: var(--text-muted);
    }
    .tier-item {
      background: var(--bg-surface);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      margin-bottom: 12px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: var(--transition);
    }
    .tier-item:hover, .tier-item.active {
      border-color: var(--brand-accent);
      background: rgba(244, 162, 97, 0.08);
    }

    /* 通用卡片组件 */
    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      height: 100%;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      border-color: #58a6ff;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      background: rgba(230, 57, 70, 0.12);
      color: var(--brand-primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 18px;
    }
    .feature-title {
      font-size: 1.15rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #f0f6fc;
    }
    .feature-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* 指标看板与数据条 */
    .metric-box {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      text-align: center;
    }
    .metric-value {
      font-size: 2.2rem;
      font-weight: 800;
      color: #fff;
      font-family: monospace;
      margin-bottom: 4px;
    }
    .metric-tag {
      font-size: 0.82rem;
      color: var(--brand-accent);
      font-weight: 500;
    }

    /* 目录树组件 */
    .tree-block {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .tree-node-title {
      font-weight: 600;
      color: #fff;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .tree-sub-list {
      list-style: none;
      padding-left: 20px;
      border-left: 2px dashed var(--border-color);
    }
    .tree-sub-list li {
      padding: 8px 0 8px 16px;
      position: relative;
      font-size: 0.88rem;
      color: var(--text-muted);
    }
    .tree-sub-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 18px;
      width: 10px;
      height: 1px;
      background: var(--border-color);
    }

    /* 按钮定制 */
    .btn-brand-primary {
      background: var(--brand-primary);
      color: #fff;
      border: none;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-brand-primary:hover {
      background: var(--brand-primary-hover);
      color: #fff;
      transform: translateY(-1px);
    }
    .btn-brand-outline {
      border: 1px solid var(--border-color);
      color: var(--text-main);
      background: transparent;
      padding: 12px 26px;
      border-radius: var(--radius-sm);
      font-weight: 500;
    }
    .btn-brand-outline:hover {
      background: var(--bg-surface);
      color: #fff;
      border-color: #8b949e;
    }

    /* 标签与徽章 */
    .tech-tag {
      background: rgba(88, 166, 255, 0.1);
      color: #58a6ff;
      border: 1px solid rgba(88, 166, 255, 0.2);
      font-size: 0.75rem;
      padding: 3px 8px;
      border-radius: 4px;
      display: inline-block;
      margin-right: 6px;
      margin-bottom: 6px;
    }

    /* 更新日志与时间线 */
    .timeline-container {
      border-left: 2px solid var(--border-color);
      padding-left: 24px;
      margin-left: 12px;
    }
    .timeline-node {
      position: relative;
      margin-bottom: 32px;
    }
    .timeline-node::before {
      content: "";
      position: absolute;
      left: -31px;
      top: 6px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--brand-primary);
      border: 3px solid var(--bg-main);
    }
    .timeline-date {
      font-size: 0.82rem;
      color: var(--brand-accent);
      font-weight: 600;
      margin-bottom: 4px;
    }

    /* 页脚 */
    .site-footer {
      background: #07090e;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      font-size: 0.88rem;
      color: var(--text-muted);
    }
    .footer-col-title {
      color: #fff;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 10px;
    }

    @media (max-width: 991px) {
      .hero-title { font-size: 2.1rem; }
      .section-wrap { padding: 50px 0; }
    }
