/* roulang page: index */
:root {
      --deep-space: #0A0E1A;
      --electric-purple: #A855F7;
      --neon-cyan: #22D3EE;
      --text-primary: #E2E8F0;
      --text-secondary: #94A3B8;
      --card-bg: rgba(15, 23, 42, 0.6);
      --card-border: rgba(255, 255, 255, 0.08);
      --glass-blur: blur(16px);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-purple: 0 0 18px rgba(168, 85, 247, 0.5);
      --shadow-cyan: 0 0 12px rgba(34, 211, 238, 0.3);
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
      background-color: var(--deep-space);
      color: var(--text-primary);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input, textarea {
      font-family: inherit;
    }

    /* 自定义玻璃拟态卡片 */
    .glass-card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      transition: all 0.25s ease;
    }

    .glass-card:hover {
      border-color: rgba(168, 85, 247, 0.3);
      box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    }

    /* 发光阴影工具类 */
    .glow-purple {
      box-shadow: var(--shadow-purple);
    }

    .glow-cyan {
      box-shadow: var(--shadow-cyan);
    }

    .text-gradient {
      background: linear-gradient(to right, #c084fc, #22d3ee);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .border-glow-cyan {
      border: 1.5px solid var(--neon-cyan);
    }

    .hover-lift {
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hover-lift:hover {
      transform: translateY(-3px);
    }

    /* 导航卡片化面板 */
    .nav-panel {
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-icon-btn {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      color: var(--text-secondary);
    }

    .nav-icon-btn:hover {
      background: rgba(168, 85, 247, 0.15);
      color: var(--electric-purple);
      border: 1px solid rgba(168, 85, 247, 0.4);
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* FAQ手风琴 */
    .faq-item {
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: border-color 0.2s;
    }
    .faq-item[open] {
      border-color: rgba(168, 85, 247, 0.4);
      box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
    }
    .faq-summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.2rem 1.5rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .faq-summary::-webkit-details-marker {
      display: none;
    }
    .faq-icon {
      transition: transform 0.2s ease;
      color: var(--neon-cyan);
      font-size: 1.5rem;
    }
    details[open] .faq-icon {
      transform: rotate(45deg);
    }

    /* 输入框样式 */
    .custom-input {
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 0.8rem 1rem;
      width: 100%;
      color: #E2E8F0;
      transition: border-color 0.2s;
    }
    .custom-input:focus {
      outline: none;
      border-color: var(--neon-cyan);
      box-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
    }

    @media (max-width: 768px) {
      .desktop-nav {
        display: none !important;
      }
      .mobile-nav {
        display: flex !important;
      }
      h1 {
        font-size: 2.8rem !important;
      }
      .section-padding {
        padding: 60px 1rem !important;
      }
    }

    @media (min-width: 769px) {
      .mobile-nav {
        display: none !important;
      }
    }
