/* 之图传媒 · 业务地图落地页
   深蓝底 + 荧光绿强调，无堆叠渐变、无装饰图标 */

:root {
  --navy: #050b1a;
  --navy-2: #081428;
  --navy-3: #0b1c34;
  --line: #1c3050;
  --green: #3dffa0;
  --green-soft: #7cffc4;
  --green-15: rgba(61, 255, 160, 0.15);
  --green-25: rgba(61, 255, 160, 0.25);
  --green-40: rgba(61, 255, 160, 0.4);
  --text: #eaf3ff;
  --muted: #a9c0dc;
  --dim: #7e93b0;
  --radius: 18px;
  --shadow-glow: 0 0 38px rgba(61, 255, 160, 0.12);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(61, 255, 160, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 160, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

p { margin: 0 0 0.85em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 顶栏 ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px clamp(12px, 1.6vw, 32px);
  border-bottom: 1px solid var(--line);
}

.brand { margin: 0; display: flex; align-items: baseline; gap: 10px; }

.brand-mark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
}

.brand-sub { font-size: 0.85rem; color: var(--dim); letter-spacing: 0.2em; }

.toplink {
  color: var(--green-soft);
  text-decoration: none;
  border: 1px solid var(--green-40);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
}
.toplink:hover { background: var(--green-15); color: #ffffff; }

/* ---------- 开篇 ---------- */
main {
  width: 100%;
  margin: 0;
  padding: 0 clamp(12px, 1.6vw, 32px);
}

.intro { padding: clamp(16px, 3.2vw, 30px) 0 clamp(10px, 1.6vw, 16px); }

.intro h1 {
  margin: 0 0 0.4em;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.intro h1 br { display: none; }
@media (min-width: 700px) { .intro h1 br { display: block; } }

.lead {
  max-width: 54ch;
  font-size: clamp(0.97rem, 1.5vw, 1.1rem);
  color: var(--muted);
  margin-bottom: 0.7em;
}
.lead strong { color: var(--green); font-weight: 700; }

.hint {
  max-width: 64ch;
  font-size: 0.87rem;
  color: var(--dim);
  border-left: 2px solid var(--green-40);
  padding-left: 12px;
}

/* ---------- 主框体 ---------- */
.frame {
  margin: clamp(10px, 1.8vw, 18px) 0 clamp(40px, 7vw, 72px);
  border: 1px solid var(--green-25);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(var(--navy-2), var(--navy-2));
  box-shadow: var(--shadow-glow), inset 0 0 90px rgba(5, 11, 26, 0.75);
  overflow: hidden;
}

.frame-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px clamp(12px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line);
}

.frame-head h2 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}

.cats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cats-label { font-size: 0.82rem; color: var(--dim); }
.cats-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.cat {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}
.cat:hover { color: #fff; border-color: var(--green-40); }
.cat[aria-pressed="true"] {
  color: #041024;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(61, 255, 160, 0.35);
}

.frame-head .btn-ghost { margin-left: auto; }

/* 面包屑 */
.crumbs { padding: 10px clamp(12px, 2.4vw, 22px) 0; }
.crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}
.crumb-list li { display: flex; align-items: center; gap: 4px; }
.crumb-list li + li::before {
  content: "›";
  color: var(--green-40);
  margin-right: 4px;
}
.crumb {
  font: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 2px 2px;
  cursor: pointer;
}
.crumb:hover { color: #fff; border-bottom-color: var(--green-40); }
.crumb[aria-current="true"] { color: var(--green); font-weight: 600; cursor: default; }

/* 舞台：圆点区 + 面板区，同一个框体内 */
.stage {
  display: grid;
  gap: 12px;
  padding: 10px clamp(10px, 2.2vw, 20px) clamp(14px, 2.4vw, 20px);
  grid-template-columns: minmax(0, 1fr);
}

.field-wrap { min-width: 0; }

.field {
  position: relative;
  width: 100%;
  height: clamp(420px, 62vh, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 46%, rgba(11, 28, 52, 0.9), rgba(5, 11, 26, 0.6) 70%);
}

.field::after {
  /* 焦点轨道参考线 */
  content: "";
  position: absolute;
  left: var(--fx, 50%);
  top: var(--fy, 48%);
  width: calc(var(--orbit, 300px) * 2);
  height: calc(var(--orbit, 300px) * 2);
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(61, 255, 160, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.link-line { stroke: rgba(61, 255, 160, 0.28); stroke-width: 1; }
.link-line.is-strong { stroke: rgba(61, 255, 160, 0.5); }
.link-dot { fill: var(--green); }
.link-beam { stroke: rgba(61, 255, 160, 0.45); stroke-width: 1; stroke-dasharray: 5 5; }

.nodes { position: absolute; inset: 0; }

.node {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(61, 255, 160, 0.34);
  background: radial-gradient(circle at 34% 26%, rgba(61, 255, 160, 0.22), rgba(9, 20, 40, 0.97) 60%);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow:
    0 0 22px rgba(61, 255, 160, 0.1),
    inset 0 -16px 26px rgba(61, 255, 160, 0.06),
    inset 0 10px 20px rgba(130, 195, 255, 0.05);
  transition: border-color 0.18s, opacity 0.24s;
}

.node:hover { border-color: var(--green); }

.node.is-dim {
  opacity: 0.62;
  border-color: rgba(61, 255, 160, 0.18);
  color: var(--muted);
  box-shadow: 0 0 12px rgba(61, 255, 160, 0.05);
}

.node.is-focus {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(61, 255, 160, 0.35), 0 0 44px rgba(61, 255, 160, 0.28),
    inset 0 0 30px rgba(61, 255, 160, 0.09);
}

.node.is-picked {
  border-color: var(--green-soft);
  box-shadow: 0 0 0 1px rgba(124, 255, 196, 0.4), 0 0 30px rgba(124, 255, 196, 0.24);
}

.node-label {
  text-align: center;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0 6%;
  pointer-events: none;
}

.node.is-out { display: block; }
.node.is-out .node-label {
  position: absolute;
  left: 50%;
  top: var(--lab-top, 100%);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0;
  font-weight: 500;
  color: var(--muted);
  text-shadow: 0 1px 8px rgba(5, 11, 26, 0.95);
}
.node.is-out.is-focus .node-label,
.node.is-out.is-picked .node-label { color: var(--green-soft); }

.node-kind {
  position: absolute;
  left: 50%;
  top: var(--kind-top, 0);
  transform: translateX(-50%);
  font-size: var(--kind-fs, 11px);
  letter-spacing: 0.16em;
  color: var(--green-40);
  white-space: nowrap;
  pointer-events: none;
}

.field-foot {
  margin: 10px 2px 0;
  font-size: 0.85rem;
  color: var(--dim);
}

/* ---------- 说明面板 ---------- */
.panel {
  position: relative;
  border: 1px solid var(--green-25);
  border-radius: var(--radius);
  background: linear-gradient(var(--navy-3), var(--navy-3));
  box-shadow: 0 0 30px rgba(61, 255, 160, 0.09);
  padding: 0;
  min-width: 0;
}

.panel-inner {
  padding: clamp(14px, 2vw, 20px);
}

@media (min-width: 1024px) {
  .stage {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 30%, 480px);
    align-items: start;
  }
  .field { height: clamp(480px, 64vh, 700px); }
}

/* 宽屏：框体铺满浏览器宽度，圆点区同时放大，避免「两边留白、中间一小块」 */
@media (min-width: 1500px) {
  .stage {
    grid-template-columns: minmax(0, 1fr) clamp(400px, 25%, 620px);
  }
  .field { height: clamp(560px, 70vh, 820px); }
}

.panel-inner.swap { animation: panelIn 0.34s ease both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.panel-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--green);
  border: 1px solid var(--green-40);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.panel h3 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.16;
  font-weight: 800;
}

.panel .plain {
  margin: 0 0 16px;
  font-size: 1.02rem;
  color: var(--green-soft);
  font-weight: 600;
}

.panel h4 {
  margin: 18px 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--dim);
  font-weight: 600;
}

.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  font-size: 0.95rem;
  color: var(--text);
}
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}
.panel li.give { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(61, 255, 160, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}
.chip:hover { color: #fff; border-color: var(--green-40); background: var(--green-15); }
.chip[aria-pressed="true"] {
  color: #041024;
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
}

.case-body {
  border-left: 2px solid var(--green-40);
  padding: 2px 0 2px 12px;
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--green-40);
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { background: var(--green-15); border-color: var(--green); color: #fff; }

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #041024;
  box-shadow: 0 0 24px rgba(61, 255, 160, 0.3);
}
.btn-primary:hover { background: var(--green-soft); border-color: var(--green-soft); color: #041024; }

.btn-ghost { border-color: var(--line); color: var(--muted); font-weight: 500; }
.btn-ghost:hover { color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; border-radius: 999px; }
.btn-mini { padding: 3px 10px; font-size: 0.78rem; border-radius: 999px; margin-left: 8px; }

/* ---------- 联系方式 ---------- */
.contact { padding: clamp(10px, 3vw, 24px) 0 clamp(50px, 8vw, 80px); }
.contact h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-lead { max-width: 54ch; color: var(--muted); }

.contact-grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  grid-template-columns: minmax(0, 1fr);
  margin-top: 24px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); }
}

