/* roulang page: index */
:root {
      --primary: #7B2FFF;
      --primary-glow: rgba(123, 47, 255, 0.6);
      --secondary: #00F0B5;
      --bg-dark: #0D0D0F;
      --bg-card: #1A1A1E;
      --bg-footer: #0A0A0C;
      --text-main: #FFFFFF;
      --text-body: #B0B0C0;
      --text-highlight: #00F0B5;
      --border-subtle: rgba(123, 47, 255, 0.15);
      --shadow-card: 0 8px 32px rgba(123, 47, 255, 0.12);
      --radius-lg: 20px;
      --radius-md: 16px;
      --radius-sm: 12px;
      --transition: all 0.3s ease;
      --font-heading: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
      --font-mono: 'Space Grotesk', 'Inter', monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-body);
      font-family: var(--font-body);
      line-height: 1.6;
      margin: 0;
      overflow-x: hidden;
    }

    h1, h2, h3, .h1, .h2, .h3 {
      font-family: var(--font-heading);
      font-weight: 700;
      color: var(--text-main);
    }

    h1 {
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    .text-highlight {
      color: var(--secondary);
    }

    .text-primary-glow {
      color: var(--primary);
      text-shadow: 0 0 8px var(--primary-glow);
    }

    a {
      color: var(--text-body);
      text-decoration: none;
      transition: var(--transition);
    }
    a:hover {
      color: var(--secondary);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 自定义 Bootstrap 覆盖 */
    .btn {
      border-radius: 40px;
      padding: 0.7rem 1.8rem;
      font-weight: 600;
      transition: var(--transition);
      border: none;
      font-family: var(--font-body);
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 15px rgba(123, 47, 255, 0.4);
    }
    .btn-primary:hover {
      background: linear-gradient(135deg, var(--primary), #9d4eff);
      box-shadow: 0 8px 20px rgba(123, 47, 255, 0.6);
      transform: translateY(-2px);
    }
    .btn-outline-light {
      border: 1px solid rgba(255,255,255,0.25);
      color: white;
      background: transparent;
    }
    .btn-outline-light:hover {
      background: rgba(255,255,255,0.08);
      border-color: var(--secondary);
      color: var(--secondary);
    }
    .btn-secondary-glow {
      background: transparent;
      border: 2px solid var(--secondary);
      color: var(--secondary);
    }
    .btn-secondary-glow:hover {
      background: var(--secondary);
      color: #0D0D0F;
      box-shadow: 0 0 15px var(--secondary);
    }

    .card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      color: var(--text-body);
    }
    .card:hover {
      transform: translateY(-6px);
      border-color: var(--primary);
      box-shadow: 0 16px 40px rgba(123, 47, 255, 0.3);
      background-color: #22222A;
    }

    .form-control {
      background-color: #2A2A32;
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      border-radius: 30px;
      padding: 0.8rem 1.5rem;
    }
    .form-control:focus {
      background-color: #2A2A32;
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(123, 47, 255, 0.25);
      color: white;
    }

    /* 导航 */
    .navbar {
      background: rgba(13, 13, 15, 0.8);
      backdrop-filter: blur(15px);
      height: 72px;
      border-bottom: 1px solid rgba(123, 47, 255, 0.15);
    }
    .navbar-brand {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.6rem;
      color: white;
      letter-spacing: 2px;
    }
    .navbar-brand span {
      color: var(--secondary);
    }
    .nav-link {
      color: var(--text-body) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      position: relative;
    }
    .nav-link.active, .nav-link:hover {
      color: var(--secondary) !important;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--secondary);
      transition: width 0.3s;
    }
    .nav-link:hover::after, .nav-link.active::after {
      width: 100%;
    }

    /* 移动底部Tab */
    .mobile-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(13, 13, 15, 0.9);
      backdrop-filter: blur(20px);
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 64px;
      border-top: 1px solid rgba(123, 47, 255, 0.15);
      z-index: 1000;
    }
    .tab-item {
      color: #A0A0B0;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.75rem;
      transition: 0.2s;
    }
    .tab-item i {
      font-size: 1.3rem;
      margin-bottom: 2px;
    }
    .tab-item.active {
      color: var(--primary);
      transform: scale(1.05);
    }

    /* Hero */
    .hero-section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .hero-overlay {
      background: rgba(13,13,15,0.75);
      position: absolute;
      inset: 0;
    }
    .data-badge {
      background: rgba(26,26,30,0.8);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 1rem;
      border: 1px solid var(--border-subtle);
    }
    .counter {
      font-family: var(--font-mono);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--secondary);
    }

    /* 服务卡片 */
    .service-icon {
      font-size: 2.2rem;
      color: var(--secondary);
      margin-bottom: 1rem;
    }

    /* 数据对比条 */
    .progress-bar-custom {
      height: 12px;
      border-radius: 20px;
      background: #2A2A32;
    }
    .progress-fill-left {
      background: #4A4A5A;
      width: 40%;
      height: 100%;
      border-radius: 20px;
    }
    .progress-fill-right {
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      width: 85%;
      height: 100%;
      border-radius: 20px;
    }

    footer {
      background: var(--bg-footer);
    }
    footer a {
      color: #9A9AA8;
    }
    footer a:hover {
      color: var(--secondary);
    }

    @media (max-width: 992px) {
      h1 { font-size: 2.2rem; }
      .navbar .nav-link { display: none; }
      .mobile-bottom-nav { display: flex; }
    }
    @media (min-width: 992px) {
      .mobile-bottom-nav { display: none; }
    }
