/* roulang page: index */
:root {
      --deep-space: #1A1F3A;
      --starlight-gold: #C9A96E;
      --starlight-gold-hover: #B8954F;
      --warm-white: #F7F5F0;
      --charcoal: #2C2C2C;
      --rock-gray: #6B6B6B;
      --border-light: #E5E0D8;
      --card-shadow: 0 4px 20px rgba(0,0,0,0.04);
      --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --bs-primary: var(--starlight-gold);
      --bs-body-bg: var(--warm-white);
      --bs-body-color: var(--charcoal);
      --bs-border-radius: 12px;
      --bs-card-border-radius: 12px;
      --bs-btn-border-radius: 30px;
      --bs-link-color: var(--starlight-gold);
      --bs-link-hover-color: var(--starlight-gold-hover);
      font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background-color: var(--warm-white);
      color: var(--charcoal);
      font-size: 16px;
      line-height: 1.8;
      margin: 0;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      transition: color 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 左侧竖向导航 - 桌面端 */
    .main-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 230px;
      height: 100vh;
      background-color: var(--deep-space);
      color: white;
      display: flex;
      flex-direction: column;
      padding: 2rem 1.5rem;
      z-index: 1030;
      box-shadow: 2px 0 15px rgba(0,0,0,0.06);
    }

    .sidebar-brand {
      margin-bottom: 3rem;
    }

    .logo-text {
      font-size: 26px;
      font-weight: 700;
      color: var(--starlight-gold);
      letter-spacing: 2px;
      line-height: 1.3;
    }

    .logo-sub {
      font-size: 10px;
      font-weight: 300;
      letter-spacing: 3px;
      color: rgba(255,255,255,0.6);
      text-transform: uppercase;
      margin-top: 4px;
    }

    .nav-menu {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      margin-top: 1rem;
    }

    .nav-menu a {
      color: rgba(255,255,255,0.8);
      font-size: 16px;
      font-weight: 400;
      padding: 0.5rem 0;
      border-left: 3px solid transparent;
      padding-left: 12px;
      transition: all 0.25s ease;
      display: block;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--starlight-gold);
      border-left-color: var(--starlight-gold);
      padding-left: 16px;
    }

    /* 右侧内容区 */
    .main-content {
      margin-left: 230px;
      width: calc(100% - 230px);
    }

    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      background-color: var(--deep-space);
      color: white;
      padding: 1rem 1.5rem;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1040;
      align-items: center;
      justify-content: space-between;
    }

    .mobile-logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--starlight-gold);
    }

    .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(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .mobile-nav-collapse {
      background-color: var(--deep-space);
      width: 100%;
    }

    .mobile-nav-collapse .nav-link {
      color: rgba(255,255,255,0.8);
      padding: 0.8rem 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* 通用区块 */
    .section {
      padding: 5rem 0;
    }

    .section-title {
      font-size: 36px;
      font-weight: 600;
      color: var(--charcoal);
      margin-bottom: 1.5rem;
    }

    .btn-primary-custom {
      background-color: var(--starlight-gold);
      border: none;
      color: white;
      padding: 12px 32px;
      font-weight: 600;
      border-radius: 30px;
      transition: all 0.25s ease;
      display: inline-block;
      text-align: center;
    }

    .btn-primary-custom:hover {
      background-color: var(--starlight-gold-hover);
      box-shadow: 0 4px 15px rgba(201,169,110,0.4);
      color: white;
    }

    .btn-outline-gold {
      border: 1px solid var(--starlight-gold);
      color: var(--starlight-gold);
      background: transparent;
      padding: 10px 28px;
      font-weight: 600;
      border-radius: 30px;
      transition: all 0.25s ease;
    }

    .btn-outline-gold:hover {
      background-color: var(--starlight-gold);
      color: white;
    }

    .card-custom {
      background: #FFFFFF;
      border-radius: 12px;
      box-shadow: var(--card-shadow);
      padding: 2rem;
      height: 100%;
      transition: all 0.3s ease;
      border: none;
    }

    .card-custom:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
    }

    .gold-text {
      color: var(--starlight-gold);
    }

    .bg-deep {
      background-color: var(--deep-space);
      color: white;
    }

    /* Hero */
    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 20px;
      min-height: 380px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* 服务卡片图片 */
    .service-icon {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 1.5rem;
    }

    /* 案例卡片图片 */
    .case-cover {
      height: 200px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
      width: 100%;
      transition: transform 0.3s ease;
    }

    .card-custom:hover .case-cover {
      transform: scale(1.03);
    }

    /* FAQ 手风琴 */
    .accordion-button {
      font-weight: 500;
      font-size: 18px;
      background: white;
      color: var(--charcoal);
      border-bottom: 1px solid var(--border-light);
      box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
      background-color: white;
      color: var(--starlight-gold);
      box-shadow: none;
      border-bottom: 1px solid var(--starlight-gold);
    }

    .accordion-item {
      border: none;
      background: transparent;
    }

    /* 页脚 */
    .footer a {
      color: #CCCCCC;
      transition: color 0.2s;
    }
    .footer a:hover {
      color: var(--starlight-gold);
    }

    /* 响应式 */
    @media (max-width: 992px) {
      .main-sidebar {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 70px;
      }
      .section {
        padding: 3rem 0;
      }
      .section-title {
        font-size: 28px;
      }
      h1 {
        font-size: 32px !important;
      }
      .hero-image {
        min-height: 280px;
        margin-top: 2rem;
      }
    }
