/* roulang page: index */
:root {
      --primary-gold: #F0C45A;
      --primary-gold-light: #F5D98B;
      --accent-violet: #A855F7;
      --accent-violet-glow: rgba(168, 85, 247, 0.35);
      --bg-deep: #0A0812;
      --bg-card: rgba(20, 18, 35, 0.7);
      --bg-glass: rgba(20, 18, 35, 0.55);
      --bg-footer: #06040E;
      --text-primary: #FFFFFF;
      --text-body: #C8C5D0;
      --text-muted: #8B8795;
      --border-light: rgba(168, 85, 247, 0.25);
      --radius-card: 16px;
      --radius-btn: 40px;
      --radius-faq: 12px;
      --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
      --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Inter', system-ui, -apple-system, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-body);
      line-height: 1.7;
      margin: 0;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-primary);
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    a {
      text-decoration: none;
      color: var(--text-body);
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--primary-gold);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 自定义容器轻微调整 */
    .container-custom {
      max-width: 1140px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 区块标题装饰线 */
    .section-title {
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 600;
      margin-bottom: 1.5rem;
      position: relative;
      display: inline-block;
      color: var(--text-primary);
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 48px;
      height: 4px;
      background: var(--primary-gold);
      border-radius: 2px;
    }
    .text-center .section-title::after {
      left: 50%;
      transform: translateX(-50%);
    }

    .section-subtitle {
      font-size: 1.25rem;
      color: var(--text-body);
      max-width: 600px;
      margin-bottom: 3rem;
      line-height: 1.6;
    }

    /* 导航栏完全自定义覆盖 Bootstrap */
    .navbar {
      background: rgba(10, 8, 24, 0.85) !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(168, 85, 247, 0.2);
      padding: 0 1.5rem;
      height: 72px;
      z-index: 1050;
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary-gold) !important;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .navbar-brand span {
      color: var(--text-primary);
    }
    .nav-link {
      font-size: 0.95rem;
      font-weight: 400;
      color: var(--text-body) !important;
      padding: 0.5rem 1rem !important;
      border-radius: 20px;
      margin: 0 0.2rem;
      transition: all 0.2s ease;
    }
    .nav-link:hover {
      color: var(--primary-gold) !important;
      background: transparent;
    }
    .nav-link.active {
      background-color: rgba(240, 196, 90, 0.18) !important;
      color: var(--primary-gold) !important;
      border-radius: 20px;
    }
    .navbar-toggler {
      border: none;
      color: var(--text-primary);
    }
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(240,196,90,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
    @media (max-width: 991px) {
      .navbar-collapse {
        background: rgba(10, 8, 24, 0.95);
        backdrop-filter: blur(12px);
        padding: 1rem;
        border-radius: 16px;
        margin-top: 0.5rem;
      }
    }

    /* Hero */
    #hero {
      min-height: 100vh;
      background: linear-gradient(135deg, rgba(10,8,18,0.8) 0%, rgba(10,8,18,0.4) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      display: flex;
      align-items: center;
      position: relative;
    }
    .hero-title {
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 700;
      line-height: 1.2;
      background: linear-gradient(135deg, #F0C45A, #F5D98B);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
      letter-spacing: -0.02em;
    }
    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-body);
      max-width: 580px;
      margin-bottom: 2.5rem;
    }
    .btn-gold {
      background: var(--primary-gold);
      border: none;
      color: #0A0812;
      font-weight: 600;
      padding: 0.75rem 2.2rem;
      border-radius: var(--radius-btn);
      transition: all 0.3s ease;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 14px rgba(240,196,90,0.3);
    }
    .btn-gold:hover {
      background: #F5D98B;
      box-shadow: 0 0 24px rgba(240,196,90,0.6);
      color: #0A0812;
    }
    .btn-outline-gold {
      border: 1px solid var(--primary-gold);
      color: var(--primary-gold);
      background: transparent;
      padding: 0.75rem 2.2rem;
      border-radius: var(--radius-btn);
      font-weight: 500;
      transition: all 0.3s;
    }
    .btn-outline-gold:hover {
      background: rgba(240,196,90,0.1);
      border-color: #F5D98B;
      color: #F5D98B;
    }

    /* 卡片通用 */
    .glass-card {
      background: var(--bg-glass);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .glass-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-card-hover), 0 0 20px var(--accent-violet-glow);
      border-color: rgba(168,85,247,0.5);
    }

    /* 优势图标 */
    .feature-icon {
      font-size: 2rem;
      color: var(--primary-gold);
      margin-bottom: 1.2rem;
    }

    /* 服务卡片交错 */
    .service-card {
      background: var(--bg-glass);
      backdrop-filter: blur(16px);
      border-radius: var(--radius-card);
      overflow: hidden;
      border: 1px solid var(--border-light);
      transition: all 0.3s;
      height: fit-content;
      margin-bottom: 2rem;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 0 24px var(--accent-violet-glow);
    }
    .service-img {
      height: 180px;
      object-fit: cover;
    }
    .service-body {
      padding: 28px;
    }
    .middle-card {
      margin-top: -24px;
    }
    @media (max-width: 768px) {
      .middle-card {
        margin-top: 0;
      }
    }

    /* 案例滑动 */
    .case-scroll {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 1rem;
    }
    .case-scroll::-webkit-scrollbar {
      height: 6px;
    }
    .case-scroll::-webkit-scrollbar-thumb {
      background: var(--accent-violet);
      border-radius: 8px;
    }
    .case-card {
      flex: 0 0 calc(40% - 1rem);
      min-width: 280px;
      scroll-snap-align: start;
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-card);
      padding: 2rem;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-card);
    }
    .case-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-gold);
    }
    @media (max-width: 768px) {
      .case-card {
        flex: 0 0 85%;
      }
    }

    /* FAQ 手风琴覆盖 */
    .accordion-item {
      background: transparent;
      border: 1px solid rgba(168,85,247,0.15);
      margin-bottom: 1rem;
      border-radius: var(--radius-faq) !important;
      overflow: hidden;
    }
    .accordion-button {
      background: rgba(20,18,35,0.7);
      color: var(--text-primary);
      font-weight: 500;
      font-size: 1.1rem;
      box-shadow: none;
      border-radius: var(--radius-faq) !important;
      padding: 1.2rem 1.5rem;
    }
    .accordion-button:not(.collapsed) {
      background: rgba(168,85,247,0.1);
      color: var(--primary-gold);
      box-shadow: none;
    }
    .accordion-button::after {
      filter: invert(80%) sepia(20%) saturate(200%);
      transition: transform 0.3s;
    }
    .accordion-body {
      background: rgba(10,8,18,0.7);
      color: var(--text-body);
      padding: 1.2rem 1.5rem;
    }

    /* CTA 条 */
    #cta {
      background: #0A0812;
      border-top: 1px solid rgba(168,85,247,0.2);
      border-bottom: 1px solid rgba(168,85,247,0.2);
    }

    /* 页脚 */
    footer {
      background: var(--bg-footer);
      color: var(--text-muted);
    }
    .footer-title {
      color: var(--primary-gold);
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }
    .footer-link {
      color: #8B8795;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      display: block;
    }
    .footer-link:hover {
      color: var(--primary-gold);
    }

    @media (max-width: 767px) {
      .hero-title {
        letter-spacing: 0;
      }
    }