.req {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 26px);
  background: linear-gradient(var(--navy-2), var(--navy-2));
}

.field-row { display: grid; gap: clamp(12px, 2vw, 20px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field-col { min-width: 0; }

.req label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 14px 0 6px;
}
.req .field-row label { margin-top: 0; }
.req input,
.req select,
.req textarea {
  font: inherit;
  width: 100%;
  color: var(--text);
  background: rgba(5, 11, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.req textarea { resize: vertical; min-height: 96px; }
.req input::placeholder,
.req textarea::placeholder { color: #5f7391; }
.req input:hover,
.req select:hover,
.req textarea:hover { border-color: var(--green-40); }
.req select { appearance: none; background-image: none; padding-right: 36px; }
.sel-wrap { position: relative; }
.sel-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -3px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--green);
  pointer-events: none;
}

.req-mark {
  font-size: 0.72rem;
  color: #041024;
  background: var(--green-40);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 4px;
}
.opt { color: var(--dim); font-weight: 400; }
.err { color: #ffb4b4; font-size: 0.82rem; margin: 6px 0 0; }
.field-note { font-size: 0.8rem; color: var(--dim); margin: 6px 0 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.form-status { font-size: 0.84rem; color: var(--dim); margin: 12px 0 0; }
.form-status.ok { color: var(--green); }
.form-status.bad { color: #ffb4b4; }

.channels {
  border: 1px solid var(--green-25);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 24px);
  background: linear-gradient(var(--navy-2), var(--navy-2));
  box-shadow: var(--shadow-glow);
}
.channels h3 { margin: 0 0 14px; font-size: 1.1rem; }
.chan-list { margin: 0; padding: 0; list-style: none; }
.chan-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(28, 48, 80, 0.7);
}
.chan-list li:last-child { border-bottom: 0; }
.chan-k { font-size: 0.82rem; color: var(--dim); min-width: 92px; }
.chan-v { font-size: 0.98rem; color: var(--text); }
a.chan-v { color: var(--green); text-decoration: none; border-bottom: 1px solid transparent; }
a.chan-v:hover { border-bottom-color: var(--green-40); }
.chan-note { margin: 16px 0 0; font-size: 0.8rem; color: var(--dim); }

.inline-link { color: var(--green-soft); text-decoration: none; border-bottom: 1px solid rgba(124, 255, 196, 0.35); }
.inline-link:hover { color: #fff; }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 22px clamp(12px, 1.6vw, 32px) 34px;
  font-size: 0.82rem;
  color: var(--dim);
}
.foot p { margin: 0 0 4px; }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
