/* roulang page: index */
:root {
      --deep-black: #0A0E17;
      --ignite-red: #E62E2E;
      --gold-medal: #C9A84C;
      --dark-blue-gray: #1A1F2B;
      --warm-cream: #F5F0E8;
      --soft-gold-white: #EAE5DE;
      --muted-gray: #8B919A;
      --border-subtle: rgba(201, 168, 76, 0.15);
      --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
      --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.6);
      --font-title: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-number: "Oswald", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
      --transition-smooth: all 0.25s ease;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background-color: var(--deep-black);
      color: var(--soft-gold-white);
      font-family: var(--font-title);
      font-size: 16px;
      line-height: 1.8;
      margin: 0;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    h1, h2, h3, h4, .font-title {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    .font-number {
      font-family: var(--font-number);
      font-weight: 500;
      text-transform: uppercase;
    }

    a {
      text-decoration: none;
      transition: var(--transition-smooth);
      color: var(--soft-gold-white);
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* 导航栏 */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1050;
      transition: var(--transition-smooth);
      background: rgba(10, 14, 23, 0.75);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201, 168, 76, 0.2);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    #nav.scrolled {
      background: #0A0E17;
      backdrop-filter: none;
      border-bottom: 1px solid var(--border-subtle);
      box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    }
    .navbar-brand {
      font-weight: 800;
      font-size: 22px;
      color: var(--gold-medal) !important;
      letter-spacing: 2px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .navbar-brand i {
      font-size: 24px;
      color: var(--ignite-red);
    }
    .nav-link {
      color: var(--soft-gold-white) !important;
      font-weight: 500;
      margin: 0 8px;
      position: relative;
      padding: 8px 4px;
    }
    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--gold-medal);
      transition: var(--transition-smooth);
      transform: translateX(-50%);
    }
    .nav-link:hover {
      color: var(--gold-medal) !important;
    }
    .nav-link:hover::after {
      width: 100%;
    }
    .navbar-toggler {
      border-color: rgba(201,168,76,0.5);
    }
    .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(234, 229, 222, 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: #0A0E17;
        padding: 24px;
      }
      .nav-link {
        border-bottom: 1px solid rgba(201,168,76,0.15);
        padding: 12px 0;
      }
    }

    /* Hero */
    #hero {
      min-height: 100vh;
      background: radial-gradient(circle at 30% 30%, #1A1F2B, #0A0E17 90%);
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .hero-bg-img {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 55%;
      height: 100%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      opacity: 0.35;
      mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 90%);
      z-index: 0;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 0 24px;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 800;
      background: linear-gradient(135deg, #E62E2E 0%, #C9A84C 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      max-width: 700px;
      line-height: 1.2;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: var(--muted-gray);
      max-width: 480px;
      margin: 24px 0 32px;
    }
    .btn-primary-custom {
      background: var(--ignite-red);
      border: none;
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: 4px;
      transition: var(--transition-smooth);
      box-shadow: 0 0 12px rgba(230,46,46,0.4);
    }
    .btn-primary-custom:hover {
      background: #FF3B3B;
      box-shadow: 0 0 20px rgba(255,59,59,0.7);
      color: white;
    }
    .btn-outline-custom {
      background: transparent;
      border: 1px solid var(--soft-gold-white);
      color: var(--soft-gold-white);
      padding: 14px 32px;
      border-radius: 4px;
      font-weight: 600;
      transition: var(--transition-smooth);
    }
    .btn-outline-custom:hover {
      background: rgba(230,46,46,0.1);
      border-color: var(--ignite-red);
      color: var(--ignite-red);
    }
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.5rem;
      }
      .hero-bg-img {
        width: 100%;
        opacity: 0.2;
      }
      .btn-group-custom {
        flex-direction: column;
        gap: 12px;
      }
      .btn-primary-custom, .btn-outline-custom {
        width: 100%;
        text-align: center;
      }
    }

    /* 通用区块 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      color: var(--soft-gold-white);
      margin-bottom: 16px;
      position: relative;
    }
    .section-title span {
      color: var(--ignite-red);
    }
    .divider {
      width: 60px;
      height: 4px;
      background: var(--gold-medal);
      margin: 16px 0 32px;
    }

    /* 优势区块 */
    .advantage-large-img {
      background: url('/assets/images/coverpic/cover-1.webp') center/cover no-repeat;
      min-height: 360px;
      border-radius: 12px;
      position: relative;
      overflow: hidden;
    }
    .advantage-watermark {
      position: absolute;
      bottom: 20px;
      left: 20px;
      font-size: 2rem;
      font-weight: 800;
      color: rgba(255,255,255,0.2);
      letter-spacing: 4px;
    }
    .advantage-card {
      background: var(--dark-blue-gray);
      border-radius: 12px;
      padding: 28px;
      height: 100%;
      border-left: 4px solid var(--ignite-red);
    }
    .icon-gold {
      color: var(--gold-medal);
      font-size: 2rem;
      margin-bottom: 16px;
    }

    /* 服务网格 */
    .service-card {
      background: var(--dark-blue-gray);
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: var(--transition-smooth);
      height: 100%;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(201,168,76,0.4);
    }
    .service-img {
      height: 180px;
      object-fit: cover;
      width: 100%;
      transition: var(--transition-smooth);
    }
    .service-card:hover .service-img {
      filter: brightness(0.7) sepia(0.3);
    }
    .service-body {
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .arrow-icon {
      transition: var(--transition-smooth);
    }
    .service-card:hover .arrow-icon {
      transform: translateX(8px);
      color: var(--ignite-red);
    }

    /* 数据条 */
    #stats {
      background: #0A0E17;
      border-top: 1px solid rgba(201,168,76,0.2);
      border-bottom: 1px solid rgba(201,168,76,0.2);
    }
    .stat-number {
      font-size: 2.8rem;
      font-family: var(--font-number);
      color: var(--gold-medal);
      line-height: 1.2;
    }

    /* 案例卡片 */
    .case-card {
      background: var(--dark-blue-gray);
      border-radius: 12px;
      overflow: hidden;
      min-width: 300px;
      box-shadow: var(--shadow-card);
    }
    .case-badge {
      background: var(--ignite-red);
      color: white;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 0.9rem;
    }
    .scroll-cases {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }
    .scroll-cases > * {
      scroll-snap-align: start;
      flex: 0 0 auto;
      width: 320px;
    }

    /* 方案交替 */
    .solution-img {
      background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
      min-height: 300px;
      border-radius: 12px;
      box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
    }

    /* FAQ */
    .accordion-button {
      background: transparent !important;
      color: var(--soft-gold-white) !important;
      font-weight: 600;
      box-shadow: none !important;
      border-bottom: 1px solid rgba(201,168,76,0.15);
      padding: 18px 0;
    }
    .accordion-button:not(.collapsed) {
      color: var(--ignite-red) !important;
      background: transparent !important;
    }
    .accordion-item {
      background: transparent;
      border: none;
    }
    .accordion-body {
      color: var(--muted-gray);
      padding: 16px 0;
    }

    /* CTA横幅 */
    #cta {
      background: var(--ignite-red);
    }
    .btn-white-outline {
      background: white;
      color: #0A0E17;
      font-weight: 700;
      padding: 14px 36px;
      border-radius: 4px;
    }
    .btn-white-outline:hover {
      background: #f0f0f0;
    }

    /* 页脚 */
    footer {
      background: #0A0E17;
      border-top: 1px solid rgba(201,168,76,0.2);
    }
    .footer-link {
      color: var(--muted-gray);
      display: block;
      margin: 6px 0;
    }
    .footer-link:hover {
      color: var(--gold-medal);
    }
