/* ============================================================
   Workify — workify.ca design language + our content
   Brand: workify-500 #FEBD16 on #f7f9fa
   Tailwind (CDN) handles utilities; this file holds keyframes,
   base, the Command Center interaction, and the Workflow Studio
   "mini video" auto-demo.
   ============================================================ */

html { scroll-padding-top: 96px; color-scheme: light; }
body {
  background-color: #f7f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0f172a;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- keyframes used via Tailwind arbitrary animate-[…] syntax ---- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes blob {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-50px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.perspective-1200 { perspective: 1200px; }
.perspective-1400 { perspective: 1400px; }

/* ---- rotating trade word in hero ---- */
.trade-word {
  display: inline-block; color: #FEBD16;
  transition: opacity .25s ease, transform .25s ease; will-change: opacity, transform;
}
.trade-word.swap { opacity: 0; transform: translateY(8px); }

/* ---- "supercharged" — clean charged underline with a smooth current flowing through it ---- */
.electric { position: relative; display: inline-block; color: #0f172a; }
.electric::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.02em; height: 0.075em; border-radius: 999px;
  background: linear-gradient(90deg, rgba(254,189,22,0) 0%, #FEBD16 22%, #FFF0B8 50%, #FEBD16 78%, rgba(254,189,22,0) 100%);
  background-size: 220% 100%;
  box-shadow: 0 1px 10px rgba(254,189,22,0.4);
  animation: currentFlow 2.8s linear infinite;
}
@keyframes currentFlow { 0% { background-position: 115% 0; } 100% { background-position: -15% 0; } }

/* ---- logo cloud (branded trade wordmarks) ---- */
.logo-item { display: inline-flex; align-items: center; gap: .7rem; opacity: .5; filter: grayscale(1); transition: opacity .35s, filter .35s; padding-right: 3.5rem; }
.logo-item:hover { opacity: 1; filter: grayscale(0); }
.logo-mark { display: inline-flex; color: #94a3b8; transition: color .35s; }
.logo-mark svg { width: 30px; height: 30px; display: block; }
.logo-item:hover .logo-mark { color: var(--accent, #FEBD16); }
.logo-name { font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: #475569; white-space: nowrap; transition: color .35s; }
.logo-item:hover .logo-name { color: #0f172a; }
.logo-sub { font-weight: 400; color: #94a3b8; }
@media (max-width: 640px) { .logo-name { font-size: 1.2rem; } .logo-mark svg { width: 25px; height: 25px; } .logo-item { padding-right: 2.25rem; } }

/* ---- Super Agents org chart (AI workforce) ---- */
.org-you { margin: 0 auto; width: max-content; max-width: 92%; }
.org-trunk { width: 2px; height: 30px; background: #cbd5e1; margin: 0 auto; }
.org-bus-wrap { justify-content: center; }
.org-bus { height: 2px; background: #cbd5e1; width: 74.5%; }
.org-branch { width: 2px; height: 22px; background: #cbd5e1; margin: 0 auto; }
.dept-head { display: flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; padding: .55rem .9rem; border-radius: .9rem; background: #0f172a; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dept-head .dh-count { color: #FEBD16; }
.agent-chip { display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.78); border: 1px solid rgba(15,23,42,.07); border-radius: .85rem; padding: .6rem .7rem; box-shadow: 0 6px 18px -12px rgba(15,23,42,.25); transition: transform .2s, box-shadow .2s, border-color .2s; }
.agent-chip:hover { transform: translateY(-2px); border-color: rgba(254,189,22,.5); box-shadow: 0 12px 24px -14px rgba(254,189,22,.4); }
.ai-badge { font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 1px 5px; border-radius: 5px; background: #0f172a; color: #FEBD16; line-height: 1.5; flex-shrink: 0; }
.agent-chip .live { width: 7px; height: 7px; border-radius: 9999px; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.18); margin-left: auto; flex-shrink: 0; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,.18); } 50% { box-shadow: 0 0 0 5px rgba(16,185,129,.06); } }

/* ---- benefits ticker (replaces the faded giant-word marquee) ---- */
.benefit-item { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.15rem; font-weight: 600; color: #334155; white-space: nowrap; }
.benefit-item svg { width: 20px; height: 20px; color: #e5a913; flex-shrink: 0; }
.benefit-dot { margin: 0 1.75rem; color: #cbd5e1; font-size: 1.1rem; }
@media (max-width: 640px) { .benefit-item { font-size: 1rem; } .benefit-dot { margin: 0 1.1rem; } }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   WORKFLOW STUDIO — auto-playing "mini video"
   ============================================================ */
.studio-stage {
  position: relative;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
}
@media (max-width: 860px) { .studio-stage { grid-template-columns: 1fr; } }

/* palette */
.studio-palette { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .studio-palette { flex-direction: row; flex-wrap: wrap; } }
.pal-block {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.75); border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 6px 18px -12px rgba(15,23,42,0.25); transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
@media (max-width: 860px) { .pal-block { flex: 1 1 45%; } }
.pal-block.lift { transform: scale(.96); border-color: rgba(254,189,22,0.6); background: #fff; box-shadow: 0 14px 28px -12px rgba(254,189,22,0.5); }
.pal-ico { height: 30px; width: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.pal-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.1; }
.pal-sub { font-size: 10px; color: #94a3b8; font-family: 'JetBrains Mono', monospace; }

/* canvas */
.studio-canvas {
  position: relative; border-radius: 20px; min-height: 380px; overflow: hidden;
  border: 1px solid rgba(15,23,42,0.07);
  background:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,0.07) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.studio-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s-wire { stroke: url(#sgrad); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.s-wire-dash { stroke: #e5a913; stroke-width: 2.5; fill: none; stroke-dasharray: 5 8; opacity: .8; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }

/* nodes */
.s-node {
  position: absolute; width: 158px; border-radius: 15px; padding: 11px 12px; background: #fff;
  border: 1px solid rgba(15,23,42,0.1); box-shadow: 0 16px 32px -16px rgba(15,23,42,0.42);
  transform: scale(.8); opacity: 0; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s; z-index: 2;
}
.s-node.show { transform: scale(1); opacity: 1; }
.s-node .nh { display: flex; align-items: center; gap: 9px; }
.s-ico { height: 28px; width: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.s-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.05; }
.s-tag { font-size: 10px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.s-port { position: absolute; height: 9px; width: 9px; border-radius: 9999px; top: 50%; transform: translateY(-50%); }
.s-port.in { left: -4px; background: #cbd5e1; }
.s-port.out { right: -4px; background: #FEBD16; box-shadow: 0 0 8px rgba(254,189,22,0.6); }

/* kind accents */
.k-trigger .pal-ico, .k-trigger .s-ico { background: rgba(2,132,199,0.12); color: #0284c7; }
.k-agent   .pal-ico, .k-agent .s-ico   { background: rgba(226,163,0,0.18); color: #b45309; }
.k-tool    .pal-ico, .k-tool .s-ico    { background: rgba(5,150,105,0.12); color: #059669; }
.k-connector .pal-ico, .k-connector .s-ico { background: rgba(124,58,237,0.12); color: #7c3aed; }
.k-output  .pal-ico, .k-output .s-ico  { background: rgba(219,39,119,0.12); color: #db2777; }

/* moving cursor + carried ghost */
.studio-cursor {
  position: absolute; top: 0; left: 0; z-index: 60; pointer-events: none;
  transform: translate(40px, 40px); transition: transform .7s cubic-bezier(.5,0,.2,1);
  filter: drop-shadow(0 4px 6px rgba(15,23,42,0.3));
}
.studio-cursor svg { display: block; }
.studio-cursor.grab svg { transform: scale(.86); }
.studio-ghost {
  position: absolute; top: 0; left: 0; z-index: 55; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 12px;
  background: rgba(255,255,255,0.96); border: 1px solid rgba(254,189,22,0.5);
  box-shadow: 0 18px 34px -14px rgba(15,23,42,0.45); font-size: 12px; font-weight: 600; color: #0f172a;
  opacity: 0; transform: translate(40px,40px) scale(.95); transition: transform .7s cubic-bezier(.5,0,.2,1), opacity .2s;
}
.studio-ghost .pal-ico { height: 22px; width: 22px; border-radius: 7px; }

/* caption / status under stage */
.studio-caption {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #475569;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(15,23,42,0.07);
  padding: 8px 14px; border-radius: 9999px; font-weight: 500;
}
.studio-caption .dot { height: 8px; width: 8px; border-radius: 9999px; background: #FEBD16; box-shadow: 0 0 0 4px rgba(254,189,22,0.18); }
.studio-caption.live .dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); }

/* mobile: studio becomes a clean vertical "assembling" list (no cursor drag) */
.studio-canvas.flow { display: flex; flex-direction: column; align-items: center; padding: 20px 14px; }
.s-node-v { width: 100%; max-width: 300px; display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid rgba(15,23,42,.1); border-radius: 14px; padding: .7rem .8rem; box-shadow: 0 10px 24px -16px rgba(15,23,42,.4); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.s-node-v.show { opacity: 1; transform: none; }
.s-node-v .s-ttl { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.05; }
.s-node-v .s-tag { font-size: 10px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.s-conn { width: 2px; height: 20px; background: #e5a913; opacity: .55; }
@media (max-width: 860px) {
  .studio-palette { display: none; }
  .studio-cursor, .studio-ghost { display: none !important; }
  .studio-stage { grid-template-columns: 1fr; }
  .studio-canvas .studio-wires { display: none; }
}

/* prompt-to-workflow mini chip row */
.prompt-chip {
  font-size: 12px; padding: 7px 13px; border-radius: 9999px; cursor: pointer;
  border: 1px solid rgba(15,23,42,0.1); background: rgba(255,255,255,0.8); color: #475569; transition: .15s;
}
.prompt-chip:hover, .prompt-chip.on { border-color: rgba(254,189,22,0.6); color: #0f172a; background: #fff; }

/* ---- Command Center scatter (kept for the Platform Modules section) ---- */
.transition-spring { transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (min-width: 768px) {
  .cc-group:hover .card-scatter-1, .cc-group.active .card-scatter-1 { transform: translate(-130%,-100%) rotate(-4deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-2, .cc-group.active .card-scatter-2 { transform: translate(130%,-90%) rotate(3deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-3, .cc-group.active .card-scatter-3 { transform: translate(-110%,100%) rotate(2deg); opacity: 1; pointer-events: auto; }
  .cc-group:hover .card-scatter-4, .cc-group.active .card-scatter-4 { transform: translate(110%,95%) rotate(-3deg); opacity: 1; pointer-events: auto; }
}
@media (max-width: 767px) {
  .cc-group.active .card-scatter-1 { transform: translateY(-130px) scale(.95); opacity: 1; z-index: 40; }
  .cc-group.active .card-scatter-2 { transform: translateY(130px) scale(.95); opacity: 1; z-index: 40; }
  .cc-group.active .card-scatter-3 { transform: translateY(-240px) scale(.85); opacity: 1; z-index: 30; }
  .cc-group.active .card-scatter-4 { transform: translateY(240px) scale(.85); opacity: 1; z-index: 30; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .studio-cursor, .studio-ghost { display: none !important; }
  .s-node { opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE-ONLY refinements (≤767px). Desktop untouched.
   ============================================================ */
/* phone + orbital scale wrappers: transparent on desktop, sized box on mobile */
.hero-phone-clip, .hero-phone-scale, .orbit-wrap { display: contents; }
@keyframes drawConn { from { transform: scaleX(0); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }

@media (max-width: 767px) {
  /* burger: thinner lines */
  #menu-btn svg { stroke-width: 2.25; }

  /* space after the header + around the headline */
  #hero { align-items: flex-start !important; padding-top: 7rem !important; padding-bottom: 2.5rem !important; }

  /* ---- Hero: centered headline → [subtext | phone] → buttons → testimonial ---- */
  #hero-grid {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "headline headline"
      "sub phone"
      "cta cta"
      "quote quote" !important;
    column-gap: 10px !important;
    row-gap: 1.2rem !important;
    align-items: center !important;
  }
  #hero-grid .hero-copy { display: contents !important; }
  #hero-grid h1 { grid-area: headline; text-align: center !important; font-size: 1.95rem !important; line-height: 1.12 !important; margin: 0.4rem 0 0.8rem !important; }
  #hero-grid h1 .electric { font-size: 1em; }
  #hero-grid .hero-sub { grid-area: sub; align-self: center; font-size: 1rem !important; margin: 0 0 0 auto !important; max-width: 165px; text-align: left; }
  #hero-grid .hero-sub .hero-subtext { display: block; margin-top: 0.55rem; font-size: 0.82rem; line-height: 1.42; color: #64748b; }
  #hero-grid .hero-phone { grid-area: phone; align-self: center; justify-content: center; margin-right: 12px; }
  #hero-grid .hero-phone-clip { display: block !important; width: 170px; height: 360px; overflow: visible; flex: 0 0 auto; }
  #hero-grid .hero-phone-scale { display: block !important; width: 340px; height: 720px; transform: scale(0.5); transform-origin: top left; }
  /* buttons: fit their text, centered */
  #hero-grid .hero-cta { grid-area: cta; flex-direction: row !important; flex-wrap: wrap; gap: 0.5rem !important; align-items: center !important; justify-content: center !important; width: 100%; margin: 0.2rem 0 0 !important; }
  #hero-grid .hero-cta > a { flex: 0 0 auto; padding: 0.6rem 1.15rem !important; font-size: 0.8rem !important; }
  /* testimonial: chat bubble — quote on 2 lines, attribution on 1 line */
  #hero-grid .hero-quote { grid-area: quote; margin: 0.6rem auto 0 !important; padding: 0.75rem 1rem !important; max-width: 348px !important; text-align: center; border-radius: 1.1rem 1.1rem 1.1rem 0.3rem; }
  #hero-grid .hero-quote > div.flex { justify-content: center; }
  #hero-grid .hero-quote p:first-of-type { font-size: 0.8rem !important; margin-bottom: 0.5rem !important; }
  #hero-grid .hero-quote p:last-of-type { font-size: 0.68rem !important; white-space: nowrap; }

  /* ---- Workflow Studio: fixed-height prompt + compact wrapping node sequence ---- */
  .prompt-row { flex-wrap: wrap !important; align-items: flex-start !important; }
  #prompt-text { min-height: 3em; }
  #prompt-run { flex: 1 0 100% !important; margin-top: 0.55rem !important; }
  .prompt-chip { font-size: 11px; padding: 5px 9px; }
  .studio-canvas.flow { flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important; gap: 6px 4px !important; padding: 12px 8px !important; min-height: 0 !important; }
  .studio-canvas.flow .s-node-v { width: auto !important; max-width: none !important; flex: 0 0 auto !important; padding: 0.4rem 0.5rem !important; gap: 0.4rem !important; }
  .studio-canvas.flow .s-node-v .s-ttl { font-size: 11px !important; }
  .studio-canvas.flow .s-node-v .s-tag { display: none !important; }
  .studio-canvas.flow .s-node-v .s-ico { width: 22px !important; height: 22px !important; }
  .studio-canvas.flow .s-conn { width: 24px !important; height: 2.5px !important; background: linear-gradient(90deg, #FEBD16, #e5a913) !important; border-radius: 3px; align-self: center !important; transform-origin: left center; animation: drawConn .5s ease forwards; box-shadow: 0 0 6px rgba(254,189,22,0.4); }
  .studio-canvas.flow .s-conn::after { display: none; }

  /* ---- Super Agents: compact org chart with continuous connector lines ---- */
  #agents-org { max-width: 300px; margin: 0 auto; }
  /* You node: clear tile, black border, black text (was navy) */
  #agents-org .org-you { display: block; width: max-content; max-width: 100%; margin: 0 0 12px 0 !important; padding: 0.6rem 0.9rem; background: #fff !important; border: 1.5px solid #0f172a !important; box-shadow: 0 6px 18px -12px rgba(15,23,42,0.25) !important; }
  #agents-org .org-you > div:nth-child(1) { color: #334155 !important; }
  #agents-org .org-you > div:nth-child(2) { color: #0f172a !important; }
  #agents-org .org-you > div:nth-child(3) { color: #64748b !important; }
  #agents-org .org-trunk, #agents-org .org-bus-wrap { display: none !important; }
  /* department list = left-aligned tree; one spine drops from the You node and connects everything */
  #agents-org > div:last-child { display: block !important; position: relative; padding-left: 34px; margin-top: 0 !important; }
  #agents-org > div:last-child::before { content: ""; position: absolute; left: 20px; top: -12px; bottom: 20px; width: 2px; background: #cbd5e1; }
  #agents-org .org-branch { display: none !important; }
  #agents-org .org-col { position: relative; margin: 0 0 0.7rem !important; background: none; border: none; box-shadow: none; padding: 0; }
  #agents-org .dept-head { position: relative; width: max-content; padding: 0.3rem 0.7rem; font-size: 0.58rem; border-radius: 8px; }
  #agents-org .dept-head::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 2px; background: #cbd5e1; }
  #agents-org .org-agents { position: relative; padding-left: 14px; margin-left: 5px; margin-top: 0.4rem !important; display: flex; flex-direction: column; gap: 0.32rem; }
  #agents-org .org-agents::before { content: ""; position: absolute; left: 0; top: -2px; bottom: 13px; width: 2px; background: #e2e8f0; }
  #agents-org .agent-chip { position: relative; width: max-content; max-width: 100%; padding: 0.28rem 0.55rem; gap: 0.35rem; border-radius: 8px; }
  #agents-org .agent-chip::before { content: ""; position: absolute; left: -13px; top: 50%; width: 13px; height: 2px; background: #e2e8f0; }
  #agents-org .agent-chip > div:first-child { display: none; }
  #agents-org .agent-chip .text-sm { font-size: 0.72rem; }
  #agents-org .agent-chip .live { width: 5px; height: 5px; }
  #agents-org .ai-badge { font-size: 8px; padding: 0 4px; }
  #agents-org .agent-role { display: none; }

  /* ---- Growth Journey: center line + alternating tiles (like desktop) ---- */
  #timeline { gap: 1.5rem !important; position: relative; }
  #timeline::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; background: #e2e8f0; transform: translateX(-50%); }
  #timeline > div { grid-template-columns: 1fr 1fr !important; column-gap: 26px !important; gap: 0 !important; align-items: center !important; }
  #timeline > div > div:first-child { display: flex !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%,-50%) !important; z-index: 20; }
  #timeline > div > div:first-child > div { width: 32px !important; height: 32px !important; }
  #timeline > div > div:first-child span { font-size: 12px !important; }
  #timeline > div:nth-child(odd) > div:last-child { grid-column: 1 !important; grid-row: 1 !important; text-align: right !important; padding: 0 !important; }
  #timeline > div:nth-child(even) > div:last-child { grid-column: 2 !important; grid-row: 1 !important; text-align: left !important; padding: 0 !important; }
  #timeline .bg-white.rounded-2xl { padding: 0.7rem 0.8rem !important; border-radius: 14px !important; }
  #timeline .bg-white.rounded-2xl > div:first-child { font-size: 8px !important; margin-bottom: 0.3rem !important; letter-spacing: 0.15em !important; }
  #timeline h3 { font-size: 0.92rem !important; margin-bottom: 0.25rem !important; }
  #timeline .bg-white.rounded-2xl p { font-size: 0.68rem !important; line-height: 1.35 !important; }

  /* ---- Built for the trades: swipeable carousel (peek left/right) ---- */
  #pillars {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 9%;
    gap: 12px !important; padding: 0.4rem 0 1rem !important; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #pillars::-webkit-scrollbar { display: none; }
  #pillars > div {
    flex: 0 0 82% !important; scroll-snap-align: center; margin: 0 !important;
    padding: 1.4rem !important; border-radius: 1.6rem !important;
    opacity: 1 !important; transform: none !important;
    transition: transform .35s ease, box-shadow .35s ease;
  }
  #pillars > div:not(.pill-active) { transform: scale(0.93); }
  #pillars > div.pill-active { transform: scale(1); box-shadow: 0 26px 60px -26px rgba(15,23,42,0.22); }
  #pillars > div > div:last-child { height: 8rem !important; margin-top: 1rem !important; }
  #pillars h3 { font-size: 1.5rem !important; }

  /* ---- Connects with your stack: rotating ferris-wheel orbital (mobile) ---- */
  .orbit-wrap { display: block !important; width: 100%; height: 340px; overflow: visible; margin: 0 auto; position: relative; }
  .orbit-ring { position: absolute !important; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); }
  /* rotate clockwise on mobile (desktop unchanged) */
  .orbit-ring > .inset-0 { animation-direction: normal !important; }
  .orbit-ring .bg-white { animation-direction: reverse !important; }
  /* whole hub circle yellow + big W (no inner square) */
  .orbit-ring .orbit-hub { transform: scale(1.15); background: #FEBD16 !important; border-color: #FEBD16 !important; }
  .orbit-ring .orbit-hub > div { background: transparent !important; width: auto !important; height: auto !important; }
  .orbit-ring .orbit-hub img { height: 84px !important; }
  /* bigger, legible tiles + yellow icons */
  .orbit-ring .bg-white { padding: 0.55rem 0.7rem !important; }
  .orbit-ring .bg-white .text-sm { font-size: 1.05rem !important; }
  .orbit-ring .bg-white .text-\[10px\] { font-size: 0.72rem !important; }
  .orbit-ring .bg-white > div:first-child { width: 44px !important; height: 44px !important; background-color: rgba(254,189,22,0.18) !important; color: #e5a913 !important; }
  .orbit-ring .bg-white > div:first-child svg { width: 24px !important; height: 24px !important; }

  /* ---- Testimonials: swipeable carousel so they're compact ---- */
  #quotes {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 8%;
    gap: 12px !important; padding: 0.3rem 0 1rem !important; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #quotes::-webkit-scrollbar { display: none; }
  #quotes > div {
    flex: 0 0 86% !important; scroll-snap-align: center; margin: 0 !important; min-height: 0 !important;
    padding: 1.3rem !important; opacity: 1 !important; transform: none !important;
    background: #fff !important; box-shadow: 0 12px 34px -18px rgba(15,23,42,0.18) !important;
  }
  #quotes p { font-size: 0.92rem !important; line-height: 1.5 !important; margin-bottom: 1rem !important; }

  /* ---- Pricing: three tiles side by side, prices aligned, full width ---- */
  #pricing { padding-left: 0.9rem !important; padding-right: 0.9rem !important; }
  #pricing-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 7px !important; align-items: stretch; }
  #pricing-grid > div { padding: 1.35rem 0.55rem 0.7rem !important; border-radius: 14px !important; position: relative; }
  /* "Most Popular" badge absolute so plan names + prices line up across all three */
  #pricing-grid .text-workify-600.uppercase { position: absolute !important; top: 5px !important; left: 0 !important; right: 0 !important; margin: 0 !important; text-align: center; font-size: 0.5rem !important; letter-spacing: 0.03em !important; }
  #pricing-grid h3.text-xl { font-size: 0.85rem !important; margin-bottom: 0.35rem !important; }
  #pricing-grid .text-4xl { font-size: 1.2rem !important; }
  #pricing-grid .mb-2 { margin-bottom: 0.35rem !important; }
  #pricing-grid .mb-2 span:last-child { font-size: 0.58rem !important; }
  #pricing-grid .text-xs { font-size: 0.55rem !important; margin-bottom: 0.5rem !important; }
  #pricing-grid p { font-size: 0.6rem !important; margin-bottom: 0.6rem !important; line-height: 1.3 !important; }
  #pricing-grid ul { margin-bottom: 0.7rem !important; }
  #pricing-grid li { font-size: 0.58rem !important; gap: 0.25rem !important; align-items: flex-start !important; padding: 0.16rem 0 !important; line-height: 1.25 !important; }
  #pricing-grid li svg { width: 11px !important; height: 11px !important; margin-top: 1px; flex-shrink: 0; }
  #pricing-grid a { padding: 0.5rem 0.3rem !important; font-size: 0.62rem !important; border-radius: 9px !important; }
}
