/* ============================================================
   India Tuition Centre Workflow — page-unique visuals only.
   Loaded after styles.css, tbos-homepage.css, homepage-redesign.css
   on india-tuition-centre-workflow.html ONLY. Hero, buttons, FAQ
   accordion and final CTA reuse the shared .hero / .hero-visual /
   .faq-* / .final-cta components that homepage-redesign.css already
   styles under body.tbos-home. This file adds: the hero "scenario
   orbit" diagram, the 5-step setup timeline, and the 7-scenario
   card grid — pattern adapted from workflow-singapore.css and
   re-themed with the same redesign palette and fonts.
   ============================================================ */

/* ---------- hero scenario 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: 118px;
  height: 118px;
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, var(--accent-light));
  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="online"]   { left: 0;    top: 2%; }
.wf-orbit-node[data-pos="offline"]  { right: 0;   top: 14%; animation-delay: -1.2s; }
.wf-orbit-node[data-pos="hybrid"]   { left: 0;    bottom: 28%; animation-delay: -2.4s; }
.wf-orbit-node[data-pos="home"]     { right: 0;   bottom: 14%; animation-delay: -3.6s; }
.wf-orbit-node[data-pos="agency"]   { left: 28%;  bottom: -4%; animation-delay: -4.8s; }
.wf-orbit-node[data-pos="currency"] { left: 28%;  top: -4%;  animation-delay: -1.8s; }

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

/* ---------- 5-step setup timeline (single-column, reveal on scroll) ---------- */
.wf-steps-section {
  padding: 72px var(--tbos-page-gutter) 60px;
  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(--brand-2);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.wf-step-card h3 { 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); }

@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; }
}

/* ---------- 7-scenario card grid ---------- */
.scenario-section {
  padding: 60px var(--tbos-page-gutter) 80px;
  max-width: var(--tbos-content-max);
  margin: 0 auto;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.scenario-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  box-shadow: 0 2px 10px -4px rgba(11, 21, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scenario-card.is-wide { grid-column: 1 / -1; }
.scenario-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 93, 143, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}
.scenario-card h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.scenario-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); }

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