/* roulang page: index */
:root {
      --bg-dark: #12151B;
      --bg-darker: #0B0D11;
      --bg-light: #F4F6F9;
      --bg-white: #FFFFFF;
      --primary: #0F766E;
      --primary-hover: #115E59;
      --primary-light: #CCFBF1;
      --accent: #0284C7;
      --amber: #D97706;
      --text-main: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --text-dim: #94A3B8;
      --border-light: #E2E8F0;
      --border-dark: #1E293B;
      --font-base: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --container-max: 1240px;
    }
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: var(--font-base);
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.75;
      letter-spacing: 0.02em;
      overflow-x: hidden;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input {
      font-family: inherit;
    }
    .container {
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: var(--radius-sm);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .badge-primary {
      background: var(--primary-light);
      color: var(--primary);
    }
    .badge-amber {
      background: #FEF3C7;
      color: var(--amber);
    }
    .badge-dark {
      background: #1E293B;
      color: #38BDF8;
      border: 1px solid #334155;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      min-height: 44px;
      border: 1px solid transparent;
    }
    .btn-primary {
      background-color: var(--primary);
      color: #fff;
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      box-shadow: var(--shadow-md);
    }
    .btn-amber {
      background-color: var(--amber);
      color: #fff;
    }
    .btn-amber:hover {
      background-color: #B45309;
      box-shadow: var(--shadow-md);
    }
    .btn-outline {
      border-color: #CBD5E1;
      background: #fff;
      color: #334155;
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    .btn-outline-dark {
      border-color: #334155;
      background: transparent;
      color: var(--text-light);
    }
    .btn-outline-dark:hover {
      border-color: #38BDF8;
      color: #38BDF8;
    }
    .mono {
      font-family: var(--font-mono);
    }

    /* 顶部双行导航 */
    .utility-bar {
      background-color: var(--bg-darker);
      color: var(--text-dim);
      font-size: 13px;
      border-bottom: 1px solid var(--border-dark);
      padding: 6px 0;
    }
    .utility-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .utility-left, .utility-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .utility-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .utility-item a:hover {
      color: #F8FAFC;
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border-light);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.01em;
    }
    .brand-logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 800;
      font-size: 16px;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: #475569;
      padding: 8px 0;
      position: relative;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
      font-size: 20px;
      color: #334155;
    }

    /* 通用 section 板块 */
    .section-pad {
      padding: 84px 0;
    }
    .section-pad-sm {
      padding: 56px 0;
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-header.text-center {
      text-align: center;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.01em;
      color: var(--text-main);
      margin-top: 10px;
      margin-bottom: 14px;
    }
    .section-title-light {
      color: var(--text-light);
    }
    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
    }
    .section-desc-light {
      color: var(--text-dim);
    }

    /* 1. Hero 资源下载站搜索板式 */
    .hero-section {
      background: linear-gradient(180deg, #12151B 0%, #1A202C 100%);
      color: #fff;
      padding: 96px 0 80px;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border-dark);
    }
    .hero-bg-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('/assets/images/4cd202081cd747b9.jpg') center/cover no-repeat;
      opacity: 0.18;
      mix-blend-mode: overlay;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 860px;
      margin: 0 auto;
    }
    .hero-title {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }
    .hero-title span {
      color: #2DD4BF;
    }
    .hero-sub {
      font-size: 17px;
      color: #94A3B8;
      line-height: 1.8;
      margin-bottom: 36px;
    }
    .search-box-wrap {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      padding: 6px;
      display: flex;
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
      margin-bottom: 24px;
      border: 1px solid #334155;
    }
    .search-box-wrap input {
      flex: 1;
      border: none;
      padding: 12px 18px;
      font-size: 15px;
      outline: none;
      color: #1E293B;
    }
    .search-tags {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 13px;
      color: #94A3B8;
    }
    .search-tags span {
      font-weight: 500;
    }
    .search-tag-link {
      background: rgba(255, 255, 255, 0.08);
      padding: 4px 10px;
      border-radius: var(--radius-sm);
      color: #CBD5E1;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .search-tag-link:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

    /* 2. 架构微内核 */
    .arch-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .arch-img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-light);
    }
    .arch-feature-list {
      list-style: none;
      margin-top: 24px;
    }
    .arch-feature-item {
      display: flex;
      gap: 14px;
      margin-bottom: 18px;
    }
    .arch-dot {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--primary-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* 3. 工具产品矩阵 */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .product-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .product-card-img {
      height: 190px;
      overflow: hidden;
    }
    .product-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .product-card:hover .product-card-img img {
      transform: scale(1.04);
    }
    .product-card-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .product-card-title {
      font-size: 20px;
      font-weight: 700;
      margin: 12px 0 8px;
      color: var(--text-main);
    }
    .product-card-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 20px;
      flex: 1;
    }
    .feature-tags-group {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 20px;
    }
    .feature-tag {
      font-size: 12px;
      background: var(--bg-light);
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      color: #475569;
    }

    /* 4. 工业优势六宫格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-box {
      background: #FFFFFF;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s;
    }
    .feature-box:hover {
      border-color: var(--primary);
    }
    .feature-box-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-sm);
      background: #F0FDFA;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 18px;
      margin-bottom: 16px;
    }
    .feature-box-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
    }
    .feature-box-p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 5. 沉浸式暗色理念 */
    .dark-section {
      background-color: var(--bg-dark);
      color: var(--text-light);
    }
    .split-dark-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .dark-frame {
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    /* 6. 四阶段管线步进器 */
    .pipeline-wrapper {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }
    .pipeline-step {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      padding: 24px;
      position: relative;
      box-shadow: var(--shadow-sm);
    }
    .pipeline-num {
      font-size: 28px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 10px;
      font-family: var(--font-mono);
    }
    .pipeline-title {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-main);
    }
    .pipeline-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 7. 开发者实战案例故事 */
    .cases-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .case-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }
    .case-media {
      height: 240px;
      position: relative;
    }
    .case-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-body {
      padding: 24px;
    }
    .case-meta {
      display: flex;
      gap: 16px;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .case-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
    }
    .case-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 8. 关键数据指标 */
    .metrics-bar {
      background: var(--bg-darker);
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
      color: #fff;
      padding: 48px 0;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .metric-item {
      padding: 0 16px;
      border-right: 1px solid var(--border-dark);
    }
    .metric-item:last-child {
      border-right: none;
    }
    .metric-value {
      font-size: 38px;
      font-weight: 800;
      color: #38BDF8;
      font-family: var(--font-mono);
      margin-bottom: 6px;
    }
    .metric-label {
      font-size: 14px;
      color: var(--text-dim);
    }

    /* 9. 客户评价墙 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .testimonial-text {
      font-size: 14px;
      color: #334155;
      line-height: 1.75;
      margin-bottom: 20px;
      font-style: italic;
    }
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .author-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
    }
    .author-info h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
    }
    .author-info p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 10. 动态资讯列表 */
    .news-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .news-featured {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .news-featured-img {
      height: 220px;
    }
    .news-featured-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-featured-body {
      padding: 24px;
    }
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .news-list-item {
      background: #fff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-light);
      padding: 18px 20px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s;
    }
    .news-list-item:hover {
      border-color: var(--primary);
    }
    .news-date {
      font-size: 12px;
      color: var(--text-muted);
      font-family: var(--font-mono);
      background: var(--bg-light);
      padding: 4px 8px;
      border-radius: var(--radius-sm);
      white-space: nowrap;
    }
    .news-item-title {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 4px;
    }
    .news-item-summary {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* 11. FAQ 手风琴 */
    .faq-container {
      max-width: 820px;
      margin: 0 auto;
    }
    .faq-item {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      margin-bottom: 14px;
      overflow: hidden;
    }
    .faq-question {
      width: 100%;
      text-align: left;
      padding: 18px 24px;
      font-size: 16px;
      font-weight: 600;
      color: var(--text-main);
      background: none;
      border: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-icon {
      font-size: 18px;
      color: var(--primary);
      transition: transform 0.2s;
    }
    .faq-answer {
      padding: 0 24px 20px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.75;
      display: none;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* 12. 最终下载收口 CTA */
    .cta-banner {
      background: linear-gradient(135deg, #0F766E 0%, #0F172A 100%);
      border-radius: var(--radius-lg);
      padding: 64px 40px;
      color: #fff;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .cta-banner h2 {
      font-size: 36px;
      font-weight: 800;
      letter-spacing: -0.01em;
      margin-bottom: 16px;
    }
    .cta-banner p {
      font-size: 16px;
      color: #CCFBF1;
      max-width: 680px;
      margin: 0 auto 36px;
      line-height: 1.8;
    }
    .cta-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    .platform-compat {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      font-size: 13px;
      color: #99F6E4;
    }

    /* 页脚系统 */
    .site-footer {
      background-color: var(--bg-darker);
      color: var(--text-dim);
      border-top: 1px solid var(--border-dark);
      padding: 64px 0 32px;
      font-size: 14px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand h3 {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
      max-width: 320px;
    }
    .footer-col h4 {
      font-size: 15px;
      font-weight: 600;
      color: #F8FAFC;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 10px;
    }
    .footer-links a {
      color: var(--text-muted);
    }
    .footer-links a:hover {
      color: #38BDF8;
    }
    .footer-bottom {
      border-top: 1px solid var(--border-dark);
      padding-top: 28px;
      font-size: 13px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      color: var(--text-muted);
    }
    .footer-info-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
      justify-content: space-between;
    }

    /* 响应式样式 */
    @media (max-width: 1024px) {
      .product-grid, .features-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .pipeline-wrapper {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-top {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .utility-bar {
        display: none;
      }
      .header-inner {
        height: 60px;
      }
      .menu-toggle {
        display: block;
      }
      .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-light);
        gap: 14px;
        align-items: flex-start;
      }
      .nav-menu.open {
        display: flex;
      }
      .hero-title {
        font-size: 30px;
      }
      .arch-grid, .split-dark-grid, .cases-grid, .news-layout {
        grid-template-columns: 1fr;
      }
      .product-grid, .features-grid, .testimonial-grid, .pipeline-wrapper {
        grid-template-columns: 1fr;
      }
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      .metric-item {
        border-right: none;
      }
      .cta-banner {
        padding: 40px 20px;
      }
      .cta-banner h2 {
        font-size: 26px;
      }
      .footer-top {
        grid-template-columns: 1fr;
      }
    }
