/* --- FAQ 专属页面样式 --- */

.faq-section {
    padding: 100px 0;
    position: relative;
  }
  
  /* 差异化双栏网格 */
  .faq-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
  }
  
  /* --- 左侧侧边栏区 --- */
  .faq-sidebar {
    position: sticky;
    top: 40px;
  }
  
  .faq-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
  }
  
  .faq-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-transform: uppercase;
  }
  
  .faq-title .highlight {
    color: var(--accent);
  }
  
  .faq-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 360px;
  }
  
  /* 侧边栏迷你互动卡片 */
  .faq-illustration-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  
  .faq-illustration-card p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .faq-cta-btn {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
  }
  
  .faq-cta-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
  }
  
  
  /* --- 右侧折叠面板区 --- */
  .faq-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  /* 核心差异化：抛弃传统的简单下划线线框，改用高阶暗黑微光容器 */
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
  }
  
  .faq-item:hover {
    border-color: rgba(149, 255, 79, 0.3); /* 边缘隐约透出高亮色微光 */
    background: linear-gradient(145deg, #1a1919, #161515);
  }
  
  /* 自定义原生 summary 行为 */
  .faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    cursor: pointer;
    list-style: none; /* 移除原生小三角 */
    user-select: none;
  }
  
  .faq-trigger::-webkit-details-marker {
    display: none; /* 兼容部分老旧 Webkit 浏览器 */
  }
  
  .faq-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    padding-right: 20px;
    transition: var(--transition-smooth);
  }
  
  /* 交互圆圈图标组件 */
  .faq-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    flex-shrink: 0;
    transition: var(--transition-smooth);
  }
  
  .faq-item:hover .faq-icon-wrapper {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .faq-icon {
    transition: var(--transition-smooth);
  }
  
  /* --- 展开态样式控制 --- */
  .faq-item[open] {
    border-color: rgba(255, 255, 255, 0.2);
    background: #1c1b1b;
  }
  
  .faq-item[open] .faq-question {
    color: var(--accent); /* 展开时文本高亮 */
  }
  
  .faq-item[open] .faq-icon-wrapper {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
  }
  
  .faq-item[open] .faq-icon {
    transform: rotate(45deg); /* 加号变成精细的关闭X号 */
  }
  
  /* 答案包裹容器 */
  .faq-answer {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* 用于触发丝滑展开的核心动画载体 */
  .faq-answer-inner {
    padding: 0 32px 32px 32px;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .faq-answer strong {
    color: var(--text-main);
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* --- 移动端响应式适配 --- */
  @media (max-width: 992px) {
    .faq-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    
    .faq-sidebar {
      position: static;
    }
    
    .faq-title {
      font-size: 2.8rem;
    }
    
    .faq-subtitle {
      max-width: 100%;
    }
    
    .faq-illustration-card {
      display: none; /* 移动端隐藏侧边卡片，聚焦信息 */
    }
  }
  
  @media (max-width: 576px) {
    .faq-section {
      padding: 60px 0;
    }
    .faq-trigger {
      padding: 20px 24px;
    }
    .faq-question {
      font-size: 1.05rem;
    }
    .faq-answer-inner {
      padding: 0 24px 24px 24px;
    }
  }