/* roulang page: index */
:root {
      --primary: #1A1A1A;
      --accent: #E63946;
      --accent-hover: #C62D39;
      --warm-orange: #F4A261;
      --bg-warm: #FAFAF8;
      --bg-dark: #2B2B2B;
      --bg-light-gray: #F0EDE8;
      --text-secondary: #6B6B6B;
      --text-on-dark: #F5F5F5;
      --border-light: rgba(0,0,0,0.06);
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.06);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --radius-img: 16px;
    }
    * {
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-warm);
      color: var(--primary);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
    }
    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    @media (min-width: 1024px) {
      .container {
        padding-left: 2rem;
        padding-right: 2rem;
      }
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      transition: background-color 0.25s ease, backdrop-filter 0.25s ease;
      background-color: transparent;
    }
    #header.scrolled {
      background-color: rgba(250, 250, 248, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }
    .nav-link {
      position: relative;
      font-weight: 500;
      color: var(--primary);
      padding: 0.5rem 0;
      transition: color 0.2s;
      white-space: nowrap;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0%;
      height: 2px;
      background-color: var(--accent);
      transition: width 0.25s ease;
    }
    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }
    .nav-link:hover {
      color: var(--accent);
    }
    .btn-primary {
      background-color: var(--accent);
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
      display: inline-block;
      text-align: center;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
    }
    .btn-primary:hover {
      background-color: var(--accent-hover);
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      transition: all 0.25s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background-color: var(--primary);
      color: white;
    }
    .text-link {
      color: var(--accent);
      position: relative;
      display: inline-block;
      font-weight: 500;
    }
    .text-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0%;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .text-link:hover::after {
      width: 100%;
    }

    /* 底部Tab导航 (移动端) */
    .mobile-bottom-tab {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: white;
      border-top: 1px solid rgba(0,0,0,0.05);
      z-index: 60;
      padding: 0.5rem 0;
      padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
      justify-content: space-around;
      align-items: center;
    }
    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      color: #6B6B6B;
      transition: color 0.2s;
      padding: 0.25rem 0;
      font-weight: 500;
    }
    .tab-item svg {
      width: 24px;
      height: 24px;
      margin-bottom: 2px;
      stroke: currentColor;
      fill: none;
    }
    .tab-item.active {
      color: var(--accent);
    }

    /* 板块间距 */
    section {
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
    @media (max-width: 768px) {
      section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
      }
    }

    h2 {
      font-family: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
      font-weight: 600;
      font-size: 2.25rem;
      line-height: 1.25;
      margin-bottom: 2.5rem;
      position: relative;
      display: inline-block;
      color: var(--primary);
    }
    h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 48px;
      height: 4px;
      background-color: var(--warm-orange);
    }
    @media (max-width: 768px) {
      h2 {
        font-size: 1.75rem;
      }
    }

    .card {
      background: white;
      border-radius: var(--radius-card);
      padding: 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    /* FAQ手风琴 */
    .faq-item {
      border-bottom: 1px solid rgba(0,0,0,0.06);
      padding: 1.25rem 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1.125rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--primary);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      color: #4a4a4a;
      padding-right: 1.5rem;
    }
    .faq-item.open .faq-answer {
      max-height: 300px;
      padding-top: 1rem;
    }
    .faq-icon {
      transition: transform 0.3s ease;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* 轮播简易样式 */
    .testimonial-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 1.5rem;
      padding-bottom: 1rem;
      scrollbar-width: thin;
    }
    .testimonial-track::-webkit-scrollbar {
      height: 4px;
    }
    .testimonial-track::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 4px;
    }
    .testimonial-slide {
      flex: 0 0 85%;
      max-width: 380px;
      scroll-snap-align: start;
      background: white;
      border-radius: var(--radius-card);
      padding: 1.5rem;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--accent);
    }

    @media (min-width: 768px) {
      .testimonial-slide {
        flex: 0 0 45%;
      }
    }
    @media (min-width: 1024px) {
      .testimonial-slide {
        flex: 0 0 30%;
      }
    }

    /* 底部导航显示控制 */
    @media (max-width: 767px) {
      .desktop-nav-links {
        display: none;
      }
      .mobile-bottom-tab {
        display: flex;
      }
      body {
        padding-bottom: 70px;
      }
    }
