/* roulang page: index */
:root {
      --primary: #1A5F7A;
      --secondary: #E85D04;
      --bg-light: #F8F9FA;
      --card-bg: #FFFFFF;
      --text-main: #2D3436;
      --text-muted: #636E72;
      --border-color: #DEE2E6;
      --success: #00B4D8;
      --footer-bg: #1A3C4A;
      --footer-text: #ADB5BD;
      --footer-line: #2C5A6E;
      --dock-bg: rgba(255, 255, 255, 0.95);
      
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --radius-dock: 40px;
      
      --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
      --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.10);
      --shadow-btn: 0 2px 8px rgba(232,93,4,0.3);
      
      --font-h1: 2.75rem;
      --font-h2: 2rem;
      --font-h3: 1.35rem;
      --font-body: 1rem;
      --font-small: 0.875rem;
      --font-metric: 3rem;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.7;
      font-size: var(--font-body);
      margin: 0;
      padding-top: 90px; /* 为固定导航留出空间 */
      -webkit-font-smoothing: antialiased;
    }
    
    /* 覆盖 Bootstrap 容器最大宽度 */
    .container {
      max-width: 1140px;
    }
    
    /* 浮动 Dock 导航 - 核心识别元素 */
    .navbar-dock {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 720px;
      background: var(--dock-bg);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 16px rgba(0,0,0,0.08);
      border-radius: var(--radius-dock);
      padding: 0.5rem 1.5rem;
      z-index: 1030;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.3s ease;
    }
    
    .navbar-brand-custom {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
      text-decoration: none;
      letter-spacing: -0.5px;
      margin-right: 1rem;
      white-space: nowrap;
    }
    
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.8rem;
    }
    
    .nav-link-anchor {
      color: var(--text-main);
      font-weight: 500;
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s;
      position: relative;
      padding-bottom: 4px;
      white-space: nowrap;
    }
    
    .nav-link-anchor:hover,
    .nav-link-anchor.active {
      color: var(--secondary);
    }
    
    .nav-link-anchor.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--secondary);
      border-radius: 2px;
    }
    
    .nav-cta-btn {
      background: var(--secondary);
      color: white;
      font-weight: 600;
      padding: 0.5rem 1.4rem;
      border-radius: 30px;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.25s ease;
      box-shadow: var(--shadow-btn);
      white-space: nowrap;
      margin-left: 0.5rem;
    }
    
    .nav-cta-btn:hover {
      background: #D14D00;
      color: white;
      box-shadow: 0 4px 14px rgba(232,93,4,0.4);
    }
    
    /* 移动端导航调整 */
    @media (max-width: 768px) {
      .navbar-dock {
        width: 92%;
        padding: 0.5rem 1rem;
      }
      .nav-links {
        display: none;
      }
      .navbar-brand-custom {
        font-size: 1.3rem;
      }
    }
    
    /* 覆盖 Bootstrap 按钮 */
    .btn-primary-custom {
      background-color: var(--secondary);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: var(--radius-btn);
      transition: all 0.25s ease;
      box-shadow: var(--shadow-btn);
      display: inline-block;
      text-decoration: none;
      border: 2px solid transparent;
    }
    
    .btn-primary-custom:hover {
      background-color: #D14D00;
      box-shadow: 0 6px 16px rgba(232,93,4,0.4);
      color: white;
    }
    
    .btn-outline-custom {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: var(--radius-btn);
      transition: all 0.25s ease;
      display: inline-block;
      text-decoration: none;
    }
    
    .btn-outline-custom:hover {
      background-color: var(--primary);
      color: white;
    }
    
    /* Hero 区域 */
    .hero-section {
      background: linear-gradient(135deg, rgba(26,95,122,0.85) 0%, rgba(0,0,0,0.5) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 85vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      position: relative;
    }
    
    .hero-content {
      animation: fadeInUp 0.8s ease-out;
    }
    
    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    h1 {
      font-size: var(--font-h1);
      font-weight: 700;
      line-height: 1.2;
      color: white;
      margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.25rem;
      opacity: 0.9;
      margin-bottom: 2.5rem;
    }
    
    /* 板块通用标题 */
    .section-title {
      font-size: var(--font-h2);
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 1rem;
    }
    
    .section-subtitle {
      color: var(--text-muted);
      margin-bottom: 3rem;
      font-size: 1.1rem;
    }
    
    /* 指标看板 */
    .metrics-section {
      background-color: #F1F3F5;
      padding: 4rem 0;
    }
    
    .metric-item {
      text-align: center;
      padding: 1.5rem;
    }
    
    .metric-number {
      font-size: var(--font-metric);
      font-weight: 800;
      color: var(--secondary);
      line-height: 1.2;
    }
    
    .metric-label {
      font-size: var(--font-small);
      color: var(--text-muted);
      margin-top: 0.5rem;
    }
    
    /* 服务卡片 */
    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      height: 100%;
      border: 1px solid var(--border-color);
    }
    
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }
    
    .icon-circle {
      width: 64px;
      height: 64px;
      background-color: rgba(26,95,122,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      color: var(--primary);
      font-size: 1.8rem;
    }
    
    .service-title {
      font-size: var(--font-h3);
      font-weight: 600;
      margin-bottom: 0.8rem;
    }
    
    .service-desc {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 1.2rem;
    }
    
    .text-link {
      color: var(--secondary);
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
    }
    
    .text-link:hover {
      text-decoration: underline;
      color: #D14D00;
    }
    
    /* 结果对比 */
    .compare-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      height: 100%;
    }
    
    .compare-old {
      background-color: #f9f9f9;
      border-left: 4px solid #ccc;
    }
    
    .compare-new {
      background-color: #E8F4F8;
      border-left: 4px solid var(--success);
    }
    
    .compare-list {
      list-style: none;
      padding-left: 0;
      margin-top: 1.5rem;
    }
    
    .compare-list li {
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    
    .cross-icon {
      color: #d9534f;
      opacity: 0.7;
    }
    
    .check-icon {
      color: var(--success);
    }
    
    /* FAQ 手风琴覆盖 */
    .accordion-button:not(.collapsed) {
      background-color: transparent;
      color: var(--primary);
      box-shadow: none;
      font-weight: 600;
    }
    
    .accordion-button:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(26,95,122,0.25);
    }
    
    .accordion-item {
      border: 1px solid var(--border-color);
      margin-bottom: 0.5rem;
      border-radius: var(--radius-card) !important;
    }
    
    /* 表单区 */
    .contact-section {
      background-color: #E8F4F8;
      padding: 4rem 0;
    }
    
    .form-control-custom {
      border-radius: var(--radius-input);
      border: 1px solid #CED4DA;
      padding: 0.8rem 1rem;
      transition: 0.2s;
    }
    
    .form-control-custom:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.2rem rgba(26,95,122,0.25);
    }
    
    .submit-btn {
      background-color: var(--secondary);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.8rem;
      border-radius: var(--radius-btn);
      width: 100%;
      transition: 0.25s;
      box-shadow: var(--shadow-btn);
    }
    
    .submit-btn:hover {
      background-color: #D14D00;
    }
    
    /* 页脚 */
    .footer {
      background-color: var(--footer-bg);
      color: var(--footer-text);
      padding: 2.5rem 0;
    }
    
    .footer a {
      color: var(--footer-text);
      text-decoration: none;
      margin-left: 1.5rem;
    }
    
    .footer a:hover {
      color: white;
    }
    
    .footer-line {
      border-top: 1px solid var(--footer-line);
      margin-top: 1.5rem;
      padding-top: 1.5rem;
    }
    
    @media (max-width: 768px) {
      :root {
        --font-h1: 1.9rem;
        --font-h2: 1.6rem;
      }
      .hero-section {
        min-height: 70vh;
      }
      .btn-primary-custom, .btn-outline-custom {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
      }
    }
