/* ========== Application Practice · Blueprint 方案 ========== */
.ap-section { padding: 96px 0 84px; background: radial-gradient(ellipse 62% 46% at 50% 0%, #edf4ff 0%, transparent 64%), linear-gradient(180deg, #f8fbff 0%, #fff 46%, #f7faff 100%); }
.ap-container { width: min(1240px, calc(100% - 80px)); margin: auto; }

.ap-header { text-align: center; margin-bottom: 34px; }
.ap-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .3em; color: #a3b8d6; margin-bottom: 14px; }
.ap-eyebrow::before, .ap-eyebrow::after { content: ""; width: 19px; height: 1px; background: #cfdff5; }
.ap-header h2 { font-size: clamp(28px, 3vw, 39px); font-weight: 600; line-height: 1.34; letter-spacing: -1.2px; color: #0f1d3a; margin: 0 0 13px; }
.ap-subtitle { font-size: 14px; line-height: 1.88; color: #5a6b85; margin: 0 auto; max-width: 720px; }

/* 图纸容器 */
.ap-blueprint { position: relative; padding: 28px 26px 22px; border-radius: 26px; border: 1px solid #e2edfc; overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 54%, #f2f8ff 100%);
  box-shadow: 0 40px 80px -72px rgba(16, 58, 130, .85), inset 0 1px 0 #fff; }
.ap-blueprint::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(51,112,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(51,112,255,.065) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(130% 96% at 50% -6%, #000 26%, transparent 76%);
  mask-image: radial-gradient(130% 96% at 50% -6%, #000 26%, transparent 76%); }
.ap-blueprint::after { content: ""; position: absolute; right: -180px; top: -280px; width: 560px; height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(80,150,255,.26), transparent 72%); }

.bp-grid { position: relative; display: grid; grid-template-columns: 1.16fr .84fr; grid-template-rows: 1fr 1fr; gap: 14px; }

/* 卡片 */
.bp-card { position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: 14px; border: 1px solid #d9e7fb;
  background-image:
    linear-gradient(#3370ff, #3370ff), linear-gradient(#3370ff, #3370ff),
    linear-gradient(#3370ff, #3370ff), linear-gradient(#3370ff, #3370ff),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,253,255,.9));
  background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, 100% 100%;
  background-position: 0 0, 0 0, 100% 100%, 100% 100%, 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 20px 44px -40px rgba(16,72,126,.9), inset 0 1px 0 #fff;
  transition: transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s, border-color .45s;
  animation: bpIn .8s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i, 0) * 100ms); }
.bp-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(80,150,255,.14) 48%, transparent 60%);
  background-size: 260% 100%; animation: bpSweep 6.5s linear infinite; }
.bp-card:hover { transform: translateY(-4px); border-color: #b7d1ff; box-shadow: 0 30px 60px -42px rgba(28,71,201,.75); }
.bp-card-main { grid-row: span 2; display: grid; grid-template-columns: 1fr 1.03fr; gap: 16px; padding: 24px 22px; }

/* 文案 */
.bp-copy { display: flex; flex-direction: column; min-width: 0; }
.bp-num { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; color: #2a63e8; }
.bp-num::before { content: ""; width: 22px; height: 1px; background: #a9c8ff; }
.bp-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.4px; color: #0f1d3a; margin: 8px 0 7px; line-height: 1.4; }
.bp-card-main h3 { font-size: 24px; margin: 11px 0 9px; }
.bp-desc { font-size: 11.5px; line-height: 1.76; color: #5a6b85; margin: 0; }
.bp-card-main .bp-desc { font-size: 12.5px; max-width: 330px; }
.bp-facts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 17px; }
.bp-facts li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; }
.bp-ico { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #3370ff; background: #eff5ff; border: 1px solid #dbe8fb; }
.bp-ico svg { width: 13px; height: 13px; stroke-width: 1.8; }
.bp-facts b { display: block; font-size: 12.5px; font-weight: 600; color: #12213a; margin-bottom: 3px; }
.bp-facts p { margin: 0; font-size: 11.5px; line-height: 1.68; color: #5d7695; }
.bp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.bp-tags span { font-size: 10px; line-height: 1; padding: 5px 8px; border-radius: 5px; border: 1px solid #e0ebfa; background: #f8fbff; color: #456084; }
.bp-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; font-weight: 600; color: #3370ff; text-decoration: none; transition: gap .2s ease; }
.bp-link:hover { gap: 10px; }
.bp-visual { position: relative; display: flex; min-width: 0; }
.bp-thumb-col { flex: none; width: 104px; }
.bp-mini-grid { flex: 1; display: grid; grid-template-columns: 1fr 118px; gap: 12px; min-width: 0; }
.bp-mini-grid .hud-mini { height: 100%; min-height: 112px; }

/* HUD 科技面板 */
.hud { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(51,112,255,.22); background: linear-gradient(160deg, #fbfdff 0%, #f2f8ff 100%);
  box-shadow: 0 30px 60px -40px rgba(28,71,201,.75), 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 26px rgba(51,112,255,.1); }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(51,112,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(51,112,255,.11) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(80% 70% at 80% 10%, #000, transparent 78%);
  mask-image: radial-gradient(80% 70% at 80% 10%, #000, transparent 78%); }
.hud-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: rgba(255,255,255,.9); border-bottom: 1px solid #e7f0fc; }
.hud-dots { display: flex; gap: 4px; }
.hud-dots i { width: 5px; height: 5px; border-radius: 50%; background: #dbe7f8; }
.hud-dots i:first-child { background: #ffd3d3; } .hud-dots i:nth-child(2) { background: #ffe6bd; }
.hud-bar b { font: 600 9px/1 ui-monospace, Menlo, monospace; color: #5f7ba0; letter-spacing: .06em; }
.hud-state { display: inline-flex; align-items: center; gap: 4px; font: 600 7.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: #1f9d6b; margin-left: 2px; }
.hud-state::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #22c07a; box-shadow: 0 0 0 3px rgba(34,192,122,.16); animation: hudPulse 2.4s ease-in-out infinite; }
.hud-time { margin-left: auto; font: 500 8px/1 ui-monospace, Menlo, monospace; color: #a8bcd8; letter-spacing: .08em; }
.hud-body { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 34px 1fr; min-height: 0; }
.hud-side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; border-right: 1px solid #eaf2fd; background: rgba(252,253,255,.8); }
.hud-side span { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #eef5ff; color: #5f8fe0; }
.hud-side span:first-child { background: linear-gradient(140deg, #4a86ff, #1c47c9); color: #fff; box-shadow: 0 6px 12px -7px rgba(28,71,201,.95); }
.hud-side svg { width: 11px; height: 11px; stroke-width: 1.9; }
.hud-main { display: flex; flex-direction: column; gap: 7px; padding: 9px 10px; min-width: 0; }
.hud-q { align-self: flex-end; max-width: 90%; padding: 6px 8px; border-radius: 8px 8px 2px 8px; background: linear-gradient(140deg, #e9f1ff, #dcebff); border: 1px solid #d3e4fb; font-size: 8.5px; line-height: 1.5; color: #2b4a76; }
.hud-a { display: grid; grid-template-columns: 15px 1fr; gap: 6px; }
.hud-av { width: 15px; height: 15px; border-radius: 5px; background: linear-gradient(140deg, #4a86ff, #1c47c9); color: #fff; font: 600 6.5px/15px ui-monospace, monospace; text-align: center; box-shadow: 0 4px 8px -5px rgba(28,71,201,.9); }
.hud-a p { margin: 0; font-size: 8px; line-height: 1.55; color: #3f5a7d; }
.hud-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.hud-chips span { font-size: 7px; line-height: 1; padding: 3px 5px; border-radius: 4px; border: 1px solid #d8e7fb; color: #3370ff; background: rgba(247,251,255,.9); }
.hud-sources { display: flex; flex-direction: column; gap: 4px; flex: none; margin-top: 2px; }
.hud-trace { position: relative; flex: 1; min-height: 48px; margin-top: 4px; border-radius: 6px; overflow: hidden;
  border: 1px solid #eaf2fd; background: linear-gradient(180deg, rgba(240,247,255,.75), rgba(255,255,255,0)); }
.hud-trace svg { position: absolute; left: 4px; right: 4px; bottom: 0; width: calc(100% - 8px); height: calc(100% - 12px); }
.hud-trace .area { fill: url(#hudGrad); }
.hud-trace .line { fill: none; stroke: #3370ff; stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: hudDraw 2.6s .5s cubic-bezier(.3,.7,.3,1) forwards; }
.hud-trace-lab { position: absolute; left: 6px; top: 4px; display: flex; align-items: baseline; gap: 5px; font: 500 6.5px/1 ui-monospace, Menlo, monospace; color: #8ba4c4; letter-spacing: .08em; }
.hud-trace-lab b { font: 600 9px/1 ui-monospace, Menlo, monospace; color: #1c47c9; }
.hud-src { display: grid; grid-template-columns: 14px 1fr auto; gap: 5px; align-items: center; padding: 7px 7px; border-radius: 5px;
  background: rgba(247,251,255,.92); border: 1px solid #eaf2fd; font-size: 7.5px; line-height: 1.3; color: #4f6a8c; }
.hud-src i { font-style: normal; font: 600 6.5px/1 ui-monospace, Menlo, monospace; color: #a8bcd8; }
.hud-src em { font-style: normal; font: 600 6.5px/1 ui-monospace, Menlo, monospace; color: #1f9d6b; letter-spacing: .06em; }
.hud-src:nth-child(3) em { color: #dfa03c; }
.hud-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: auto; padding-top: 7px; border-top: 1px solid #eaf2fd; }
.hud-metric { padding: 5px 5px 4px; border-radius: 6px; border: 1px solid #e8f1fd; background: rgba(255,255,255,.86); }
.hud-metric b { display: block; font: 600 11px/1 ui-monospace, Menlo, monospace; color: #1c47c9; letter-spacing: -.4px; }
.hud-metric em { display: block; font: 500 6.5px/1 ui-monospace, Menlo, monospace; font-style: normal; color: #9db2cf; margin-top: 3px; letter-spacing: .06em; }
.hud-spark { display: flex; align-items: flex-end; gap: 2px; height: 12px; margin-top: 4px; }
.hud-spark i { flex: 1; border-radius: 1px; background: linear-gradient(180deg, #8db4ff, #3370ff); transform-origin: bottom; animation: hudSpark 1.1s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(.35s + var(--k, 0) * 70ms); }
.hud-steps { display: flex; gap: 3px; margin-top: 2px; }
.hud-steps i { position: relative; flex: 1; height: 3px; border-radius: 2px; background: #e8f0fb; overflow: hidden; }
.hud-steps i.ok { background: linear-gradient(90deg, #4a86ff, #1c47c9); }
.hud-steps i.ok::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); transform: translateX(-100%); animation: hudFlow 2.8s linear infinite; }
.hud-scan { position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(80,150,255,.16), transparent); animation: hudScan 5s linear infinite; }
.hud-corner { position: absolute; width: 9px; height: 9px; border: 1px solid rgba(51,112,255,.55); z-index: 3; pointer-events: none; }
.hud-corner.tl { left: 5px; top: 5px; border-right: 0; border-bottom: 0; }
.hud-corner.br { right: 5px; bottom: 5px; border-left: 0; border-top: 0; }
.hud-float { position: absolute; right: -4px; bottom: 10px; z-index: 4; display: flex; align-items: center; gap: 5px;
  padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,.96); border: 1px solid #dbe8fb;
  box-shadow: 0 16px 30px -20px rgba(16,72,126,.85), 0 0 18px rgba(51,112,255,.14); font-size: 8px; color: #456084; line-height: 1; }
.hud-float b { font: 600 12px/1 ui-monospace, Menlo, monospace; color: #1c47c9; }
.hud-float em { font-style: normal; font-size: 6.5px; letter-spacing: .1em; color: #8ba4c4; }
.hud-float::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #22c07a; box-shadow: 0 0 0 3px rgba(34,192,122,.16); }
a.hud-wrap { display: block; position: relative; flex: 1; min-width: 0; text-decoration: none; }

/* 迷你科技缩略 */
.hud-mini { position: relative; height: 100%; min-height: 96px; border-radius: 10px; overflow: hidden;
  border: 1px solid #e1ecfb; background: linear-gradient(152deg, #f6faff 0%, #eaf3ff 100%); }
.hud-mini::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(rgba(51,112,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(51,112,255,.13) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent 82%);
  mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent 82%); }
.hm-link { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-link path { fill: none; stroke: #9dc0ff; stroke-width: 1; stroke-dasharray: 3 4; animation: hmDash 5s linear infinite; }
.hm-node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #3370ff;
  box-shadow: 0 0 0 3px rgba(51,112,255,.14), 0 0 10px rgba(51,112,255,.4); animation: hmPulse 3.2s ease-in-out infinite; }
.hm-node.a { left: 18%; top: 62%; }
.hm-node.b { left: 47%; top: 30%; animation-delay: .5s; }
.hm-node.c { right: 16%; top: 56%; animation-delay: 1s; }
.hm-core { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 8px;
  display: grid; place-items: center; background: linear-gradient(140deg, #fff, #eff6ff); border: 1px solid #cfe1fb;
  box-shadow: 0 8px 18px -12px rgba(28,71,201,.85), 0 0 0 5px rgba(51,112,255,.06); color: #3370ff; }
.hm-core svg { width: 14px; height: 14px; stroke-width: 1.7; }
.hm-tag { position: absolute; left: 7px; bottom: 6px; font: 500 6.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; color: #8ba4c4; }
.hm-ring { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  border: 1px dashed rgba(51,112,255,.28); animation: hmSpin 16s linear infinite; }

/* 图例 / 脚注 */
.bp-legend { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-top: 16px;
  font: 500 9.5px/1 ui-monospace, Menlo, monospace; color: #a5b8d2; letter-spacing: .14em; }
.ap-footnote { text-align: center; font-size: 12.5px; color: #8b9bb5; margin: 20px 0 0; }

@keyframes bpIn { from { opacity: 0; transform: translateY(18px) scale(.988); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bpSweep { 0% { background-position: 180% 0; } 100% { background-position: -80% 0; } }
@keyframes hudDraw { to { stroke-dashoffset: 0; } }
@keyframes hudScan { 0% { transform: translateY(-110%); } 100% { transform: translateY(330%); } }
@keyframes hudPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(34,192,122,.16); } 50% { opacity: .5; box-shadow: 0 0 0 5px rgba(34,192,122,.05); } }
@keyframes hudSpark { from { transform: scaleY(.06); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
@keyframes hudFlow { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes hmDash { to { stroke-dashoffset: -70; } }
@keyframes hmPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(51,112,255,.14), 0 0 10px rgba(51,112,255,.35); } 50% { box-shadow: 0 0 0 6px rgba(51,112,255,.05), 0 0 16px rgba(51,112,255,.5); } }
@keyframes hmSpin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .bp-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .bp-card-main { grid-row: auto; }
  .bp-visual { height: 300px; }
}
@media (max-width: 900px) {
  .ap-section { padding: 70px 0 60px; }
  .bp-card-main { grid-template-columns: 1fr; }
  .bp-card-main .bp-desc { max-width: none; }
}
@media (max-width: 640px) {
  .ap-section { padding: 52px 0 44px; }
  .ap-container { width: calc(100% - 32px); }
  .ap-header h2 { font-size: 26px; }
  .ap-blueprint { padding: 16px; }
  .bp-card-main { padding: 18px; }
  .bp-card-main h3 { font-size: 21px; }
  .bp-visual { height: 250px; }
  .bp-mini-grid { grid-template-columns: 1fr; }
  .bp-mini-grid .hud-mini { height: 124px; }
  .bp-thumb-col { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-section *, .ap-blueprint * { animation: none !important; }
}
