/* roulang page: index */
:root {
      --primary: #4E6EF2;
      --primary-hover: #3A5CE4;
      --success: #00B578;
      --warning: #FF9F0A;
      --danger: #FA5151;
      --bg: #F5F6FA;
      --surface: #FFFFFF;
      --dark-bg: #1F2329;
      --text-primary: #1F2329;
      --text-secondary: #86909C;
      --text-on-dark: #FFFFFF;
      --border-light: rgba(0,0,0,0.04);
      --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-hover: 0 12px 28px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --space-section: 120px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
      border-radius: var(--radius-card);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航栏 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: var(--surface);
      z-index: 100;
      display: flex;
      align-items: center;
      transition: box-shadow 0.2s ease;
    }

    .header.scrolled {
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.3px;
    }
    .logo span {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-primary);
      transition: color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 28px;
      color: var(--text-primary);
      cursor: pointer;
    }

    /* 板块间距 */
    section {
      padding: var(--space-section) 0;
    }

    @media (max-width: 1024px) {
      :root {
        --space-section: 80px;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-card);
        border-radius: 0 0 12px 12px;
      }
      .nav-links.active {
        display: flex;
      }
      .menu-toggle {
        display: block;
      }
      :root {
        --space-section: 60px;
      }
      h1 { font-size: 28px !important; }
      h2 { font-size: 22px !important; }
      h3 { font-size: 18px !important; }
      .container {
        padding: 0 16px;
      }
    }

    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 24px;
      height: 48px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      transition: all 0.2s ease;
      cursor: pointer;
      border: none;
      min-width: 120px;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 8px 16px rgba(78,110,242,0.25);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
    }
    .btn-outline:hover {
      background: rgba(78,110,242,0.06);
    }
    .btn-text {
      background: transparent;
      color: var(--primary);
      min-width: auto;
      padding: 0 8px;
    }
    .btn-text:hover {
      text-decoration: underline;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #F5F6FA 0%, #E8ECF1 100%);
      padding-top: 140px;
      padding-bottom: 100px;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }
    .hero-content {
      flex: 1;
    }
    .hero-content h1 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 20px;
    }
    .hero-content p {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 480px;
    }
    .hero-image {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      height: 380px;
      border-radius: 12px;
      box-shadow: var(--shadow-card);
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* 卡片通用 */
    .card {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      transition: all 0.2s ease;
    }
    .card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }
    .icon-box {
      width: 64px;
      height: 64px;
      background: #EEF1FD;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
      font-size: 32px;
    }

    .grid-2x2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .scenario-row {
      display: flex;
      gap: 60px;
      align-items: center;
      margin-bottom: 80px;
    }
    .scenario-row.reverse {
      flex-direction: row-reverse;
    }
    .scenario-img {
      flex: 1;
      height: 300px;
      background-size: cover;
      background-position: center;
      border-radius: 12px;
    }
    .scenario-text {
      flex: 1;
    }

    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
    }
    .case-card {
      min-width: 280px;
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
    }

    .pricing-grid {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .pricing-card {
      flex: 1;
      min-width: 220px;
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      position: relative;
    }
    .pricing-card.featured {
      border: 2px solid var(--primary);
      transform: scale(1.02);
    }
    .badge {
      background: var(--warning);
      color: white;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 20px;
      position: absolute;
      top: -12px;
      right: 16px;
    }

    .faq-item {
      background: var(--surface);
      border-radius: var(--radius-card);
      margin-bottom: 16px;
      box-shadow: var(--shadow-card);
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      user-select: none;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 24px;
      color: var(--text-secondary);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    .cta-banner {
      background: var(--dark-bg);
      border-radius: var(--radius-card);
      padding: 60px 24px;
      text-align: center;
      color: white;
    }

    .footer {
      background: var(--dark-bg);
      color: var(--text-on-dark);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
    }
    .footer a {
      color: #ccc;
      font-size: 14px;
    }
    .copyright {
      margin-top: 40px;
      color: var(--text-secondary);
      font-size: 14px;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
    }

    @media (max-width: 768px) {
      .hero-grid, .scenario-row, .scenario-row.reverse {
        flex-direction: column;
      }
      .grid-2x2 {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .pricing-grid {
        flex-direction: column;
      }
      .hero-image {
        height: 240px;
      }
    }
