/* tech-development 页专属视觉（自 services/tech-development.php 页内 <style> 提取，仅本页 link）
   公共 .v2-* 骨架与 Mobile 规则见 assets/css/pages/services-v2.css */

/* ============ tech-development 页专属视觉（Hero 关系图 + 双 mockup） ============ */
/* 公共设计系统已抽取至 /assets/css/pages/services-v2.css（.v2-* 共用骨架），此处仅保留本页专属规则 */
.v2-arch { position: relative; width: 100%; height: 400px; }
.v2-arch svg.v2-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.v2-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 15px; background: #fff; border: 1px solid #d8e0ec; border-radius: 12px; font-size: 13px; font-weight: 600; color: #2c3648; white-space: nowrap; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.v2-node .material-symbols-outlined { font-size: 17px; color: #0052cc; }
.v2-node-core { position: absolute; transform: translate(-50%, -50%); background: linear-gradient(160deg, #0052cc, #003d9b); color: #fff; border-radius: 14px; padding: 18px 22px; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.4; box-shadow: 0 10px 26px -10px rgba(0, 61, 155, 0.55); }
.v2-node-core small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.72); margin-top: 3px; }
.v2-browser { border: 1px solid #dbe3ee; border-radius: 12px 12px 0 0; background: #f6f8fb; overflow: hidden; }
.v2-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eceff4; border-bottom: 1px solid #dbe3ee; }
.v2-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd7e2; }
.v2-browser-bar i:first-child { background: #f0a9a0; }
.v2-browser-bar i:nth-child(2) { background: #f2cf9b; }
.v2-browser-bar i:nth-child(3) { background: #a9d5b5; }
.v2-browser-url { flex: 1; max-width: 300px; margin-left: 8px; background: #fff; border-radius: 6px; font-size: 11px; color: #8b95a5; padding: 4px 10px; }
.v2-site { background: #fff; padding: 16px 18px 14px; }
.v2-site-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.v2-site-nav b { width: 54px; height: 10px; border-radius: 5px; background: #0052cc; opacity: .85; }
.v2-site-nav i { width: 26px; height: 7px; border-radius: 4px; background: #e2e8f1; }
.v2-site-hero { border: 1px dashed #d5deea; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.v2-site-hero b { display: block; width: 62%; height: 12px; border-radius: 6px; background: #dbe4f0; margin-bottom: 8px; }
.v2-site-hero i { display: block; width: 44%; height: 8px; border-radius: 4px; background: #e8edf5; }
.v2-site-hero u { display: inline-block; width: 74px; height: 20px; border-radius: 6px; background: #0052cc; margin-top: 10px; text-decoration: none; }
.v2-site-row { display: flex; gap: 10px; }
.v2-site-row i { flex: 1; height: 44px; border-radius: 8px; background: #f0f3f8; border: 1px solid #e6ebf3; }
.v2-chat { position: absolute; right: 14px; bottom: 12px; width: 168px; background: linear-gradient(160deg, #0052cc, #003d9b); border-radius: 12px; padding: 10px 12px; color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 61, 155, 0.5); }
.v2-chat b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.v2-chat b .material-symbols-outlined { font-size: 15px; }
.v2-chat i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); margin-top: 7px; }
.v2-chat i:last-child { width: 62%; }
.v2-admin { border: 1px solid #dbe3ee; border-radius: 12px; overflow: hidden; background: #f6f8fb; display: flex; min-height: 300px; flex: 1; }
.v2-admin-side { width: 132px; background: #10203c; padding: 14px 0; flex-shrink: 0; }
.v2-admin-side b { display: block; width: 56px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.32); margin: 0 14px 16px; }
.v2-admin-side i { display: flex; align-items: center; gap: 7px; padding: 8px 14px; font-style: normal; }
.v2-admin-side i u { width: 12px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); text-decoration: none; }
.v2-admin-side i s { flex: 1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); text-decoration: none; }
.v2-admin-side i.on { background: rgba(0, 82, 204, 0.55); }
.v2-admin-main { flex: 1; padding: 14px 16px; }
.v2-admin-stats { display: flex; gap: 10px; margin-bottom: 12px; }
.v2-admin-stats i { flex: 1; height: 46px; border-radius: 8px; background: #fff; border: 1px solid #e4e9f1; }
.v2-admin-table { background: #fff; border: 1px solid #e4e9f1; border-radius: 8px; padding: 10px 12px; }
.v2-admin-table i { display: block; height: 8px; border-radius: 4px; background: #edf1f7; margin-bottom: 9px; }
.v2-admin-table i:last-child { margin-bottom: 0; }
.v2-admin-table i:nth-child(odd) { width: 88%; }

@media (max-width: 1200px) {
  .v2-arch { height: 380px; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .v2-arch { height: auto; }
  .v2-arch svg.v2-lines { display: none; }
  .v2-node { position: static; transform: none; }
  .v2-node-core { position: static; transform: none; margin-bottom: 14px; }
  .v2-arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .v2-flow { padding-right: 0; }
  .v2-chat { position: static; width: auto; margin: 10px 14px 12px; }
}

/* ============ Mobile 压缩收口（仅 <=767px 生效；桌面端规则见下方 display:contents 基线） ============ */

/* —— 核心服务手风琴骨架：桌面端 details 包装层透明化（display:contents + summary 隐藏），布局与原结构完全等价 —— */
.v2-msvc { display: contents; }
.v2-msvc > summary { display: none; }

/* —— 场景×能力合并区块：桌面端隐藏 —— */
.v2-merge-sec { display: none; }

@media (max-width: 767px) {
  /* —— 1. Hero：面包屑压缩 + 间距收紧 + 架构视觉简化（保留 3 节点 + 核心节点） —— */
  .v2-crumb { margin-top: 10px; margin-bottom: 10px; padding-left: 20px; padding-right: 20px; }
  .v2-sec { margin-top: 56px; }
  .v2-kicker { font-size: 12px; padding: 5px 13px; }
  .v2-h1 { margin: 12px 0 8px; }
  .v2-desc { margin: 0 0 18px; }
  .v2-hero-grid .v2-btn { padding: 11px 24px; font-size: 14px; }
  .v2-hero-grid > div > div[style] { margin-bottom: 16px !important; }
  .v2-tags { margin-top: 14px; gap: 8px; }
  .v2-tags span { padding: 6px 12px; font-size: 12px; }
  .v2-arch { display: flex; flex-direction: column; gap: 8px; }
  .v2-arch .v2-node:nth-child(5),
  .v2-arch .v2-node:nth-child(6) { display: none; } /* 移动端只留：品牌官网 / AI智能体 / 后台系统 三个核心节点 */
  .v2-node { justify-content: flex-start; padding: 9px 13px; font-size: 12.5px; }
  .v2-node-core { order: -1; margin: 0 0 4px; text-align: left; padding: 14px 16px; }

  /* —— 2. 核心价值：紧凑 2×2 —— */
  .v2-h2sub { margin: 0 0 24px; }
  .v2-values { grid-template-columns: repeat(2, 1fr); column-gap: 16px; }
  .v2-value { padding: 0 0 14px !important; border-right: none !important; }
  .v2-value-num { font-size: 26px; }
  .v2-value h3 { font-size: 15px; margin: 6px 0 5px; }
  .v2-value p { font-size: 12.5px; line-height: 1.55; }

  /* —— 3. 核心服务：手风琴（默认仅第一项展开，第二项由底部脚本按断点收起；两项内容均在 DOM） —— */
  .v2-msvc { display: block; }
  .v2-msvc > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; font-size: 15px; font-weight: 700; color: #171c26; cursor: pointer; list-style: none; }
  .v2-msvc > summary::-webkit-details-marker { display: none; }
  .v2-msvc > summary::after { content: '+'; font-size: 18px; font-weight: 600; color: #0052cc; line-height: 1; }
  .v2-msvc[open] > summary::after { content: '−'; }
  .v2-msvc { background: #fff; border: 1px solid #e6eaf0; border-radius: 16px; overflow: hidden; }
  .v2-msvc + .v2-msvc { margin-top: 14px; }
  .v2-msvc[open] .v2-svc-card { border: none; border-radius: 0; }

  /* —— 4. 场景 + 能力矩阵合并（场景区块与矩阵区块在移动端隐藏，改用 场景→能力 对照） —— */
  .v2-scenes-sec, .v2-matrix-sec { display: none; }
  .v2-merge-sec { display: block; margin-top: 56px; }
  .v2-map { display: flex; flex-direction: column; }
  .v2-map-row { padding: 13px 0; border-bottom: 1px solid #e9edf4; }
  .v2-map-row:last-child { border-bottom: none; }
  .v2-map-row b { display: block; font-size: 14px; font-weight: 700; color: #171c26; margin-bottom: 4px; }
  .v2-map-row span { font-size: 13px; line-height: 1.6; color: #0052cc; font-weight: 600; }

  /* —— 5. 成功案例：横向 scroll-snap carousel（一次约 88% 卡片） —— */
  .v2-cases { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; -ms-overflow-style: none; }
  .v2-cases::-webkit-scrollbar { display: none; }
  .v2-case { flex: 0 0 88%; scroll-snap-align: center; }

  /* —— 6. FAQ：默认收起（展开态由底部脚本按断点管理；details/summary 语义化） —— */
  .v2-faq-item { padding: 0 46px 0 18px; }
  .v2-faq-item::after { display: none; } /* 移动端改用随开合状态的 summary 标记，替代公共 CSS 静态 '+' */
  .v2-faq-item summary { position: relative; font-size: 14.5px; font-weight: 700; color: #171c26; padding: 15px 0; cursor: pointer; list-style: none; }
  .v2-faq-item summary::-webkit-details-marker { display: none; }
  .v2-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 600; color: #0052cc; line-height: 1; }
  .v2-faq-item[open] summary::after { content: '−'; }
  .v2-faq-item[open] p { padding: 0 0 15px; }
  .v2-faq { gap: 10px; }

  /* —— 7. CTA：压缩过半，单主按钮（本页 CTA 为内联样式，移动端须 !important 覆写） —— */
  .v2-cta { padding: 20px 16px 22px !important; border-radius: 16px !important; }
  .v2-cta h2 { font-size: 20px !important; margin: 0 0 5px !important; }
  .v2-cta p { font-size: 12.5px !important; margin: 0 0 12px !important; }
  .v2-cta .v2-cta-btn { padding: 10px 24px !important; font-size: 13px !important; }
  .v2-cta .v2-cta-btn.v2-cta-btn-line { display: none !important; } /* 移动端已有固定底栏电话/AI/获取方案，去重复转化入口 */
  .v2-sec:last-of-type { margin-top: 44px; }
  main.template-token-scope { padding-bottom: 28px !important; } /* 正文 CTA 收口后收紧主区底部留白（固定底栏安全 padding 由 body pb-20 继续承担） */
}

/* —— 桌面端 FAQ details 还原原 h3 排版（summary 顶替 h3，观感不变） —— */
@media (min-width: 768px) {
  .v2-faq-item { padding: 20px 56px 20px 24px; }
  .v2-faq-item summary { font-size: 15px; font-weight: 700; color: #171c26; margin: 0 0 8px; cursor: pointer; list-style: none; }
  .v2-faq-item summary::-webkit-details-marker { display: none; }
}

