/* ========== Industry Cards (as tabs) ========== */
.ind-panels .ind-grid { margin-top: 0; }

.ind-grid .ind-card {
  cursor: pointer;
  background: #fff; border: 1.5px solid #fff; padding: 28px 16px 24px;
  border-radius: 16px; text-align: center; transition: all .2s;
  color: #1772F8;
}
.ind-grid .ind-card:hover {
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(23,114,248,.15);
}
.ind-grid .ind-card .ind-icon {
  margin-bottom: 12px; display: flex; justify-content: center;
}
.ind-grid .ind-card .ind-icon svg {
  display: block; width: 36px; height: 36px;
}
.ind-grid .ind-card p {
  font-size: 15px; font-weight: 600; color: #1772F8;
}
/* Active state */
.ind-grid .ind-card.active {
  background: #1772F8; border-color: #1772F8;
  color: #fff;
}
.ind-grid .ind-card.active p {
  color: #fff;
}

/* ========== Industry Panels ========== */
.ind-panel { display: none; }
.ind-panel.active { display: block; }

.ind-detail-layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start;
}

/* ========== Architecture Diagram ========== */
.ind-arch {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 36px 16px 16px 16px; border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.ind-arch h4 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.ind-arch h4::before {
  content: ''; display: inline-block; width: 4px; height: 20px;
  border-radius: 2px; background: #1772F8;
}

.arch-diagram {
  display: flex; flex-direction: column; gap: 16px;
}

.arch-layer { position: relative; }

.arch-layer-body {
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 20px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: box-shadow .25s;
}
.arch-layer-body:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.arch-layer-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f3f8;
}

.arch-layer-icon {
  width: 34px; height: 34px; padding: 7px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(23,114,248,.08);
  color: #1772F8;
}

.arch-label {
  font-size: 15px; font-weight: 700; color: #1a1a2e;
}

.arch-nodes { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; }
.arch-nodes span {
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; background: #f5f8fc; color: #3d4f6b;
  font-weight: 500; border: 1px solid #e8edf4;
}

/* ========== Industry Description ========== */
.ind-desc h3 {
  font-size: 28px; font-weight: 600; margin-bottom: 16px; line-height: 1.2;
}
.ind-desc-lead {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}

.ind-features { display: flex; flex-direction: column; gap: 20px; }
.ind-feature-item h5 {
  font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text);
}
.ind-feature-item p {
  font-size: 15px; color: var(--text-muted); line-height: 1.6;
}

/* ========== Panel Variants ========== */
/* Pain-point driven layout: icon list + description */
.ind-pain-points {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.ind-pain-point {
  display: flex; gap: 14px; align-items: flex-start;
}
.ind-pain-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(23,114,248,.08); color: #1772F8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; font-weight: 700;
}
.ind-pain-text h5 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.ind-pain-text p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Scenario card grid (2-column) */
.ind-scenario-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.ind-scenario-card {
  background: #f8fafc; border-radius: 12px; padding: 20px;
  border: 1px solid #eef2f6;
}
.ind-scenario-card h5 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ind-scenario-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Checklist variant */
.ind-checklist {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.ind-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-muted); line-height: 1.6;
}
.ind-checklist li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23,114,248,.1); color: #1772F8;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .ind-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .ind-scenario-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ind-detail-layout { gap: 24px; }
  .ind-desc h3 { font-size: 24px; }
  .ind-arch { padding: 24px 20px; }
  .arch-layer-body { padding: 16px 18px; }
  .arch-layer-head { margin-bottom: 10px; padding-bottom: 10px; }
  .arch-layer-icon { width: 28px; height: 28px; padding: 5px; border-radius: 8px; }
  .arch-label { font-size: 14px; }
  .arch-nodes span { font-size: 12px; padding: 5px 10px; }
  .ind-desc-lead { font-size: 15px; }
  .ind-pain-icon { width: 30px; height: 30px; font-size: 15px; }
  .ind-pain-text h5 { font-size: 14px; }
  .ind-pain-text p { font-size: 13px; }
  .ind-scenario-card { padding: 16px; }
  .ind-scenario-card h5 { font-size: 15px; }
  .ind-scenario-card p { font-size: 13px; }
  .ind-checklist li { font-size: 14px; }
}
