/* roulang page: index */
/* ===== CSS 变量与设计系统 ===== */
    :root {
      --primary: #E5533C;
      --primary-hover: #C44532;
      --secondary: #1B2A4A;
      --accent: #00E676;
      --bg-warm: #F9F7F4;
      --bg-dark: #0F172A;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --border-light: #E2E8F0;
      --card-radius: 12px;
      --btn-radius: 8px;
      --tag-radius: 6px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
      --font-mono: 'Roboto Mono', 'Courier New', monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      background-color: var(--bg-warm);
      color: var(--text-main);
      line-height: 1.8;
      margin: 0;
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    h1 {
      font-size: 2.75rem;
      line-height: 1.2;
    }
    h2 {
      font-size: 2rem;
      line-height: 1.3;
      margin-bottom: 1.5rem;
    }
    h3 {
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.4;
    }
    p {
      color: var(--text-muted);
      font-size: 1rem;
    }
    a {
      text-decoration: none;
      transition: all 0.2s ease;
    }
    img {
      max-width: 100%;
      height: auto;
    }

    /* 自定义容器微调 */
    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ===== 导航栏 (分段标签风格) ===== */
    .navbar-custom {
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      padding: 0.8rem 0;
      position: sticky;
      top: 0;
      z-index: 1020;
      transition: box-shadow 0.3s;
    }
    .navbar-custom.scrolled {
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .logo-text {
      font-size: 1.7rem;
      font-weight: 800;
      color: var(--secondary);
      letter-spacing: -0.3px;
    }
    .logo-text i {
      color: var(--primary);
      margin-right: 6px;
      font-size: 1.8rem;
    }
    .nav-tabs-custom {
      display: flex;
      gap: 0.5rem;
      background: #F1F5F9;
      border-radius: 40px;
      padding: 4px;
    }
    .nav-chip {
      padding: 0.5rem 1.4rem;
      border-radius: 30px;
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.95rem;
      transition: 0.2s;
      white-space: nowrap;
    }
    .nav-chip.active {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 10px rgba(229,83,60,0.3);
    }
    .nav-chip:not(.active):hover {
      background: #e2e8f0;
      color: var(--secondary);
    }
    .btn-cta-nav {
      background: var(--primary);
      border: none;
      border-radius: 30px;
      padding: 0.55rem 1.8rem;
      font-weight: 600;
      color: white;
      transition: 0.2s;
      box-shadow: 0 4px 12px rgba(229,83,60,0.25);
    }
    .btn-cta-nav:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
      color: white;
    }
    @media (max-width: 768px) {
      .navbar-custom .container {
        flex-wrap: wrap;
      }
      .nav-tabs-custom {
        overflow-x: auto;
        flex-wrap: nowrap;
        margin: 0.5rem 0;
      }
    }

    /* 按钮系统 */
    .btn-primary-custom {
      background: var(--primary);
      border: none;
      border-radius: var(--btn-radius);
      padding: 0.7rem 2rem;
      font-weight: 600;
      color: white;
      transition: all 0.25s;
      box-shadow: 0 6px 18px rgba(229,83,60,0.3);
    }
    .btn-primary-custom:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(229,83,60,0.4);
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: var(--btn-radius);
      padding: 0.65rem 2rem;
      font-weight: 600;
      transition: 0.25s;
    }
    .btn-outline-custom:hover {
      background: rgba(229,83,60,0.08);
      border-color: var(--primary-hover);
      color: var(--primary-hover);
    }
    .btn-accent {
      background: var(--accent);
      border: none;
      color: #0F172A;
      font-weight: 700;
      border-radius: var(--btn-radius);
      padding: 0.75rem 2.2rem;
      animation: pulse-glow 2s infinite;
      box-shadow: 0 0 12px rgba(0,230,118,0.4);
    }
    @keyframes pulse-glow {
      0% { box-shadow: 0 0 8px rgba(0,230,118,0.3); }
      50% { box-shadow: 0 0 20px rgba(0,230,118,0.7); }
      100% { box-shadow: 0 0 8px rgba(0,230,118,0.3); }
    }

    /* 卡片样式 */
    .card-feature {
      background: white;
      border-radius: var(--card-radius);
      padding: 2rem 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s;
      border: 1px solid var(--border-light);
      height: 100%;
    }
    .card-feature:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    .icon-badge {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 1.2rem;
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--secondary);
    }

    /* Hero 区域 */
    .hero-section {
      background: linear-gradient(135deg, #0F172A 0%, #1B2A4A 100%);
      color: white;
      padding: 5rem 0 5rem;
      position: relative;
      overflow: hidden;
    }
    .hero-bg-img {
      position: absolute;
      right: 0;
      top: 0;
      width: 50%;
      height: 100%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      opacity: 0.3;
      mask-image: linear-gradient(to left, rgba(0,0,0,0.4), transparent);
    }
    .score-mock {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(10px);
      border-radius: 16px;
      padding: 1.5rem;
      font-family: var(--font-mono);
      border: 1px solid rgba(255,255,255,0.15);
    }
    .live-dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      margin-right: 6px;
      animation: blink 1.2s infinite;
    }
    @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } }

    /* 手风琴定制 */
    .accordion-button:not(.collapsed) {
      background-color: #fff5f3;
      color: var(--primary);
      box-shadow: none;
    }
    .accordion-button:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.15rem rgba(229,83,60,0.2);
    }

    /* 页脚 */
    .footer-dark {
      background: var(--secondary);
      color: #CBD5E1;
      padding: 3rem 0 1.5rem;
    }
    .footer-dark a {
      color: #CBD5E1;
    }
    .footer-dark a:hover {
      color: white;
    }

    @media (max-width: 768px) {
      h1 { font-size: 2rem; }
      .hero-bg-img { width: 100%; opacity: 0.2; }
    }
