/* roulang page: index */
:root {
      --brand-blue: #1A56DB;
      --brand-blue-hover: #1444B2;
      --brand-orange: #FF6B00;
      --brand-orange-hover: #E05E00;
      --bg-light: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-dark: #0B132B;
      --text-main: #0F172A;
      --text-muted: #334155;
      --text-sub: #64748B;
      --card-border: rgba(226, 232, 240, 0.8);
      --shadow-default: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
      --shadow-hover: 0 12px 30px -4px rgba(26, 86, 219, 0.12);
      --radius-default: 16px;
      --radius-sm: 8px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
      color: var(--text-main);
      background-color: var(--bg-white);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* 容器控制 */
    .container {
      max-width: 1280px;
    }

    /* 顶部导航 */
    .site-header {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      position: sticky;
      top: 0;
      z-index: 1030;
      transition: all 0.3s ease;
    }

    .header-top {
      padding: 8px 0;
      border-bottom: 1px solid rgba(241, 245, 249, 1);
      font-size: 0.85rem;
    }

    .header-brand {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--brand-blue);
      text-decoration: none;
      letter-spacing: -0.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .header-brand:hover {
      color: var(--brand-blue-hover);
    }

    .pulse-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: #10B981;
      border-radius: 50%;
      box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    }

    .nav-bar-grid {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-x: auto;
      padding: 6px 0;
      gap: 12px;
      scrollbar-width: none;
    }
    .nav-bar-grid::-webkit-scrollbar {
      display: none;
    }

    .nav-icon-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.92rem;
      text-decoration: none;
      white-space: nowrap;
      transition: all 0.2s ease-in-out;
    }

    .nav-icon-link i {
      font-size: 1.05rem;
      color: var(--brand-blue);
    }

    .nav-icon-link:hover, .nav-icon-link.active {
      color: var(--brand-blue);
      background: rgba(26, 86, 219, 0.06);
    }

    /* 通用板块与排版 */
    .section-block {
      padding: 90px 0;
    }

    .section-bg-light {
      background-color: var(--bg-light);
    }

    .section-bg-dark {
      background-color: var(--bg-dark);
      color: #F8FAFC;
    }

    .section-head {
      margin-bottom: 50px;
    }

    .section-badge {
      display: inline-block;
      padding: 5px 14px;
      border-radius: 50rem;
      background-color: rgba(26, 86, 219, 0.08);
      color: var(--brand-blue);
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .section-head-title {
      font-size: 2.15rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.3;
      margin-bottom: 15px;
    }

    .section-head-desc {
      color: var(--text-sub);
      font-size: 1.05rem;
      max-width: 760px;
      margin: 0 auto;
    }

    .section-bg-dark .section-head-desc {
      color: #94A3B8;
    }

    /* 卡片系统 */
    .app-card {
      background: var(--bg-white);
      border-radius: var(--radius-default);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-default);
      transition: all 0.25s ease-in-out;
      height: 100%;
      overflow: hidden;
    }

    .app-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(26, 86, 219, 0.25);
    }

    .app-btn-primary {
      background-color: var(--brand-blue);
      border-color: var(--brand-blue);
      color: #FFFFFF;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      transition: all 0.25s ease-in-out;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
    }

    .app-btn-primary:hover {
      background-color: var(--brand-blue-hover);
      border-color: var(--brand-blue-hover);
      color: #FFFFFF;
      box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3);
    }

    .app-btn-orange {
      background-color: var(--brand-orange);
      border-color: var(--brand-orange);
      color: #FFFFFF;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      transition: all 0.25s ease-in-out;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
    }

    .app-btn-orange:hover {
      background-color: var(--brand-orange-hover);
      border-color: var(--brand-orange-hover);
      color: #FFFFFF;
      box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
    }

    .app-btn-outline {
      background-color: transparent;
      border: 1px solid #CBD5E1;
      color: var(--text-main);
      font-weight: 600;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      transition: all 0.25s ease-in-out;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
    }

    .app-btn-outline:hover {
      background-color: #F1F5F9;
      color: var(--brand-blue);
      border-color: var(--brand-blue);
    }

    /* Hero板块 (资源搜索与下载站样式) */
    .hero-download-block {
      position: relative;
      background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 1) 100%), url('/assets/images/3970249e24825b10.png') center/cover no-repeat;
      padding: 110px 0 80px;
      border-bottom: 1px solid #E2E8F0;
    }

    .hero-search-box {
      max-width: 680px;
      margin: 30px auto;
      background: #FFFFFF;
      padding: 8px 12px;
      border-radius: 50rem;
      box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
      display: flex;
      align-items: center;
      border: 1px solid #CBD5E1;
    }

    .hero-search-input {
      border: none;
      outline: none;
      flex-grow: 1;
      padding: 10px 16px;
      font-size: 1rem;
      color: var(--text-main);
      background: transparent;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 18px;
    }

    .hero-tag-item {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      color: var(--text-muted);
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 0.85rem;
      text-decoration: none;
      transition: all 0.2s;
    }

    .hero-tag-item:hover {
      border-color: var(--brand-blue);
      color: var(--brand-blue);
      background-color: rgba(26, 86, 219, 0.05);
    }

    /* 对比表格 */
    .custom-compare-table th {
      background-color: #F1F5F9;
      color: var(--text-main);
      font-weight: 700;
      padding: 16px;
    }
    .custom-compare-table td {
      padding: 16px;
      vertical-align: middle;
      border-bottom: 1px solid #E2E8F0;
    }

    /* 时间轴 */
    .timeline-node {
      position: relative;
      padding-left: 30px;
      border-left: 2px solid #E2E8F0;
      margin-bottom: 25px;
    }
    .timeline-node::before {
      content: '';
      position: absolute;
      left: -7px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--brand-blue);
      box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.2);
    }

    /* 手风琴重置 */
    .accordion-button:not(.collapsed) {
      color: var(--brand-blue);
      background-color: rgba(26, 86, 219, 0.04);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: none;
      border-color: rgba(26, 86, 219, 0.5);
    }
    .accordion-item {
      border: 1px solid #E2E8F0;
      border-radius: var(--radius-sm) !important;
      margin-bottom: 12px;
      overflow: hidden;
    }

    /* 页脚 */
    .site-footer {
      background: #0B132B;
      color: #94A3B8;
      padding: 80px 0 30px;
      border-top: 1px solid #1E293B;
      font-size: 0.95rem;
    }

    .site-footer a {
      color: #94A3B8;
      text-decoration: none;
      transition: color 0.2s;
    }

    .site-footer a:hover {
      color: #FFFFFF;
    }

    @media (max-width: 768px) {
      .section-block {
        padding: 60px 0;
      }
      .section-head-title {
        font-size: 1.7rem;
      }
      .hero-search-box {
        flex-direction: column;
        border-radius: var(--radius-sm);
        padding: 12px;
      }
      .hero-search-input {
        width: 100%;
        margin-bottom: 10px;
      }
      .hero-search-box button {
        width: 100%;
      }
    }
