/* ============================================================
   Multi-Turf + Sports Academy Workflow — page-unique visuals only.
   Loaded after styles.css, tbos-homepage.css, homepage-redesign.css
   on multi-turf-sports-academy-workflow.html ONLY. Hero, buttons,
   FAQ accordion and final CTA reuse the shared .hero / .hero-visual /
   .faq-* / .final-cta components homepage-redesign.css already styles
   under body.tbos-home. This file adapts the hero orbit + step-path
   pattern from workflow-sports.css (re-themed in accent blue/gold for
   the multi-branch, multi-revenue-stream angle) and adds two visuals
   unique to this page: sponsor tier chips, and the branch-rollup
   diagram that shows every turf + the academy feeding one dashboard.
   ============================================================ */

/* ---------- hero orbit (sits inside the shared .hero-visual box) ---------- */
.wf-orbit { position: relative; width: 100%; height: 100%; }
.wf-orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wf-orbit-line {
  fill: none;
  stroke: var(--brand-2);
  stroke-width: 1.5;
  stroke-opacity: 0.4;
  stroke-dasharray: 4 6;
  animation: wf-dash 16s linear infinite;
}
@keyframes wf-dash { to { stroke-dashoffset: -200; } }

.wf-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, #eef2fb);
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px -10px rgba(11, 21, 51, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  z-index: 2;
}
.wf-orbit-core img { width: 40px; height: 40px; border-radius: 10px; }
.wf-orbit-core strong { font-size: 11.5px; color: var(--ink); font-weight: 800; }
.wf-orbit-core span { font-size: 10px; color: var(--ink-muted); }

.wf-orbit-node {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px -12px rgba(11, 21, 51, 0.24);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: wf-bob 6s ease-in-out infinite;
}
.wf-orbit-node i {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  background: var(--accent-light);
  color: var(--accent);
  flex-shrink: 0;
}
@keyframes wf-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.wf-orbit-node[data-pos="turfs"]    { left: 0;   top: 4%; }
.wf-orbit-node[data-pos="academy"]  { right: 0;  top: 20%;  animation-delay: -1.5s; }
.wf-orbit-node[data-pos="equipment"]{ left: 2%;  bottom: 20%; animation-delay: -3s; }
.wf-orbit-node[data-pos="tourney"]  { right: 2%; bottom: 2%;  animation-delay: -4.5s; }
.wf-orbit-node[data-pos="sponsor"]  { left: 32%; top: -2%;  animation-delay: -2.2s; }

@media (prefers-reduced-motion: reduce) {
  .wf-orbit-node, .wf-orbit-line { animation: none; }
}

/* ---------- step path (single-column timeline, reveal on scroll) ---------- */
.wf-steps-section {
  padding: 72px var(--tbos-page-gutter) 80px;
  max-width: var(--tbos-content-max);
  margin: 0 auto;
}
.wf-steps { position: relative; margin-top: 44px; padding-left: 76px; }
.wf-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}
.wf-step {
  position: relative;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.wf-step:last-child { margin-bottom: 0; }
.wf-step.is-in { opacity: 1; transform: translateY(0); }
.wf-step-num {
  position: absolute;
  left: -76px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-faint);
  box-shadow: 0 6px 16px -6px rgba(11, 21, 51, 0.18);
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.wf-step.is-in .wf-step-num {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  color: #fff;
}
.wf-step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: 0 2px 10px -4px rgba(11, 21, 51, 0.08);
}
.wf-step-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.wf-step-card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.wf-step-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); }

/* ---------- sponsor tier chips (step 5) ---------- */
.wf-tier-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wf-tier {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
}
.wf-tier-title  { background: linear-gradient(135deg, var(--accent), var(--brand-2)); }
.wf-tier-gold   { background: linear-gradient(135deg, var(--gold), #ffb648); }
.wf-tier-silver { background: linear-gradient(135deg, #94a3b8, #cbd5e1); color: var(--ink); }
.wf-tier-bronze { background: linear-gradient(135deg, #b4703a, #d98f55); }
.wf-tier-prize  { background: linear-gradient(135deg, var(--pink), #ff8fb3); }

/* ---------- branch rollup diagram (step 6: every branch into one dashboard) ---------- */
.wf-rollup { margin-top: 18px; }
.wf-rollup-branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 560px) {
  .wf-rollup-branches { grid-template-columns: repeat(4, 1fr); }
}
.wf-rollup-branch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.wf-rollup-branch i { font-style: normal; font-size: 12px; flex-shrink: 0; }
.wf-rollup-branch-academy { background: var(--gold-light); border-color: #ffe0a8; }
.wf-rollup-arrow {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 10px 0;
}
.wf-rollup-core {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #fff;
}
.wf-rollup-core strong { font-size: 14px; font-weight: 800; }
.wf-rollup-core span { font-size: 11.5px; color: #dbe5ff; }

@media (max-width: 420px) {
  .wf-steps { padding-left: 58px; }
  .wf-steps::before { left: 20px; }
  .wf-step-num { left: -58px; width: 42px; height: 42px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-step { opacity: 1; transform: none; transition: none; }
}
