/**
 * Q-DASH Digital Marketing Intelligence & Growth Center (Platform V3)
 * Command Console, Funnel Progress, Attribution Paths, Radar Health, Journey Nodes & Labs
 * File: assets/css/dm-platform-v3-scenes.css
 * Strictly Scoped to .dm3
 */

/* Hero Growth Command Console */
.dm3-hero-console {
  background: linear-gradient(165deg, rgba(12, 24, 44, 0.96) 0%, rgba(3, 7, 16, 0.98) 100%);
  border: 1px solid rgba(242, 101, 34, 0.35);
  border-radius: var(--dm-radius-xl);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: var(--dm-shadow-console), 0 0 45px rgba(242, 101, 34, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.dm3-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.dm3-console-dots {
  display: flex;
  gap: 6px;
}

.dm3-console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dm3-console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.dm3-console-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

.dm3-channel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.dm3-channel-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.dm3-channel-bar {
  height: 100%;
  border-radius: 4px;
}

/* Center 2: 8-Stage Ecosystem Infographic */
.dm3-eco-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.dm3-eco-node {
  background: #ffffff;
  border: 1.5px solid var(--dm-slate-200);
  border-radius: var(--dm-radius-md);
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--dm-shadow-soft);
  transition: var(--dm-transition);
}

.dm3-eco-node:hover {
  border-color: var(--dm-orange);
  transform: translateY(-4px);
}

.dm3-eco-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dm-navy) 0%, #172a50 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
}

/* Center 2: Health Assessment Meter */
.dm3-health-box {
  background: #ffffff;
  border: 1.5px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--dm-radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--dm-shadow-elevated);
}

.dm3-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid #f26522;
  box-shadow: 0 0 25px rgba(242, 101, 34, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  background: radial-gradient(circle, #0e1c36 0%, #060e1c 100%);
  color: #fff;
}

/* Center 3: Performance Dashboard */
.dm3-dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dm3-dash-metric {
  background: linear-gradient(145deg, #0e1c36 0%, #060e1c 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--dm-radius-lg);
  padding: 20px;
  text-align: center;
  color: #fff;
}

.dm3-dash-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f26522;
  margin: 6px 0 2px 0;
}

/* Center 4: Customer Journey Map */
.dm3-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dm3-journey-step {
  background: #ffffff;
  border: 1.5px solid var(--dm-slate-200);
  border-radius: var(--dm-radius-md);
  padding: 18px 14px;
  box-shadow: var(--dm-shadow-soft);
  transition: var(--dm-transition);
}

.dm3-journey-step:hover {
  border-color: var(--dm-purple);
  transform: translateY(-4px);
}

/* Center 5: Funnel Progress */
.dm3-funnel-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}

.dm3-funnel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--dm-transition);
}

/* Center 6: Channel Mix Intelligence */
.dm3-goal-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.dm3-goal-btn {
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--dm-white);
  border: 1.5px solid var(--dm-slate-200);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--dm-navy);
  cursor: pointer;
  transition: var(--dm-transition);
}

.dm3-goal-btn:hover {
  border-color: var(--dm-orange);
  color: var(--dm-orange);
}

.dm3-goal-btn.active {
  background: linear-gradient(135deg, var(--dm-navy) 0%, #152747 100%);
  color: #fff !important;
  border-color: var(--dm-orange);
  box-shadow: 0 6px 18px rgba(8, 17, 32, 0.25);
}

/* Center 7: Attribution Path & Retargeting Loop */
.dm3-attribution-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.dm3-touchpoint-node {
  background: linear-gradient(145deg, #0e1c36 0%, #060e1c 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
}

/* Center 8: Dynamic Industry Explorer */
.dm3-ind-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.dm3-ind-btn {
  padding: 9px 16px;
  border-radius: 50px;
  background: var(--dm-white);
  border: 1.5px solid var(--dm-slate-200);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--dm-navy);
  cursor: pointer;
  transition: var(--dm-transition);
}

.dm3-ind-btn:hover {
  border-color: var(--dm-orange);
  color: var(--dm-orange);
}

.dm3-ind-btn.active {
  background: linear-gradient(135deg, var(--dm-navy) 0%, #152747 100%);
  color: #fff !important;
  border-color: var(--dm-orange);
  box-shadow: 0 6px 18px rgba(8, 17, 32, 0.25);
}

.dm3-industry-display {
  background: #ffffff;
  border: 1.5px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--dm-radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--dm-shadow-elevated);
}

/* Center 9: Maturity Roadmap */
.dm3-maturity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.dm3-maturity-step {
  background: #ffffff;
  border: 1.5px solid var(--dm-slate-200);
  border-radius: var(--dm-radius-md);
  padding: 16px 10px;
  text-align: center;
  transition: var(--dm-transition);
}

.dm3-maturity-step:hover {
  border-color: var(--dm-orange);
  transform: translateY(-4px);
}

.dm3-maturity-lvl {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f26522, #ff7e3e);
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px auto;
}

@media (max-width: 1024px) {
  .dm3-dash-grid,
  .dm3-journey-grid,
  .dm3-maturity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dm3-console-grid,
  .dm3-dash-grid,
  .dm3-journey-grid,
  .dm3-maturity-grid {
    grid-template-columns: 1fr;
  }
}
