/* pipeline.css - v1.5 "How It's Built" section + Echo block */

/* ============================================================
   PIPELINE SECTION
============================================================ */
.pipeline-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pipeline-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: var(--violet);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.03;
  pointer-events: none;
}

.pipeline-header {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pipeline-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  max-width: 520px;
  opacity: 0.85;
}

/* 3-column grid */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pipeline-step {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.1em;
}

.pipeline-step-cmd {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  display: inline-block;
  letter-spacing: 0.04em;
}

.pipeline-step-cmd--live {
  color: var(--white);
  background: rgba(240, 235, 227, 0.06);
  border-color: rgba(240, 235, 227, 0.15);
}

.pipeline-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.pipeline-step-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  line-height: 1.6;
  opacity: 0.8;
}

/* ============================================================
   ECHO BLOCK (beneath pipeline, lower visual weight)
============================================================ */
.echo-block {
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border: 1px solid rgba(224, 90, 43, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.echo-block-glow {
  position: absolute;
  top: -40px; right: -60px;
  width: 300px; height: 200px;
  background: var(--ember);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  pointer-events: none;
}

.echo-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(224, 90, 43, 0.3);
}

.echo-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.echo-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.echo-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  line-height: 1.65;
  opacity: 0.85;
  max-width: 540px;
}

.echo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.15s, gap 0.15s;
  min-height: 44px;
}
.echo-cta:hover { color: var(--ember-hover); gap: 10px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .pipeline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .echo-block {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .pipeline-step { padding: 24px 20px; }
}
