/* Product: Zoho Creator Plus - page-specific design.
   Accent matches Creator/Flow's own blue (#1878c0) since this suite is built directly around
   those two apps. Mechanic is a lifecycle wheel: five nodes arranged in a circle around a fixed
   center hub, click a node (or let auto-play rotate through them) and the hub's content updates -
   distinct from every other suite mechanic (switchboard, reach-meter, layer-stack, stepper,
   tab-lens, merge-animation, toggle-checklist).

   All classes scoped to .crtp-page, prefixed crtp-. */

.crtp-page { --crtp: #1878c0; --crtp-d: #125a94; --crtp-l: #e8f2fb; }

.crtp-page .ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff;
  margin-block-end: 18px;
}
.crtp-page .ph-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

/* -------------------------------------------------------------------- lifecycle -- */
.crtp-lifecycle { padding: clamp(48px, 7vw, 84px) 0; }
.crtp-lifecycle h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0 0 12px; }
.crtp-lifecycle .lede { max-width: 82ch; margin: 0 0 34px; }

.crtp-wheel-wrap { display: flex; justify-content: center; }
.crtp-wheel { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; }

.crtp-node {
  position: absolute; top: 50%; left: 50%;
  transform: rotate(var(--a)) translate(0, -160px) rotate(calc(-1 * var(--a)));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font: inherit; cursor: pointer; background: none; border: none; color: var(--muted);
  width: 84px; margin-left: -42px; margin-top: -30px;
}
.crtp-node-n {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .88rem;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.crtp-node span:last-child { font-weight: 700; font-size: .82rem; text-align: center; }
.crtp-node[aria-pressed="true"] .crtp-node-n {
  background: var(--crtp-d); border-color: var(--crtp-d); color: #fff; transform: scale(1.15);
}
.crtp-node[aria-pressed="true"] span:last-child { color: var(--crtp-d); }

.crtp-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--crtp-l); border: 2px solid var(--crtp);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px; text-align: center;
}
.crtp-hub-app { margin: 0 0 8px; font-weight: 800; font-size: 1.15rem; color: var(--crtp-d); }
.crtp-hub-text { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--ink); }

@media (max-width: 640px) {
  .crtp-wheel { width: 300px; }
  .crtp-node { transform: rotate(var(--a)) translate(0, -112px) rotate(calc(-1 * var(--a))); width: 66px; margin-left: -33px; }
  .crtp-node span:last-child { font-size: .74rem; }
  .crtp-hub { width: 140px; height: 140px; padding: 12px; }
  .crtp-hub-app { font-size: 1rem; }
  .crtp-hub-text { font-size: .7rem; }
}

/* ------------------------------------------------------------------------ need -- */
.crtp-need {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--crtp-l);
  border-block: 1px solid color-mix(in srgb, var(--crtp) 18%, var(--line));
}
.crtp-need h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 12px; }
.crtp-need .lede { max-width: 82ch; margin: 0; }

/* ------------------------------------------------------------------------- caps -- */
.crtp-caps { padding: clamp(48px, 7vw, 84px) 0; }
.crtp-caps h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 22px; }
.crtp-cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 13px; }
.crtp-cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.crtp-cap b { display: block; margin-block-end: 6px; font-size: 1.02rem; color: var(--crtp-d); }
.crtp-cap p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ------------------------------------------------------------------------- move -- */
.crtp-move { padding: clamp(48px, 7vw, 84px) 0; }
.crtp-move h2 { font-size: 1.35rem; margin: 0 0 10px; }
.crtp-move h3 { font-size: 1.08rem; }
