/* roulang page: index */
:root {
      --bg-deep: #0A0E27;
      --bg-darker: #060B1E;
      --primary-purple: #7B2FF7;
      --accent-cyan: #00E5FF;
      --gold-star: #FFD700;
      --text-white: #FFFFFF;
      --text-light: rgba(255, 255, 255, 0.8);
      --text-dim: rgba(255, 255, 255, 0.7);
      --text-muted: rgba(255, 255, 255, 0.5);
      --card-bg: rgba(255, 255, 255, 0.04);
      --card-border: rgba(255, 255, 255, 0.08);
      --glass-blur: blur(16px);
      --radius-card: 16px;
      --radius-btn: 50px;
      --shadow-glow: 0 0 24px rgba(123, 47, 247, 0.6);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-number: 'Inter', 'SF Pro Display', sans-serif;
      --transition-smooth: 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      background-color: var(--bg-deep);
      font-family: var(--font-sans);
      color: var(--text-white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      position: relative;
    }

    /* 星空噪点纹理背景 */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(/%23noise)' opacity='0.08'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(10, 14, 39, 0.85);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border-bottom: 1px solid transparent;
      background-image: linear-gradient(rgba(123, 47, 247, 0.3), transparent);
      background-origin: border-box;
      background-clip: padding-box, border-box;
      z-index: 100;
      display: flex;
      align-items: center;
      transition: var(--transition-smooth);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-white);
      text-decoration: none;
      letter-spacing: 1px;
    }

    .logo svg {
      width: 32px;
      height: 32px;
      fill: none;
      stroke: url(#logoGradient);
      stroke-width: 2;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-light);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-cyan);
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--accent-cyan);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary-purple);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-family: var(--font-number);
      text-decoration: none;
      box-shadow: 0 0 20px rgba(123, 47, 247, 0.5);
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      display: inline-block;
      font-size: 0.95rem;
      letter-spacing: 0.5px;
    }

    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(123, 47, 247, 0.8);
      transform: scale(1.03);
      background: #8f44ff;
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--accent-cyan);
      color: var(--accent-cyan);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-family: var(--font-number);
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-block;
      font-size: 0.95rem;
    }

    .btn-outline:hover {
      background: rgba(0, 229, 255, 0.1);
      box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
      transform: scale(1.03);
    }

    /* 移动端导航汉堡 */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 101;
    }
    .menu-toggle span {
      width: 28px;
      height: 2px;
      background: white;
      transition: 0.3s;
      border-radius: 2px;
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
      position: relative;
      z-index: 1;
    }

    h2 {
      font-size: 2.3rem;
      font-weight: 600;
      margin-bottom: 16px;
      color: white;
      position: relative;
      display: inline-block;
    }
    h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 60%;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-purple), transparent);
    }

    .section-subtitle {
      color: var(--text-dim);
      font-size: 1.1rem;
      margin-bottom: 48px;
      max-width: 700px;
    }

    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 30% 40%, #1A1050 0%, #0A0E27 80%);
      position: relative;
      overflow: hidden;
    }
    .hero-content {
      display: flex;
      flex-direction: column;
      max-width: 700px;
    }
    .hero h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
      background: linear-gradient(to right, #fff, #d0c0ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero .highlight {
      background: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p {
      font-size: 1.2rem;
      color: var(--text-dim);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .data-cards-floating {
      display: flex;
      gap: 20px;
      margin-top: 48px;
    }
    .stat-card {
      background: rgba(255,255,255,0.05);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 16px 20px;
      text-align: center;
      min-width: 110px;
    }
    .stat-number {
      font-size: 2.3rem;
      font-weight: 800;
      font-family: var(--font-number);
      color: var(--accent-cyan);
      text-shadow: 0 0 15px #00e5ff;
    }
    .stat-label {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* 卡片通用 */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }
    .glass-card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 32px;
      transition: all 0.3s ease;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    .glass-card:hover {
      border-color: var(--primary-purple);
      box-shadow: 0 0 20px rgba(123,47,247,0.3);
      transform: translateY(-6px);
    }
    .icon-circle {
      width: 64px;
      height: 64px;
      background: rgba(123,47,247,0.15);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--accent-cyan);
      font-size: 28px;
    }

    /* 数据看板 */
    #data .metric-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
    }
    .metric-card {
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 24px;
      padding: 28px 32px;
      text-align: center;
      flex: 1 1 180px;
    }
    .big-number {
      font-size: 3.5rem;
      font-weight: 800;
      font-family: var(--font-number);
      color: var(--gold-star);
      text-shadow: 0 0 20px #ffd700;
    }

    /* 对比区 */
    .compare-container {
      display: flex;
      gap: 40px;
      align-items: center;
      background: #060B1E;
      border-radius: 28px;
      padding: 48px;
      margin-top: 24px;
    }
    .compare-left, .compare-right {
      flex: 1;
    }
    .compare-divider {
      width: 2px;
      background: linear-gradient(to bottom, var(--primary-purple), transparent);
      height: 180px;
      margin: 0 20px;
    }
    .list-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
      color: var(--text-dim);
    }
    .list-item .icon-check {
      color: var(--accent-cyan);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding: 20px 0;
      cursor: pointer;
    }
    .faq-question {
      font-weight: 500;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-dim);
      margin-top: 0;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    /* 表单 */
    .contact-form input, .contact-form textarea {
      width: 100%;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      padding: 14px;
      color: white;
      margin-bottom: 16px;
      outline: none;
    }
    .contact-form input:focus, .contact-form textarea:focus {
      border-color: var(--primary-purple);
      box-shadow: 0 0 12px #7b2ff7;
    }

    footer {
      background: #060B1E;
      padding: 48px 0;
      color: var(--text-muted);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        background: #0A0E27;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 24px;
        gap: 20px;
      }
      .nav-links.active {
        display: flex;
      }
      .menu-toggle {
        display: flex;
      }
      .hero h1 {
        font-size: 2.4rem;
      }
      .compare-container {
        flex-direction: column;
      }
    }
