/* roulang page: index */
:root {
      --primary-purple: #A855F7;
      --primary-cyan: #22D3EE;
      --secondary-bg: #0B0F1E;
      --card-bg: #1E1B2E;
      --highlight-purple: #C084FC;
      --accent-orange: #F59E0B;
      --text-main: #E2E8F0;
      --text-muted: #94A3B8;
      --text-disabled: #475569;
      --border-light: rgba(255,255,255,0.06);
      --border-medium: rgba(255,255,255,0.10);
      --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
      --shadow-glow: 0 0 20px rgba(168,85,247,0.25);
      --radius-lg: 20px;
      --radius-xl: 24px;
      --font-mono: 'SF Mono', 'Inter', 'Courier New', monospace;
      --transition: all 0.25s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background-color: var(--secondary-bg);
      color: var(--text-main);
      font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      line-height: 1.7;
      margin: 0;
      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: 40px 40px;
    }

    /* 自定义滚动条 */
    ::-webkit-scrollbar {
      width: 6px;
    }
    ::-webkit-scrollbar-track {
      background: #0B0F1E;
    }
    ::-webkit-scrollbar-thumb {
      background: #A855F7;
      border-radius: 3px;
    }

    a {
      text-decoration: none;
      color: var(--text-main);
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
    }

    /* 导航 */
    .navbar {
      background: rgba(8,12,30,0.65);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      transition: var(--transition);
      padding: 0.8rem 0;
    }
    .navbar.scrolled {
      background: #0B0F1E;
      backdrop-filter: blur(12px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 1px;
      background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
    }
    .navbar-brand i {
      font-size: 2rem;
      margin-right: 8px;
      background: linear-gradient(135deg, #A855F7, #22D3EE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .nav-link {
      color: var(--text-muted) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      padding: 0.5rem 0.8rem !important;
      border-radius: 30px;
      transition: var(--transition);
    }
    .nav-link:hover, .nav-link.active {
      color: white !important;
      background: rgba(168,85,247,0.15);
    }
    .btn-cta-nav {
      background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.6rem 1.8rem;
      border-radius: 50px;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(168,85,247,0.4);
      white-space: nowrap;
    }
    .btn-cta-nav:hover {
      background: linear-gradient(135deg, #C084FC, #2DD4EE);
      box-shadow: 0 0 25px rgba(168,85,247,0.7);
      transform: translateY(-2px);
      color: white;
    }
    .offcanvas {
      background: rgba(10, 15, 30, 0.9);
      backdrop-filter: blur(25px);
    }
    .offcanvas .nav-link {
      color: #E2E8F0 !important;
      font-size: 1.2rem;
      margin: 0.5rem 0;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, transparent 0%, #0A0D18 90%);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      text-shadow: 0 0 30px rgba(168,85,247,0.5);
      background: linear-gradient(to right, #C084FC, #22D3EE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
    }
    .hero .lead {
      font-size: 1.3rem;
      color: #CBD5E1;
      max-width: 700px;
      margin: 0 auto 2.5rem;
    }
    .btn-primary-glow {
      background: linear-gradient(135deg, #A855F7, #22D3EE);
      border: none;
      padding: 0.9rem 2.5rem;
      border-radius: 50px;
      font-weight: 600;
      color: white;
      transition: var(--transition);
      box-shadow: 0 6px 20px rgba(168,85,247,0.5);
      margin: 0.5rem;
    }
    .btn-primary-glow:hover {
      filter: brightness(1.15);
      box-shadow: 0 0 30px rgba(168,85,247,0.8);
      transform: translateY(-3px);
      color: white;
    }
    .btn-outline-neon {
      border: 1.5px solid #A855F7;
      background: transparent;
      color: #E2E8F0;
      padding: 0.9rem 2.5rem;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
      margin: 0.5rem;
    }
    .btn-outline-neon:hover {
      background: rgba(168,85,247,0.15);
      border-color: #22D3EE;
      color: white;
      box-shadow: 0 0 20px rgba(34,211,238,0.3);
    }

    /* 粒子动画 */
    .particle {
      position: absolute;
      background: rgba(168,85,247,0.4);
      border-radius: 50%;
      filter: blur(2px);
      animation: float 6s infinite ease-in-out;
      z-index: 1;
      pointer-events: none;
    }
    @keyframes float {
      0% { transform: translateY(0px) scale(1); opacity: 0.3; }
      50% { transform: translateY(-30px) scale(1.2); opacity: 0.7; }
      100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    }

    /* 通用区块 */
    section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1rem;
      color: white;
      position: relative;
    }
    .section-title::after {
      content: '';
      display: block;
      width: 70px;
      height: 4px;
      background: linear-gradient(to right, #A855F7, #22D3EE);
      margin: 0.8rem auto 0;
      border-radius: 4px;
    }
    .section-subtitle {
      color: #94A3B8;
      text-align: center;
      margin-bottom: 3.5rem;
      font-size: 1.15rem;
    }

    /* 数据卡片 */
    .stat-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 16px;
      padding: 2rem;
      text-align: center;
      transition: var(--transition);
      height: 100%;
    }
    .stat-card:hover {
      border-color: rgba(168,85,247,0.6);
      box-shadow: 0 0 25px rgba(168,85,247,0.25);
      transform: translateY(-6px);
    }
    .stat-number {
      font-size: 3rem;
      font-weight: 800;
      font-family: var(--font-mono);
      background: linear-gradient(135deg, #A855F7, #22D3EE);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.5rem;
    }

    /* 服务卡片 */
    .service-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 20px;
      padding: 32px;
      transition: var(--transition);
      height: 100%;
    }
    .service-card:hover {
      background: rgba(255,255,255,0.05);
      border-color: rgba(168,85,247,0.5);
      box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }
    .service-icon {
      font-size: 2.3rem;
      color: #A855F7;
      margin-bottom: 1.2rem;
    }
    .service-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.8rem;
    }
    .service-link {
      color: #A855F7;
      font-weight: 500;
      margin-top: 1rem;
      display: inline-block;
    }
    .service-link i {
      transition: transform 0.2s;
    }
    .service-link:hover i {
      transform: translateX(6px);
    }

    /* 对比区域 */
    .comparison-left {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      padding: 2rem;
      opacity: 0.8;
    }
    .comparison-right {
      background: rgba(168,85,247,0.08);
      border: 1px solid #A855F7;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 0 30px rgba(168,85,247,0.3);
    }
    .vs-badge {
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #A855F7;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.2);
    }

    /* FAQ */
    .accordion-button {
      background: transparent;
      color: #E2E8F0;
      font-weight: 600;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      box-shadow: none;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(255,255,255,0.02);
      color: white;
      box-shadow: none;
      border-left: 4px solid #A855F7;
    }
    .accordion-body {
      background: rgba(255,255,255,0.02);
      color: #CBD5E1;
      line-height: 1.8;
    }

    /* 表单 */
    .form-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 24px;
      padding: 2.5rem;
      max-width: 680px;
      margin: 0 auto;
      box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
    }
    .form-control, .form-select {
      background: #141A2E;
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      border-radius: 12px;
      padding: 0.7rem 1rem;
    }
    .form-control:focus, .form-select:focus {
      border-color: #A855F7;
      box-shadow: 0 0 12px rgba(168,85,247,0.5);
      background: #1E2537;
      color: white;
    }
    .btn-submit {
      background: linear-gradient(135deg, #A855F7, #22D3EE);
      border: none;
      width: 100%;
      padding: 0.9rem;
      border-radius: 50px;
      font-weight: 700;
      color: white;
      transition: var(--transition);
    }
    .btn-submit:hover {
      filter: brightness(1.15);
      transform: scale(1.02);
    }

    footer {
      background: #060A14;
      border-top: 1px solid rgba(255,255,255,0.05);
      color: #94A3B8;
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.4rem;
      }
      .section-title {
        font-size: 2rem;
      }
      .navbar-brand {
        font-size: 1.5rem;
      }
    }
