/* roulang page: index */
:root {
      --primary: #FF6B6B;
      --secondary: #4ECDC4;
      --bg-warm: #FFFBF7;
      --text-deep: #2D3436;
      --text-mid: #636E72;
      --border-soft: #F0EDEA;
      --gradient-brand: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
      --gradient-secondary-light: linear-gradient(135deg, rgba(78, 205, 196, 0.12) 0%, rgba(78, 205, 196, 0.04) 100%);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 32px rgba(0,0,0,0.08);
      --radius-xl: 24px;
      --radius-btn: 16px;
      --radius-tag: 12px;
      --nav-blur: rgba(255, 255, 255, 0.85);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      background-color: var(--bg-warm);
      color: var(--text-deep);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
    }

    .container-custom {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 导航 Dock */
    .nav-dock {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 40px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.06);
      max-width: 720px;
      margin: 16px auto 0 auto;
      padding: 0.5rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 50;
      width: calc(100% - 32px);
      transition: all 0.3s ease;
    }

    .logo-text {
      font-weight: 700;
      font-size: 1.5rem;
      background: linear-gradient(135deg, #FF6B6B, #FF8E53);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
    }

    .nav-link {
      font-weight: 500;
      color: var(--text-deep);
      padding: 0.5rem 0.75rem;
      border-radius: 20px;
      transition: all 0.2s;
      font-size: 0.95rem;
    }

    .nav-link:hover {
      background: rgba(255, 107, 107, 0.08);
      color: #FF6B6B;
    }

    .btn-primary {
      background: var(--gradient-brand);
      color: white;
      border: none;
      padding: 0.6rem 1.5rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
      box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
      display: inline-block;
      text-align: center;
      white-space: nowrap;
    }

    .btn-primary:hover {
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(255, 107, 107, 0.45);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid #FF6B6B;
      color: #FF6B6B;
      padding: 0.5rem 1.4rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
    }

    .btn-outline:hover {
      background: rgba(255, 107, 107, 0.08);
      transform: scale(1.02);
    }

    /* 卡片悬停动画 */
    .card-hover {
      transition: transform 0.25s ease, box-shadow 0.3s ease;
      background: #FFFFFF;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-card);
    }

    .card-hover:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }

    .gradient-text {
      background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-image-bg {
      background-image: url('/assets/images/backpic/hero.webp');
      background-size: cover;
      background-position: center;
      min-height: 400px;
      border-radius: 32px;
      width: 100%;
    }

    /* FAQ 手风琴 */
    .faq-item {
      border-bottom: 1px solid var(--border-soft);
      transition: background 0.2s;
    }
    .faq-question {
      cursor: pointer;
      padding: 1.25rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
      font-size: 1.1rem;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      padding: 0 0;
      color: var(--text-mid);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 0 0 1.25rem 0;
    }
    .faq-item.active {
      background: rgba(255, 251, 247, 0.9);
    }
    .faq-icon {
      transition: transform 0.3s;
      font-size: 1.4rem;
      color: var(--primary);
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 移动端菜单 */
    .mobile-menu {
      display: none;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      border-radius: 28px;
      box-shadow: 0 20px 30px rgba(0,0,0,0.1);
      padding: 1rem;
      flex-direction: column;
      gap: 0.5rem;
      z-index: 45;
    }
    .mobile-menu.active {
      display: flex;
    }

    @media (max-width: 768px) {
      .nav-dock {
        padding: 0.5rem 1rem;
      }
      .desktop-nav-links {
        display: none;
      }
      .mobile-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: transparent;
        border: none;
        font-size: 1.8rem;
        color: var(--text-deep);
      }
      .hero-container {
        flex-direction: column-reverse;
      }
      .hero-text, .hero-image {
        width: 100%;
        text-align: center;
      }
      .hero-image-bg {
        min-height: 280px;
        margin-bottom: 1.5rem;
      }
      .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
      }
      h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
      }
      h2 {
        font-size: 2rem !important;
      }
    }

    @media (min-width: 769px) {
      .mobile-hamburger {
        display: none;
      }
    }

    .bg-cta-gradient {
      background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
      position: relative;
      overflow: hidden;
    }
    .bg-cta-gradient::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
      border-radius: 50%;
    }

    .btn-white-reverse {
      background: white;
      color: #FF6B6B;
      font-weight: 700;
      padding: 0.8rem 2.5rem;
      border-radius: 40px;
      transition: all 0.3s;
      box-shadow: 0 8px 18px rgba(0,0,0,0.1);
      display: inline-block;
    }
    .btn-white-reverse:hover {
      background: #fff5f5;
      transform: scale(1.04);
      box-shadow: 0 14px 24px rgba(0,0,0,0.15);
    }

    footer a:hover {
      color: #FF6B6B;
    }
