/* roulang page: index */
:root {
      --primary: #0A6E5C;
      --primary-hover: #095E4F;
      --accent: #F85C50;
      --accent-hover: #FF7A6B;
      --bg-warm: #F7F4F0;
      --white: #FFFFFF;
      --text-dark: #1E1E1E;
      --text-mid: #5A5A5A;
      --text-light: #9B9B9B;
      --border-light: #E5E0DA;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 6px 20px rgba(10,110,92,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui, -apple-system, sans-serif;
      --transition: 0.25s ease;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-dark);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    
    h1, h2, h3, h4 {
      font-weight: 700;
      margin-top: 0;
    }
    
    h1 { font-size: 36px; line-height: 1.2; letter-spacing: -0.5px; }
    h2 { font-size: 28px; line-height: 1.3; }
    h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
    
    p {
      color: var(--text-mid);
      margin-bottom: 1rem;
    }
    
    a {
      color: var(--primary);
      text-decoration: none;
      transition: color var(--transition);
    }
    a:hover { color: var(--primary-hover); }
    
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    
    .container {
      max-width: 1140px;
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
    }
    
    /* 导航栏 SaaS 命令栏风格 */
    .navbar-custom {
      background: var(--white);
      border-bottom: 1px solid var(--border-light);
      padding: 0.8rem 0;
      position: sticky;
      top: 0;
      z-index: 1020;
      transition: box-shadow 0.3s;
    }
    .navbar-custom.scrolled {
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }
    
    .logo-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--primary);
      text-decoration: none;
    }
    .logo-icon {
      width: 28px;
      height: 28px;
      background: var(--primary);
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 19h6v3h8v-3h6L12 2zm1 14.5V19h-2v-2.5c-1.5-.3-3-1.4-3-3h2c0 1.2 1.3 2 3 2s3-.8 3-2h2c0 1.6-1.5 2.7-3 3zm-1-5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/%3E%3C/svg%3E") no-repeat center;
      mask-size: contain;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 19h6v3h8v-3h6L12 2zm1 14.5V19h-2v-2.5c-1.5-.3-3-1.4-3-3h2c0 1.2 1.3 2 3 2s3-.8 3-2h2c0 1.6-1.5 2.7-3 3zm-1-5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/%3E%3C/svg%3E") no-repeat center;
      -webkit-mask-size: contain;
    }
    
    .nav-link-custom {
      color: var(--text-mid);
      font-size: 0.95rem;
      font-weight: 500;
      padding: 0.5rem 0.9rem;
      transition: color var(--transition);
    }
    .nav-link-custom:hover,
    .nav-link-custom.active {
      color: var(--primary);
    }
    
    .search-box {
      position: relative;
      display: flex;
      align-items: center;
    }
    .search-box input {
      border: 1px solid var(--border-light);
      border-radius: 30px;
      padding: 0.5rem 1rem 0.5rem 2.2rem;
      font-size: 0.9rem;
      background: var(--white);
      transition: border-color 0.2s, box-shadow 0.2s;
      width: 180px;
    }
    .search-box input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(10,110,92,0.1);
      outline: none;
    }
    .search-box i {
      position: absolute;
      left: 14px;
      color: var(--text-light);
      font-size: 0.9rem;
    }
    
    .btn-primary-custom {
      background: var(--primary);
      border: none;
      color: white;
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background 0.2s, box-shadow 0.2s;
      white-space: nowrap;
    }
    .btn-primary-custom:hover {
      background: var(--primary-hover);
      box-shadow: 0 4px 12px rgba(10,110,92,0.2);
      color: white;
    }
    .btn-outline-custom {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      background: transparent;
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .btn-outline-custom:hover {
      background: rgba(10,110,92,0.08);
      border-color: var(--primary-hover);
      color: var(--primary-hover);
    }
    .btn-accent {
      background: var(--accent);
      border: none;
      color: white;
      padding: 0.7rem 2rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      transition: background 0.2s, box-shadow 0.2s;
      white-space: nowrap;
    }
    .btn-accent:hover {
      background: var(--accent-hover);
      box-shadow: 0 6px 16px rgba(248,92,80,0.25);
      color: white;
    }
    
    /* 板块通用 */
    section {
      padding: 100px 0;
    }
    @media (max-width: 768px) {
      section { padding: 60px 0; }
      h1 { font-size: 28px; }
      h2 { font-size: 22px; }
    }
    
    /* 首屏 Hero */
    .hero-bg {
      background: linear-gradient(135deg, #F7F4F0 0%, #FFFFFF 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-visual {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      min-height: 360px;
      border-radius: 24px;
      box-shadow: 0 20px 35px rgba(0,0,0,0.05);
    }
    
    /* 指标看板 */
    .metric-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 1.8rem 1.2rem;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
      text-align: center;
    }
    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .metric-number {
      font-family: var(--font-number);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }
    .metric-label {
      font-size: 0.9rem;
      color: var(--text-mid);
      font-weight: 500;
    }
    .mini-chart {
      display: flex;
      align-items: flex-end;
      gap: 4px;
      height: 32px;
      margin: 12px 0 6px;
      justify-content: center;
    }
    .bar {
      width: 8px;
      background: var(--accent);
      border-radius: 4px 4px 0 0;
      opacity: 0.8;
    }
    
    /* 服务卡片 2+1 布局 */
    .service-main {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      transition: all var(--transition);
    }
    .service-main:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .service-stack {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      margin-bottom: 1.5rem;
      text-align: center;
    }
    .service-stack:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .tag {
      background: rgba(248,92,80,0.1);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      display: inline-block;
      margin-right: 6px;
      margin-top: 8px;
    }
    
    /* 对比表 */
    .compare-left, .compare-right {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
    .compare-right .advantage {
      background-color: rgba(10,110,92,0.04);
      border-radius: 6px;
      padding: 0.5rem 0.8rem;
      margin: 0.5rem 0;
    }
    .vs-badge {
      background: var(--accent);
      color: white;
      font-weight: 700;
      border-radius: 50%;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      margin: 0 auto;
    }
    
    /* FAQ 手风琴 */
    .accordion-custom .accordion-button {
      background: transparent;
      font-weight: 600;
      color: var(--text-dark);
      box-shadow: none;
      border-left: 4px solid transparent;
      padding: 1rem 1.2rem;
      transition: 0.2s;
    }
    .accordion-custom .accordion-button:not(.collapsed) {
      background: transparent;
      color: var(--primary);
      border-left-color: var(--primary);
    }
    .accordion-custom .accordion-body {
      color: var(--text-mid);
      padding: 0 1.2rem 1.2rem;
    }
    
    /* 表单 */
    .form-control-custom {
      border: 1px solid var(--border-light);
      border-radius: 8px;
      padding: 0.7rem 1rem;
      font-size: 1rem;
      background: var(--white);
      transition: border-color 0.2s;
    }
    .form-control-custom:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(10,110,92,0.15);
    }
    
    footer {
      background: var(--bg-warm);
      border-top: 1px solid var(--border-light);
      padding: 2rem 0;
      color: var(--text-mid);
      font-size: 0.9rem;
    }
    
    @media (max-width: 768px) {
      .navbar-custom .container {
        flex-wrap: wrap;
      }
      .search-box { display: none; }
      .service-main { flex-direction: column; }
      .hero-visual { min-height: 240px; margin-top: 1.5rem; }
    }
