/* roulang page: index */
/* 全局设计变量与基础重置 */
    :root {
      --primary: #8A2BE2;
      --primary-light: #BF5AF2;
      --accent: #FF4D00;
      --bg-dark: #0A0A0F;
      --card-bg: #14141F;
      --text-primary: #F5F5F7;
      --text-secondary: #A0A0B0;
      --border-glow: rgba(191, 90, 242, 0.25);
      --shadow-glow: 0 0 30px rgba(138, 43, 226, 0.4);
      --font-display: 'Orbitron', sans-serif;
      --font-body: 'Noto Sans SC', sans-serif;
      --radius-card: 16px;
      --radius-sm: 4px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      background-color: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.8;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-display);
      letter-spacing: 0.05em;
      transition: all 0.25s ease;
    }

    /* 自定义容器 */
    .container-custom {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    @media (max-width: 768px) {
      .container-custom {
        padding: 0 1.5rem;
      }
    }

    /* 沉浸式导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      background: rgba(10, 10, 15, 0.8);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(191, 90, 242, 0.15);
      padding: 0.8rem 0;
      transition: background 0.3s;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo-text {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.8rem;
      letter-spacing: 0.1em;
      background: linear-gradient(135deg, #BF5AF2, #8A2BE2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 15px rgba(138,43,226,0.5);
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    .nav-link {
      font-family: var(--font-body);
      font-weight: 500;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-secondary);
      position: relative;
      padding-bottom: 4px;
      transition: color 0.2s;
    }

    .nav-link:hover,
    .nav-link.active {
      color: white;
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      box-shadow: 0 0 12px var(--primary-light);
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 1.8rem;
    }

    /* 移动端底部胶囊导航 (默认隐藏, 小屏显示) */
    .mobile-bottom-nav {
      display: none;
    }

    /* 斜切角按钮 */
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #CC3F00);
      color: white;
      border: none;
      padding: 0.9rem 2.2rem;
      font-weight: 700;
      font-size: 1rem;
      clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 30%);
      display: inline-block;
      text-align: center;
      box-shadow: 0 0 25px rgba(255, 77, 0, 0.4);
      transition: all 0.3s ease;
    }

    .btn-primary:hover {
      transform: scale(1.05);
      background: linear-gradient(135deg, #FF5A1F, #E04400);
      box-shadow: 0 0 35px rgba(255, 77, 0, 0.7);
      color: white;
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--border-glow);
      color: white;
      padding: 0.7rem 2rem;
      clip-path: polygon(5% 0, 100% 0, 100% 75%, 95% 100%, 0 100%, 0 25%);
      font-weight: 600;
      backdrop-filter: blur(5px);
    }

    .btn-ghost:hover {
      background: rgba(138,43,226,0.15);
      border-color: var(--primary-light);
    }

    /* 卡片光晕 */
    .glow-card {
      background: var(--card-bg);
      border: 1px solid rgba(191, 90, 242, 0.2);
      border-radius: var(--radius-card);
      box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
      transition: all 0.3s ease;
    }

    .glow-card:hover {
      box-shadow: var(--shadow-glow);
      border-color: rgba(191,90,242,0.5);
      transform: translateY(-5px);
    }

    /* 手风琴样式 */
    .faq-item {
      border-bottom: 1px solid rgba(191,90,242,0.2);
    }
    .faq-question {
      cursor: pointer;
      padding: 1.5rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 1.2rem;
      transition: color 0.2s;
    }
    .faq-icon {
      font-size: 1.8rem;
      font-weight: 300;
      transition: transform 0.3s, color 0.3s;
      color: #7f8c8d;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 1.5rem;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
      color: var(--primary-light);
    }
    .faq-item.active .faq-question {
      color: white;
    }

    /* 瀑布流布局 */
    .masonry-grid {
      column-count: 3;
      column-gap: 1.8rem;
    }
    .masonry-item {
      break-inside: avoid;
      margin-bottom: 1.8rem;
    }

    /* 动画粒子背景 canvas */
    #particle-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .masonry-grid {
        column-count: 2;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
      }
      .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(20,20,30,0.9);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(191,90,242,0.3);
        justify-content: space-around;
        padding: 0.7rem 1rem;
        z-index: 50;
        border-radius: 20px 20px 0 0;
      }
      .mobile-bottom-nav a {
        color: #aaa;
        font-size: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-weight: 500;
      }
      .mobile-bottom-nav a.active {
        color: var(--primary-light);
      }
      .hero-section {
        flex-direction: column;
      }
      .hero-left, .hero-right {
        width: 100% !important;
      }
      .masonry-grid {
        column-count: 1;
      }
      .comparison-grid {
        flex-direction: column;
      }
    }

    @media (max-width: 520px) {
      .container-custom {
        padding: 0 1rem;
      }
    }
