/* roulang page: index */
:root {
      --primary: #7B2FBE;
      --primary-hover: #9540E0;
      --accent: #00F0B5;
      --bg-dark: #0E0E12;
      --surface: #1A1A22;
      --text-primary: #F2F2F5;
      --text-secondary: #A0A0B0;
      --border-light: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(123, 47, 190, 0.7);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
      --shadow-glow: 0 8px 30px rgba(123,47,190,0.25);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --spacing-section-desktop: 100px;
      --spacing-section-mobile: 60px;
      --container-max: 1140px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      padding-bottom: 70px; /* 移动端底部导航高度 */
    }

    /* 重置Bootstrap默认样式 */
    a {
      text-decoration: none;
      color: var(--text-primary);
      transition: color 0.2s, border-color 0.2s;
    }
    a:hover {
      color: var(--accent);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 板块间距 */
    section {
      padding-top: var(--spacing-section-desktop);
      padding-bottom: var(--spacing-section-desktop);
    }

    h1 {
      font-size: 2.8rem;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.5px;
      color: var(--text-primary);
    }
    h2 {
      font-size: 2rem;
      font-weight: 650;
      line-height: 1.35;
      margin-bottom: 2.5rem;
      color: var(--text-primary);
      position: relative;
    }
    h2::after {
      content: '';
      display: block;
      width: 60px;
      height: 3px;
      background: var(--accent);
      margin-top: 0.75rem;
      border-radius: 2px;
    }
    h3 {
      font-size: 1.35rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .text-secondary {
      color: var(--text-secondary);
      font-size: 1rem;
      line-height: 1.7;
    }
    .small-text {
      font-size: 0.85rem;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* 按钮 */
    .btn-primary-custom {
      background: var(--primary);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: var(--radius-btn);
      letter-spacing: 0.5px;
      transition: all 0.25s ease;
      display: inline-block;
      text-align: center;
      font-size: 1rem;
      box-shadow: 0 4px 12px rgba(123,47,190,0.3);
      border: 1px solid transparent;
    }
    .btn-primary-custom:hover {
      background: var(--primary-hover);
      box-shadow: 0 0 15px rgba(0,240,181,0.4), 0 0 30px rgba(123,47,190,0.5);
      color: white;
      transform: translateY(-1px);
    }
    .btn-outline-accent {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 0.65rem 1.8rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
    }
    .btn-outline-accent:hover {
      background: var(--accent);
      color: #0E0E12;
    }

    /* 导航 */
    .navbar-custom {
      background: var(--bg-dark);
      border-bottom: 1px solid rgba(123,47,190,0.25);
      padding: 0.8rem 0;
      position: sticky;
      top: 0;
      z-index: 1020;
      backdrop-filter: blur(6px);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--text-primary);
      letter-spacing: 0.5px;
    }
    .navbar-brand span {
      color: var(--accent);
    }
    .nav-link {
      color: var(--text-secondary) !important;
      font-weight: 500;
      margin: 0 0.3rem;
      transition: 0.2s;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--accent) !important;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -4px;
      left: 0;
      background: var(--accent);
      transition: width 0.25s;
    }
    .nav-link:hover::after, .nav-link.active::after {
      width: 100%;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: var(--bg-dark);
      border-top: 1px solid rgba(123,47,190,0.25);
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 0.5rem 0;
      z-index: 1030;
      backdrop-filter: blur(8px);
    }
    .mobile-tab {
      color: var(--text-secondary);
      font-size: 0.7rem;
      text-align: center;
      flex: 1;
      transition: 0.2s;
    }
    .mobile-tab i {
      font-size: 1.3rem;
      display: block;
      margin-bottom: 2px;
    }
    .mobile-tab.active {
      color: var(--primary);
    }
    @media (min-width: 992px) {
      .mobile-bottom-nav {
        display: none;
      }
      body {
        padding-bottom: 0;
      }
    }

    /* Hero */
    .hero-section {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      min-height: 85vh;
      display: flex;
      align-items: center;
    }
    .hero-overlay {
      background: rgba(14,14,18,0.75);
      position: absolute;
      inset: 0;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
    }
    .hero-sub {
      font-size: 1.1rem;
      color: var(--text-secondary);
      max-width: 500px;
      margin: 1.5rem 0;
    }

    /* 卡片通用 */
    .card-custom {
      background: var(--surface);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      height: 100%;
    }
    .card-custom:hover {
      border-color: var(--border-hover);
      box-shadow: var(--shadow-glow);
      transform: translateY(-3px);
    }

    /* 优势图标 */
    .icon-accent {
      color: var(--accent);
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    /* 服务卡片图片 */
    .service-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: var(--radius-card) var(--radius-card) 0 0;
    }
    .tag {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      font-size: 0.75rem;
      display: inline-block;
      margin-right: 0.4rem;
    }

    /* 数据数字 */
    .stat-number {
      font-size: 2.6rem;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
    }

    /* FAQ手风琴重写 */
    .accordion-button {
      background-color: var(--surface);
      color: var(--text-primary);
      font-weight: 600;
      border: none;
      box-shadow: none;
      padding: 1.2rem 1.5rem;
      border-left: 4px solid transparent;
      transition: 0.2s;
    }
    .accordion-button:not(.collapsed) {
      background-color: var(--surface);
      color: var(--primary);
      border-left: 4px solid var(--primary);
      box-shadow: none;
    }
    .accordion-button::after {
      filter: brightness(0) invert(1);
    }
    .accordion-item {
      background: transparent;
      border: 1px solid var(--border-light);
      margin-bottom: 0.8rem;
      border-radius: var(--radius-card);
      overflow: hidden;
    }
    .accordion-body {
      background: var(--bg-dark);
      color: var(--text-secondary);
    }

    /* 表单 */
    .form-control {
      background: var(--surface);
      border: 1px solid var(--border-light);
      color: var(--text-primary);
      border-radius: var(--radius-input);
      padding: 0.8rem 1rem;
    }
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(123,47,190,0.25);
      background: var(--surface);
      color: white;
    }

    footer {
      background: var(--bg-dark);
      border-top: 1px solid rgba(123,47,190,0.2);
      padding: 2rem 0;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      section {
        padding-top: var(--spacing-section-mobile);
        padding-bottom: var(--spacing-section-mobile);
      }
      h1 {
        font-size: 2.2rem;
      }
      h2 {
        font-size: 1.8rem;
      }
      .container {
        padding-left: 16px;
        padding-right: 16px;
      }
    }
