/* =========================================================
   Nishop Booking — landing (home) visual layer
   loaded only on "/" via headExtra
   colorful accents · AI canvas · aurora orbs · floating
   chips · product reel · orbit illustration · gradient CTA
   every animation respects prefers-reduced-motion
   ========================================================= */

/* ---------- colorful icon / badge tints ---------- */

.tint-blue   .card-icon,
.tint-violet .card-icon,
.tint-teal   .card-icon,
.tint-amber  .card-icon,
.tint-rose   .card-icon,
.tint-cyan   .card-icon { transition: transform 0.25s var(--ease); }
.card:hover .tint-blue   .card-icon { transform: translateY(-2px) rotate(-6deg); }
.card:hover .tint-violet .card-icon { transform: translateY(-2px) rotate(6deg); }
.card:hover .tint-teal   .card-icon { transform: translateY(-2px) rotate(-6deg); }
.card:hover .tint-amber  .card-icon { transform: translateY(-2px) rotate(6deg); }
.card:hover .tint-rose   .card-icon { transform: translateY(-2px) rotate(-6deg); }
.card:hover .tint-cyan   .card-icon { transform: translateY(-2px) rotate(6deg); }

.tint-blue   .card-icon, .card-icon.tint-blue   { background: #E7EEFF; color: #2450C8; }
.tint-violet .card-icon, .card-icon.tint-violet { background: #F1E9FF; color: #6D3BE0; }
.tint-teal   .card-icon, .card-icon.tint-teal   { background: #DFF6EF; color: #0B7C63; }
.tint-amber  .card-icon, .card-icon.tint-amber  { background: #FFF2DC; color: #96600A; }
.tint-rose   .card-icon, .card-icon.tint-rose   { background: #FFE9EE; color: #C22F58; }
.tint-cyan   .card-icon, .card-icon.tint-cyan   { background: #E2F3FD; color: #0B6FA4; }

.section-dark .tint-blue   .card-icon { background: rgba(59, 110, 246, 0.18);  color: #9BB8FF; }
.section-dark .tint-violet .card-icon { background: rgba(124, 58, 237, 0.20);  color: #C4AEFF; }
.section-dark .tint-teal   .card-icon { background: rgba(15, 169, 104, 0.18);  color: #7BE0BC; }
.section-dark .tint-amber  .card-icon { background: rgba(255, 180, 61, 0.16);  color: #FFD48F; }
.section-dark .tint-rose   .card-icon { background: rgba(217, 63, 76, 0.16);   color: #FFA9B4; }
.section-dark .tint-cyan   .card-icon { background: rgba(11, 111, 164, 0.22);   color: #8FD0F4; }

.badge.tint-blue   { background: #E7EEFF; border-color: #CFDDFF; color: #2450C8; }
.badge.tint-violet { background: #F1E9FF; border-color: #E2D6FF; color: #6D3BE0; }
.badge.tint-teal   { background: #DFF6EF; border-color: #BCEBDD; color: #0B7C63; }
.badge.tint-amber  { background: #FFF2DC; border-color: #FFE3B8; color: #96600A; }
.badge.tint-rose   { background: #FFE9EE; border-color: #FFD3DC; color: #C22F58; }

/* ---------- colorful statement strip ---------- */

.statement {
  background:
    linear-gradient(90deg, rgba(59, 110, 246, 0.055), rgba(124, 58, 237, 0.05) 50%, rgba(15, 169, 104, 0.055));
}

/* ---------- colorful how-it-works steps ---------- */

.steps .step:nth-child(1)::before { background: linear-gradient(135deg, #2A5AE0, #4F7DF7); }
.steps .step:nth-child(2)::before { background: linear-gradient(135deg, #6D3BE0, #8E5BF5); }
.steps .step:nth-child(3)::before { background: linear-gradient(135deg, #0B7C63, #12A37B); }
.steps .step:nth-child(4)::before { background: linear-gradient(135deg, #A66A00, #E0A22D); }

/* ---------- colorful pricing teaser ---------- */

.pricing-grid .plan:nth-child(1) { border-top: 3px solid var(--brand-500); }
.pricing-grid .plan:nth-child(3) { border-top: 3px solid #12A37B; }

/* ---------- section washes ---------- */

.section-alt {
  background: linear-gradient(180deg, #F6F8FC 0%, #F2F5FF 100%);
}

/* =========================================================
   HERO — aurora orbs, AI network canvas, gradient headline,
   floating feature chips, scene aura
   ========================================================= */

.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orb-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}
.ho-1 {
  width: 46vmax; height: 46vmax;
  left: -14vmax; top: -17vmax;
  background: radial-gradient(circle, rgba(59, 110, 246, 0.5), transparent 65%);
}
.ho-2 {
  width: 40vmax; height: 40vmax;
  right: -11vmax; top: 6%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.42), transparent 65%);
  animation-duration: 19s; animation-delay: -4s;
}
.ho-3 {
  width: 34vmax; height: 34vmax;
  right: 22%; bottom: -15vmax;
  background: radial-gradient(circle, rgba(15, 169, 104, 0.4), transparent 65%);
  animation-duration: 22s; animation-delay: -8s;
}
.ho-4 {
  width: 26vmax; height: 26vmax;
  left: 32%; top: -13vmax;
  background: radial-gradient(circle, rgba(255, 180, 61, 0.45), transparent 65%);
  animation-duration: 17s; animation-delay: -2s;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4%, 6%, 0) scale(1.12); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* animated gradient headline accent */
.hero-title em {
  color: var(--brand-600);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title em {
    background-image: linear-gradient(100deg, #2A5AE0 0%, #6D3BE0 34%, #0B7C63 68%, #2450C8 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: grad-pan 7s linear infinite;
  }
}
@keyframes grad-pan {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* hero note dots — one colour per point */
.hero-note span:nth-child(1)::before { background: var(--brand-500); }
.hero-note span:nth-child(2)::before { background: #6D3BE0; }
.hero-note span:nth-child(3)::before { background: #12A37B; }

/* colourful aura behind the animated scene */
.hero-scene::before {
  content: "";
  position: absolute;
  inset: -7% -5%;
  border-radius: 46%;
  background: conic-gradient(
    from 180deg,
    rgba(59, 110, 246, 0.55),
    rgba(124, 58, 237, 0.5),
    rgba(15, 169, 104, 0.45),
    rgba(255, 180, 61, 0.5),
    rgba(59, 110, 246, 0.55)
  );
  filter: blur(46px);
  opacity: 0.32;
  z-index: -1;
  animation: glow-spin 16s linear infinite;
}
@keyframes glow-spin {
  to { transform: rotate(360deg); }
}

/* floating feature chips */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45em 0.9em;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text);
  box-shadow: var(--shadow);
  pointer-events: none;
  animation: chip-float 7s ease-in-out infinite;
}
.hc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hc-blue   { background: var(--brand-500); }
.hc-violet { background: #6D3BE0; }
.hc-teal   { background: #12A37B; }
.hc-1 { top: -46px;  left: 4px;   animation-delay: -1.2s; }
.hc-2 { bottom: -40px; right: -5%; animation-delay: -3.4s; }
.hc-3 { bottom: 13%; left: -6%; animation-delay: -5.6s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 980px) {
  .hero-chip { display: none; }
}

/* =========================================================
   PRODUCT REEL — video-style animated product tour
   ========================================================= */

.reel-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 100%);
}

.reel-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.reel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.reel-bar .mock-url { margin-left: 0.35rem; }
.reel-bar .mock-label { margin-left: auto; }

.reel-stage { position: relative; }

/* base (no JS): scenes stack, all readable */
.reel-scene {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  padding: clamp(1.2rem, 3.4vw, 2.2rem);
}
.no-js .reel-scene + .reel-scene { border-top: 1px dashed var(--line); }
.no-js .reel-controls, .no-js .reel-caption { display: none; }

/* JS: crossfade player */
.js .reel-stage { min-height: 430px; }
@media (min-width: 641px) { .js .reel-stage { min-height: 400px; } }
@media (min-width: 900px) { .js .reel-stage { min-height: 380px; } }

.js .reel-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.js .reel-scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0s;
}

.rs-blue   { background: linear-gradient(140deg, #F3F7FF, #E9EFFF); }
.rs-violet { background: linear-gradient(140deg, #F7F3FF, #EFE9FF); }
.rs-amber  { background: linear-gradient(140deg, #FFF9EF, #FFF2DC); }
.rs-teal   { background: linear-gradient(140deg, #F1FBF7, #E4F7F0); }

.reel-kicker {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rs-blue .reel-kicker { color: #2450C8; }
.rs-violet .reel-kicker { color: #6D3BE0; }
.rs-amber .reel-kicker { color: #96600A; }
.rs-teal .reel-kicker { color: #0B7C63; }

.reel-hint { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.reel-search { background: var(--paper); max-width: 560px; }

/* scene 2 — pointer + highlighted card */
.reel-list { position: relative; max-width: 560px; }
.reel-scene .provider-card.is-target {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(59, 110, 246, 0.14);
}
.reel-cursor {
  position: absolute;
  right: 6%;
  top: 12%;
  width: 24px;
  color: var(--ink-900);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
  animation: cursor-tap 2.6s var(--ease) infinite;
}
.reel-cursor svg { width: 100%; height: auto; fill: currentColor; }
@keyframes cursor-tap {
  0%, 100% { transform: translate(8px, 16px); }
  40% { transform: translate(0, 0); }
  50% { transform: translate(0, 0) scale(0.88); }
  62% { transform: translate(0, 0); }
}
.js .reel-scene.is-active .is-target .provider-cta { animation: cta-glow 2.6s var(--ease) infinite; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 90, 224, 0); }
  50% { box-shadow: 0 0 0 6px rgba(42, 90, 224, 0.16); }
}

/* scene 3 — calendar + slots */
.reel-book { display: grid; gap: 1.1rem; }
@media (min-width: 700px) {
  .reel-book { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
}
.reel-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  max-width: 330px;
}
.reel-cal span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text-body);
}
.reel-cal .is-off {
  opacity: 0.35;
  background: transparent;
  border-color: transparent;
}
.reel-cal .is-picked {
  background: linear-gradient(135deg, var(--brand-600), #6D3BE0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(42, 90, 224, 0.35);
}
.reel-slotcol { display: grid; gap: 0.8rem; justify-items: start; }
.reel-slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reel-slot {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  color: var(--text-body);
}
.reel-slot.is-picked {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.reel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62em 1.25em;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-600), #4F7DF7);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

/* scene 4 — confirmation */
.reel-done { display: grid; gap: 0.75rem; justify-items: start; max-width: 560px; }
.reel-check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12A37B, #0B7C63);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(15, 169, 104, 0.4);
}
.reel-check svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .reel-scene.is-active .reel-check { animation: check-pop 0.55s var(--ease) both; }
@keyframes check-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.reel-bubble {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px;
  padding: 0.7rem 0.95rem;
  font-size: var(--fs-sm);
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  max-width: 46ch;
}
.reel-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* caption + controls (video-player chrome) */
.reel-caption {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.reel-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.reel-play {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.reel-play:hover { background: var(--brand-600); transform: scale(1.06); }
.reel-play .ic-play, .reel-play .ic-pause { width: 15px; height: 15px; fill: #fff; }
.reel-play[data-playing="true"] .ic-play,
.reel-play[data-playing="false"] .ic-pause { display: none; }

.reel-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-3);
  overflow: hidden;
}
.reel-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-500), #6D3BE0, #12A37B);
}
.reel-dots { display: flex; gap: 0.4rem; flex-shrink: 0; }
.reel-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.reel-dot:hover { background: var(--brand-500); }
.reel-dot.is-active { background: var(--brand-600); transform: scale(1.3); }

.reel-note { margin-top: 1.1rem; text-align: center; }

@media (max-width: 560px) {
  .reel-controls { flex-wrap: wrap; }
  .reel-track { order: 3; flex-basis: 100%; }
}

/* =========================================================
   ORBIT ILLUSTRATION — one platform across industries
   ========================================================= */

.orbit {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
}
.orbit svg {
  width: min(100%, 430px);
  height: auto;
}
.orbit-ring-outer {
  fill: none;
  stroke: #DCE3F2;
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}
.orbit-ring-spin {
  fill: none;
  stroke: #C9D4EA;
  stroke-width: 1.5;
  stroke-dasharray: 10 8;
  transform-box: fill-box;
  transform-origin: center;
  animation: svg-spin 26s linear infinite;
}
.orbit-ring-inner {
  fill: none;
  stroke: #E6EBF6;
  stroke-width: 1.5;
}
@keyframes svg-spin {
  to { transform: rotate(360deg); }
}
.orbit-link {
  stroke: #C3CFE8;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  animation: dash-flow 1.6s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -18; }
}
.orbit-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: core-breathe 4s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.orbit-node circle {
  fill: var(--paper);
  stroke-width: 2.5;
}
.orbit-node .orb-letter {
  font-size: 15px;
  font-weight: 750;
  text-anchor: middle;
}
.orbit-node .orb-label {
  font-size: 11.5px;
  font-weight: 600;
  fill: var(--text-body);
  text-anchor: middle;
}
.orbit-caption { display: flex; justify-content: center; }

/* =========================================================
   CTA — animated colourful gradient panel
   ========================================================= */

.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #1F45B8 0%, #4B3BD6 38%, #0E7C64 78%, #2A5AE0 100%);
  background-size: 220% 220%;
  animation: cta-shift 14s ease-in-out infinite;
}
@keyframes cta-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -130px; top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.cta-panel::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  left: -120px; bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 61, 0.3), transparent 65%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }

/* =========================================================
   prefers-reduced-motion — freeze every decorative loop
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-scene::before,
  .hero-chip,
  .hero-title em,
  .cta-panel,
  .orbit-ring-spin,
  .orbit-link,
  .orbit-core,
  .reel-cursor,
  .search-caret,
  .js .reel-scene.is-active .is-target .provider-cta,
  .js .reel-scene.is-active .reel-check {
    animation: none !important;
  }
  .js .reel-scene { transition: none !important; }
}
