/* Components Services — VAYA LABS PREMIUM
   Services page-specific components only */

@keyframes edge-flow { to { stroke-dashoffset: -12; } }
@keyframes ping { 0% { opacity: .85; transform: scale(.55); } 70% { opacity: 0; transform: scale(1.15); } 100% { opacity: 0; } }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════
   SERVICE PILLARS
   ══════════════════════════════════════════════════════ */
.pillar { padding: var(--space-8) 0; border-bottom: 1px solid var(--line-hairline); }
.pillar:last-child { border-bottom: none; }
.pillar h2 { font-size: clamp(28px, 3.5vw, 36px); margin-bottom: var(--space-3); }
.pillar-lead { font-size: 18px; color: var(--text-secondary); margin-top: var(--space-3); max-width: 55ch; }
.pillar-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--space-7); align-items: start; margin-top: var(--space-6); }
.pillar-list { margin: 0; padding-left: var(--space-6); font-size: 16px; line-height: 1.85; color: var(--ink); }
.pillar-list li { position: relative; padding-left: var(--space-3); margin-bottom: var(--space-3); }
.pillar-list li::before { content: ""; position: absolute; left: -12px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); opacity: 0.5; }
.pillar-cta {
  background: var(--surface-2);
  border: 1px solid var(--line-hairline);
  border-radius: var(--r-card-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-ambient);
}
.pillar-cta p { font-size: 15px; color: var(--text-secondary); margin-bottom: var(--space-4); }
.pillar-cta .btn { width: 100%; }

@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   AUTOMATION FLOW DIAGRAM
   ══════════════════════════════════════════════════════ */
.flow {
  margin-top: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line-hairline);
  border-radius: var(--r-card-lg);
  padding: var(--space-6);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}
.flow figcaption { margin-top: var(--space-4); font-size: 13px; color: var(--text-muted); }
.flow svg { width: 100%; min-width: 600px; height: auto; }
.flow .flow-node { fill: var(--surface-2); stroke: var(--line-hairline); stroke-width: 1; }
.flow .flow-label { fill: var(--text-secondary); font: 600 12px var(--font-body); }
.flow .flow-edge { stroke: var(--brand-blue); stroke-width: 2; fill: none; }
.flow .flow-accent { fill: var(--brand-blue); }
.flow .flow-accent-text { fill: var(--white); font: 600 12px var(--font-body); }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-in 0.9s var(--ease-out-expo) forwards; }
.draw-link { animation-delay: 0.6s; }
.draw-link.l2 { animation-delay: 0.9s; }
.draw-link.l3 { animation-delay: 1.2s; }