/* roulang page: index */
:root {
      --primary: #2A5CFF;
      --primary-hover: #1E4BD8;
      --accent: #FF6A3D;
      --accent-hover: #E55A2C;
      --green: #00B578;
      --warning: #FF9F0A;
      --red: #FA5151;
      --bg: #F5F6FA;
      --card: #FFFFFF;
      --dark-bg: #1A1F2E;
      --darker-bg: #11151E;
      --text-primary: #1F2329;
      --text-secondary: #86909C;
      --text-muted: #B0B8C1;
      --border-light: #E8ECF1;
      --radius-sm: 8px;
      --radius: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
      --transition: 250ms ease;
      --max-width: 1200px;
      --header-height: 64px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      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%;
      height: var(--header-height);
      z-index: 1000;
      background: transparent;
      transition: background 250ms ease, backdrop-filter 250ms ease, box-shadow 250ms ease;
      display: flex;
      align-items: center;
    }
    .header.scrolled {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      border-bottom: 1px solid var(--border-light);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 22px;
      color: var(--text-primary);
      letter-spacing: 0.5px;
    }
    .logo span {
      color: var(--primary);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-primary);
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 100%;
      height: 2px;
      background: var(--primary);
      transition: transform 0.2s ease;
    }
    .nav-links a:hover {
      color: var(--primary);
    }
    .nav-links a:hover::after {
      transform: translateX(-50%) scaleX(1);
    }
    .btn-nav {
      background: var(--primary);
      color: white !important;
      padding: 10px 22px !important;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: background 0.15s;
    }
    .btn-nav:hover {
      background: var(--primary-hover);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: none;
      border: none;
      padding: 4px;
      cursor: pointer;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      transition: 0.2s;
    }
    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 320px;
      height: 100vh;
      background: white;
      box-shadow: -8px 0 30px rgba(0,0,0,0.08);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 1100;
      padding: 100px 32px 40px;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }
    .mobile-menu.active {
      transform: translateX(0);
    }
    .mobile-menu a {
      font-size: 18px;
      font-weight: 500;
      color: var(--text-primary);
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 12px;
    }
    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 1050;
      display: none;
    }
    .menu-overlay.active {
      display: block;
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, #ffffff 0%, #F5F6FA 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      width: 100%;
    }
    .hero-text {
      position: relative;
      z-index: 2;
    }
    .hero-text h1 {
      font-size: 44px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-primary);
      margin-bottom: 20px;
    }
    .hero-text h1 .highlight {
      color: var(--primary);
    }
    .hero-sub {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 460px;
      margin-bottom: 36px;
      line-height: 1.6;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      transition: background 0.15s, transform 0.15s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 48px;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      transition: background 0.15s, color 0.15s;
      height: 48px;
      display: inline-flex;
      align-items: center;
    }
    .btn-outline:hover {
      background: rgba(42,92,255,0.05);
    }
    .hero-image {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-lg);
      height: 500px;
      box-shadow: var(--shadow-lg);
      position: relative;
      z-index: 1;
    }
    /* 区块通用 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text-primary);
      text-align: center;
    }
    .section-sub {
      color: var(--text-secondary);
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
    }
    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .pain-card {
      background: var(--card);
      border-radius: var(--radius-sm);
      padding: 28px 24px;
      text-align: center;
      transition: var(--transition);
    }
    .pain-card i {
      font-size: 32px;
      color: var(--primary);
      margin-bottom: 16px;
    }
    .pain-card h3 {
      font-size: 18px;
      margin-bottom: 8px;
    }
    /* 解决方案卡片 */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 28px;
    }
    .solution-card {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
    }
    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .solution-img {
      height: 200px;
      background-size: cover;
      background-position: center;
    }
    .solution-content {
      padding: 22px 20px;
    }
    .solution-content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .link-more {
      color: var(--primary);
      font-weight: 500;
      margin-top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
    }
    .link-more:hover {
      gap: 8px;
    }
    /* 数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 30px;
      text-align: center;
    }
    .stat-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--accent);
    }
    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: var(--card);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }
    .testimonial-text {
      font-style: italic;
      margin-bottom: 20px;
    }
    .profile {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .avatar {
      width: 44px;
      height: 44px;
      background: var(--border-light);
      border-radius: 50%;
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      background: white;
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
    }
    .faq-question {
      width: 100%;
      padding: 18px 20px;
      font-weight: 600;
      font-size: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: none;
      border: none;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 20px;
      color: #555;
      font-size: 15px;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 16px;
    }
    /* CTA */
    .cta-section {
      background: var(--dark-bg);
      color: white;
      text-align: center;
      padding: 80px 0;
      border-radius: var(--radius-lg);
      margin: 60px auto;
    }
    .btn-cta {
      background: var(--accent);
      color: white;
      font-size: 18px;
      font-weight: 600;
      padding: 16px 42px;
      border-radius: var(--radius-sm);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .btn-cta:hover {
      transform: scale(1.02);
      box-shadow: 0 8px 20px rgba(255,106,61,0.4);
    }
    /* Footer */
    .footer {
      background: var(--dark-bg);
      color: var(--text-muted);
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .copyright {
      border-top: 1px solid rgba(255,255,255,0.08);
      margin-top: 40px;
      padding-top: 20px;
      font-size: 13px;
      text-align: center;
    }
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-image { height: 350px; }
    }
    @media (max-width: 768px) {
      .container { padding: 0 16px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-text h1 { font-size: 32px; }
      .pain-grid, .solutions-grid, .stats-grid, .testimonial-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .header { height: 56px; }
    }
