/* roulang page: index */
:root {
      --primary: #1A3C6D;
      --primary-hover: #0F2B52;
      --accent: #C9A96E;
      --accent-light: rgba(201, 169, 110, 0.12);
      --bg: #F8F9FA;
      --card-bg: #FFFFFF;
      --text: #2D3748;
      --text-strong: #1A202C;
      --border: #E2E8F0;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow-md: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-img: 16px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      margin: 0;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input {
      font-family: inherit;
      outline: none;
    }

    .container {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 导航样式 */
    .navbar {
      background: white;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 6px -6px rgba(0,0,0,0.04);
      position: sticky;
      top: 0;
      z-index: 40;
    }

    .nav-brand {
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--primary);
      letter-spacing: -0.2px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .pill-tab {
      background: #EDF2F7;
      padding: 0.4rem 1.1rem;
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 500;
      color: #4A5568;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .pill-tab:hover {
      background: #E2E8F0;
      color: var(--primary);
    }
    .pill-tab.active {
      background: white;
      color: var(--primary);
      font-weight: 600;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-radius: var(--radius-btn);
      padding: 0.65rem 1.8rem;
      font-weight: 600;
      font-size: 1rem;
      border: none;
      cursor: pointer;
      transition: background 0.25s, transform 0.15s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: var(--radius-btn);
      padding: 0.55rem 1.7rem;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.25s;
    }
    .btn-outline:hover {
      background: var(--accent-light);
      border-color: var(--accent);
      color: #1A3C6D;
    }

    .card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }
    .card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    /* 手风琴动画 */
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.2s ease;
    }
    .faq-item.open .faq-answer {
      max-height: 600px;
      padding-top: 0.8rem;
      padding-bottom: 1.2rem;
    }
    .faq-icon {
      transition: transform 0.3s ease;
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    @media (max-width: 768px) {
      .nav-tabs-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }
      .nav-tabs-scroll::-webkit-scrollbar {
        display: none;
      }
    }
