/* roulang page: index */
:root {
      --primary: #2C5F6E;
      --primary-dark: #1F4A57;
      --accent: #E8A87C;
      --accent-dark: #D4915E;
      --bg-warm: #FAFAF8;
      --card-white: #FFFFFF;
      --text-primary: #3A3A3A;
      --text-secondary: #7A7A7A;
      --border-light: #E8E6E1;
      --shadow-card: 0 2px 12px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --shadow-nav: 0 1px 6px rgba(0,0,0,0.04);
      --font-serif: 'Noto Serif SC', 'STSong', Georgia, serif;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --radius-card: 12px;
      --radius-btn: 8px;
      --transition-smooth: 0.3s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-primary);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }

    h1, h2, h3 {
      font-family: var(--font-serif);
      font-weight: 700;
    }

    h1 {
      font-size: 3rem;
      color: var(--primary);
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    h2 {
      font-size: 2rem;
      color: var(--text-primary);
      line-height: 1.3;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }

    .section-title-wrapper {
      margin-bottom: 3rem;
    }

    .section-title-wrapper h2::after {
      content: '';
      display: block;
      width: 40px;
      height: 3px;
      background-color: var(--accent);
      margin-top: 0.75rem;
      border-radius: 2px;
    }

    h3 {
      font-size: 1.25rem;
      color: var(--primary);
      line-height: 1.4;
      margin-bottom: 0.75rem;
    }

    p {
      color: var(--text-secondary);
      max-width: 680px;
      margin-bottom: 1.25rem;
    }

    .container-custom {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* 导航 */
    .navbar-custom {
      background-color: #FFFFFF;
      border-bottom: 1px solid var(--border-light);
      padding: 1rem 0;
      transition: box-shadow 0.3s ease;
    }

    .navbar-custom.scrolled {
      box-shadow: var(--shadow-nav);
    }

    .navbar-brand {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--primary) !important;
      letter-spacing: 1px;
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .navbar-brand small {
      font-family: var(--font-sans);
      font-weight: 300;
      font-size: 0.65rem;
      color: var(--text-secondary);
      letter-spacing: 0.5px;
    }

    .nav-link {
      color: var(--text-primary) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      padding: 0.5rem 0.75rem !important;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-link:hover, .nav-link.active {
      color: var(--primary) !important;
      border-bottom-color: var(--primary);
    }

    .btn-primary-custom {
      background-color: var(--primary);
      border: none;
      color: white;
      font-weight: 500;
      padding: 0.7rem 2rem;
      border-radius: var(--radius-btn);
      transition: background 0.25s, transform 0.2s;
      white-space: nowrap;
    }

    .btn-primary-custom:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      color: white;
    }

    .btn-outline-custom {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      font-weight: 500;
      padding: 0.7rem 2rem;
      border-radius: var(--radius-btn);
      transition: all 0.25s;
    }

    .btn-outline-custom:hover {
      background-color: rgba(44,95,110,0.06);
      color: var(--primary-dark);
    }

    .btn-accent-custom {
      background-color: var(--accent);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.9rem 2.5rem;
      border-radius: var(--radius-btn);
      font-size: 1.1rem;
      transition: background 0.25s, transform 0.2s;
    }

    .btn-accent-custom:hover {
      background-color: var(--accent-dark);
      transform: translateY(-2px);
      color: white;
    }

    /* Hero */
    .hero-section {
      padding: 5rem 0 5rem;
      background-color: var(--bg-warm);
    }

    .hero-illustration {
      background-color: #EEECE6;
      border-radius: 16px;
      width: 100%;
      height: 380px;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }

    /* 痛点卡片 */
    .pain-card {
      background-color: #F5F4F0;
      border: none;
      border-radius: var(--radius-card);
      padding: 2rem;
      transition: box-shadow 0.3s ease;
      height: 100%;
    }

    .pain-card:hover {
      box-shadow: var(--shadow-card);
    }

    .icon-circle {
      width: 40px;
      height: 40px;
      color: var(--primary);
      font-size: 1.8rem;
      margin-bottom: 1.25rem;
    }

    /* 解决方案卡片 */
    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      padding: 2rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .service-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      background-color: #EEECE6;
    }

    .icon-accent-circle {
      width: 64px;
      height: 64px;
      background-color: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 2rem;
      margin-bottom: 1.5rem;
      transition: transform 0.3s;
    }

    .service-card:hover .icon-accent-circle {
      transform: scale(1.05);
    }

    .link-arrow {
      color: var(--primary);
      font-weight: 500;
      text-decoration: none;
      margin-top: auto;
      display: inline-block;
    }

    .link-arrow:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    /* 数据统计 */
    .stats-section {
      background-color: #F0F4F5;
      padding: 4rem 0;
    }

    .stat-number {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--accent);
      font-family: var(--font-serif);
    }

    /* 证言卡片 */
    .testimonial-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      padding: 2rem;
      height: 100%;
    }

    .quote-icon {
      color: var(--primary);
      opacity: 0.3;
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .testimonial-text {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1.1rem;
      color: var(--text-primary);
    }

    .avatar-placeholder {
      width: 48px;
      height: 48px;
      background-color: #EEECE6;
      border-radius: 50%;
      background-image: url('/assets/images/coverpic/cover-4.webp');
      background-size: cover;
    }

    /* FAQ */
    .accordion-custom .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: transparent;
    }

    .accordion-custom .accordion-button {
      font-weight: 600;
      color: var(--primary);
      background: transparent;
      box-shadow: none;
      padding: 1.25rem 0;
      font-size: 1.1rem;
    }

    .accordion-custom .accordion-button:not(.collapsed) {
      background-color: #FAFAF8;
      color: var(--primary-dark);
    }

    .accordion-custom .accordion-button::after {
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      content: '\f107';
      background-image: none;
      color: var(--accent);
      transition: transform 0.3s;
    }

    .accordion-custom .accordion-button:not(.collapsed)::after {
      transform: rotate(180deg);
    }

    /* CTA 终局 */
    .cta-final {
      background-color: var(--primary);
      padding: 5rem 0;
      position: relative;
      overflow: hidden;
    }

    .cta-final::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
      border-radius: 50%;
    }

    /* 页脚 */
    .footer-custom {
      background-color: #1F3D45;
      color: rgba(255,255,255,0.8);
      padding: 3rem 0 1.5rem;
    }

    .footer-custom a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-custom a:hover {
      color: var(--accent);
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 2rem;
      }
      h2 {
        font-size: 1.75rem;
      }
      .hero-section {
        padding: 3rem 0;
      }
      .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: var(--shadow-card);
      }
      .hero-illustration {
        height: 260px;
        margin-top: 2rem;
      }
      .btn-primary-custom, .btn-outline-custom {
        width: 100%;
        margin-bottom: 0.5rem;
      }
    }
