/* roulang page: index */
:root {
      --bg-primary: #0C1017;
      --bg-surface: #151C28;
      --bg-subtle: #1E2838;
      --primary: #00E599;
      --primary-hover: #00c784;
      --accent: #6366F1;
      --text-main: #F3F4F6;
      --text-muted: #9CA3AF;
      --border: rgba(255, 255, 255, 0.08);
      --border-active: rgba(0, 229, 153, 0.4);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --font-stack: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-primary);
      color: var(--text-main);
      font-family: var(--font-stack);
      line-height: 1.75;
    }

    body {
      overflow-x: hidden;
      background-color: var(--bg-primary);
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部双行导航 */
    .top-bar {
      background-color: #080b10;
      border-bottom: 1px solid var(--border);
      font-size: 12px;
      color: var(--text-muted);
      padding: 8px 0;
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .top-badge-dot {
      width: 6px;
      height: 6px;
      background: var(--primary);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--primary);
    }

    header.site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(12, 16, 23, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 19px;
      font-weight: 700;
      color: #fff;
      letter-spacing: -0.02em;
    }
    .brand-logo svg {
      width: 28px;
      height: 28px;
      fill: var(--primary);
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-menu a {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-muted);
      padding: 6px 0;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      font-size: 14px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s ease-out;
      border: 1px solid transparent;
      min-height: 44px;
    }
    .btn-primary {
      background-color: var(--primary);
      color: #05140d;
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      box-shadow: 0 4px 18px rgba(0, 229, 153, 0.35);
      transform: translateY(-1px);
    }
    .btn-outline {
      border: 1px solid var(--border);
      background-color: transparent;
      color: var(--text-main);
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(0, 229, 153, 0.05);
    }

    /* 板块通用间距与标题 */
    section {
      padding: 90px 0;
      border-bottom: 1px solid var(--border);
    }
    .section-header {
      max-width: 800px;
      margin-bottom: 50px;
    }
    .section-tag {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--primary);
      background: rgba(0, 229, 153, 0.08);
      padding: 4px 12px;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 12px;
      border: 1px solid rgba(0, 229, 153, 0.2);
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      line-height: 1.3;
    }
    .section-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 1. Hero 路线图与首屏看板 */
    .hero-section {
      padding: 100px 0 80px;
      position: relative;
      background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
                  radial-gradient(circle at 10% 40%, rgba(0, 229, 153, 0.08) 0%, transparent 50%),
                  var(--bg-primary);
    }
    .hero-content {
      max-width: 860px;
    }
    .hero-title {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 24px;
      letter-spacing: -0.02em;
    }
    .hero-desc {
      font-size: 16px;
      color: var(--text-muted);
      margin-bottom: 36px;
      line-height: 1.8;
    }
    .hero-cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }
    .roadmap-bar {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 24px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .roadmap-node {
      border-left: 2px solid var(--accent);
      padding-left: 14px;
    }
    .roadmap-node.active {
      border-left-color: var(--primary);
    }
    .roadmap-ver {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 4px;
    }
    .roadmap-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .roadmap-desc {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 2. Section: 架构介绍区 */
    .arch-intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .arch-media {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .arch-points {
      list-style: none;
      margin-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .arch-point-item {
      display: flex;
      gap: 12px;
    }
    .arch-point-icon {
      color: var(--primary);
      font-size: 18px;
      line-height: 1.4;
    }

    /* 3. Section: 核心优势矩阵 (6卡片) */
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .matrix-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 32px;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .matrix-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-active);
      box-shadow: 0 12px 30px -10px rgba(0, 229, 153, 0.15);
    }
    .matrix-icon {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(0, 229, 153, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      margin-bottom: 20px;
    }
    .matrix-card h3 {
      font-size: 18px;
      margin-bottom: 12px;
    }
    .matrix-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 4. Section: 解决方案复合卡片 (3卡片) */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .solution-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .solution-img-box {
      height: 190px;
      position: relative;
      overflow: hidden;
    }
    .solution-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .solution-card:hover .solution-img-box img {
      transform: scale(1.05);
    }
    .solution-body {
      padding: 28px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .solution-stack {
      display: flex;
      gap: 8px;
      margin: 16px 0;
      flex-wrap: wrap;
    }
    .tech-pill {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 4px;
      background: var(--bg-subtle);
      color: var(--accent);
      border: 1px solid rgba(99, 102, 241, 0.2);
    }

    /* 5. Section: 结果对比区 */
    .comparison-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    .compare-card {
      padding: 36px;
      border-radius: var(--radius-lg);
      background: var(--bg-surface);
      border: 1px solid var(--border);
    }
    .compare-card.legacy {
      border-color: rgba(239, 68, 68, 0.25);
      background: rgba(21, 28, 40, 0.5);
    }
    .compare-card.modern {
      border-color: var(--primary);
      box-shadow: 0 0 25px rgba(0, 229, 153, 0.08);
    }
    .compare-header {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }
    .compare-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .compare-item {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
    }
    .compare-item span:first-child {
      color: var(--text-muted);
    }
    .compare-item span:last-child {
      font-weight: 600;
    }

    /* 6. Section: 深色高性能案例 */
    .case-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .case-card {
      background: #080B10;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px;
      position: relative;
    }
    .case-badge {
      display: inline-block;
      font-size: 11px;
      color: var(--primary);
      border: 1px solid var(--primary);
      padding: 2px 8px;
      border-radius: 4px;
      margin-bottom: 14px;
    }
    .case-title {
      font-size: 20px;
      margin-bottom: 12px;
    }
    .case-meta {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    .case-meta-val {
      font-size: 18px;
      font-weight: 700;
      color: var(--primary);
    }
    .case-meta-lbl {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* 7. Section: 场景落地与商业赋能 */
    .scene-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 40px;
      align-items: center;
    }
    .scene-image-wrap {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border);
    }

    /* 8. Section: 核心统计条 (横向贯通) */
    .stats-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 40px 24px;
      text-align: center;
    }
    .stat-val {
      font-size: 38px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.1;
      margin-bottom: 8px;
      font-variant-numeric: tabular-nums;
    }
    .stat-label {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 9. Section: 行业客户评价矩阵 (3卡片) */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testi-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .testi-comment {
      font-size: 14px;
      color: #e5e7eb;
      line-height: 1.7;
      margin-bottom: 24px;
      font-style: normal;
    }
    .testi-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .testi-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--bg-subtle);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: var(--primary);
    }
    .testi-name {
      font-size: 14px;
      font-weight: 600;
    }
    .testi-role {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 10. Section: 研发技术资讯 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .news-meta {
      font-size: 12px;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .news-card h4 {
      font-size: 16px;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .news-excerpt {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .news-action {
      font-size: 13px;
      color: var(--accent);
      font-weight: 600;
    }

    /* 11. Section: 平台保障与 FAQ */
    .faq-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 50px;
    }
    .compliance-box {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px;
    }
    .compliance-item {
      margin-bottom: 24px;
    }
    .compliance-item:last-child {
      margin-bottom: 0;
    }
    .compliance-item h4 {
      font-size: 15px;
      margin-bottom: 6px;
      color: var(--primary);
    }
    .compliance-item p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    details.faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      transition: all 0.2s ease;
    }
    details.faq-item[open] {
      border-color: var(--border-active);
    }
    summary.faq-q {
      padding: 18px 24px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    summary.faq-q::-webkit-details-marker {
      display: none;
    }
    summary.faq-q::after {
      content: "+";
      font-size: 18px;
      color: var(--primary);
      transition: transform 0.2s ease;
    }
    details[open] summary.faq-q::after {
      content: "-";
      transform: rotate(180deg);
    }
    .faq-a {
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 12. Section: 评估转化与需求表单 */
    .cta-card {
      background: linear-gradient(135deg, rgba(21, 28, 40, 0.9) 0%, rgba(12, 16, 23, 0.95) 100%);
      border: 1px solid var(--border-active);
      border-radius: var(--radius-lg);
      padding: 48px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .form-group {
      margin-bottom: 18px;
    }
    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #e5e7eb;
    }
    .form-input, .form-select, .form-textarea {
      width: 100%;
      background: var(--bg-primary);
      border: 1px solid var(--border);
      color: #fff;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s ease;
      font-family: inherit;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--primary);
    }
    .form-textarea {
      height: 100px;
      resize: vertical;
    }
    .form-privacy-note {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 12px;
      line-height: 1.5;
    }

    /* 页脚 */
    footer.site-footer {
      background-color: #080B10;
      padding: 70px 0 30px;
      border-top: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 13px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-col h5 {
      color: #fff;
      font-size: 15px;
      margin-bottom: 18px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    /* 移动端菜单控制与响应式 */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
    }
    .mobile-menu-btn span {
      display: block;
      width: 24px;
      height: 2px;
      background: #fff;
      margin: 5px 0;
      transition: 0.2s;
    }

    @media (max-width: 1024px) {
      .matrix-grid, .solutions-grid, .testimonial-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .roadmap-bar {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-btn {
        display: block;
      }
      .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        display: none;
      }
      .nav-menu.open {
        display: flex;
      }
      .header-cta {
        display: none;
      }
      .hero-title {
        font-size: 32px;
      }
      .arch-intro-grid,
      .comparison-wrapper,
      .case-container,
      .scene-grid,
      .faq-layout,
      .cta-card {
        grid-template-columns: 1fr;
      }
      .matrix-grid,
      .solutions-grid,
      .testimonial-grid,
      .news-grid,
      .stats-bar-grid,
      .roadmap-bar {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      section {
        padding: 60px 0;
      }
    }
