/* ============================================================
   Circuit Node Pattern — Logo DNA decorative element
   ============================================================ */

/* ── CIRCUIT BACKGROUND ────────────────────────────────────── */

.circuit-bg {
  position: relative;
}

.circuit-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='3' fill='%23FFC300' fill-opacity='0.12'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23FFC300' fill-opacity='0.08'/%3E%3Ccircle cx='80' cy='0' r='2' fill='%23FFC300' fill-opacity='0.08'/%3E%3Ccircle cx='0' cy='80' r='2' fill='%23FFC300' fill-opacity='0.08'/%3E%3Ccircle cx='80' cy='80' r='2' fill='%23FFC300' fill-opacity='0.08'/%3E%3Cline x1='0' y1='0' x2='40' y2='40' stroke='%23FFC300' stroke-opacity='0.06' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='40' y2='40' stroke='%23FFC300' stroke-opacity='0.06' stroke-width='1'/%3E%3Cline x1='0' y1='80' x2='40' y2='40' stroke='%23FFC300' stroke-opacity='0.06' stroke-width='1'/%3E%3Cline x1='80' y1='80' x2='40' y2='40' stroke='%23FFC300' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.circuit-bg > * {
  position: relative;
  z-index: 1;
}

/* ── LIGHTER VERSION (on white/light sections) ─────────────── */

.circuit-bg--light::before {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='3' fill='%23252F6C' fill-opacity='0.06'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23252F6C' fill-opacity='0.04'/%3E%3Ccircle cx='80' cy='0' r='2' fill='%23252F6C' fill-opacity='0.04'/%3E%3Ccircle cx='0' cy='80' r='2' fill='%23252F6C' fill-opacity='0.04'/%3E%3Ccircle cx='80' cy='80' r='2' fill='%23252F6C' fill-opacity='0.04'/%3E%3Cline x1='0' y1='0' x2='40' y2='40' stroke='%23252F6C' stroke-opacity='0.04' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='40' y2='40' stroke='%23252F6C' stroke-opacity='0.04' stroke-width='1'/%3E%3Cline x1='0' y1='80' x2='40' y2='40' stroke='%23252F6C' stroke-opacity='0.04' stroke-width='1'/%3E%3Cline x1='80' y1='80' x2='40' y2='40' stroke='%23252F6C' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}

/* ── CANVAS OVERLAY (populated by circuit-particles.js) ────── */

#circuit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── DECORATIVE CIRCUIT LINE CONNECTORS ─────────────────────── */

.circuit-connector {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.circuit-connector__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-navy-tint), transparent);
}

.circuit-connector__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,195,0,0.2);
}

/* Process step connector */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-gold), var(--color-navy-tint));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-navy);
  color: var(--color-primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--color-primary-gold);
  position: relative;
}

/* Circuit node dot on step number */
.process-step__number::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary-gold);
}

.process-step__title {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-body-text);
}

@media (max-width: 768px) {
  .process-steps::before { display: none; }
  .process-steps { gap: var(--space-8); }
}
