/* roulang page: index */
:root {
      --primary: #1e1435;
      --primary-light: #5b3cc4;
      --accent: #00e599;
      --accent-hover: #00c784;
      --bg-page: #f8f9fc;
      --bg-surface: #ffffff;
      --bg-dark: #0d0914;
      --bg-dark-card: #171124;
      --text-main: #0f172a;
      --text-muted: #334155;
      --text-sub: #64748b;
      --border-color: #e2e8f0;
      --border-dark: rgba(255, 255, 255, 0.08);
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
      --shadow-lg: 0 16px 36px -4px rgba(30, 20, 53, 0.12);
      --container-width: 1240px;
      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, select, textarea {
      font: inherit;
    }
    .container {
      width: 100%;
      max-width: var(--container-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
    }
    /* 顶部导航 */
    .top-bar {
      background: var(--bg-dark);
      color: #94a3b8;
      font-size: 13px;
      padding: 6px 0;
      border-bottom: 1px solid var(--border-dark);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 22px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.5px;
    }
    .brand-logo-icon {
      width: 34px;
      height: 34px;
      background: linear-gradient(135deg, var(--primary-light), var(--accent));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 900;
      font-size: 18px;
    }
    .main-nav {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
      position: relative;
      padding: 6px 0;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary-light);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .btn-primary {
      background: var(--accent);
      color: var(--primary);
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35);
      transform: translateY(-2px);
    }
    .btn-outline {
      border-color: var(--border-color);
      color: var(--text-muted);
      background: #fff;
    }
    .btn-outline:hover {
      border-color: var(--primary-light);
      color: var(--primary-light);
    }
    .btn-dark {
      background: var(--primary);
      color: #fff;
    }
    .btn-dark:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
    }
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-main);
    }
    /* 区块通用 */
    section {
      padding: 80px 0;
      position: relative;
    }
    .section-alt {
      background-color: #fff;
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #fff;
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-header.center {
      text-align: center;
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary-light);
      background: rgba(91, 60, 196, 0.08);
      padding: 4px 14px;
      border-radius: 50px;
      margin-bottom: 14px;
    }
    .section-dark .section-tag {
      background: rgba(0, 229, 153, 0.12);
      color: var(--accent);
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--text-main);
      margin-bottom: 16px;
    }
    .section-dark .section-title {
      color: #ffffff;
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-sub);
      line-height: 1.75;
    }
    .section-dark .section-desc {
      color: #94a3b8;
    }
    /* Hero */
    .hero-section {
      padding: 60px 0 70px;
      background: radial-gradient(circle at 85% 20%, rgba(91, 60, 196, 0.12), transparent 45%),
                  radial-gradient(circle at 10% 80%, rgba(0, 229, 153, 0.08), transparent 40%),
                  url('/assets/images/backpic/back-1.png') center/cover no-repeat;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    .hero-title {
      font-size: 42px;
      line-height: 1.25;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-title span {
      background: linear-gradient(135deg, var(--primary-light), #00b074);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 32px;
    }
    .hero-meta-strip {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 13px;
      color: var(--text-sub);
      border-top: 1px solid rgba(0,0,0,0.06);
      padding-top: 20px;
    }
    .hero-meta-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .hero-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-color);
      position: relative;
    }
    .hero-card-img {
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 18px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    /* 核心指标看板 */
    .metrics-bar {
      padding: 30px 0;
      background: var(--primary);
      color: #fff;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .metric-item {
      text-align: center;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
      padding: 10px 16px;
    }
    .metric-item:last-child {
      border-right: none;
    }
    .metric-val {
      font-size: 38px;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.1;
      margin-bottom: 6px;
      font-family: ui-monospace, SFMono-Regular, monospace;
    }
    .metric-label {
      font-size: 14px;
      color: #cbd5e1;
    }
    /* 架构图文区 */
    .arch-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 50px;
      align-items: center;
    }
    .arch-img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-color);
    }
    .tech-spec-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 24px;
    }
    .tech-spec-card {
      background: #f1f5f9;
      padding: 14px 18px;
      border-radius: var(--radius-sm);
      border-left: 3px solid var(--primary-light);
    }
    .tech-spec-card h4 {
      font-size: 15px;
      color: var(--primary);
      margin-bottom: 4px;
    }
    .tech-spec-card p {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.5;
    }
    /* 服务矩阵 */
    .cards-3col {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .product-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-light);
    }
    .card-badge {
      align-self: flex-start;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary-light);
      background: rgba(91, 60, 196, 0.08);
      padding: 3px 10px;
      border-radius: 4px;
      margin-bottom: 18px;
    }
    .product-card h3 {
      font-size: 20px;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .product-card p {
      font-size: 14px;
      color: var(--text-sub);
      margin-bottom: 20px;
      flex-grow: 1;
    }
    .card-feature-list {
      list-style: none;
      margin-bottom: 24px;
      border-top: 1px dashed var(--border-color);
      padding-top: 16px;
    }
    .card-feature-list li {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .card-feature-list li::before {
      content: '✓';
      color: var(--accent);
      font-weight: bold;
    }
    /* 核心优势 6宫格 */
    .grid-6 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .advantage-card {
      background: var(--bg-page);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: var(--transition);
    }
    .advantage-card:hover {
      background: #fff;
      box-shadow: var(--shadow-sm);
      border-color: var(--primary-light);
    }
    .advantage-icon {
      width: 44px;
      height: 44px;
      background: #fff;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      border: 1px solid var(--border-color);
      color: var(--primary-light);
      font-weight: bold;
      font-size: 18px;
    }
    .advantage-card h3 {
      font-size: 18px;
      margin-bottom: 8px;
    }
    .advantage-card p {
      font-size: 14px;
      color: var(--text-sub);
    }
    /* 结果对比表 */
    .compare-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    .compare-box {
      border-radius: var(--radius-md);
      padding: 32px;
      border: 1px solid var(--border-color);
    }
    .compare-box.old-tech {
      background: #fff;
      border-left: 4px solid #94a3b8;
    }
    .compare-box.ai-tech {
      background: #fdfefe;
      border-left: 4px solid var(--accent);
      box-shadow: var(--shadow-sm);
    }
    .compare-box h3 {
      font-size: 20px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-color);
      font-size: 14px;
    }
    .compare-row:last-child {
      border-bottom: none;
    }
    .compare-row span:first-child {
      color: var(--text-sub);
    }
    .compare-row span:last-child {
      font-weight: 600;
    }
    /* 技术里程碑 */
    .milestones-flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }
    .milestone-step {
      background: #fff;
      padding: 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      position: relative;
    }
    .milestone-step::after {
      content: '→';
      position: absolute;
      right: -14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      color: var(--text-sub);
      font-weight: bold;
    }
    .milestone-step:last-child::after {
      display: none;
    }
    .step-tag {
      font-size: 12px;
      font-weight: 800;
      color: var(--primary-light);
      margin-bottom: 8px;
    }
    .milestone-step h3 {
      font-size: 17px;
      margin-bottom: 8px;
    }
    .milestone-step p {
      font-size: 13px;
      color: var(--text-sub);
    }
    /* 沉浸案例区 */
    .cases-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .case-card-dark {
      background: var(--bg-dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .case-card-img {
      height: 220px;
      width: 100%;
      object-fit: cover;
    }
    .case-body {
      padding: 24px;
    }
    .case-body h3 {
      font-size: 20px;
      margin-bottom: 10px;
      color: #fff;
    }
    .case-body p {
      font-size: 14px;
      color: #94a3b8;
      margin-bottom: 16px;
    }
    /* 实战落地场景 */
    .scene-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
    .scene-item {
      display: flex;
      gap: 20px;
      background: #fff;
      padding: 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
    }
    .scene-item img {
      width: 140px;
      height: 140px;
      border-radius: var(--radius-sm);
      object-fit: cover;
      flex-shrink: 0;
    }
    .scene-info h3 {
      font-size: 18px;
      margin-bottom: 8px;
    }
    .scene-info p {
      font-size: 14px;
      color: var(--text-sub);
      line-height: 1.6;
    }
    /* 用户评价 3列 */
    .testimonial-card {
      background: #fff;
      padding: 28px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .testimonial-quote {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
      font-style: italic;
      line-height: 1.7;
    }
    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #e2e8f0;
      object-fit: cover;
    }
    .user-meta h4 {
      font-size: 15px;
      margin-bottom: 2px;
    }
    .user-meta span {
      font-size: 12px;
      color: var(--text-sub);
    }
    /* 合规保障 4列 */
    .security-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .security-card {
      background: #fff;
      border: 1px solid var(--border-color);
      padding: 22px;
      border-radius: var(--radius-sm);
      text-align: center;
    }
    .security-card h3 {
      font-size: 16px;
      margin-bottom: 8px;
    }
    .security-card p {
      font-size: 13px;
      color: var(--text-sub);
    }
    /* 资讯动态 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .news-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      overflow: hidden;
      transition: var(--transition);
    }
    .news-card:hover {
      box-shadow: var(--shadow-sm);
    }
    .news-img {
      height: 170px;
      width: 100%;
      object-fit: cover;
    }
    .news-content {
      padding: 20px;
    }
    .news-date {
      font-size: 12px;
      color: var(--text-sub);
      margin-bottom: 6px;
    }
    .news-content h3 {
      font-size: 17px;
      line-height: 1.4;
      margin-bottom: 10px;
    }
    .news-content p {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.6;
    }
    /* FAQ 折叠 */
    .faq-wrapper {
      max-width: 840px;
      margin: 0 auto;
    }
    .faq-item {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 14px;
      overflow: hidden;
    }
    .faq-summary {
      padding: 18px 24px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-summary::-webkit-details-marker {
      display: none;
    }
    .faq-answer {
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }
    /* 转化申请表单 */
    .cta-card-box {
      background: linear-gradient(135deg, var(--primary), #301f56);
      border-radius: var(--radius-lg);
      padding: 50px 40px;
      color: #fff;
    }
    .cta-inner-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .form-box {
      background: #fff;
      color: var(--text-main);
      padding: 30px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text-muted);
    }
    .form-control {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 14px;
    }
    .form-control:focus {
      outline: none;
      border-color: var(--primary-light);
    }
    /* 页脚 */
    .site-footer {
      background: var(--bg-dark);
      color: #94a3b8;
      padding: 60px 0 30px;
      border-top: 1px solid var(--border-dark);
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-col h4 {
      color: #fff;
      font-size: 16px;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a:hover {
      color: var(--accent);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-dark);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }
    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid, .arch-grid, .cta-inner-grid {
        grid-template-columns: 1fr;
        gap: 36px;
      }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      .metric-item:nth-child(2) {
        border-right: none;
      }
      .grid-6 {
        grid-template-columns: repeat(2, 1fr);
      }
      .milestones-flow {
        grid-template-columns: repeat(2, 1fr);
      }
      .milestone-step:nth-child(2)::after {
        display: none;
      }
      .security-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .mobile-toggle {
        display: block;
      }
      .main-nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px 20px;
        gap: 18px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
        display: none;
      }
      .main-nav.show {
        display: flex;
      }
      .cards-3col, .compare-container, .cases-grid, .scene-grid, .news-grid {
        grid-template-columns: 1fr;
      }
      .hero-title {
        font-size: 32px;
      }
      .section-title {
        font-size: 26px;
      }
      .scene-item {
        flex-direction: column;
      }
      .scene-item img {
        width: 100%;
        height: 180px;
      }
      .milestones-flow {
        grid-template-columns: 1fr;
      }
      .milestone-step::after {
        display: none;
      }
      .cta-card-box {
        padding: 30px 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }
    @media (max-width: 520px) {
      .metrics-grid, .grid-6, .security-grid, .tech-spec-list {
        grid-template-columns: 1fr;
      }
      .metric-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
      }
      .metric-item:last-child {
        border-bottom: none;
      }
    }
