/* =========================================================
   LOG'TRACK — Motion design
   Animations illustratives : palan + calendrier + cloche,
   dashboard live, scan QR.
   ========================================================= */

:root {
  --motion-speed: 1;
  --bell-color: #f97316;
  --bell-color-2: #fbbf24;
}

/* ===== Layout du hero ===== */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-anim {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at top, rgba(0,98,235,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-anim-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
  pointer-events: none;
}

.hero-anim-glow {
  position: absolute;
  inset: 10% 10%;
  background: radial-gradient(circle, rgba(0,98,235,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: heroGlowPulse calc(8s / var(--motion-speed)) ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-anim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* ===== Pont roulant : chariot qui glisse + crochet qui balance ===== */
.anim-trolley {
  transform-origin: 230px 68px;
  animation: trolleyMove calc(8s / var(--motion-speed)) cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes trolleyMove {
  0%   { transform: translateX(-180px); }
  20%  { transform: translateX(-180px); }
  40%  { transform: translateX(0); }
  60%  { transform: translateX(0); }
  80%  { transform: translateX(0); }
  100% { transform: translateX(-180px); }
}

.anim-hoist {
  transform-origin: 230px 82px;
  animation:
    hoistMove calc(8s / var(--motion-speed)) cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.anim-hook {
  animation: hoistSwing calc(2.6s / var(--motion-speed)) ease-in-out infinite;
  transform-origin: 0 0;
}

@keyframes hoistMove {
  0%   { transform: translateX(-180px); }
  20%  { transform: translateX(-180px); }
  40%  { transform: translateX(0); }
  60%  { transform: translateX(0); }
  80%  { transform: translateX(0); }
  100% { transform: translateX(-180px); }
}

@keyframes hoistSwing {
  0%, 100% { transform: rotate(2deg); }
  50%      { transform: rotate(-2deg); }
}

.anim-load {
  animation:
    loadMove calc(8s / var(--motion-speed)) cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: center;
}

@keyframes loadMove {
  0%   { transform: translate(50px, 240px); }
  10%  { transform: translate(50px, 195px); }
  20%  { transform: translate(50px, 195px); }
  40%  { transform: translate(230px, 195px); }
  60%  { transform: translate(230px, 195px); }
  80%  { transform: translate(230px, 195px); }
  100% { transform: translate(50px, 240px); }
}

/* ===== Cloche et BIM ===== */
.anim-bell {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bellAppear calc(8s / var(--motion-speed)) ease-in-out infinite;
}

@keyframes bellAppear {
  0%, 70%   { opacity: 0; transform: translate(0, -10px) scale(0.4); }
  72%       { opacity: 1; transform: translate(0, 0) scale(1.3); }
  76%       { transform: translate(0, 0) scale(0.95); }
  80%       { transform: translate(0, 0) scale(1.05); }
  85%       { transform: translate(0, 0) scale(1); }
  95%       { opacity: 1; }
  100%      { opacity: 0; transform: translate(0, 0) scale(1); }
}

.bell-body {
  transform-box: fill-box;
  transform-origin: center top;
  animation: bellShake calc(0.4s / var(--motion-speed)) ease-in-out infinite;
  animation-delay: calc(5.6s / var(--motion-speed));
  animation-iteration-count: 6;
}

@keyframes bellShake {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}

.bell-rays {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bellRays calc(8s / var(--motion-speed)) ease-out infinite;
}

@keyframes bellRays {
  0%, 70%   { opacity: 0; transform: scale(0.5); }
  73%       { opacity: 1; transform: scale(1); }
  90%       { opacity: 0.6; transform: scale(1.15); }
  100%      { opacity: 0; transform: scale(1); }
}

.shock-1, .shock-2 {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: shockwave calc(8s / var(--motion-speed)) ease-out infinite;
}

.shock-2 {
  animation-delay: calc(0.25s / var(--motion-speed));
}

@keyframes shockwave {
  0%, 70%  { opacity: 0; transform: scale(0.4); }
  72%      { opacity: 0.8; transform: scale(0.5); }
  88%      { opacity: 0; transform: scale(3); }
  100%     { opacity: 0; transform: scale(3); }
}

.anim-bim {
  opacity: 0;
  animation: bimPop calc(8s / var(--motion-speed)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes bimPop {
  0%, 70%  { opacity: 0; transform: translate(370px, 200px) scale(0.3) rotate(-8deg); }
  73%      { opacity: 1; transform: translate(370px, 200px) scale(1.4) rotate(6deg); }
  78%      { opacity: 1; transform: translate(370px, 200px) scale(1) rotate(-4deg); }
  82%      { opacity: 1; transform: translate(370px, 200px) scale(1.05) rotate(2deg); }
  92%      { opacity: 1; transform: translate(370px, 200px) scale(1) rotate(0); }
  100%     { opacity: 0; transform: translate(370px, 220px) scale(1) rotate(0); }
}

/* ===== Calendrier qui défile ===== */
.anim-calendar {
  position: absolute;
  bottom: 56px;
  left: 24px;
  right: 24px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

[data-theme="light"] .anim-calendar {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
}

.cal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-glow 2s ease-in-out infinite;
}

.cal-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  flex: 1;
}

.cal-month {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-accent);
  font-variant-numeric: tabular-nums;
  min-width: 60px;
  text-align: right;
}

.cal-strip {
  position: relative;
  height: 38px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 12%, black 88%, transparent 100%);
}

.cal-track {
  display: flex;
  gap: 6px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  animation: calScroll calc(8s / var(--motion-speed)) cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}

@keyframes calScroll {
  0%   { transform: translateX(0); }
  65%  { transform: translateX(calc(-100% + 280px)); }
  72%  { transform: translateX(calc(-100% + 280px)); }
  100% { transform: translateX(0); }
}

.cal-day {
  flex: 0 0 auto;
  width: 36px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}

[data-theme="light"] .cal-day {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.06);
}

.cal-day-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.cal-day-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
}

.cal-day.has-vgp {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
}
.cal-day.has-vgp .cal-day-num { color: #fb923c; }

.cal-day.is-due {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  border-color: #fbbf24;
  color: white;
  box-shadow: 0 0 16px rgba(249,115,22,0.6);
  animation: dayPulse 1s ease-in-out infinite;
}
.cal-day.is-due .cal-day-num,
.cal-day.is-due .cal-day-label { color: white; }

@keyframes dayPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== Toast notification ===== */
.anim-toast {
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(249,115,22,0.95), rgba(234,88,12,0.95));
  border: 1px solid rgba(251,191,36,0.5);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(249,115,22,0.4), 0 0 0 0 rgba(251,191,36,0.5);
  color: white;
  min-width: 200px;
  max-width: 240px;
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  animation: toastShow calc(8s / var(--motion-speed)) ease-in-out infinite;
}

@keyframes toastShow {
  0%, 70%  { opacity: 0; transform: translateX(20px) scale(0.9); }
  74%      { opacity: 1; transform: translateX(0) scale(1.05); }
  78%      { transform: translateX(0) scale(1); }
  93%      { opacity: 1; transform: translateX(0) scale(1); }
  100%     { opacity: 0; transform: translateX(20px) scale(0.95); }
}

.toast-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  flex-shrink: 0;
}
.toast-icon svg { width: 18px; height: 18px; color: white; }

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.toast-content strong {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-content span {
  font-size: 0.7rem;
  opacity: 0.9;
  font-weight: 500;
}

.toast-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(251,191,36,0.6);
  opacity: 0;
  animation: toastPulse calc(8s / var(--motion-speed)) ease-out infinite;
  pointer-events: none;
}

@keyframes toastPulse {
  0%, 73%   { opacity: 0; transform: scale(1); }
  75%       { opacity: 1; transform: scale(1); }
  90%       { opacity: 0; transform: scale(1.4); }
  100%      { opacity: 0; transform: scale(1.4); }
}

/* ===== Caption (texte qui change selon l'étape) ===== */
.anim-caption {
  position: absolute;
  bottom: 14px;
  left: 24px;
  right: 24px;
  z-index: 4;
  text-align: center;
  height: 18px;
  pointer-events: none;
}

.caption-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.caption-step.active {
  opacity: 1;
  transform: translateY(0);
}

.caption-step[data-step="2"].active {
  color: #fb923c;
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-anim {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-anim {
    max-width: 100%;
  }
  .anim-toast {
    top: 16px;
    right: 12px;
    min-width: 160px;
    padding: 8px 10px;
  }
  .toast-content strong { font-size: 0.7rem; }
  .toast-content span { font-size: 0.62rem; }
  .anim-calendar {
    bottom: 72px;
    left: 12px;
    right: 12px;
    padding: 10px;
  }
}

/* =========================================================
   DASHBOARD LIVE — liste d'équipements + badges qui changent
   ========================================================= */
.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .dash-row {
  background: rgba(0,0,0,0.02);
}

.dash-row.flash {
  background: rgba(249,115,22,0.1);
  border-color: rgba(249,115,22,0.3);
  transform: translateX(2px);
  box-shadow: 0 0 16px rgba(249,115,22,0.2);
}

.dash-row-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,98,235,0.1);
  border: 1px solid rgba(0,98,235,0.15);
  border-radius: 8px;
  color: #3b9eff;
  flex-shrink: 0;
  transition: all 0.4s;
}
.dash-row-icon svg { width: 16px; height: 16px; }

.dash-row.flash .dash-row-icon {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.3);
  color: #fb923c;
}

