/* src/css/sections/deal-tracking.css */
.deal-tracking {
  background: var(--color-bg-surface);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.deal-tracking-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .deal-tracking-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Left: content */
.deal-tracking-content h2 {
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.deal-tracking-content p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

/* Feature list */
.deal-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.deal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal) ease;
  box-shadow: var(--shadow-xs);
}

.deal-feature-item:hover {
  border-color: rgba(26, 92, 255, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.deal-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deal-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.deal-feature-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.deal-feature-text span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Outcome stats */
.deal-outcomes {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.outcome-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.outcome-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}

.outcome-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Right: visual */
.deal-tracking-visual {
  position: relative;
}

.deal-pipeline-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.deal-pipeline-header {
  background: var(--gradient-navy);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-pipeline-header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-family: monospace;
}

.pipeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pipeline-dot:nth-child(1) { background: #ff5f56; }
.pipeline-dot:nth-child(2) { background: #ffbd2e; }
.pipeline-dot:nth-child(3) { background: #27c93f; }

.deal-pipeline-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pipeline-stage-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast) ease;
}

.pipeline-stage-row:hover {
  border-color: rgba(26, 92, 255, 0.2);
}

.pipeline-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pipeline-stage-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.pipeline-stage-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pipeline-stage-bar {
  width: 60px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  overflow: hidden;
}

.pipeline-stage-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-glow);
}

.pipeline-alert {
  margin: var(--space-sm);
  padding: 0.75rem var(--space-sm);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-warning);
}

.pipeline-alert svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}
