/* roulang page: index */
:root {
      --primary: #6C3CE1;
      --primary-light: #9B59FF;
      --accent: #F09433;
      --bg-page: #FAF8FE;
      --bg-card: #FFFFFF;
      --bg-pain: #F5F0FC;
      --text-dark: #1A1033;
      --text-body: #3D3560; 
      --text-muted: #7B7394;
      --white: #FFFFFF;
      --success: #10B981;
      --warning: #F59E0B;
      --gradient-brand: linear-gradient(135deg, #6C3CE1 0%, #9B59FF 50%, #F09433 100%);
      --shadow-card: 0 4px 24px rgba(108, 60, 225, 0.08);
      --shadow-card-hover: 0 12px 40px rgba(108, 60, 225, 0.18);
      --radius-card-lg: 24px;
      --radius-card: 16px;
      --radius-btn: 50px;
      --radius-sm: 12px; 
      --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
      --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-page);
      color: var(--text-body); 
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      font-size: 16px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto; 
      padding: 0 24px;
    }

    h1, h2, h3, h4, button {
      font-family: var(--font-sans);
    }

    h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
      background: var(--gradient-brand);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.25rem;
    }

    h2 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-dark);
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 22px;
      font-weight: 600;
      line-height: 1.4;
      color: var(--text-dark);
    }

    p, li {
      color: var(--text-body);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .highlight {
      color: var(--accent);
      background: linear-gradient(to right, #F09433, #F97316);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.02);
      z-index: 1000;
      padding: 0;
      transition: box-shadow 0.3s ease;
    }

    .nav.scrolled {
      box-shadow: 0 4px 20px rgba(108, 60, 225, 0.08);
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      font-weight: 800;
      font-size: 1.8rem;
      background: var(--gradient-brand);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
      gap: 2px;
    }
    .logo-icon {
      font-size: 2rem;
      font-weight: 800;
      background: var(--gradient-brand);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      font-weight: 500;
    }

    .nav-links a {
      color: var(--text-dark);
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: all var(--transition);
    }

    .nav-links a:hover,
    .nav-links a.active-link {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      font-weight: 600;
      border-radius: var(--radius-btn);
      transition: all var(--transition);
      border: none;
      cursor: pointer;
      font-size: 1rem; 
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--gradient-brand);
      color: var(--white);
      box-shadow: 0 6px 18px rgba(108, 60, 225, 0.3);
    }

    .btn-primary:hover {
      box-shadow: 0 10px 28px rgba(108, 60, 225, 0.45);
      transform: scale(1.04);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    .btn-outline:hover {
      background: rgba(108, 60, 225, 0.08);
      border-color: var(--primary-light);
    }

    .btn-large {
      padding: 18px 42px;
      font-size: 1.1rem;
    }

    .btn-white {
      background: white;
      color: var(--primary);
      font-weight: 700;
    }

    .btn-white:hover {
      background: #f0eafc;
      transform: scale(1.05);
    }

    /* 汉堡菜单 */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2.4px;
      background: var(--primary);
      transition: 0.2s;
      border-radius: 4px;
    }

    @media (max-width: 992px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
    }

    .hero {
      padding: 160px 24px 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      background: linear-gradient(135deg, rgba(108,60,225,0.05) 0%, rgba(249,115,22,0.02) 100%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    .hero-text p.subtitle {
      font-size: 1.2rem;
      color: var(--text-body); 
      margin: 1.5rem 0 2rem;
    }

    .cta-group {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      margin-top: 1rem;
    }

    .hero-visual {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 40px;
      height: 380px;
      box-shadow: var(--shadow-card-hover);
      position: relative;
      overflow: hidden;
    }

    .section {
      padding: 90px 0;
    }

    .section-label {
      display: inline-block;
      background: rgba(108,60,225,0.06);
      color: var(--primary);
      padding: 6px 18px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-top: 2.5rem;
    }

    .card {
      background: var(--bg-card);
      padding: 32px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: transform 0.2s, box-shadow 0.2s;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }

    .pain-card {
      background: #F5F0FC;
      border-left: 6px solid #B1A0D6;
    }

    .solution-card {
      background: white;
      border-top: 6px solid var(--primary);
    }

    .stat-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      background: white;
      border-radius: 60px;
      padding: 50px 30px;
      box-shadow: var(--shadow-card);
      margin: 50px 0;
      text-align: center;
    }

    .stat-number {
      font-size: 48px;
      font-weight: 800;
      background: var(--gradient-brand);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .testimonial {
      background: white;
      border-left: 6px solid var(--primary);
      padding: 28px;
      border-radius: var(--radius-card-lg);
    }

    .faq-item {
      background: white;
      border-radius: var(--radius-card);
      margin-bottom: 15px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.02);
      overflow: hidden;
    }

    .faq-question {
      padding: 22px 28px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer; 
      background: white;
    }

    .faq-answer {
      padding: 0 28px 24px;
      color: var(--text-body); 
      display: none;
    }
    .faq-item.open .faq-answer {
      display: block;
      background: #FAF8FE;
    }

    .footer {
      background: #1A1033;
      color: #B5AECB;
      padding: 70px 24px 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 35px;
    }

    @media (max-width: 1024px) {
      h1 { font-size: 38px; }
      .hero-grid { grid-template-columns: 1fr; gap: 40px;}
      .grid-3 { grid-template-columns: repeat(2,1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      h2 { font-size: 28px; }
      .grid-3 { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .stat-row { flex-direction: column; gap: 28px; }
    }
