/* roulang page: index */
:root {
      --primary: #3568F0;
      --primary-deep: #1E40AF;
      --primary-light: #EEF2FE;
      --green: #00B578;
      --orange: #FF9F0A;
      --red: #FA5151;
      --text-dark: #1F2329;
      --text-gray: #86909C;
      --bg-page: #F5F6FA;
      --white: #FFFFFF;
      --border-light: #E5E8EF;
      --radius-xl: 12px;
      --radius-sm: 6px;
      --radius-round: 50px;
      --shadow-card: 0 1px 3px rgba(0,0,0,0.02);
      --shadow-hover: 0 6px 20px rgba(53,104,240,0.18);
      --shadow-nav: 0 1px 0 rgba(0,0,0,0.04);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --transition: 0.2s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-page);
      color: var(--text-dark);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      outline: none;
      transition: all var(--transition);
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 - 沉浸式顶部导航，滚动后变为白底固定导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(15, 18, 25, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: background 0.3s, box-shadow 0.3s;
    }

    .header.scrolled {
      background: var(--white);
      box-shadow: var(--shadow-nav);
      border-bottom: 1px solid var(--border-light);
    }

    .header.scrolled .nav-logo,
    .header.scrolled .nav-links a,
    .header.scrolled .nav-toggle i {
      color: var(--text-dark);
    }
    .header.scrolled .nav-logo span {
      color: var(--primary);
    }
    .header.scrolled .nav-links a:hover,
    .header.scrolled .nav-links a.active {
      color: var(--primary);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 12px 24px;
      height: 64px;
    }

    .nav-logo {
      font-size: 22px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 1px;
    }
    .nav-logo span {
      color: #5b8cff;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.85);
      font-size: 15px;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #ffffff;
    }

    .nav-cta {
      background: var(--primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: var(--radius-xl);
      font-weight: 600;
      font-size: 14px;
      border: none;
      transition: all var(--transition);
    }
    .nav-cta:hover {
      background: var(--primary-deep);
      box-shadow: var(--shadow-hover);
      transform: translateY(-1px);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 26px;
      cursor: pointer;
    }

    /* 移动端全屏菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 15, 25, 0.97);
      backdrop-filter: blur(10px);
      z-index: 999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 36px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .mobile-menu.open {
      transform: translateX(0);
    }
    .mobile-menu a {
      color: #fff;
      font-size: 24px;
      font-weight: 500;
    }
    .mobile-close {
      position: absolute;
      top: 24px;
      right: 24px;
      background: none;
      border: none;
      color: #fff;
      font-size: 32px;
      cursor: pointer;
    }

    /* Hero 首屏 */
    .hero {
      background: linear-gradient(135deg, #0f1219 0%, #1a2030 100%);
      position: relative;
      overflow: hidden;
      padding: 120px 0 100px;
      color: #fff;
      min-height: 85vh;
      display: flex;
      align-items: center;
    }

    .hero::before {
      content: "";
      position: absolute;
      top: -20%;
      left: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(53,104,240,0.25) 0%, transparent 70%);
      border-radius: 50%;
    }

    .hero .container {
      display: flex;
      align-items: center;
      gap: 50px;
      flex-wrap: wrap;
      position: relative;
      z-index: 2;
    }

    .hero-content {
      flex: 1 1 480px;
    }

    .hero-content h1 {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 20px;
      color: #fff;
    }

    .hero-content .subtitle {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 20px;
      color: rgba(255,255,255,0.8);
    }

    .hero-content p {
      font-size: 16px;
      color: rgba(255,255,255,0.65);
      margin-bottom: 30px;
      max-width: 540px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 14px 30px;
      border-radius: var(--radius-xl);
      font-weight: 600;
      font-size: 16px;
      box-shadow: 0 8px 18px rgba(53,104,240,0.35);
    }
    .btn-primary:hover {
      background: var(--primary-deep);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.45);
      color: #fff;
      padding: 14px 30px;
      border-radius: var(--radius-xl);
      font-weight: 500;
      font-size: 16px;
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.8);
    }

    .hero-image {
      flex: 1 1 400px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      height: 320px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    /* 通用区块 */
    .section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }
    .section-title h2 {
      font-size: 30px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .section-title p {
      color: var(--text-gray);
      margin-top: 12px;
      font-size: 16px;
    }

    /* 痛点区 - 横向布局 */
    .pain-grid {
      display: flex;
      gap: 30px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .pain-item {
      background: var(--white);
      padding: 28px 24px;
      border-radius: var(--radius-xl);
      flex: 1 1 200px;
      text-align: center;
      box-shadow: var(--shadow-card);
    }
    .pain-icon {
      font-size: 32px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    /* 解决方案卡片 - 错落网格 2列+特色卡片 */
    .solution-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    .solution-card {
      background: var(--white);
      border-radius: var(--radius-xl);
      padding: 30px;
      box-shadow: var(--shadow-card);
      display: flex;
      gap: 20px;
      align-items: flex-start;
      transition: all 0.25s;
    }
    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    .solution-icon {
      font-size: 38px;
      color: var(--primary);
    }
    .solution-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    /* 流程步骤 */
    .steps {
      display: flex;
      justify-content: space-between;
      text-align: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .step {
      flex: 1 1 160px;
      background: var(--white);
      border-radius: var(--radius-xl);
      padding: 30px 20px;
      box-shadow: var(--shadow-card);
    }
    .step-num {
      background: var(--primary-light);
      color: var(--primary);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-weight: 700;
      font-size: 20px;
    }

    /* 数据卡片 */
    .stats-grid {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .stat-card {
      background: var(--white);
      padding: 32px 24px;
      border-radius: var(--radius-xl);
      flex: 1 1 160px;
      text-align: center;
      box-shadow: var(--shadow-card);
    }
    .stat-number {
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
    }

    /* 证言卡片 - 横向滚动感觉，用flex */
    .testimonial-grid {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
      scroll-snap-type: x mandatory;
    }
    .testimonial {
      flex: 0 0 320px;
      background: var(--white);
      border-radius: var(--radius-xl);
      padding: 28px;
      box-shadow: var(--shadow-card);
      scroll-snap-align: start;
    }

    /* FAQ */
    .faq-item {
      background: var(--white);
      border-radius: var(--radius-xl);
      margin-bottom: 12px;
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      cursor: pointer;
      background: var(--white);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 24px;
      color: var(--text-gray);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    /* CTA 区域 */
    .cta-section {
      background: var(--primary);
      color: #fff;
      text-align: center;
      padding: 70px 0;
      border-radius: var(--radius-xl);
      margin: 60px 24px;
    }

    /* 页脚 */
    .footer {
      background: #1F2329;
      color: #ccc;
      padding: 50px 0 20px;
    }
    .footer-grid {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
    }
    .footer-col {
      flex: 1 1 180px;
    }
    .copyright {
      text-align: center;
      color: var(--text-gray);
      margin-top: 30px;
      font-size: 14px;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-content h1 { font-size: 34px; }
      .solution-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .nav-toggle { display: block; }
      .hero { padding: 100px 0 80px; }
      .hero .container { flex-direction: column; }
      .hero-image { height: 240px; width: 100%; }
      .section { padding: 60px 0; }
      .solution-grid { grid-template-columns: 1fr; }
    }
