/* roulang page: index */
:root {
      --deep-charcoal: #1C1C1E;
      --competition-red: #E63946;
      --champagne-gold: #D4AF37;
      --bg-light: #F8F9FA;
      --card-bg: #FFFFFF;
      --border-light: #E5E5E5;
      --text-gray: #4A4A4A;
      --text-muted: #6B7280;
      --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --radius-xl: 16px;
      --radius-full: 9999px;
      --transition-smooth: all 0.3s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--bg-light);
      color: #1F2937;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    h2 {
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    h3 {
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.3;
    }
    .text-muted {
      color: var(--text-muted);
    }
    .container-custom {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 浮动Dock导航 */
    .floating-dock {
      position: fixed;
      top: 1.5rem;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(28, 28, 30, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-full);
      padding: 0.75rem 1.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: auto;
      max-width: 90vw;
      z-index: 50;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      transition: all 0.25s ease;
    }
    .dock-logo {
      font-weight: 700;
      color: white;
      font-size: 1.25rem;
      letter-spacing: -0.01em;
      white-space: nowrap;
    }
    .dock-nav a {
      color: rgba(255,255,255,0.7);
      margin: 0 1rem;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
      text-decoration: none;
    }
    .dock-nav a:hover {
      color: white;
    }
    .dock-cta {
      background: var(--competition-red);
      color: white;
      border-radius: 50%;
      width: 2.5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      transition: background 0.2s, transform 0.2s;
      text-decoration: none;
    }
    .dock-cta:hover {
      background: #C53030;
      transform: scale(1.05);
    }
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* 卡片统一样式 */
    .card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-sm);
      transition: var(--transition-smooth);
    }
    .card:hover {
      box-shadow: var(--shadow-hover);
      border-color: rgba(228, 57, 70, 0.25);
    }
    .service-card {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .service-icon {
      width: 64px;
      height: 64px;
      border-radius: 20px;
      background: #F3F4F6;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      overflow: hidden;
    }
    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .arrow-icon {
      margin-top: 1.2rem;
      color: var(--competition-red);
      transition: transform 0.2s;
    }
    .service-card:hover .arrow-icon {
      transform: translateX(6px);
    }

    /* 按钮 */
    .btn-primary {
      background: var(--competition-red);
      color: white;
      border-radius: var(--radius-full);
      padding: 0.9rem 2.2rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      display: inline-block;
      text-decoration: none;
    }
    .btn-primary:hover {
      background: #C53030;
      transform: scale(1.05);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid rgba(255,255,255,0.6);
      color: white;
      border-radius: var(--radius-full);
      padding: 0.9rem 2.2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .btn-outline:hover {
      background: rgba(228,57,70,0.15);
      border-color: var(--competition-red);
    }

    /* Hero数据看板动画 */
    .data-pulse {
      animation: pulse-opacity 2s infinite;
    }
    @keyframes pulse-opacity {
      0% { opacity: 0.9; }
      50% { opacity: 1; }
      100% { opacity: 0.9; }
    }

    /* 对比滑块区 */
    .compare-container {
      position: relative;
      width: 100%;
      overflow: hidden;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-sm);
    }
    .compare-before, .compare-after {
      transition: width 0.4s ease;
    }
    .slider-handle {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--competition-red);
      cursor: ew-resize;
      z-index: 10;
      left: 50%;
      transform: translateX(-50%);
    }

    /* 表单输入 */
    .input-line {
      background: #F3F4F6;
      border: none;
      border-bottom: 2px solid var(--competition-red);
      padding: 0.9rem 1rem;
      width: 100%;
      border-radius: 0;
      outline: none;
      transition: border 0.2s;
    }
    .input-line:focus {
      border-bottom-width: 3px;
      background: #fff;
    }

    @media (max-width: 768px) {
      .floating-dock {
        padding: 0.6rem 1.2rem;
        top: 0.8rem;
      }
      .dock-nav {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
        margin: 0 0.8rem;
      }
      .dock-logo {
        font-size: 1.1rem;
      }
      h2 {
        font-size: 2rem;
      }
      .hero-grid {
        flex-direction: column;
      }
    }
    @media (max-width: 520px) {
      .floating-dock {
        max-width: 95vw;
      }
    }
