/* ============ 解决方案与案例 ============ */

/* ===== HERO ===== */
.cs-hero { padding: 80px 0 40px; }
.cs-hero-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 50px 28px 36px;
  text-align: center;
}
.cs-hero-title {
  font-size: clamp(44px, 5vw, 72px);
  margin: 22px 0 18px;
}
.grad-text {
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--accent-3) 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 auto 40px;
  max-width: 640px;
}

/* 行业 tab */
.industry-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.ind-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(26,33,45,0.5), rgba(11,15,23,0.5));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
}
.ind-tab:hover {
  transform: translateY(-3px);
  border-color: var(--line-glow);
}
.ind-tab.active {
  background: linear-gradient(180deg, rgba(255,106,44,0.12), rgba(255,106,44,0.04));
  border-color: rgba(255,106,44,0.45);
  box-shadow: 0 8px 30px rgba(255,106,44,0.15);
}
.ind-tab-icon { font-size: 34px; }
.ind-tab-l {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

/* ===== Section head ===== */
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(36px, 4vw, 56px);
  margin: 16px 0 18px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}

/* ===== 行业内容 ===== */
.ind-content { padding-top: 80px; }
.ind-panel { display: none; }
.ind-panel.active { display: block; animation: fadeIn .4s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ind-head { max-width: 800px; margin-bottom: 48px; }
.ind-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.ind-title {
  font-size: clamp(36px, 4vw, 56px);
  margin: 12px 0 18px;
}
.ind-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}

.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.ind-block { display: flex; flex-direction: column; gap: 16px; }
.block-head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.block-head::before { content: '▸'; color: var(--accent-2); }

.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scene-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(26,33,45,0.5), rgba(11,15,23,0.5));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s, border-color .25s;
}
.scene-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-glow);
}
.scene-icon { font-size: 28px; margin-bottom: 10px; }
.scene-card h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
}
.scene-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* KPI block */
.kpi-block .case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cm {
  padding: 20px;
  background: rgba(11,15,23,0.6);
}
.cm-v {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.cm-v span {
  font-size: 18px;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  margin-left: 4px;
}
.cm-l {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quote card */
.quote-card {
  position: relative;
  padding: 28px 26px 24px;
  background: linear-gradient(135deg, rgba(255,106,44,0.06), rgba(98,189,255,0.04));
  border: 1px solid var(--line-bright);
  border-radius: var(--r-md);
}
.quote-mark {
  position: absolute;
  top: 6px; left: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  color: var(--accent);
  opacity: .3;
  line-height: 1;
}
.quote-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  position: relative;
  z-index: 1;
  padding-left: 24px;
}
.quote-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-bright);
}
.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 16px;
}
.quote-author b { font-size: 14px; }

/* Case viz */
.case-viz { padding: 0; overflow: hidden; }
.cv-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(11,15,23,0.5);
}
.cv-canvas {
  padding: 22px;
  background:
    radial-gradient(ellipse at center, rgba(98,189,255,0.04), transparent 70%);
}
.cv-canvas svg { width: 100%; height: 240px; display: block; }
.cv-legend {
  display: flex; gap: 24px;
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 12px;
  flex-wrap: wrap;
}
.dot {
  display: inline-block;
  width: 12px; height: 2px;
  vertical-align: middle;
  margin-right: 4px;
}
.dot.ok { background: var(--ok); }
.dot.bad { background: var(--bad); }
.dot.info { background: var(--accent-2); }
.dot.orange { background: var(--accent); }
.dot.violet { background: var(--accent-3); }

/* ===== Logo wall ===== */
.logo-wall-section {
  background: rgba(11,15,23,0.4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 32px;
}
.lw-cell {
  background: var(--bg-base);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background .25s, transform .3s;
  position: relative;
  overflow: visible;
}
.lw-cell:hover {
  background: rgba(98,189,255,0.05);
  transform: translateY(-2px);
}
.lw-foot { text-align: center; margin-top: 18px; font-size: 12px; }

/* ====== 客户公仔 mascot · 像素风戴眼镜 ====== */
.lw-cell .mascot {
  width: 96px;
  height: 76px;
  overflow: visible;
  display: block;
  shape-rendering: crispEdges;
}
.lw-cell .m-body,
.lw-cell .m-leg { fill: var(--mascot-color, #ff6a2c); }
.lw-cell .m-shade { fill: rgba(0, 0, 0, 0.22); }
.lw-cell .m-shine { fill: rgba(255, 255, 255, 0.45); }
.lw-cell .m-shadow { fill: rgba(0, 0, 0, 0.5); }
.lw-cell .m-cheek { fill: rgba(255, 105, 135, 0.45); }
.lw-cell .m-glasses rect { fill: #0a0606; }
.lw-cell .m-lens-shine { fill: rgba(255, 255, 255, 0.4); }
.lw-cell .m-eyes-open rect { fill: #0a0606; }
.lw-cell .m-spark rect { fill: #fff36b; }

/* 走路动画 —— 客户都"在线工作" */
.lw-cell .mascot {
  animation: lw-bob 0.65s steps(2, end) infinite;
  transform-origin: center bottom;
}
.lw-cell .m-leg-1, .lw-cell .m-leg-3 {
  animation: lw-step-a 0.65s steps(2, end) infinite;
  transform-box: fill-box;
  transform-origin: center top;
}
.lw-cell .m-leg-2, .lw-cell .m-leg-4 {
  animation: lw-step-b 0.65s steps(2, end) infinite;
  transform-box: fill-box;
  transform-origin: center top;
}
.lw-cell .m-spark {
  animation: lw-spark 0.65s steps(2, end) infinite;
}

@keyframes lw-bob   { 0%,100% { transform: translateY(0); }    50% { transform: translateY(-1px); } }
@keyframes lw-step-a { 0%,100% { transform: translateY(0); }   50% { transform: translateY(-1.5px); } }
@keyframes lw-step-b { 0%,100% { transform: translateY(-1.5px); } 50% { transform: translateY(0); } }
@keyframes lw-spark  { 0%,100% { opacity: 1; }                 50% { opacity: 0.3; } }

/* ===== CTA ===== */
.beta-section { padding: 60px 28px 100px; }
.cta-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 60px;
  background:
    radial-gradient(ellipse at center, rgba(255,106,44,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #14191f 0%, #0a0e16 100%);
  border: 1px solid var(--line-bright);
  border-radius: 32px;
  overflow: hidden;
}
.cta-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,106,44,0.18);
}
.cta-ring:nth-child(1) { width: 600px; height: 600px; }
.cta-ring:nth-child(2) { width: 800px; height: 800px; border-color: rgba(98,189,255,0.12); }
.cta-ring:nth-child(3) { width: 1000px; height: 1000px; border-color: rgba(179,136,255,0.08); }
.cta-content { position: relative; max-width: 760px; }
.cta-title {
  font-size: clamp(40px, 5vw, 64px);
  margin: 18px 0 14px;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0 0 36px;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
}
.cta-form input {
  background: rgba(11,15,23,0.6);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.cta-form input::placeholder { color: var(--text-dim); }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .industry-tabs { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .cta-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .industry-tabs { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .kpi-block .case-metrics { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { padding: 60px 24px; }
}
