/* roulang page: index */
:root {
      --primary: #1A5F7A;
      --secondary: #0EA5E9;
      --accent: #F59E0B;
      --bg-light: #F8FAFC;
      --card-bg: #FFFFFF;
      --dark-bg: #0F172A;
      --dark-text: #0F172A;
      --body-text: #334155;
      --muted-text: #64748B;
      --light-text: #F1F5F9;
      --border: #E2E8F0;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 1px 3px rgba(15,23,42,0.06);
      --shadow-hover: 0 8px 24px rgba(15,23,42,0.12);
      --shadow-data: 0 4px 12px rgba(26,95,122,0.08);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-mono: "Inter", "SF Mono", monospace;
      --navbar-width: 240px;
      --navbar-width-lg: 200px;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--body-text);
      line-height: 1.6;
      overflow-x: hidden;
    }
    h1, h2, h3, h4, .h1, .h2, .h3 {
      font-weight: 600;
      color: var(--dark-text);
      letter-spacing: -0.2px;
    }
    h1 {
      font-size: 2rem;
      font-weight: 700;
      line-height: 1.25;
    }
    h2 {
      font-size: 1.75rem;
      line-height: 1.3;
      margin-bottom: 1rem;
    }
    .section-padding {
      padding: 80px 0;
    }
    .bg-dark-section {
      background-color: var(--dark-bg);
      color: var(--light-text);
    }
    .btn-primary-custom {
      background-color: var(--secondary);
      border: 1px solid var(--secondary);
      color: white;
      border-radius: var(--radius-sm);
      padding: 0.6rem 1.8rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }
    .btn-primary-custom:hover {
      background-color: #0284c7;
      border-color: #0284c7;
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 1px solid var(--secondary);
      color: var(--secondary);
      border-radius: var(--radius-sm);
      padding: 0.6rem 1.8rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }
    .btn-outline-custom:hover {
      background-color: var(--secondary);
      color: white;
    }
    /* 左侧导航覆盖 */
    .side-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--navbar-width);
      height: 100vh;
      background-color: var(--dark-bg);
      color: var(--light-text);
      display: flex;
      flex-direction: column;
      z-index: 1030;
      box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }
    .nav-brand {
      height: 80px;
      display: flex;
      align-items: center;
      padding: 0 1.5rem;
      font-weight: 700;
      font-size: 1.35rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-brand i {
      font-size: 1.8rem;
      color: var(--secondary);
      margin-right: 0.5rem;
    }
    .nav-menu {
      flex: 1;
      padding: 1.5rem 0.75rem;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .nav-item-custom {
      padding: 0.6rem 1rem;
      border-radius: 6px;
      color: #cbd5e1;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 500;
      position: relative;
      text-decoration: none;
    }
    .nav-item-custom:hover {
      background-color: rgba(255,255,255,0.06);
      color: white;
    }
    .nav-item-custom.active {
      background-color: rgba(14,165,233,0.15);
      color: var(--secondary);
    }
    .nav-item-custom.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 8px;
      width: 4px;
      background-color: var(--secondary);
      border-radius: 2px;
    }
    .nav-footer {
      padding: 1rem 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .main-content {
      margin-left: var(--navbar-width);
      transition: margin-left 0.25s;
    }
    /* 桌面小屏调整 */
    @media (max-width: 1199px) and (min-width: 992px) {
      .side-nav {
        width: var(--navbar-width-lg);
      }
      .main-content {
        margin-left: var(--navbar-width-lg);
      }
    }
    /* 移动端导航隐藏，使用顶部导航 */
    @media (max-width: 991px) {
      .side-nav {
        display: none;
      }
      .main-content {
        margin-left: 0;
      }
      .mobile-nav {
        display: block;
      }
    }
    .mobile-nav {
      display: none;
    }
    .navbar-dark-custom {
      background-color: var(--dark-bg);
    }
    .navbar-dark-custom .navbar-toggler {
      border-color: rgba(255,255,255,0.2);
    }
    .navbar-dark-custom .nav-link {
      color: #cbd5e1 !important;
    }
    /* Hero */
    .hero-section {
      background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.75)), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 100vh;
      display: flex;
      align-items: center;
      color: white;
    }
    .glass-card {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      border-radius: 16px;
      padding: 1.5rem;
      border: 1px solid rgba(255,255,255,0.15);
    }
    /* 卡片系统 */
    .card-custom {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      transition: all 0.25s ease;
    }
    .card-custom:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }
    .service-card {
      border-radius: 16px 4px 16px 4px;
      overflow: hidden;
      position: relative;
    }
    .service-card .decor-line {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px;
      width: 0%;
      background-color: var(--secondary);
      transition: width 0.3s ease;
    }
    .service-card:hover .decor-line {
      width: 100%;
    }
    .data-card {
      background: var(--card-bg);
      border-radius: 16px;
      box-shadow: var(--shadow-data);
      padding: 1.5rem;
      text-align: center;
    }
    .data-number {
      font-family: var(--font-mono);
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--dark-text);
    }
    .trend-up {
      color: #10B981;
    }
    .trend-down {
      color: #EF4444;
    }
    /* 对比区块 */
    .compare-left {
      background: #F1F5F9;
      color: #94A3B8;
    }
    .compare-right {
      background: #F0F9FF;
      color: var(--primary);
    }
    .strikethrough {
      text-decoration: line-through;
    }
    .highlight-underline {
      border-bottom: 3px solid var(--secondary);
    }
    /* FAQ 手风琴覆盖 */
    .accordion-button:not(.collapsed) {
      background-color: #fff;
      color: var(--secondary);
      box-shadow: none;
      border-left: 4px solid var(--secondary);
    }
    .accordion-button {
      font-weight: 500;
      border-left: 4px solid transparent;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border);
    }
    /* 表单 */
    .form-control:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
    }
    footer a {
      color: #94A3B8;
      text-decoration: none;
    }
    footer a:hover {
      color: #F1F5F9;
    }
    @media (max-width: 768px) {
      h1 {
        font-size: 1.75rem;
      }
      .section-padding {
        padding: 48px 0;
      }
    }
