/* roulang page: index */
:root {
      --primary: #0F172A;
      --accent: #6366F1;
      --accent-hover: #4F46E5;
      --accent-neon: #EC4899;
      --bg-page: #FAFAFA;
      --bg-card: #FFFFFF;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #F8FAFC;
      --border-subtle: rgba(226, 232, 240, 0.8);
      --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-pill: 9999px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-family);
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.7;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    /* 强排版与通用组件微调 */
    h1, h2, h3, h4, h5, h6 {
      color: var(--primary);
      letter-spacing: -0.02em;
      font-weight: 700;
    }
    .text-num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
    .badge-pill-soft {
      background-color: rgba(99, 102, 241, 0.1);
      color: var(--accent);
      padding: 6px 14px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: 0.85rem;
      display: inline-block;
    }

    /* 顶部双层导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1030;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .header-top-row {
      padding: 12px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--primary);
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
    .brand-logo svg {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .nav-search-box {
      background: #F1F5F9;
      border: 1px solid transparent;
      border-radius: var(--radius-pill);
      padding: 6px 16px;
      font-size: 0.85rem;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 0.85rem;
      width: 140px;
    }
    .lang-selector-ui {
      background: transparent;
      border: 1px solid #CBD5E1;
      border-radius: var(--radius-sm);
      padding: 5px 10px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-main);
      cursor: pointer;
    }

    /* 第二层 Tabs 栏 */
    .header-pills-row {
      padding: 8px 0 10px;
      overflow-x: auto;
      white-space: nowrap;
      -ms-overflow-style: none;
      scrollbar-width: none;
      border-top: 1px dashed rgba(226, 232, 240, 0.6);
    }
    .header-pills-row::-webkit-scrollbar { display: none; }
    .nav-pill-track {
      display: flex;
      gap: 8px;
    }
    .nav-pill-item {
      color: var(--text-muted);
      text-decoration: none;
      padding: 6px 14px;
      font-size: 0.85rem;
      font-weight: 500;
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
      background: transparent;
    }
    .nav-pill-item:hover, .nav-pill-item.active {
      background: var(--primary);
      color: #FFFFFF;
    }

    /* 按钮重构 */
    .btn-brand-primary {
      background-color: var(--accent);
      color: #FFFFFF;
      border-radius: var(--radius-pill);
      padding: 10px 24px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      min-height: 44px;
    }
    .btn-brand-primary:hover {
      background-color: var(--accent-hover);
      color: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.4);
    }
    .btn-brand-ghost {
      background-color: transparent;
      color: var(--primary);
      border: 1px solid #CBD5E1;
      border-radius: var(--radius-pill);
      padding: 10px 24px;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      min-height: 44px;
    }
    .btn-brand-ghost:hover {
      background-color: #F8FAFC;
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }

    /* 区块基础与交替底色 */
    .content-section {
      padding: 80px 0;
      position: relative;
    }
    .bg-alt-light { background-color: #F8FAFC; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
    .section-header-block {
      max-width: 760px;
      margin: 0 auto 48px;
      text-align: center;
    }
    .section-title {
      font-size: 2.1rem;
      margin-top: 12px;
      margin-bottom: 16px;
    }
    .section-lead {
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    /* 卡片系统 */
    .ui-card-modern {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      height: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .ui-card-modern:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(99, 102, 241, 0.3);
    }

    /* 01. 首屏轮播展台 */
    .hero-banner-carousel .carousel-item {
      min-height: 520px;
      position: relative;
      background-color: var(--primary);
      color: #FFFFFF;
      overflow: hidden;
    }
    .carousel-bg-wrap {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    .carousel-bg-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.22;
      filter: saturate(1.2) contrast(1.1);
    }
    .carousel-content-layer {
      position: relative;
      z-index: 2;
      padding: 85px 0 95px;
    }
    .hero-h1 {
      font-size: 2.75rem;
      color: #FFFFFF;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 20px;
    }
    .hero-desc {
      font-size: 1.15rem;
      color: #E2E8F0;
      line-height: 1.75;
      margin-bottom: 32px;
      max-width: 720px;
    }
    .hero-countdown-ring {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      display: inline-flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 28px;
    }
    .countdown-unit {
      text-align: center;
    }
    .countdown-unit .val {
      font-size: 1.6rem;
      font-weight: 700;
      color: #38BDF8;
      display: block;
      line-height: 1;
    }
    .countdown-unit .lbl {
      font-size: 0.75rem;
      color: #94A3B8;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* 02. 平台概况与引擎架构 */
    .engine-feat-list {
      list-style: none;
      padding: 0;
      margin: 24px 0 0;
    }
    .engine-feat-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 16px;
      font-size: 0.95rem;
      color: var(--text-main);
    }
    .engine-feat-list svg {
      width: 20px;
      height: 20px;
      color: var(--accent);
      flex-shrink: 0;
      margin-top: 3px;
    }

    /* 03. 核心优势六宫格 */
    .strength-icon-box {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: rgba(99, 102, 241, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      margin-bottom: 18px;
    }
    .strength-icon-box svg { width: 24px; height: 24px; }

    /* 04. 热门服务与场景矩阵 */
    .matrix-card {
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .matrix-spec-list {
      list-style: none;
      padding: 0;
      margin: 20px 0;
      border-top: 1px dashed var(--border-subtle);
      border-bottom: 1px dashed var(--border-subtle);
      padding-top: 16px;
      padding-bottom: 16px;
      font-size: 0.9rem;
    }
    .matrix-spec-list li {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .matrix-spec-list li span:first-child { color: var(--text-muted); }
    .matrix-spec-list li span:last-child { font-weight: 600; color: var(--text-main); }

    /* 05. 深色沉浸式案例区 */
    .dark-engine-section {
      background-color: var(--primary);
      color: #FFFFFF;
    }
    .dark-engine-section h2, .dark-engine-section h3 { color: #FFFFFF; }
    .dark-engine-section p { color: #94A3B8; }
    .dark-case-card {
      background: #1E293B;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      overflow: hidden;
      height: 100%;
    }
    .dark-case-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }
    .dark-case-body { padding: 24px; }
    .dark-tag-row {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .dark-badge {
      background: rgba(255, 255, 255, 0.1);
      color: #38BDF8;
      font-size: 0.75rem;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
    }

    /* 06. 客户故事与出海实践 */
    .client-story-card {
      padding: 32px;
      position: relative;
    }
    .quote-mark {
      font-size: 4rem;
      line-height: 1;
      color: rgba(99, 102, 241, 0.15);
      position: absolute;
      top: 16px;
      right: 24px;
      font-family: Georgia, serif;
    }

    /* 07. 平台关键效能数据条 */
    .metrics-bar-wrap {
      background: #FFFFFF;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 40px 24px;
      box-shadow: var(--shadow-sm);
    }
    .metric-item { text-align: center; }
    .metric-item .num {
      font-size: 2.6rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.1;
      margin-bottom: 6px;
    }
    .metric-item .label {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 08. 游戏厂商与评测口碑 */
    .review-card {
      padding: 24px;
    }
    .stars-row {
      color: #F59E0B;
      font-size: 0.95rem;
      margin-bottom: 12px;
    }

    /* 09. 游戏本地化前沿资讯 */
    .news-card-img {
      height: 180px;
      width: 100%;
      object-fit: cover;
    }
    .news-body { padding: 20px; }

    /* 10. 标准化交付服务流程 */
    .step-timeline-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      position: relative;
    }
    .step-item {
      flex: 1;
      min-width: 180px;
      padding: 16px;
      text-align: center;
      position: relative;
    }
    .step-number {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--accent);
      color: #FFFFFF;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 1.1rem;
    }

    /* 11. 常见问题解答手风琴 */
    .accordion-button:not(.collapsed) {
      color: var(--accent);
      background-color: rgba(99, 102, 241, 0.05);
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: none;
      border-color: rgba(99, 102, 241, 0.3);
    }
    .accordion-item {
      border: 1px solid var(--border-subtle);
      margin-bottom: 12px;
      border-radius: var(--radius-sm) !important;
      overflow: hidden;
    }

    /* 12. 底部转化号召与需求提交 */
    .contact-cta-wrapper {
      background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
      border-radius: 16px;
      padding: 48px;
      color: #FFFFFF;
      box-shadow: var(--shadow-lg);
    }
    .contact-form-control {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #FFFFFF;
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      font-size: 0.9rem;
    }
    .contact-form-control:focus {
      background: rgba(255, 255, 255, 0.12);
      border-color: var(--accent);
      color: #FFFFFF;
      outline: none;
      box-shadow: none;
    }
    .form-check-input:checked {
      background-color: var(--accent);
      border-color: var(--accent);
    }

    /* 全局页脚 */
    .site-footer {
      background-color: #0B0F19;
      color: #94A3B8;
      padding: 64px 0 32px;
      border-top: 1px solid #1E293B;
      font-size: 0.9rem;
    }
    .site-footer h5 {
      color: #FFFFFF;
      font-size: 1rem;
      margin-bottom: 18px;
      font-weight: 600;
    }
    .site-footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .site-footer ul li { margin-bottom: 10px; }
    .site-footer a {
      color: #94A3B8;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .site-footer a:hover { color: #FFFFFF; }
    .footer-bottom-bar {
      margin-top: 48px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: 0.85rem;
    }

    @media (max-width: 991px) {
      .hero-h1 { font-size: 2.2rem; }
      .contact-cta-wrapper { padding: 32px 20px; }
      .step-item { min-width: 100%; margin-bottom: 24px; }
    }
