/* roulang page: index */
:root {
      --color-primary: #6C3CFC;
      --color-accent: #FF3A5C;
      --color-gold: #D4AF37;
      --bg-dark: #0B0C10;
      --bg-card: #1A1D24;
      --text-main: #FFFFFF;
      --text-body: #B0B8C1;
      --text-muted: #6C7278;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input {
      font-family: inherit;
    }

    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 导航毛玻璃效果 */
    .navbar-glass {
      background: rgba(10, 11, 13, 0.75);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* 导航链接动效 */
    .nav-link-hover {
      position: relative;
    }
    .nav-link-hover::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background-color: var(--color-primary);
      transition: width 0.3s ease;
    }
    .nav-link-hover:hover::after {
      width: 100%;
    }

    /* Hero背景速度线 */
    .hero-bg {
      background: radial-gradient(circle at 30% 40%, rgba(108, 60, 252, 0.15) 0%, rgba(11, 12, 16, 1) 70%);
    }

    .btn-accent {
      background-color: var(--color-accent);
      color: white;
      border: none;
      padding: 0.75rem 2rem;
      border-radius: 30px;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 58, 92, 0.3);
    }
    .btn-accent:hover {
      background-color: #ff2a4b;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 58, 92, 0.5);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: white;
      padding: 0.7rem 2rem;
      border-radius: 30px;
      font-weight: 500;
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
    }
    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: white;
      transform: translateY(-2px);
    }

    .card-dark {
      background-color: var(--bg-card);
      border-radius: 12px;
      border: 1px solid rgba(255, brightness(1.2);
      transform: translateY(-4px);
    }

    /* 数字滚动动画初始 */
    .count-num {
      display: inline-block;
    }

    .section-padding {
      padding-top: 7rem;
      padding-bottom: 7rem;
    }

    @media (max-width: 768px) {
      .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
      }
    }

    /* FAQ手风琴动画 */
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }
    .faq-item.active .faq-answer {
      max-height: 300px;
      padding-top: 1rem;
    }

    /* 案例横向滚动容器 */
    .cases-scroll {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .cases-scroll::-webkit-scrollbar {
      height: 6px;
    }
    .cases-scroll::-webkit-scrollbar-thumb {
      background: #2a2f3a;
      border-radius: 8px;
    }
    .case-card {
      flex: 0 0 360px;
      scroll-snap-align: start;
    }
    @media (max-width: 520px) {
      .case-card {
        flex: 0 0 85%;
      }
    }
