@import url('../../css/zc-vertical-tokens.css');

/* solutions/kongtiao — 少典空调工单系统介绍页 */
:root {
  --kt: #0ea5e9;
  --kt-dark: #0284c7;
  --kt-deep: #0c4a6e;
  --kt-light: #e0f2fe;
}

.kt-hero {
  background: linear-gradient(135deg, var(--zc-slate-900) 0%, #0c4a6e 50%, var(--kt-dark) 100%);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.kt-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 25% 75%, rgba(14, 165, 233, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(56, 189, 248, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.kt-hero > * { position: relative; z-index: 1; }

.kt-hero .badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #7dd3fc;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 14px;
}

.kt-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 10px;
}

.kt-hero h1 span { color: #38bdf8; }

.kt-hero .subtitle {
  font-size: 17px;
  color: #bae6fd;
  margin: 0 0 8px;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.kt-hero .desc {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 24px;
  line-height: 1.7;
}

.kt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.kt-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kt-btn--primary {
  background: #fff;
  color: var(--kt-dark);
}

.kt-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.kt-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

.kt-hero .tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kt-hero .tag {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #bae6fd;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.kt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -8px 0 40px;
}

.kt-stat {
  background: #fff;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  border-top: 3px solid var(--kt);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.kt-stat__num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--kt-dark);
  line-height: 1.2;
}

.kt-stat__lbl {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.sec-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1e293b;
}

.sec-desc {
  text-align: center;
  color: #64748b;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
}

/* 痛点 → 解法 */
.kt-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin-bottom: 48px;
}

.kt-pain {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.kt-pain__problem {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.kt-pain__problem::before { content: '痛点 · '; }

.kt-pain__solution {
  font-size: 16px;
  font-weight: 700;
  color: var(--kt-dark);
  margin: 0 0 6px;
}

.kt-pain p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

/* 11 步流程 */
.kt-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 48px;
}

.kt-flow__node {
  background: linear-gradient(135deg, var(--kt-deep), #075985);
  color: #e0f2fe;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.kt-flow__arrow {
  color: var(--kt);
  font-size: 16px;
  font-weight: 700;
}

/* AI 能力 */
.kt-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.kt-ai-block {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #e2e8f0;
}

.kt-ai-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kt-ai-block h3 .live { color: #16a34a; }
.kt-ai-block h3 .plan { color: #d97706; }

.kt-ai-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kt-ai-block li {
  font-size: 14px;
  color: #475569;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.kt-ai-block li:last-child { border-bottom: none; }

.kt-ai-block li::before {
  content: '✓ ';
  color: var(--kt);
  font-weight: 700;
}

.kt-ai-block--plan li::before { content: '○ '; color: #d97706; }

/* 链接网格 */
.kt-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.kt-link-grid a {
  display: block;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.kt-link-grid a:hover {
  border-color: var(--kt);
  color: var(--kt-dark);
}

.kt-hub-link {
  display: inline-block;
  margin-bottom: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kt-dark);
  text-decoration: none;
}

.kt-hub-link:hover { text-decoration: underline; }

.kt-cta {
  background: linear-gradient(135deg, var(--kt-dark), var(--kt-deep));
  color: #fff;
  padding: 44px 24px;
  border-radius: 16px;
  text-align: center;
  margin-top: 16px;
}

.kt-cta h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #fff;
}

.kt-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .kt-stats { grid-template-columns: repeat(2, 1fr); }
  .kt-ai-grid { grid-template-columns: 1fr; }
  .kt-flow__node { font-size: 11px; padding: 6px 8px; }
}
