/* roulang page: index */
:root {
      --bg-deep: #0D0B1E;
      --bg-alt: #11102A;
      --primary: #4A3AFF;
      --primary-hover: #5C4EFF;
      --accent: #00F0B5;
      --accent-glow: rgba(0,240,181,0.6);
      --text-primary: #EDEDF5;
      --text-secondary: #9B9AB8;
      --card-bg: rgba(255,255,255,0.03);
      --card-border: rgba(255,255,255,0.06);
      --success: #00D68F;
      --warning: #FF8C42;
      --radius-lg: 16px;
      --radius-pill: 50px;
      --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
      --shadow-glow: 0 0 24px rgba(74,58,255,0.5);
      --shadow-neon: 0 0 28px rgba(0,240,181,0.6);
      --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      --font-chinese: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --transition: all 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-chinese);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    h1, h2, h3, .h2, .h3 {
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    h1 {
      font-size: 52px;
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: 36px;
      line-height: 1.3;
      margin-bottom: 16px;
    }

    h3 {
      font-size: 22px;
      line-height: 1.4;
      font-weight: 600;
    }

    p {
      color: var(--text-secondary);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-chinese);
      border: none;
      background: none;
      font-weight: 600;
      letter-spacing: 0.04em;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(13, 11, 30, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      z-index: 100;
      padding: 0 24px;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1280px;
      margin: 0 auto;
      height: 72px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 24px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: 0.02em;
    }
    .logo-icon {
      font-size: 28px;
      filter: drop-shadow(0 0 8px var(--primary));
    }

    .nav-links {
      display: flex;
      gap: 32px;
    }
    .nav-links a {
      color: var(--text-secondary);
      font-weight: 500;
      position: relative;
      padding: 8px 0;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-radius: var(--radius-pill);
      padding: 12px 28px;
      box-shadow: var(--shadow-glow);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 0 36px rgba(74,58,255,0.7);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.2);
      color: white;
      border-radius: var(--radius-pill);
      padding: 12px 28px;
    }
    .btn-secondary:hover {
      border-color: var(--primary);
      background: rgba(74,58,255,0.08);
    }

    .btn-neon {
      background: var(--accent);
      color: #0D0B1E;
      border-radius: var(--radius-pill);
      padding: 16px 40px;
      font-weight: 700;
      box-shadow: var(--shadow-neon);
    }
    .btn-neon:hover {
      box-shadow: 0 0 44px rgba(0,240,181,0.9);
      transform: scale(1.03);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: var(--text-primary);
      transition: 0.2s;
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
    }
    .section-alt {
      background-color: var(--bg-alt);
    }

    /* Hero */
    .hero {
      padding-top: 140px;
      padding-bottom: 100px;
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .hero-content h1 {
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 20px;
      margin-bottom: 40px;
      color: var(--text-secondary);
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-visual {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      background: radial-gradient(circle at 30% 40%, rgba(74,58,255,0.25), transparent 70%);
    }
    .hero-visual img {
      width: 100%;
      height: auto;
      border-radius: 20px;
      opacity: 0.9;
    }
    .dynamic-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0,240,181,0.08), transparent);
      pointer-events: none;
    }

    /* 网格卡片 */
    .grid-2x3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .glass-card {
      background: var(--card-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
    }
    .glass-card:hover {
      border-color: var(--primary);
      box-shadow: 0 12px 40px rgba(74,58,255,0.25);
      transform: translateY(-4px);
    }
    .icon-accent {
      font-size: 32px;
      color: var(--accent);
      margin-bottom: 20px;
    }

    /* 功能标签切换 */
    .feature-tabs {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 40px;
    }
    .tab-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .tab-item {
      padding: 16px 20px;
      border-radius: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      transition: 0.2s;
      cursor: pointer;
    }
    .tab-item.active {
      background: rgba(74,58,255,0.15);
      color: white;
      border-left: 4px solid var(--primary);
    }
    .tab-content {
      background: rgba(255,255,255,0.02);
      border-radius: 20px;
      padding: 24px;
    }

    /* 横向滚动 */
    .scroll-x {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: thin;
      scrollbar-color: var(--primary) transparent;
    }
    .scroll-card {
      min-width: 280px;
      background: var(--card-bg);
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--card-border);
    }

    /* 数据看板 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .stat-item {
      text-align: center;
      background: radial-gradient(circle at center, rgba(74,58,255,0.2), transparent);
      padding: 32px 16px;
      border-radius: 24px;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .faq-question {
      width: 100%;
      text-align: left;
      padding: 24px 0;
      font-weight: 700;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      color: white;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      h1 { font-size: 42px; }
      .grid-2x3 { grid-template-columns: repeat(2, 1fr); }
      .feature-tabs { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .nav-links, .nav .btn-primary { display: none; }
      .hamburger { display: flex; }
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
      .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
      h1 { font-size: 32px; }
      h2 { font-size: 28px; }
      .grid-2x3 { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .scroll-x { flex-direction: column; }
    }
