/* roulang page: index */
:root {
      --bs-body-bg: #1A1D23;
      --bs-body-color: #E8ECF1;
      --bs-primary: #00F0A8;
      --bs-border-radius: 12px;
      --primary-glow: #00F0A8;
      --secondary-glow: #00C8FF;
      --deep-bg: #1A1D23;
      --card-bg: rgba(20, 24, 36, 0.7);
      --border-light: rgba(0, 240, 168, 0.12);
      --text-main: #E8ECF1;
      --text-secondary: #8A8F9A;
      --text-muted: #545860;
      --danger: #FF4D6A;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
      --font-mono: "Inter", "SF Mono", "DIN", monospace;
      --glass-blur: blur(16px);
      --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
      --transition: 0.3s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--deep-bg);
      color: var(--text-main);
      margin: 0;
      line-height: 1.75;
      font-size: 15px;
      overflow-x: hidden;
      background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    a {
      color: var(--secondary-glow);
      text-decoration: none;
      transition: color 0.2s;
    }
    a:hover {
      color: var(--primary-glow);
      text-decoration: underline;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    h1, h2, h3, h4 {
      font-weight: 600;
      letter-spacing: -0.2px;
    }
    h1 {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--text-main);
    }
    h2 {
      font-size: 24px;
      margin-bottom: 1rem;
      color: var(--text-main);
    }
    h3 {
      font-size: 18px;
      color: var(--text-main);
    }

    .text-mono {
      font-family: var(--font-mono);
    }

    /* 布局：左侧导航 + 右侧内容 */
    .app-wrapper {
      display: flex;
      min-height: 100vh;
    }

    /* 左侧竖向导航（桌面） */
    .side-nav {
      width: 220px;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      background: rgba(15, 20, 32, 0.96);
      backdrop-filter: blur(20px);
      border-right: 1px solid rgba(0, 240, 168, 0.08);
      display: flex;
      flex-direction: column;
      z-index: 1040;
      padding: 1.5rem 0 1rem;
    }

    .brand-area {
      padding: 0 1.5rem 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-logo {
      font-weight: 700;
      font-size: 22px;
      color: var(--primary-glow);
      letter-spacing: 1px;
      display: flex;
      align-items: center;
    }
    .brand-icon {
      font-size: 28px;
      margin-right: 5px;
    }

    .nav-menu {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 0 1rem;
    }
    .nav-item {
      margin-bottom: 6px;
    }
    .nav-link-custom {
      display: flex;
      align-items: center;
      padding: 0.7rem 1rem;
      border-radius: 8px;
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 14px;
      transition: all 0.2s;
      border-left: 3px solid transparent;
      text-decoration: none;
    }
    .nav-link-custom i {
      width: 20px;
      margin-right: 10px;
      font-size: 16px;
    }
    .nav-link-custom:hover {
      background: rgba(0,240,168,0.04);
      color: var(--text-main);
      border-left-color: var(--primary-glow);
      text-decoration: none;
    }
    .nav-link-custom.active {
      color: var(--primary-glow);
      background: rgba(0,240,168,0.08);
      border-left-color: var(--primary-glow);
    }

    .side-footer {
      padding: 1.5rem 1.5rem 0;
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 右侧主内容 */
    .main-content {
      margin-left: 220px;
      width: calc(100% - 220px);
      max-width: 1200px;
      padding: 0 2rem;
    }

    /* 移动端顶部导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      background: rgba(15, 20, 32, 0.98);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(0,240,168,0.15);
      z-index: 1050;
      align-items: center;
      padding: 0 1.2rem;
    }
    .mobile-brand {
      font-weight: 700;
      font-size: 20px;
      color: var(--primary-glow);
    }
    .hamburger {
      background: transparent;
      border: none;
      color: var(--primary-glow);
      font-size: 24px;
      margin-left: auto;
    }
    .mobile-menu-overlay {
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      background: #0F1420;
      display: none;
      flex-direction: column;
      padding: 2rem;
      z-index: 1045;
    }
    .mobile-menu-overlay a {
      color: var(--text-secondary);
      font-size: 18px;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* 通用板块 */
    .section-padding {
      padding: 80px 0;
    }
    .glass-card {
      background: rgba(20, 24, 36, 0.7);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(0, 240, 168, 0.12);
      border-radius: 16px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 4px 24px rgba(0,0,0,0.3);
      transition: var(--transition);
    }
    .glass-card:hover {
      border-color: rgba(0,240,168,0.35);
      transform: translateY(-4px);
      box-shadow: 0 8px 32px rgba(0,240,168,0.08);
    }

    .btn-primary-glow {
      background: #00F0A8;
      border: none;
      color: #1A1D23;
      font-weight: 600;
      border-radius: 8px;
      padding: 12px 28px;
      box-shadow: 0 0 20px rgba(0,240,168,0.3), 0 4px 12px rgba(0,0,0,0.4);
      transition: 0.3s;
    }
    .btn-primary-glow:hover {
      box-shadow: 0 0 32px rgba(0,240,168,0.5), 0 6px 16px rgba(0,0,0,0.5);
      transform: translateY(-1px);
      background: #00F0A8;
      color: #1A1D23;
    }
    .btn-outline-glow {
      background: transparent;
      border: 1px solid rgba(0,240,168,0.4);
      color: #00F0A8;
      font-weight: 500;
      border-radius: 8px;
      padding: 12px 28px;
    }
    .btn-outline-glow:hover {
      border-color: #00F0A8;
      background: rgba(0,240,168,0.06);
      color: #00F0A8;
    }

    .form-control-custom {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(0,240,168,0.15);
      color: #E8ECF1;
      border-radius: 8px;
      padding: 12px 16px;
    }
    .form-control-custom:focus {
      border-color: #00F0A8;
      box-shadow: 0 0 0 0.2rem rgba(0,240,168,0.2);
      background: rgba(0,0,0,0.2);
    }

    @media (max-width: 768px) {
      .side-nav {
        display: none;
      }
      .mobile-nav {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0 1rem;
        margin-top: 60px;
      }
      .section-padding {
        padding: 48px 0;
      }
      h1 {
        font-size: 28px;
      }
      h2 {
        font-size: 22px;
      }
      .hero-data-panel {
        display: none;
      }
    }
