/* roulang page: index */
:root {
      --primary: #4E6EF2;
      --primary-hover: #5E7EF7;
      --success: #00B578;
      --warning: #FF9F0A;
      --error: #FA5151;
      --bg-page: #F5F6FA;
      --bg-white: #FFFFFF;
      --bg-dark: #1F2329;
      --text-primary: #1F2329;
      --text-secondary: #86909C;
      --text-white: #FFFFFF;
      --border-light: #F0F1F5;
      --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.04);
      --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
      --shadow-glow: 0 0 18px rgba(78, 110, 242, 0.5);
      --radius-card: 12px;
      --radius-btn-capsule: 50px;
      --radius-btn: 8px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --transition: 200ms ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-page);
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--bg-white);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
      height: 64px;
      z-index: 100;
      display: flex;
      align-items: center;
    }

    .header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.3px;
    }
    .logo span {
      color: var(--primary);
    }

    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
      position: relative;
      padding: 8px 0;
      transition: color var(--transition);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--primary);
      transition: width var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary);
    }
    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      width: 24px;
      height: 18px;
      justify-content: center;
      align-items: flex-end;
    }
    .hamburger span {
      display: block;
      height: 1.5px;
      background: var(--text-primary);
      border-radius: 1px;
      transition: var(--transition);
    }
    .hamburger span:nth-child(1) { width: 24px; }
    .hamburger span:nth-child(2) { width: 18px; }
    .hamburger span:nth-child(3) { width: 12px; }

    @media (max-width: 768px) {
      .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 32px;
        gap: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 250ms ease, opacity 250ms ease;
        pointer-events: none;
      }
      .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .hamburger {
        display: flex;
      }
      .nav-link {
        font-size: 16px;
      }
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
    }

    @media (max-width: 1024px) {
      section { padding: 80px 0; }
      .container { padding: 0 24px; }
    }
    @media (max-width: 768px) {
      section { padding: 60px 0; }
      .container { padding: 0 16px; }
    }

    /* Hero */
    .hero {
      min-height: 70vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, #F5F6FA 0%, #E8ECFB 100%);
      margin-top: 64px;
      position: relative;
      overflow: hidden;
    }
    .hero .container {
      display: flex;
      align-items: center;
      gap: 60px;
      width: 100%;
    }
    .hero-content {
      flex: 1;
    }
    .hero h1 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-primary);
      margin-bottom: 16px;
    }
    .hero h1 span {
      color: var(--primary);
    }
    .hero-sub {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }
    .btn-primary {
      background: var(--primary);
      color: var(--text-white);
      padding: 14px 36px;
      border-radius: var(--radius-btn-capsule);
      font-weight: 600;
      font-size: 16px;
      display: inline-block;
      transition: background var(--transition), box-shadow var(--transition);
      box-shadow: 0 4px 12px rgba(78,110,242,0.25);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: var(--shadow-glow);
    }
    .hero-image {
      flex: 1;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-card);
      min-height: 360px;
      box-shadow: var(--shadow-card);
      background-blend-mode: overlay;
      background-color: rgba(78,110,242,0.05);
    }
    @media (max-width: 768px) {
      .hero .container {
        flex-direction: column;
        gap: 40px;
      }
      .hero h1 {
        font-size: 28px;
      }
      .hero-image {
        width: 100%;
        min-height: 240px;
      }
      .hero {
        min-height: auto;
        padding: 60px 0;
      }
    }

    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .pain-card {
      background: #F5F6FA;
      border-radius: var(--radius-card);
      padding: 24px;
      border-left: 3px solid var(--warning);
      transition: border-left-width var(--transition);
    }
    .pain-card:hover {
      border-left-width: 5px;
    }
    .pain-title {
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text-primary);
    }
    .pain-desc {
      color: var(--text-secondary);
      font-size: 15px;
    }
    @media (max-width: 768px) {
      .pain-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 解决方案 */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .glass-card {
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      transition: box-shadow var(--transition), transform var(--transition);
      border: 1px solid rgba(255,255,255,0.6);
    }
    .glass-card:hover {
      box-shadow: var(--shadow-card-hover);
      transform: translateY(-4px);
    }
    .card-icon {
      width: 32px;
      height: 32px;
      margin-bottom: 16px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    .glass-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .glass-card p {
      color: var(--text-secondary);
      font-size: 14px;
    }
    @media (max-width: 1024px) {
      .solution-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 540px) {
      .solution-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 成果 */
    .results {
      background: linear-gradient(180deg, #F5F6FA 0%, #E8ECFB 100%);
    }
    .stats-grid {
      display: flex;
      justify-content: space-around;
      text-align: center;
      flex-wrap: wrap;
      gap: 32px;
    }
    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }
    .stat-label {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 8px;
    }
    @media (max-width: 768px) {
      .stat-number { font-size: 36px; }
      .stats-grid { flex-direction: column; gap: 36px; }
    }

    /* 证言 */
    .testimonial-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .testimonial-card {
      min-width: 300px;
      flex: 0 0 auto;
      background: var(--bg-white);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .quote {
      font-style: italic;
      margin-bottom: 20px;
      color: var(--text-primary);
    }
    .author {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-secondary);
      font-size: 14px;
    }
    .avatar {
      width: 40px;
      height: 40px;
      background: #D0D5E0;
      border-radius: 50%;
    }
    .dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 20px;
    }
    .dot {
      width: 8px;
      height: 8px;
      background: #D0D5E0;
      border-radius: 50%;
    }
    .dot.active {
      background: var(--primary);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 16px 0;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 20px;
      cursor: pointer;
      color: var(--text-primary);
    }
    .faq-icon {
      font-size: 24px;
      color: var(--primary);
      transition: transform var(--transition);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 300ms ease;
      background: #F5F6FA;
      border-radius: 8px;
      margin-top: 8px;
      padding: 0 16px;
      color: var(--text-primary);
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-dark {
      background: var(--bg-dark);
      text-align: center;
      color: var(--text-white);
    }
    .cta-dark h2 {
      font-size: 28px;
      color: white;
      margin-bottom: 12px;
    }
    .cta-dark p {
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .btn-glow {
      background: var(--primary);
      color: white;
      padding: 16px 48px;
      border-radius: var(--radius-btn-capsule);
      font-weight: 700;
      font-size: 18px;
      box-shadow: var(--shadow-glow);
      transition: background var(--transition), box-shadow var(--transition);
      display: inline-block;
    }
    .btn-glow:hover {
      background: #5E7EF7;
      box-shadow: 0 0 24px rgba(78,110,242,0.7);
    }

    /* Footer */
    .footer {
      background: var(--bg-white);
      border-top: 1px solid var(--border-light);
      padding: 32px 0;
    }
    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 14px;
      color: var(--text-secondary);
    }
    .footer-links a {
      margin-left: 24px;
      color: var(--text-secondary);
      transition: color var(--transition);
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    @media (max-width: 600px) {
      .footer-content {
        flex-direction: column;
        text-align: center;
      }
      .footer-links a {
        margin: 0 12px;
      }
    }

    h2 {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 32px;
      color: var(--text-primary);
    }
    @media (max-width: 768px) {
      h2 { font-size: 22px; }
    }
