/* roulang page: index */
/* 自定义CSS变量与全局重置 */
    :root {
      --bg-deep: #0A0A0F;
      --primary: #7C3AED;
      --primary-light: #A78BFA;
      --accent: #F59E0B;
      --accent-glow: rgba(245, 158, 11, 0.7);
      --text-primary: #FFFFFF;
      --text-secondary: rgba(255,255,255,0.7);
      --text-muted: rgba(255,255,255,0.45);
      --card-bg: rgba(255,255,255,0.03);
      --card-border: rgba(255,255,255,0.06);
      --card-hover-border: rgba(124,58,237,0.35);
      --shadow-glow: 0 0 30px rgba(124,58,237,0.3);
      --shadow-card: 0 20px 35px -10px rgba(0,0,0,0.6);
      --radius-card: 1.5rem;
      --radius-btn: 9999px;
      --font-mono: 'Inter', system-ui, monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.6;
      margin: 0;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    /* 自定义滚动条 */
    ::-webkit-scrollbar {
      width: 6px;
    }
    ::-webkit-scrollbar-track {
      background: #0A0A0F;
    }
    ::-webkit-scrollbar-thumb {
      background: #7C3AED;
      border-radius: 20px;
    }

    /* 导航沉浸式效果 */
    .header-blur {
      background: rgba(10, 10, 15, 0.72);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transition: background 0.4s ease, box-shadow 0.4s ease;
    }
    .header-scrolled {
      background: rgba(10, 10, 15, 0.92);
      box-shadow: 0 8px 30px rgba(0,0,0,0.7);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-link {
      position: relative;
      transition: color 0.2s;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(to right, #7C3AED, #A78BFA);
      transition: width 0.3s ease;
    }
    .nav-link:hover::after,
    .nav-link.active-link::after {
      width: 100%;
    }
    .active-link {
      color: #7C3AED !important;
    }
    .active-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: #7C3AED;
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 10px #7C3AED;
    }

    /* 粒子背景容器 */
    #particle-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* 滚动淡入动画 */
    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    }
    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* 卡片悬停 */
    .card-hover {
      transition: all 0.3s ease-out;
    }
    .card-hover:hover {
      transform: translateY(-8px);
      border-color: var(--card-hover-border);
      box-shadow: var(--shadow-glow), var(--shadow-card);
    }

    /* 按钮发光 */
    .btn-glow {
      background: linear-gradient(135deg, #7C3AED, #A78BFA);
      box-shadow: 0 4px 20px rgba(124,58,237,0.5);
      transition: all 0.2s;
    }
    .btn-glow:hover {
      box-shadow: 0 8px 30px rgba(124,58,237,0.8);
      background: linear-gradient(135deg, #8b4cf5, #b794f4);
    }

    .btn-outline-glow {
      border: 1.5px solid rgba(255,255,255,0.25);
      background: transparent;
      transition: all 0.2s;
    }
    .btn-outline-glow:hover {
      border-color: #A78BFA;
      background: rgba(124,58,237,0.15);
      box-shadow: 0 0 18px rgba(124,58,237,0.4);
    }

    /* FAQ 手风琴平滑效果 */
    .faq-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s ease-in-out;
    }
    .faq-item.open .faq-content {
      max-height: 300px;
    }
    .faq-indicator {
      transition: transform 0.3s ease;
    }
    .faq-item.open .faq-indicator {
      transform: rotate(180deg);
    }
    .faq-left-bar {
      width: 3px;
      background: transparent;
      transition: background 0.3s;
      border-radius: 0 4px 4px 0;
    }
    .faq-item.open .faq-left-bar {
      background: #7C3AED;
    }

    /* 底部移动导航 */
    .mobile-nav {
      background: rgba(10,10,15,0.96);
      backdrop-filter: blur(25px);
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* 几何水印 */
    .geometric-bg {
      background-image: radial-gradient(circle at 20% 30%, rgba(124,58,237,0.08) 0%, transparent 35%),
                        radial-gradient(circle at 80% 70%, rgba(245,158,11,0.06) 0%, transparent 40%);
    }

    @media (max-width: 768px) {
      .desktop-nav {
        display: none !important;
      }
      .mobile-nav {
        display: flex;
      }
      .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.15 !important;
      }
    }
    @media (min-width: 769px) {
      .mobile-nav {
        display: none !important;
      }
    }
