/* roulang page: index */
:root {
      --primary: #E8553D;
      --primary-hover: #D14935;
      --secondary: #1A1A2E;
      --accent: #00C9A7;
      --bg: #FBF9F6;
      --text: #1E1E1E;
      --muted: #5C5C5C;
      --border: #E5E0DA;
      --chip-bg: #F0EDE8;
      --white: #ffffff;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
      --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.04);
      --shadow-btn: 0 2px 8px rgba(232, 85, 61, 0.25);
    }
    * {
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      margin: 0;
      line-height: 1.7;
    }
    a {
      text-decoration: none;
      color: var(--primary);
      transition: color 0.2s;
    }
    a:hover {
      color: var(--accent);
      text-decoration: underline;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    /* 覆盖 Bootstrap 默认 */
    .btn-primary {
      background-color: var(--primary);
      border-color: var(--primary);
      border-radius: var(--radius-btn);
      font-weight: 600;
      padding: 0.75rem 2rem;
      box-shadow: var(--shadow-btn);
      transition: all 0.25s ease;
    }
    .btn-primary:hover, .btn-primary:focus {
      background-color: var(--primary-hover);
      border-color: var(--primary-hover);
      box-shadow: 0 4px 12px rgba(232, 85, 61, 0.4);
      transform: translateY(-2px);
    }
    .btn-outline-primary {
      border-color: var(--primary);
      color: var(--primary);
      border-radius: var(--radius-btn);
      font-weight: 600;
      padding: 0.75rem 2rem;
      background: transparent;
      transition: all 0.25s ease;
    }
    .btn-outline-primary:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-2px);
    }
    .container {
      max-width: 1200px;
      padding-left: 24px;
      padding-right: 24px;
      margin: 0 auto;
    }
    /* 导航栏 */
    .navbar-custom {
      background: rgba(251, 249, 246, 0.85);
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow-nav);
      padding: 0.8rem 0;
      position: sticky;
      top: 0;
      z-index: 1020;
      transition: background 0.3s;
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--primary) !important;
    }
    .navbar-brand span {
      color: var(--secondary);
      font-weight: 400;
      font-size: 0.9rem;
    }
    .nav-chip {
      background: var(--chip-bg);
      border-radius: 30px;
      padding: 0.4rem 1.2rem;
      margin: 0 0.2rem;
      font-weight: 500;
      color: var(--text);
      transition: all 0.2s;
      display: inline-block;
    }
    .nav-chip:hover, .nav-chip.active {
      background: var(--primary);
      color: white;
      text-decoration: none;
    }
    .navbar-toggler {
      border: none;
      color: var(--primary);
    }
    /* Hero */
    #hero {
      background: var(--bg) url('/assets/images/backpic/back-1.webp') no-repeat right bottom;
      background-size: contain;
      padding: 4rem 0 5rem;
      position: relative;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text);
    }
    .hero-sub {
      font-size: 1.1rem;
      color: var(--muted);
      max-width: 600px;
      margin: 1.5rem 0 2rem;
    }
    .floating-stats {
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(8px);
      border-radius: 20px;
      padding: 2rem;
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      box-shadow: var(--shadow-card);
    }
    .stat-item {
      text-align: center;
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.5rem;
      font-weight: 500;
      color: var(--primary);
      line-height: 1.2;
    }
    .stat-label {
      color: var(--muted);
      font-size: 0.9rem;
    }
    /* 指标看板 */
    .dashboard-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: 2rem 1.5rem;
      transition: all 0.3s ease;
      text-align: center;
    }
    .dashboard-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
      border-color: var(--primary);
    }
    .dashboard-number {
      font-family: var(--font-mono);
      font-size: 2.5rem;
      font-weight: 500;
      color: var(--primary);
    }
    /* 服务卡片 */
    .service-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 2rem;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .service-card.middle {
      transform: scale(1.02);
      box-shadow: var(--shadow-card);
      border-color: var(--primary);
      background: #FFFBF9;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card);
      border-color: var(--primary);
    }
    .service-icon {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }
    /* 对比表 */
    .comparison-table {
      background: white;
      border-radius: var(--radius-card);
      border: 1px solid var(--border);
      overflow: hidden;
    }
    .comp-header {
      background: var(--secondary);
      color: white;
      padding: 1.2rem;
      font-weight: 600;
      text-align: center;
    }
    .comp-header.highlight {
      background: var(--primary);
      position: relative;
    }
    .badge-recommend {
      background: var(--accent);
      color: #000;
      font-size: 0.75rem;
      border-radius: 20px;
      padding: 0.2rem 0.8rem;
      font-weight: 600;
    }
    /* FAQ */
    .accordion-button:not(.collapsed) {
      background-color: transparent;
      color: var(--primary);
      box-shadow: none;
      border-left: 3px solid var(--primary);
    }
    .accordion-button {
      font-weight: 600;
      background: white;
      border: none;
      border-left: 3px solid transparent;
      border-radius: 0 !important;
      padding-left: 1.5rem;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border);
      background: transparent;
    }
    /* 表单 */
    .form-control {
      border-radius: var(--radius-input);
      border: 1px solid var(--border);
      background: white;
      padding: 0.8rem 1rem;
    }
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(232,85,61,0.15);
    }
    footer {
      background: var(--secondary);
      color: #aaa;
      padding: 2rem 0;
      font-size: 0.9rem;
    }
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2rem;
      }
      .floating-stats {
        flex-direction: column;
        gap: 1rem;
      }
      .navbar-collapse {
        background: rgba(251,249,246,0.95);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
      }
      .nav-chip {
        display: block;
        margin: 0.3rem 0;
        text-align: center;
      }
    }
