/* roulang page: index */
:root {
      --primary: #E8473A;
      --primary-hover: #D1362A;
      --secondary: #1A1A2E;
      --accent: #F5A623;
      --bg: #F9F9FB;
      --card-bg: #FFFFFF;
      --text-main: #1A1A2E;
      --text-body: #4A4A5A;
      --text-muted: #7B7B8B;
      --text-white: #FFFFFF;
      --border-light: #E8E8EC;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 28px rgba(0,0,0,0.08);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", "Roboto", sans-serif;
      --transition: 0.2s ease;
      --max-width: 1200px;
      --section-padding: 100px 20px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text-body);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
    }
    h1, h2, h3, h4 {
      font-weight: 700;
      color: var(--text-main);
    }
    h1 {
      font-size: clamp(36px, 7vw, 56px);
      line-height: 1.2;
      letter-spacing: -0.5px;
      font-weight: 800;
    }
    h2 {
      font-size: clamp(30px, 6vw, 40px);
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
      font-weight: 700;
      line-height: 1.3;
    }
    h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 60px;
      height: 4px;
      background: var(--primary);
      border-radius: 4px;
    }
    .text-center h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
    h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 10px;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      outline: none;
      transition: var(--transition);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,0.04);
      transition: background 0.3s;
      padding: 12px 0;
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    .logo {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: 1px;
    }
    .logo i {
      font-size: 2rem;
      color: var(--accent);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-link {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text-main);
      position: relative;
      padding: 6px 0;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }
    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(232,71,58,0.3);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(232,71,58,0.35);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
    }
    .btn-outline:hover {
      background: rgba(232,71,58,0.08);
      transform: translateY(-2px);
    }
    .btn-accent {
      background: var(--accent);
      color: #1A1A2E;
      padding: 14px 36px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 1rem;
      position: relative;
      overflow: hidden;
    }
    .btn-accent::after {
      content: '';
      position: absolute;
      top: 0;
      left: -60%;
      width: 40%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
      transform: skewX(-20deg);
      transition: left 0.6s;
    }
    .btn-accent:hover::after {
      left: 120%;
    }
    .hamburger {
      display: none;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: var(--text-main);
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      position: relative;
      display: flex;
      align-items: center;
      color: white;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(26,26,46,0.65);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
    }
    .hero h1 {
      color: white;
      margin-bottom: 24px;
      font-weight: 800;
    }
    .hero .subtitle {
      font-size: 1.2rem;
      margin-bottom: 36px;
      color: rgba(255,255,255,0.9);
      line-height: 1.6;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .kpi-badge {
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(6px);
      border-radius: 40px;
      padding: 10px 24px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      color: white;
      margin-top: 20px;
      font-size: 1rem;
    }
    .kpi-badge span {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--accent);
    }
    /* 通用区块 */
    section {
      padding: var(--section-padding);
    }
    .section-header {
      margin-bottom: 50px;
    }
    .text-center {
      text-align: center;
    }
    /* 卡片网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: all 0.25s;
      border: 1px solid var(--border-light);
    }
    .card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: transparent;
    }
    .icon-circle {
      width: 60px;
      height: 60px;
      background: rgba(232,71,58,0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: var(--primary);
      margin-bottom: 20px;
      transition: 0.2s;
    }
    .card:hover .icon-circle {
      background: var(--primary);
      color: white;
      transform: scale(1.05);
    }
    /* 服务横向滚动 */
    .services-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 10px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .service-card {
      flex: 0 0 300px;
      scroll-snap-align: start;
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 28px 20px;
      box-shadow: var(--shadow-card);
      transition: 0.2s;
      border: 1px solid var(--border-light);
    }
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }
    .service-icon {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 16px;
    }
    /* 数据看板 */
    .kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      background: #F0F0F5;
      border-radius: var(--radius-lg);
      padding: 40px 24px;
    }
    .kpi-item {
      text-align: center;
    }
    .kpi-number {
      font-size: 44px;
      font-weight: 800;
      color: var(--accent);
      font-family: 'Inter', sans-serif;
      line-height: 1.2;
    }
    .kpi-label {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 8px;
    }
    /* 对比卡片 */
    .compare-row {
      display: flex;
      gap: 30px;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }
    .compare-card {
      flex: 1 1 280px;
      background: white;
      border-radius: var(--radius-md);
      padding: 30px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-light);
    }
    .compare-card.bad {
      background: #f5f5f5;
      color: #6b6b6b;
    }
    .compare-card.good {
      border: 2px solid var(--primary);
      background: #fff9f9;
    }
    .vs-badge {
      background: var(--primary);
      color: white;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.3rem;
    }
    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.02);
      border: 1px solid var(--border-light);
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text-main);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.3s;
      padding: 0 24px;
      color: var(--text-body);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 0 24px 20px;
    }
    .faq-icon {
      transition: transform 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }
    /* CTA 表单 */
    .cta-section {
      background: var(--secondary);
      color: white;
    }
    .form-grid {
      display: flex;
      gap: 40px;
      align-items: center;
      flex-wrap: wrap;
    }
    .form-box {
      flex: 2;
      min-width: 280px;
    }
    .trust-box {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    input, textarea {
      width: 100%;
      padding: 14px 16px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-family: inherit;
      margin-bottom: 14px;
      transition: 0.2s;
    }
    input:focus, textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(232,71,58,0.2);
      outline: none;
    }
    /* 页脚 */
    .footer {
      background: var(--secondary);
      color: #ccc;
      padding: 50px 20px 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
      margin-bottom: 30px;
    }
    .footer a {
      color: #aaa;
      display: block;
      margin-bottom: 8px;
    }
    .footer a:hover { color: var(--primary); }
    .back-top {
      background: var(--primary);
      color: white;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: fixed;
      bottom: 30px;
      right: 30px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2,1fr); }
      .kpi-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .hamburger { display: block; }
      .mobile-menu.active { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: white; padding: 20px; }
      .grid-3 { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .compare-row { flex-direction: column; }
    }
    .mobile-menu { display: none; }
