/* roulang page: index */
:root {
      --primary: #0F141C;
      --primary-light: #1A202C;
      --accent: #10B981;
      --accent-glow: #00E599;
      --secondary: #FF5722;
      --bg-main: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-dark: #0B0F17;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --text-light: #E2E8F0;
      --border-color: rgba(0, 0, 0, 0.08);
      --border-dark: rgba(16, 185, 129, 0.2);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
      --shadow-md: 0 6px 18px rgba(0,0,0,0.06);
      --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
      --font-mono: "DIN Alternate", "Roboto Mono", monospace;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background-color: var(--bg-main); color: var(--text-main); }
    body { overflow-x: hidden; line-height: 1.6; }

    /* 工具条与导航 */
    .topbar { background: #0b0f15; color: #94a3b8; font-size: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .topbar .container { display: flex; justify-content: space-between; align-items: center; }
    .topbar-badge { display: inline-flex; align-items: center; gap: 6px; }
    .topbar-badge i { color: var(--accent); }

    .header-nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--border-color); }
    .nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
    .brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
    .brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), #1e293b); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 18px; border: 1px solid rgba(16,185,129,0.3); }
    .nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
    .nav-link { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; position: relative; }
    .nav-link:hover, .nav-link.active { color: var(--accent); }
    .nav-cta { background: var(--accent); color: #064e3b; text-decoration: none; padding: 10px 20px; font-size: 13px; font-weight: 700; border-radius: var(--radius-sm); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
    .nav-cta:hover { background: #059669; color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.35); }

    /* 通用容器与标题 */
    .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
    .section-spacing { padding: 90px 0; }
    .section-alt { background: #ffffff; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
    .section-dark { background: var(--bg-dark); color: #fff; }
    .section-header { margin-bottom: 48px; }
    .section-header.text-center { text-align: center; }
    .tag-label { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; font-family: var(--font-mono); }
    .section-title { font-size: 30px; font-weight: 800; color: inherit; letter-spacing: -0.5px; line-height: 1.3; }
    .section-desc { font-size: 15px; color: var(--text-muted); margin-top: 12px; line-height: 1.8; max-width: 780px; }
    .section-dark .section-desc { color: #94A3B8; }

    /* 按钮与组件 */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; transition: all 0.25s; border: none; }
    .btn-accent { background: var(--accent); color: #064e3b; }
    .btn-accent:hover { background: var(--accent-glow); color: #000; box-shadow: var(--shadow-glow); }
    .btn-outline { border: 1px solid rgba(255,255,255,0.25); color: #fff; background: transparent; }
    .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
    .btn-dark { background: var(--primary); color: #fff; }
    .btn-dark:hover { background: #232d3d; }

    /* 1. Hero 板块（蓝图要求：深色信息面板，左侧入口，右侧 faux 数据榜单） */
    .hero-section { position: relative; background: radial-gradient(circle at 80% 20%, #1e293b 0%, #080d14 70%); color: #fff; padding: 110px 0 90px; overflow: hidden; }
    .hero-section::before { content: ""; position: absolute; inset: 0; background: url('/assets/images/6cb6f5225ef2c14d.jpg') center/cover no-repeat; opacity: 0.12; mix-blend-mode: overlay; pointer-events: none; }
    .hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
    .hero-h1 { font-size: 40px; font-weight: 900; line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; }
    .hero-h1 span { color: var(--accent); }
    .hero-text { font-size: 15px; color: #cbd5e1; line-height: 1.85; margin-bottom: 32px; }
    .hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
    .hero-specs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
    .hero-spec-item strong { display: block; font-size: 22px; font-family: var(--font-mono); color: var(--accent); }
    .hero-spec-item span { font-size: 12px; color: #94a3b8; }
    
    /* 右侧 faux 数据榜单 */
    .hero-panel { background: rgba(15, 23, 42, 0.75); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); backdrop-filter: blur(10px); }
    .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; font-family: var(--font-mono); }
    .panel-pulse { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
    .panel-pulse::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }
    .stream-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .stream-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 12px 16px; border-radius: var(--radius-sm); display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
    .stream-card:hover { border-color: var(--accent); transform: translateX(4px); }
    .stream-node { font-size: 13px; font-weight: 600; color: #f1f5f9; }
    .stream-hz { font-size: 11px; color: #94a3b8; font-family: var(--font-mono); }
    .stream-val { text-align: right; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent); }
    .stream-status { font-size: 10px; color: #38bdf8; display: block; }

    /* 2. 快速检索与交互入口（蓝图要求） */
    .quick-bar { background: var(--primary); padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .quick-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
    .quick-tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .quick-label { font-size: 13px; color: #94a3b8; font-weight: 600; }
    .chip { background: rgba(255,255,255,0.08); color: #e2e8f0; font-size: 12px; padding: 6px 14px; border-radius: 20px; text-decoration: none; border: 1px solid rgba(255,255,255,0.05); transition: all 0.2s; }
    .chip:hover { border-color: var(--accent); color: var(--accent); }
    .quick-search { display: flex; align-items: center; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); padding: 4px 12px; }
    .quick-search input { background: transparent; border: none; outline: none; color: #fff; font-size: 13px; padding: 6px; width: 220px; }
    .quick-search button { background: none; border: none; color: var(--accent); cursor: pointer; }

    /* 3. 分类矩阵板块（6大硬件与技术优势卡片） */
    .grid-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .card-matrix { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px; transition: all 0.3s; position: relative; }
    .card-matrix:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
    .card-matrix-icon { width: 44px; height: 44px; background: #e6fcf5; color: #059669; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
    .card-matrix h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
    .card-matrix p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

    /* 4. 精选传感器模组清单（3列精选产品展台） */
    .grid-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .card-product { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s; }
    .card-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .card-product-img { position: relative; height: 210px; overflow: hidden; background: #1a202c; }
    .card-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
    .card-product:hover .card-product-img img { transform: scale(1.05); }
    .card-product-badge { position: absolute; top: 12px; left: 12px; background: rgba(15,20,28,0.85); color: var(--accent); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); font-family: var(--font-mono); }
    .card-product-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
    .card-product-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
    .card-product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
    .spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 12px; }
    .spec-table td { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
    .spec-table td:first-child { color: #64748b; }
    .spec-table td:last-child { text-align: right; font-weight: 600; font-family: var(--font-mono); color: var(--primary); }

    /* 5. 深色算法解算区 */
    .pipeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; position: relative; }
    .pipeline-card { background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 24px; position: relative; }
    .pipeline-num { font-size: 32px; font-weight: 900; font-family: var(--font-mono); color: var(--accent); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
    .pipeline-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #fff; }
    .pipeline-card p { font-size: 12px; color: #94a3b8; line-height: 1.6; }

    /* 6. 系统应用流程架构 */
    .workflow-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .flow-step { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; position: relative; }
    .flow-step::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--accent); font-weight: 800; z-index: 2; }
    .flow-step:last-child::after { display: none; }
    .flow-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
    .flow-title i { color: var(--accent); }
    .flow-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    /* 7. 最新实战与更新（两列深度图文） */
    .grid-story { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .story-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
    .story-img { height: 240px; }
    .story-img img { width: 100%; height: 100%; object-fit: cover; }
    .story-content { padding: 30px; }
    .story-tag { font-size: 11px; font-weight: 700; color: var(--secondary); background: #fff1ec; padding: 4px 8px; border-radius: 4px; display: inline-block; margin-bottom: 12px; }
    .story-title { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
    .story-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
    .story-metric { display: flex; gap: 24px; border-top: 1px solid #f1f5f9; padding-top: 16px; }
    .story-metric-item span { font-size: 11px; color: #94a3b8; display: block; }
    .story-metric-item strong { font-size: 18px; color: var(--accent); font-family: var(--font-mono); }

    /* 8. 关键指标统计条（蓝图-排行与数据） */
    .metric-strip { background: #0b0f17; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 50px 0; color: #fff; }
    .metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
    .metric-item strong { font-size: 44px; font-weight: 900; font-family: var(--font-mono); color: var(--accent); display: block; line-height: 1.1; margin-bottom: 6px; }
    .metric-item span { font-size: 13px; color: #94a3b8; }

    /* 9. 行业科研评价背书 */
    .grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .card-testi { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
    .testi-quote { font-size: 13px; color: #475569; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
    .testi-author { display: flex; align-items: center; gap: 12px; }
    .testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }
    .testi-name { font-size: 14px; font-weight: 700; color: var(--primary); }
    .testi-role { font-size: 11px; color: var(--text-muted); }

    /* 10. 资源中心与动态 */
    .grid-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .card-news { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; }
    .news-date { font-size: 11px; color: #94a3b8; font-family: var(--font-mono); margin-bottom: 8px; }
    .news-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
    .news-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
    .news-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

    /* 11. 合作矩阵 */
    .partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .partner-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 18px; text-align: center; font-size: 12px; font-weight: 700; color: #475569; display: flex; align-items: center; justify-content: center; height: 70px; }

    /* 12. 常见技术 FAQ */
    .faq-wrapper { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
    .faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
    .faq-question { padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .faq-answer { padding: 0 24px 20px; font-size: 13px; color: var(--text-muted); line-height: 1.7; display: none; border-top: 1px solid #f8fafc; }
    .faq-item.active .faq-answer { display: block; }
    .faq-item.active .faq-icon { transform: rotate(180deg); color: var(--accent); }

    /* 13. 开发者申领与意向转化 */
    .conversion-box { background: linear-gradient(135deg, #0F141C 0%, #1e293b 100%); border-radius: var(--radius-lg); padding: 50px; color: #fff; border: 1px solid var(--border-dark); }
    .conversion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .lead-form { background: #ffffff; padding: 32px; border-radius: var(--radius-md); color: var(--text-main); }
    .form-group { margin-bottom: 16px; }
    .form-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: #334155; }
    .form-control { width: 100%; padding: 10px 14px; font-size: 13px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); outline: none; transition: border-color 0.2s; }
    .form-control:focus { border-color: var(--accent); }
    .form-btn { width: 100%; background: var(--accent); color: #064e3b; padding: 12px; font-size: 14px; font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.2s; }
    .form-btn:hover { background: var(--accent-glow); }

    /* 页脚 */
    .site-footer { background: #080d14; color: #94a3b8; font-size: 13px; padding: 70px 0 30px; border-top: 1px solid rgba(255,255,255,0.08); }
    .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
    .footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 20px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }

    /* 移动端汉堡切换与响应式 */
    .mobile-menu-btn { display: none; background: none; border: none; font-size: 22px; color: var(--primary); cursor: pointer; }
    
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .grid-matrix { grid-template-columns: repeat(2, 1fr); }
      .grid-featured { grid-template-columns: repeat(2, 1fr); }
      .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
      .workflow-strip { grid-template-columns: repeat(2, 1fr); }
      .flow-step::after { display: none; }
      .conversion-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      .partner-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 768px) {
      .topbar { display: none; }
      .mobile-menu-btn { display: block; }
      .nav-links { display: none; position: absolute; top: 72px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-md); }
      .nav-links.show { display: flex; }
      .hero-h1 { font-size: 28px; }
      .hero-specs-row { grid-template-columns: 1fr; }
      .grid-matrix, .grid-featured, .pipeline-grid, .workflow-strip, .grid-story, .grid-testi, .grid-news { grid-template-columns: 1fr; }
      .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .conversion-box { padding: 24px; }
      .footer-grid { grid-template-columns: 1fr; }
      .partner-grid { grid-template-columns: repeat(2, 1fr); }
    }