.dash-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dash-row-info strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-row-id {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.dash-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-ok {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
}
.status-warn {
  background: rgba(249,115,22,0.15);
  color: #fb923c;
  border: 1px solid rgba(249,115,22,0.3);
  box-shadow: 0 0 12px rgba(249,115,22,0.3);
  animation: statusPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.status-bad {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
}

@keyframes statusPop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.dashboard-alert {
  transition: all 0.4s ease;
}

.dashboard-alert.bump {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(249,115,22,0.3);
}

/* ===== Dashboard cards : badge + tick ===== */
.dash-card {
  position: relative;
  overflow: hidden;
}

.dash-card .card-tick {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}

.dash-card.tick .card-tick {
  opacity: 0.6;
  transform: scale(1);
  animation: tickFlash 0.6s ease-out;
}

@keyframes tickFlash {
  0%   { transform: scale(0.5); opacity: 1; }
  50%  { transform: scale(1.6); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.6; }
}

/* =========================================================
   QR SCAN ANIMATION — section onsite (service terrain)
   ========================================================= */
.qr-scan-anim {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

/* Phone frame */
.phone-frame {
  position: absolute;
  inset: 16px;
  background: #0c0c14;
  border: 2px solid #1e293b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

[data-theme="light"] .phone-frame {
  background: #1e293b;
  border-color: #334155;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: #000;
  border-radius: 100px;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 32px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Camera viewfinder */
.viewfinder {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(100,116,139,0.4), transparent 50%),
    linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reticle corners */
.viewfinder::before,
.viewfinder::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #fbbf24;
  border-radius: 4px;
}
.viewfinder::before {
  top: 12px; left: 12px;
  border-right: none;
  border-bottom: none;
}
.viewfinder::after {
  bottom: 12px; right: 12px;
  border-left: none;
  border-top: none;
}

.qr-target {
  width: 50%;
  aspect-ratio: 1;
  position: relative;
  animation: qrAppear calc(7s / var(--motion-speed)) ease-in-out infinite;
}

@keyframes qrAppear {
  0%, 12%  { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  18%      { opacity: 1; transform: scale(1) rotate(0); }
  60%      { opacity: 1; transform: scale(1) rotate(0); }
  68%      { opacity: 0; transform: scale(1.2) rotate(0); }
  100%     { opacity: 0; }
}

.qr-svg {
  width: 100%;
  height: 100%;
  background: white;
  padding: 6px;
  border-radius: 4px;
}

.scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34,197,94,0.5);
  animation: scanMove calc(7s / var(--motion-speed)) ease-in-out infinite;
  opacity: 0;
}

@keyframes scanMove {
  0%, 18%  { opacity: 0; top: 20%; }
  22%      { opacity: 1; top: 20%; }
  50%      { opacity: 1; top: 80%; }
  56%      { opacity: 0; top: 80%; }
  100%     { opacity: 0; }
}

.scan-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.15);
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: successFlash calc(7s / var(--motion-speed)) ease-in-out infinite;
}

@keyframes successFlash {
  0%, 56%  { opacity: 0; }
  60%      { opacity: 1; }
  68%      { opacity: 0; }
  100%     { opacity: 0; }
}

.success-tick {
  width: 64px; height: 64px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 32px rgba(34,197,94,0.6);
  transform: scale(0);
  animation: tickPop calc(7s / var(--motion-speed)) cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
.success-tick svg { width: 32px; height: 32px; }

@keyframes tickPop {
  0%, 58%  { transform: scale(0); }
  62%      { transform: scale(1.2); }
  66%      { transform: scale(1); }
  68%      { transform: scale(1); }
  72%      { transform: scale(0); }
  100%     { transform: scale(0); }
}

/* Equipment card that appears */
.eq-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(40px);
  animation: cardSlide calc(7s / var(--motion-speed)) cubic-bezier(0.34, 1.2, 0.4, 1) infinite;
  color: #0f172a;
}

@keyframes cardSlide {
  0%, 65%  { opacity: 0; transform: translateY(40px); }
  72%      { opacity: 1; transform: translateY(0); }
  92%      { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(40px); }
}

.eq-card-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.eq-card-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #0062eb, #00bffa);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.eq-card-icon svg { width: 16px; height: 16px; }

.eq-card-name {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
}
.eq-card-id {
  font-size: 0.62rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.eq-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  padding: 3px 0;
  border-top: 1px solid #e2e8f0;
}
.eq-card-row span:first-child { color: #64748b; }
.eq-card-row span:last-child { color: #0f172a; font-weight: 600; }

.eq-card-status {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(34,197,94,0.15);
  color: #16a34a;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== QR section in onsite ===== */
.onsite-card-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.onsite-anim-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

@media (max-width: 968px) {
  .onsite-card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .onsite-anim-side {
    order: -1;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .anim-trolley, .anim-hoist, .anim-load,
  .anim-bell, .bell-body, .bell-rays,
  .shock-1, .shock-2, .anim-bim,
  .cal-track, .anim-toast, .toast-pulse,
  .qr-target, .scan-line, .scan-success,
  .success-tick, .eq-card, .hero-anim-glow,
  .cal-day.is-due, .cal-dot {
    animation: none !important;
  }
  .anim-bell, .anim-bim, .anim-toast, .scan-line,
  .scan-success, .eq-card { opacity: 1 !important; }
  .anim-toast { transform: none !important; }
}

/* ========================================================
   PAUSE ON HOVER (subtle)
   ======================================================== */
.hero-anim:hover .anim-trolley,
.hero-anim:hover .anim-hoist,
.hero-anim:hover .anim-load,
.hero-anim:hover .cal-track,
.hero-anim:hover .anim-bell,
.hero-anim:hover .bell-body,
.hero-anim:hover .bell-rays,
.hero-anim:hover .shock-1,
.hero-anim:hover .shock-2,
.hero-anim:hover .anim-bim,
.hero-anim:hover .anim-toast,
.hero-anim:hover .toast-pulse {
  animation-play-state: paused;
}

/* Logo text */
.logo-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.3rem;
}
.logo-text-accent {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
