/* roulang page: index */
:root {
      --gold: #C89B3C;
      --gold-deep: #A67F2E;
      --dark-brown: #1A1410;
      --lava: #D4572E;
      --cool-teal: #2E4A4A;
      --warm-cream: #F7F3EC;
      --text-primary: #2B241E;
      --text-secondary: #6B5E4F;
      --border-soft: #D4C8B8;
      --card-bg-alt: #FDFAF5;
      --cool-bg: #F0F4F4;
      --warm-bg: #FDF5F0;
      --radius-card: 16px;
      --radius-full: 9999px;
      --shadow-card: 0 4px 20px rgba(26,20,16,0.08);
      --shadow-hover: 0 12px 32px rgba(26,20,16,0.15);
    }
    * {
      box-sizing: border-box;
    }
    body {
      font-family: -apple-system, "Noto Sans SC", "PingFang SC", sans-serif;
      background-color: var(--warm-cream);
      color: var(--text-primary);
      margin: 0;
      line-height: 1.7;
      font-size: 1rem;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button, input, textarea {
      font-family: inherit;
    }
    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    /* 悬浮胶囊导航 */
    .nav-capsule {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 50;
      background: rgba(26, 20, 16, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 40px;
      padding: 8px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: auto;
      max-width: 90vw;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }
    .logo-text {
      font-weight: 700;
      font-size: 1.25rem;
      background: linear-gradient(135deg, #E5C77C, #C89B3C);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-right: 2rem;
      white-space: nowrap;
    }
    .nav-links {
      display: flex;
      gap: 1.5rem;
      align-items: center;
    }
    .nav-link {
      color: #F7F3EC;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
      position: relative;
    }
    .nav-link:hover {
      color: var(--gold);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 6px;
      height: 6px;
      background: var(--gold);
      border-radius: 50%;
    }
    /* 移动端导航调整为底部固定胶囊条 */
    @media (max-width: 768px) {
      .nav-capsule {
        top: auto;
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: none;
        border-radius: 48px;
        padding: 8px 20px;
        justify-content: space-around;
        background: rgba(26, 20, 16, 0.9);
        backdrop-filter: blur(20px);
      }
      .logo-text {
        margin-right: 0;
        font-size: 1rem;
      }
      .nav-links {
        gap: 0.75rem;
      }
      .nav-link {
        font-size: 0.8rem;
      }
    }
    /* 区块标题短装饰线 */
    .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--gold);
      border-radius: 2px;
    }
    .text-center .section-title::after {
      left: 50%;
      transform: translateX(-50%);
    }
    /* 卡片通用 */
    .card {
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: box-shadow 0.25s ease, transform 0.2s;
      overflow: hidden;
    }
    .card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    /* 按钮 */
    .btn-primary {
      background: var(--gold);
      color: white;
      border-radius: var(--radius-full);
      padding: 0.75rem 2rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: var(--gold-deep);
      box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--gold);
      color: var(--gold);
      border-radius: var(--radius-full);
      padding: 0.75rem 2rem;
      font-weight: 600;
      transition: all 0.2s;
      display: inline-block;
      text-align: center;
    }
    .btn-outline:hover {
      background: rgba(200, 155, 60, 0.1);
    }
    .btn-lava {
      background: var(--lava);
      color: white;
      border-radius: var(--radius-full);
      padding: 0.75rem 2rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
      width: 100%;
    }
    .btn-lava:hover {
      background: #C04E2A;
    }
    /* 亮点网格卡片竖线 */
    .advantage-card {
      position: relative;
      padding-left: 1.5rem;
      border-left: 6px solid var(--gold);
      background: white;
      border-radius: 12px;
      transition: all 0.2s;
    }
    .advantage-card:nth-child(even) {
      background: var(--card-bg-alt);
    }
    /* 案例卡片遮罩 */
    .case-card {
      position: relative;
      border-radius: var(--radius-card);
      overflow: hidden;
      break-inside: avoid;
      margin-bottom: 2rem;
    }
    .case-img {
      transition: transform 0.4s ease;
    }
    .case-card:hover .case-img {
      transform: scale(1.05);
    }
    .case-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(26,20,16,0.8));
      padding: 1.5rem;
      color: white;
    }
    /* VS胶囊动画 */
    .vs-badge {
      background: var(--lava);
      color: white;
      font-weight: 800;
      border-radius: 50%;
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      animation: pulse 2s infinite;
      z-index: 10;
      box-shadow: 0 0 20px rgba(212,87,46,0.4);
    }
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.08); }
      100% { transform: scale(1); }
    }
    /* FAQ手风琴 */
    .faq-item {
      border-bottom: 1px solid var(--border-soft);
      padding: 1rem 0;
    }
    .faq-question {
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.2s;
      position: relative;
    }
    .faq-question:hover {
      color: var(--gold);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: #F9F7F2;
      border-radius: 8px;
      margin-top: 0.5rem;
      padding: 0 1rem;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 1rem;
    }
    .faq-indicator {
      width: 4px;
      background: var(--gold);
      margin-right: 0.75rem;
      display: none;
    }
    .faq-item.open .faq-indicator {
      display: block;
    }
    /* 表单输入 */
    .form-input {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid var(--border-soft);
      border-radius: 12px;
      background: white;
      transition: border 0.2s, box-shadow 0.2s;
    }
    .form-input:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(200,155,60,0.25);
    }
    /* 页脚 */
    .footer {
      background: var(--dark-brown);
      color: #B8A898;
    }
    .footer a:hover {
      color: var(--gold);
    }
    /* 方案对比卡片 */
    .compare-left {
      background: var(--cool-bg);
    }
    .compare-right {
      background: var(--warm-bg);
    }
    @media (max-width: 768px) {
      .section-title {
        font-size: 1.8rem;
      }
      .vs-badge {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
      }
    }
