/* Modules page layout */

.modules-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fafbfc;
}

.modules-main {
  flex: 1;
  padding-top: 0;
}

.modules-hero {
  position: relative;
  padding: 180px 0 140px;
  text-align: center;
  background: radial-gradient(ellipse 80% 70% at 50% -20%, rgba(202, 0, 5, 0.18) 0%, transparent 50%), linear-gradient(145deg, #08182b 0%, #0B1F3F 60%, #102a55 100%);
  overflow: hidden;
}

.modules-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px), linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px, 80px 80px;
  opacity: 0.45;
  pointer-events: none;
}

.modules-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(16, 42, 85, 0.45) 0%, transparent 35%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 30%), radial-gradient(circle at 50% 90%, rgba(11, 31, 63, 0.4) 0%, transparent 45%);
  pointer-events: none;
}

.modules-hero .container {
  position: relative;
  z-index: 2;
}

.modules-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 40px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modules-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--bista-white);
  max-width: 980px;
  margin: 0 auto 26px;
}

.modules-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

.modules-list {
  position: relative;
  padding: 120px 0 140px;
  background: #fafbfc;
  overflow: hidden;
}

.modules-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(11, 31, 63, 0.06) 1.5px, transparent 1.5px), linear-gradient(rgba(11, 31, 63, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 63, 0.03) 1px, transparent 1px);
  background-size: 36px 36px, 90px 90px, 90px 90px;
  pointer-events: none;
}

.modules-list .container {
  position: relative;
  z-index: 2;
}

.module-row {
  margin-bottom: 140px;
  align-items: center;
}

.module-row:last-child {
  margin-bottom: 0;
}

.module-divider {
  position: relative;
  height: 60px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.divider-line {
  position: absolute;
  width: 100%;
  max-width: 800px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(211, 220, 228, 0.6) 20%, #D3DCE4 50%, rgba(211, 220, 228, 0.6) 80%, transparent 100%);
  animation: dividerLinePulse 5s ease-in-out infinite;
}

.divider-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #D3DCE4;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(211, 220, 228, 0.6);
  z-index: 2;
  animation: dividerDotPulse 4s ease-in-out infinite;
}

.divider-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #D3DCE4;
  border-radius: 50%;
  z-index: 1;
  animation: dividerPulseRing 4s ease-out infinite;
}

.divider-particles {
  position: absolute;
  width: 100%;
  max-width: 800px;
  height: 100%;
  z-index: 0;
}

.divider-particles span {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: rgba(211, 220, 228, 0.7);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.divider-particles span:nth-child(1) {
  left: 20%;
  animation: dividerParticle 5s linear infinite;
}

.divider-particles span:nth-child(2) {
  left: 50%;
  animation: dividerParticle 5s linear infinite 1.5s;
}

.divider-particles span:nth-child(3) {
  left: 80%;
  animation: dividerParticle 5s linear infinite 3s;
}

@keyframes dividerLinePulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes dividerDotPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

@keyframes dividerPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes dividerParticle {
  0% {
    transform: translateY(-50%) translateX(0) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) translateX(30px) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(-50%) translateX(-30px) scale(1);
  }
  100% {
    transform: translateY(-50%) translateX(0) scale(0);
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .module-divider {
    margin: 30px 0;
    height: 50px;
  }
}

.module-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, #08182b 0%, #0a2a4a 50%, #0a3d6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50% !important;
  padding: 42px;
  box-shadow: 0 40px 100px rgba(11, 31, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 80px rgba(202, 0, 5, 0.06);
  position: relative;
  overflow: visible;
  margin: 0 auto;
}

.module-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% !important;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.11) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: 0.4;
  pointer-events: none;
}

.module-art::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(202, 0, 5, 0.25) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.12) 100%);
  z-index: -1;
  pointer-events: none;
}

.module-content {
  padding-left: 60px;
}

.flex-row-reverse .module-content {
  padding-left: 0;
  padding-right: 60px;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.module-tag span {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(202, 0, 5, 0.40);
  border-radius: 50%;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.module-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--bista-blue);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.module-body {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--bista-text);
  margin-bottom: 28px;
}

.module-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.module-benefits li {
  font-size: 1.05rem;
  color: var(--bista-text-muted);
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.55;
}

.module-benefits li::before {
  width: 24px;
  height: 24px;
}

.module-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.module-feature-card {
  background: var(--bista-white);
  border: 1px solid var(--bista-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.module-feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(202, 0, 5, 0.1);
  color: var(--bista-red);
  border-radius: 12px;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.module-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.module-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1.3;
}

.module-feature-desc {
  font-size: 0.88rem;
  color: var(--bista-text-muted);
  line-height: 1.5;
}

.module-benefits li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23CA0005' viewBox='0 0 16 16'%3E%3Cpath d='M12.354 4.354a.5.5 0 0 0-.708-.708L5 10.293 1.854 7.146a.5.5 0 1 0-.708.708l3.5 3.5a.5.5 0 0 0 .708 0l7-7zm-4.208 7-.896-.897.707-.707.543.543 6.646-6.647a.5.5 0 0 1 .708.708l-7 7a.5.5 0 0 1-.708 0z'/%3E%3Cpath d='m5.354 7.146.896.897-.707.707-.897-.896a.5.5 0 1 1 .708-.708'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.modules-cta {
  padding: 110px 0;
  background: linear-gradient(145deg, #08182b 0%, var(--bista-blue) 100%);
  color: var(--bista-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.modules-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px), linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px, 80px 80px;
  opacity: 0.3;
  pointer-events: none;
}

.modules-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 80%, rgba(16, 42, 85, 0.45) 0%, transparent 35%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.modules-cta .container {
  position: relative;
  z-index: 2;
}

.modules-cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--bista-white);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.modules-cta-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 34px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Procurement animation */

.art-procurement {
  position: relative;
  width: 420px;
  height: 380px;
}

/* Shared dashboard card style */

[class$="-dashboard"] {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

[class$="-dashboard"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--bista-red) 0%, var(--bista-blue) 100%);
}

[class$="-dash-header"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

[class$="-dash-title"] {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bista-blue);
}

[class$="-dash-badge"] {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bista-white);
  background: var(--bista-red);
  padding: 3px 8px;
  border-radius: 20px;
}

[class$="-progress"] {
  margin-bottom: 24px;
}

[class$="-progress-label"] {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--bista-text-muted);
  margin-bottom: 5px;
}

[class$="-progress-bar"] {
  height: 11px;
  background: var(--bista-blue-tint);
  border-radius: 10px;
  overflow: hidden;
}

[class$="-progress-bar"] span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bista-red) 0%, var(--bista-blue) 100%);
  border-radius: 10px;
  animation: procProgress 4.8s ease-in-out infinite;
}

@keyframes procProgress {
  0%, 100% {
    width: 35%;
  }
  50% {
    width: 78%;
  }
}

[class$="-metrics"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

[class$="-metric"] {
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

[class$="-metric-value"] {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
}

[class$="-metric-value"].red {
  color: var(--bista-red);
}

[class$="-metric-label"] {
  font-size: 0.72rem;
  color: var(--bista-text-muted);
  font-weight: 500;
  margin-top: 6px;
}

[class$="-status-list"] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[class$="-status-item"] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--bista-text-muted);
}

[class$="-status-dot"] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

[class$="-status-dot"].blue {
  background: var(--bista-blue);
}

[class$="-status-dot"].red {
  background: var(--bista-red);
}

[class$="-status-dot"].green {
  background: #1ca68c;
}

.proc-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.proc-node {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bista-blue);
  font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 2;
  animation: nodeActivate 8.8s ease-in-out infinite;
}

.proc-node i {
  position: relative;
  z-index: 3;
  animation: iconPop 8.8s ease-in-out infinite;
}

.proc-node.proc-req {
  top: -36px;
  left: -36px;
  animation-delay: 0s;
}

.proc-node.proc-approve {
  top: 38px;
  right: -40px;
  animation-delay: 1.1s;
}

.proc-node.proc-order {
  bottom: 38px;
  left: -40px;
  animation-delay: 2.2s;
}

.proc-node.proc-supplier {
  bottom: -36px;
  right: -36px;
  animation-delay: 3.3s;
}

.proc-step {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: var(--bista-red);
  color: var(--bista-white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(202, 0, 5, 0.35);
}

.proc-orbit {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(202, 0, 5, 0.35);
  border-radius: 50%;
  animation: orbitSpin 8s linear infinite;
  z-index: 1;
}

.proc-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bista-red);
  opacity: 0;
  z-index: 1;
  animation: pulseRing 4.4s ease-in-out infinite;
}

.proc-node.proc-req .proc-pulse {
  animation-delay: 0s;
}

.proc-node.proc-approve .proc-pulse {
  animation-delay: 1.1s;
}

.proc-node.proc-order .proc-pulse {
  animation-delay: 2.2s;
}

.proc-node.proc-supplier .proc-pulse {
  animation-delay: 3.3s;
}

@keyframes nodeActivate {
  0%, 90%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  10% {
    transform: scale(1.12);
    box-shadow: 0 14px 40px rgba(202, 0, 5, 0.35);
    border-color: rgba(202, 0, 5, 0.6);
  }
}

@keyframes iconPop {
  0%, 90%, 100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.2);
  }
}

@keyframes orbitSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.proc-connector {
  position: absolute;
  width: 80px;
  height: 5px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
}

.proc-connector.conn-req {
  top: 28px;
  left: 28px;
  transform: rotate(28deg);
  transform-origin: left center;
}

.proc-connector.conn-approve {
  top: 50%;
  right: -18px;
  transform: rotate(-22deg);
  transform-origin: left center;
}

.proc-connector.conn-order {
  bottom: 50%;
  left: -18px;
  transform: rotate(18deg);
  transform-origin: left center;
}

.proc-connector.conn-supplier {
  bottom: 28px;
  right: 28px;
  transform: rotate(-32deg);
  transform-origin: left center;
}

.proc-connector span {
  display: block;
  width: 14px;
  height: 100%;
  background: var(--bista-red);
  border-radius: 3px;
  animation: procFlow 4.4s ease-in-out infinite;
}

.proc-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--bista-red);
  border-radius: 50%;
  top: -1.5px;
  left: -4px;
  opacity: 0;
  box-shadow: 0 0 12px rgba(202, 0, 5, 0.6);
  animation: particleFlow 4.4s ease-in-out infinite;
}

@keyframes procFlow {
  0% {
    transform: translateX(-14px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(80px);
    opacity: 0;
  }
}

@keyframes particleFlow {
  0% {
    transform: translateX(0) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateX(16px) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateX(64px) scale(1);
  }
  100% {
    transform: translateX(80px) scale(0);
    opacity: 0;
  }
}

/* Inventory animation */

.art-inventory {
  position: relative;
  width: 420px;
  height: 380px;
}

.inv-shelf {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 70px;
  background: var(--bista-blue);
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding-bottom: 10px;
}

.inv-box {
  width: 30px;
  height: 30px;
  background: var(--bista-red);
  border-radius: 6px;
  animation: boxPop 2.4s ease-in-out infinite;
}

.inv-box:nth-child(2) {
  animation-delay: 0.3s;
}

.inv-box:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes boxPop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.inv-count {
  position: absolute;
  top: 30px;
  left: 0;
  display: flex;
  gap: 6px;
}

.inv-count span {
  width: 28px;
  height: 50px;
  background: var(--bista-blue-tint);
  border-radius: 6px;
  animation: countGrow 2s ease-in-out infinite;
}

.inv-count span:nth-child(2) {
  animation-delay: 0.25s;
  height: 70px;
  background: var(--bista-blue);
}

.inv-count span:nth-child(3) {
  animation-delay: 0.5s;
  height: 40px;
}

@keyframes countGrow {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.15);
  }
}

.inv-scan {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 2rem;
  color: var(--bista-red);
  animation: scanPulse 4s ease-in-out infinite;
}

@keyframes scanPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Contract animation */

.art-contract {
  position: relative;
  width: 420px;
  height: 380px;
}

.contract-doc {
  width: 100%;
  height: 130px;
  background: var(--bista-white);
  border: 2px solid var(--bista-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.contract-line {
  height: 8px;
  background: var(--bista-blue-tint);
  border-radius: 4px;
  margin-bottom: 12px;
  animation: linePulse 4s ease-in-out infinite;
}

.contract-line:nth-child(2) {
  width: 70%;
  animation-delay: 0.3s;
}

.contract-sig {
  width: 50%;
  height: 8px;
  background: var(--bista-red);
  border-radius: 4px;
  margin-top: 20px;
  animation: signDraw 5s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes signDraw {
  0% {
    width: 0;
  }
  50% {
    width: 50%;
  }
  100% {
    width: 50%;
  }
}

.contract-bell {
  position: absolute;
  top: -10px;
  right: -14px;
  width: 44px;
  height: 44px;
  background: var(--bista-red);
  color: var(--bista-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(202, 0, 5, 0.25);
  animation: bellRing 4.4s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes bellRing {
  0%, 100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(12deg);
  }
  20% {
    transform: rotate(-12deg);
  }
  30% {
    transform: rotate(8deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* Financial animation */

.art-finance {
  position: relative;
  width: 420px;
  height: 380px;
}

.fin-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.fin-bar {
  flex: 1;
  background: var(--bista-blue-tint);
  border-radius: 8px 8px 0 0;
  animation: barRise 4.8s ease-in-out infinite;
}

.fin-bar:nth-child(1) {
  height: 45%;
  animation-delay: 0s;
}

.fin-bar:nth-child(2) {
  height: 70%;
  background: var(--bista-blue);
  animation-delay: 0.3s;
}

.fin-bar:nth-child(3) {
  height: 55%;
  animation-delay: 0.6s;
}

.fin-bar:nth-child(4) {
  height: 90%;
  background: var(--bista-red);
  animation-delay: 0.9s;
}

@keyframes barRise {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.12);
  }
}

.fin-line {
  position: absolute;
  top: 20px;
  right: 0;
  width: 80px;
  height: 3px;
  background: var(--bista-red);
  border-radius: 3px;
  animation: lineGrow 4s ease-in-out infinite;
}

@keyframes lineGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    width: 100px;
    opacity: 1;
  }
}

/* Document animation */

.art-document {
  position: relative;
  width: 420px;
  height: 380px;
}

.doc-folder {
  position: relative;
  width: 150px;
  height: 110px;
  background: var(--bista-blue);
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  gap: 6px;
}

.doc-folder::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 70px;
  height: 20px;
  background: var(--bista-blue);
  border-radius: 8px 8px 0 0;
}

.doc-page {
  width: 55px;
  height: 75px;
  background: var(--bista-white);
  border-radius: 6px;
  animation: pageFloat 5.2s ease-in-out infinite;
}

.doc-page:nth-child(2) {
  animation-delay: 0.3s;
  transform: translateY(-8px);
}

@keyframes pageFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.doc-magnifier {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  background: var(--bista-white);
  border: 2px solid var(--bista-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--bista-red);
  box-shadow: var(--shadow-soft);
  animation: searchPulse 4s ease-in-out infinite;
}

@keyframes searchPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* Fixed Asset animation */

.art-asset {
  position: relative;
  width: 420px;
  height: 380px;
}

.asset-machine {
  width: 100px;
  height: 100px;
  background: var(--bista-white);
  border: 2px solid var(--bista-border);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bista-blue);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.asset-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 3px dashed var(--bista-blue-tint);
  border-radius: 50%;
  animation: ringRotate 10s linear infinite;
  z-index: 1;
}

@keyframes ringRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.asset-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--bista-red);
  color: var(--bista-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 3;
  animation: tagBounce 4s ease-in-out infinite;
}

@keyframes tagBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Payroll animation */

.art-payroll {
  position: relative;
  width: 420px;
  height: 380px;
}

.pay-slip {
  width: 130px;
  height: 110px;
  background: var(--bista-white);
  border: 2px solid var(--bista-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.pay-line {
  height: 7px;
  background: var(--bista-blue-tint);
  border-radius: 4px;
  margin-bottom: 10px;
}

.pay-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bista-blue);
  margin-top: 16px;
  animation: amountCount 5s ease-in-out infinite;
}

@keyframes amountCount {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    color: var(--bista-red);
  }
}

.pay-coins {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: -8px;
}

.pay-coins span {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  border-radius: 50%;
  border: 3px solid var(--bista-white);
  box-shadow: var(--shadow-soft);
  animation: coinDrop 3.6s ease-in-out infinite;
}

.pay-coins span:nth-child(2) {
  animation-delay: 0.3s;
  margin-left: -12px;
}

.pay-coins span:nth-child(3) {
  animation-delay: 0.6s;
  margin-left: -12px;
}

@keyframes coinDrop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* Claims animation */

.art-claims {
  position: relative;
  width: 420px;
  height: 380px;
}

.claim-form {
  width: 130px;
  height: 120px;
  background: var(--bista-white);
  border: 2px solid var(--bista-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.claim-line {
  height: 7px;
  background: var(--bista-blue-tint);
  border-radius: 4px;
  margin-bottom: 10px;
}

.claim-line:nth-child(2) {
  width: 60%;
}

.claim-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bista-red);
  margin-top: 20px;
  animation: claimFlash 4s ease-in-out infinite;
}

@keyframes claimFlash {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.claim-stamp {
  position: absolute;
  bottom: -10px;
  right: -16px;
  width: 54px;
  height: 54px;
  background: var(--bista-blue);
  color: var(--bista-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-soft);
  animation: stampHit 4.4s ease-in-out infinite;
}

@keyframes stampHit {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  40% {
    transform: scale(1.15) rotate(-8deg);
  }
  60% {
    transform: scale(1.1) rotate(6deg);
  }
  80% {
    transform: scale(1) rotate(0deg);
  }
}

/* Inventory dashboard */

.inv-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.inv-kpi {
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.inv-kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
}

.inv-kpi-value.red {
  color: var(--bista-red);
}

.inv-kpi-label {
  font-size: 0.72rem;
  color: var(--bista-text-muted);
  font-weight: 500;
  margin-top: 6px;
}

.inv-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 100px;
  margin-bottom: 24px;
}

.inv-bar {
  flex: 1;
  background: var(--bista-blue-tint);
  border-radius: 8px 8px 0 0;
  animation: barPulse 2.4s ease-in-out infinite;
}

.inv-bar.highlight {
  background: var(--bista-red);
}

.inv-bar:nth-child(2) {
  animation-delay: 0.3s;
}

.inv-bar:nth-child(3) {
  animation-delay: 0.6s;
}

.inv-bar:nth-child(4) {
  animation-delay: 0.9s;
}

.inv-bar:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes barPulse {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.12);
  }
}

.inv-shelf-float {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 110px;
  height: 110px;
  background: var(--bista-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.inv-float-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bista-white);
  position: relative;
  z-index: 3;
}

.inv-float-content i {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.inv-float-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
  line-height: 1;
}

.inv-float-count {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.inv-shelf-float .inv-box {
  width: 30px;
  height: 30px;
  background: var(--bista-red);
  border-radius: 7px;
  animation: boxPop 2.4s ease-in-out infinite;
}

.inv-shelf-float .inv-box:nth-child(2) {
  animation-delay: 0.3s;
}

.inv-shelf-float .inv-box:nth-child(3) {
  animation-delay: 0.6s;
}

.inv-scan-float {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 66px;
  height: 66px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--bista-blue);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  animation: scanPulse 2s ease-in-out infinite, floaty 4s ease-in-out infinite;
  z-index: 2;
}

.inv-shelf-float {
  animation: floaty 4s ease-in-out infinite 1s;
}

.inv-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(202, 0, 5, 0.35);
  border-radius: 50%;
  animation: orbitSpin 14s linear infinite;
  z-index: 1;
}

.inv-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.inv-scan-float .inv-float-pulse {
  animation-delay: 0.5s;
}

.inv-shelf-float .inv-float-pulse {
  animation-delay: 1.5s;
}

.inv-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.inv-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--bista-red);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 12px rgba(202, 0, 5, 0.6);
}

.inv-particles span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: particleFloat 4s ease-in-out infinite;
}

.inv-particles span:nth-child(2) {
  top: 60%;
  left: 5%;
  animation: particleFloat 4s ease-in-out infinite 1s;
}

.inv-particles span:nth-child(3) {
  top: 30%;
  right: 8%;
  animation: particleFloat 4s ease-in-out infinite 2s;
}

.inv-particles span:nth-child(4) {
  bottom: 20%;
  right: 12%;
  animation: particleFloat 4s ease-in-out infinite 3s;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
    transform: translate(20px, -15px) scale(1);
  }
  75% {
    opacity: 1;
    transform: translate(40px, 10px) scale(1);
  }
  100% {
    transform: translate(60px, 0) scale(0);
    opacity: 0;
  }
}

/* Contract dashboard */

.contract-doc-float {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 100px;
  height: 100px;
  background: var(--bista-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.contract-doc-float .contract-line {
  height: 9px;
  background: var(--bista-blue-tint);
  border-radius: 5px;
  margin-bottom: 14px;
  animation: linePulse 2s ease-in-out infinite;
}

.contract-doc-float .contract-line.short {
  width: 70%;
}

.contract-doc-float .contract-line:nth-child(2) {
  animation-delay: 0.3s;
}

.contract-doc-float .contract-sig {
  width: 50%;
  height: 9px;
  background: var(--bista-red);
  border-radius: 5px;
  margin-top: 10px;
  animation: signDraw 2.5s ease-in-out infinite;
}

.contract-bell-float {
  position: absolute;
  top: -26px;
  left: -26px;
  width: 66px;
  height: 66px;
  background: var(--bista-red);
  color: var(--bista-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(202, 0, 5, 0.4);
  animation: bellRing 2.2s ease-in-out infinite, floaty 4s ease-in-out infinite;
  transform-origin: top center;
  z-index: 2;
}

.contract-doc-float {
  animation: floaty 4s ease-in-out infinite 1.5s;
}

.contract-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(11, 31, 63, 0.25);
  border-radius: 50%;
  animation: orbitSpin 8s linear infinite;
  z-index: 1;
}

.contract-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.contract-bell-float .contract-float-pulse {
  animation-delay: 0s;
}

.contract-doc-float .contract-float-pulse {
  animation-delay: 1.5s;
}

.contract-waves {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 0;
}

.contract-waves span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(202, 0, 5, 0.2);
  border-radius: 50%;
  opacity: 0;
  animation: contractWave 3s ease-out infinite;
}

.contract-waves span:nth-child(2) {
  animation-delay: 1s;
}

.contract-waves span:nth-child(3) {
  animation-delay: 2s;
}

@keyframes contractWave {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.contract-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contract-timeline-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--bista-text-muted);
}

.contract-timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bista-blue);
  flex-shrink: 0;
}

.contract-timeline-dot.red {
  background: var(--bista-red);
}

/* Finance dashboard */

.fin-balance {
  position: relative;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, var(--bista-blue-soft) 0%, #ffffff 100%);
  border: 1px solid var(--bista-border);
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  animation: balanceGlow 3s ease-in-out infinite;
}

@keyframes balanceGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(202, 0, 5, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(202, 0, 5, 0.15);
  }
}

.fin-balance-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bista-text-muted);
  margin-bottom: 6px;
}

.fin-balance-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
  margin-bottom: 6px;
  animation: valuePulse 2.5s ease-in-out infinite;
}

@keyframes valuePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.fin-balance-change {
  font-size: 0.82rem;
  color: #1ca68c;
  font-weight: 600;
  animation: changeBounce 2s ease-in-out infinite;
}

@keyframes changeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.fin-balance-pulse {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--bista-red);
  opacity: 0;
  animation: balancePulse 3s ease-in-out infinite;
}

@keyframes balancePulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.fin-chart-large {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 110px;
  margin-bottom: 16px;
  position: relative;
}

.fin-bar-large {
  flex: 1;
  background: var(--bista-blue-tint);
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
  transform-origin: bottom;
  animation: barGrowSeq 3.6s ease-in-out infinite;
}

.fin-bar-large.highlight {
  background: linear-gradient(180deg, var(--bista-red) 0%, #e94043 100%);
}

.fin-bar-large:nth-child(1) {
  animation-delay: 0s;
  height: 45%;
}

.fin-bar-large:nth-child(2) {
  animation-delay: 0.3s;
  height: 70%;
}

.fin-bar-large:nth-child(3) {
  animation-delay: 0.6s;
  height: 55%;
}

.fin-bar-large:nth-child(4) {
  animation-delay: 0.9s;
  height: 90%;
}

.fin-bar-large:nth-child(5) {
  animation-delay: 1.2s;
  height: 78%;
}

.fin-bar-large:nth-child(6) {
  animation-delay: 1.5s;
  height: 65%;
}

.fin-bar-large::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
}

.bar-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(202, 0, 5, 0.25) 100%);
  opacity: 0;
  animation: barGlowPulse 3.6s ease-in-out infinite;
}

.fin-bar-large:nth-child(1) .bar-glow {
  animation-delay: 0s;
}

.fin-bar-large:nth-child(2) .bar-glow {
  animation-delay: 0.3s;
}

.fin-bar-large:nth-child(3) .bar-glow {
  animation-delay: 0.6s;
}

.fin-bar-large:nth-child(4) .bar-glow {
  animation-delay: 0.9s;
}

.fin-bar-large:nth-child(5) .bar-glow {
  animation-delay: 1.2s;
}

.fin-bar-large:nth-child(6) .bar-glow {
  animation-delay: 1.5s;
}

@keyframes barGrowSeq {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.18);
  }
}

@keyframes barGlowPulse {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.fin-trend-line {
  height: 50px;
  margin-bottom: 20px;
  position: relative;
}

.fin-trend-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trend-path {
  fill: none;
  stroke: var(--bista-red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawTrend 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(202, 0, 5, 0.4));
}

.trend-dot {
  fill: var(--bista-red);
  opacity: 0;
  animation: trendDotPulse 3s ease-in-out infinite;
}

@keyframes drawTrend {
  0% {
    stroke-dashoffset: 400;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes trendDotPulse {
  0%, 60% {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
  }
  70% {
    opacity: 1;
    transform: scale(1.5);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fin-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fin-metric {
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: metricFlicker 4s ease-in-out infinite;
}

.fin-metric:nth-child(2) {
  animation-delay: 0.5s;
}

.fin-metric:nth-child(3) {
  animation-delay: 1s;
}

.fin-metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
}

.fin-metric-value.red {
  color: var(--bista-red);
}

.fin-metric-label {
  font-size: 0.7rem;
  color: var(--bista-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.fin-metric-ticker {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ca68c;
  animation: tickerBlink 1.5s ease-in-out infinite;
}

.fin-metric-ticker.red {
  background: var(--bista-red);
}

.fin-metric-ticker.green {
  background: #1ca68c;
}

@keyframes tickerBlink {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes metricFlicker {
  0%, 90%, 100% {
    box-shadow: 0 0 0 rgba(202, 0, 5, 0);
  }
  95% {
    box-shadow: 0 0 15px rgba(202, 0, 5, 0.1);
  }
}

.fin-line-float {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--bista-red) 0%, #e94043 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bista-white);
  font-size: 1.7rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  animation: floaty 4s ease-in-out infinite;
  z-index: 2;
}

.fin-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(202, 0, 5, 0.35);
  border-radius: 50%;
  animation: orbitSpin 6s linear infinite;
  z-index: 1;
}

.fin-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.fin-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fin-sparkles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.9);
}

.fin-sparkles span:nth-child(1) {
  top: 15%;
  left: 15%;
  animation: sparkle 2s ease-in-out infinite;
}

.fin-sparkles span:nth-child(2) {
  top: 70%;
  left: 10%;
  animation: sparkle 2s ease-in-out infinite 0.5s;
}

.fin-sparkles span:nth-child(3) {
  top: 25%;
  right: 12%;
  animation: sparkle 2s ease-in-out infinite 1s;
}

.fin-sparkles span:nth-child(4) {
  bottom: 25%;
  right: 8%;
  animation: sparkle 2s ease-in-out infinite 1.5s;
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 1;
  }
  70% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.fin-coins-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.fin-coins-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.fin-coins-orbit span:nth-child(1) {
  animation: coinOrbit1 6s linear infinite;
}

.fin-coins-orbit span:nth-child(2) {
  animation: coinOrbit2 8s linear infinite;
}

.fin-coins-orbit span:nth-child(3) {
  animation: coinOrbit3 10s linear infinite;
}

@keyframes coinOrbit1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(170px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(170px) rotate(-360deg);
  }
}

@keyframes coinOrbit2 {
  0% {
    transform: translate(-50%, -50%) rotate(120deg) translateX(200px) rotate(-120deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(480deg) translateX(200px) rotate(-480deg);
  }
}

@keyframes coinOrbit3 {
  0% {
    transform: translate(-50%, -50%) rotate(240deg) translateX(230px) rotate(-240deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(600deg) translateX(230px) rotate(-600deg);
  }
}

/* Document dashboard */

.doc-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  color: var(--bista-text-muted);
  font-size: 0.9rem;
}

.doc-search i {
  color: var(--bista-blue);
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bista-white);
  border: 1px solid var(--bista-border);
  border-radius: 12px;
}

.doc-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--bista-white);
}

.doc-icon.blue {
  background: var(--bista-blue);
}

.doc-icon.red {
  background: var(--bista-red);
}

.doc-icon.green {
  background: #1ca68c;
}

.doc-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bista-text);
}

.doc-meta {
  font-size: 0.78rem;
  color: var(--bista-text-muted);
}

.doc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doc-stat {
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.doc-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bista-blue);
}

.doc-stat-label {
  font-size: 0.72rem;
  color: var(--bista-text-muted);
  margin-top: 4px;
}

.doc-folder-float {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 100px;
  height: 100px;
  background: var(--bista-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.doc-folder-float::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 80px;
  height: 24px;
  background: var(--bista-blue);
  border-radius: 10px 10px 0 0;
}

.doc-folder-float .doc-page {
  width: 60px;
  height: 85px;
  background: var(--bista-white);
  border-radius: 7px;
  animation: pageFloat 2.6s ease-in-out infinite;
}

.doc-folder-float .doc-page:nth-child(2) {
  animation-delay: 0.3s;
  transform: translateY(-10px);
}

.doc-magnifier-float {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 66px;
  height: 66px;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--bista-red);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  animation: searchPulse 2s ease-in-out infinite, floaty 4s ease-in-out infinite;
  z-index: 2;
}

.doc-folder-float {
  animation: floaty 4s ease-in-out infinite 1s;
}

.doc-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(11, 31, 63, 0.25);
  border-radius: 50%;
  animation: orbitSpin 7s linear infinite;
  z-index: 1;
}

.doc-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.doc-magnifier-float .doc-float-pulse {
  animation-delay: 0.5s;
}

.doc-folder-float .doc-float-pulse {
  animation-delay: 1.5s;
}

.doc-float-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.doc-float-orbits span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 12s linear infinite;
}

.doc-float-orbits span:nth-child(2) {
  width: 200px;
  height: 200px;
  animation-duration: 18s;
  animation-direction: reverse;
}

/* Asset dashboard */

.asset-summary {
  margin-bottom: 20px;
}

.asset-total {
  text-align: center;
  padding: 20px;
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 16px;
}

.asset-total-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.asset-total-label {
  font-size: 0.82rem;
  color: var(--bista-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.asset-chart {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(var(--bista-blue) 0% 65%, var(--bista-red) 65% 85%, var(--bista-blue-tint) 85% 100%);
  position: relative;
  animation: ringRotate 12s linear infinite;
}

.asset-chart::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--bista-white);
  border-radius: 50%;
}

.asset-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.asset-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--bista-text-muted);
}

.asset-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.asset-legend-dot.blue {
  background: var(--bista-blue);
}

.asset-legend-dot.red {
  background: var(--bista-red);
}

.asset-legend-dot.gray {
  background: var(--bista-blue-tint);
}

.asset-machine-float {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: var(--bista-blue);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.asset-ring-float {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border: 4px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: ringRotate 14s linear infinite reverse;
  z-index: 1;
}

.asset-tag-float {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 66px;
  height: 66px;
  background: var(--bista-red);
  color: var(--bista-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  z-index: 4;
  animation: tagBounce 2s ease-in-out infinite, floaty 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(202, 0, 5, 0.35);
}

.asset-machine-float {
  animation: floaty 4s ease-in-out infinite 1s;
}

.asset-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.asset-machine-float .asset-float-pulse {
  animation-delay: 0.5s;
}

.asset-tag-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(202, 0, 5, 0.35);
  border-radius: 50%;
  animation: orbitSpin 6s linear infinite;
  z-index: 1;
}

.asset-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.asset-orbits span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 15s linear infinite;
}

.asset-orbits span:nth-child(1) {
  width: 240px;
  height: 240px;
}

.asset-orbits span:nth-child(2) {
  width: 280px;
  height: 280px;
  animation-duration: 22s;
  animation-direction: reverse;
}

.asset-orbits span:nth-child(3) {
  width: 320px;
  height: 320px;
  animation-duration: 30s;
}

/* Payroll dashboard */

.pay-amount-main {
  text-align: center;
  padding: 22px;
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 16px;
  margin-bottom: 20px;
}

.pay-amount-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bista-text-muted);
  margin-bottom: 6px;
}

.pay-amount-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bista-blue);
  line-height: 1;
}

.pay-slip-float {
  position: absolute;
  top: -26px;
  left: -26px;
  width: 100px;
  height: 100px;
  background: var(--bista-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.pay-slip-float .pay-line {
  height: 8px;
  background: var(--bista-blue-tint);
  border-radius: 4px;
  margin-bottom: 12px;
}

.pay-slip-float .pay-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bista-blue);
  margin-top: 14px;
  animation: amountCount 2.5s ease-in-out infinite;
}

.pay-coins-float {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  border: 3px solid var(--bista-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bista-blue);
  font-size: 1.8rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
  animation: coinDrop 1.8s ease-in-out infinite, floaty 4s ease-in-out infinite;
  z-index: 2;
}

.pay-slip-float {
  animation: floaty 4s ease-in-out infinite 1s;
}

.pay-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(255, 215, 0, 0.45);
  border-radius: 50%;
  animation: orbitSpin 5s linear infinite;
  z-index: 1;
}

.pay-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.pay-coins-float .pay-float-pulse {
  animation-delay: 0s;
}

.pay-slip-float .pay-float-pulse {
  animation-delay: 1s;
}

.pay-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pay-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 12s linear infinite;
}

.pay-rings span:nth-child(1) {
  width: 220px;
  height: 220px;
}

.pay-rings span:nth-child(2) {
  width: 260px;
  height: 260px;
  animation-duration: 18s;
  animation-direction: reverse;
}

.pay-rings span:nth-child(3) {
  width: 300px;
  height: 300px;
  animation-duration: 25s;
}

/* Claims dashboard */

.claims-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.claims-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bista-blue-soft);
  border: 1px solid var(--bista-border);
  border-radius: 12px;
}

.claims-avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bista-blue);
  color: var(--bista-white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.claims-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bista-text);
}

.claims-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--bista-white);
}

.claims-pill.approved {
  background: var(--bista-blue);
}

.claims-pill.pending {
  background: var(--bista-red);
}

.claim-form-float {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 100px;
  height: 100px;
  background: var(--bista-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.claim-form-float .claim-line {
  height: 8px;
  background: var(--bista-blue-tint);
  border-radius: 4px;
  margin-bottom: 12px;
}

.claim-form-float .claim-line:nth-child(2) {
  width: 60%;
}

.claim-form-float .claim-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bista-red);
  margin-top: 22px;
  animation: claimFlash 2s ease-in-out infinite;
}

.claim-stamp-float {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 66px;
  height: 66px;
  background: var(--bista-blue);
  color: var(--bista-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: stampHit 2.2s ease-in-out infinite, floaty 4s ease-in-out infinite;
  z-index: 2;
}

.claim-form-float {
  animation: floaty 4s ease-in-out infinite 1s;
}

.claim-float-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(11, 31, 63, 0.25);
  border-radius: 50%;
  animation: orbitSpin 7s linear infinite;
  z-index: 1;
}

.claim-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffd700;
  opacity: 0;
  z-index: 1;
  animation: pulseRing 3s ease-in-out infinite;
}

.claim-stamp-float .claim-float-pulse {
  animation-delay: 0s;
}

.claim-form-float .claim-float-pulse {
  animation-delay: 1.5s;
}

.claim-waves {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 0;
}

.claim-waves span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(11, 31, 63, 0.2);
  border-radius: 50%;
  opacity: 0;
  animation: contractWave 3s ease-out infinite;
}

.claim-waves span:nth-child(2) {
  animation-delay: 1s;
}

.claim-waves span:nth-child(3) {
  animation-delay: 2s;
}

/* Responsive */

@media (max-width: 1399.98px) {
  .module-art {
    width: 460px;
    height: 460px;
    padding: 36px;
    border-radius: 52px;
  }
}

@media (max-width: 991.98px) {
  .modules-main {
    padding-top: 0;
  }
}

@media (max-width: 991.98px) {
  .modules-hero {
    padding-top: 150px;
  }
}

@media (max-width: 991.98px) {
  .modules-headline {
    font-size: 2.8rem;
  }
}

@media (max-width: 991.98px) {
  .modules-hero {
    padding: 90px 0 100px;
  }
}

@media (max-width: 991.98px) {
  .modules-list {
    padding: 70px 0 90px;
  }
}

@media (max-width: 991.98px) {
  .module-row {
    margin-bottom: 80px;
  }
}

@media (max-width: 991.98px) {
  .module-art {
    width: 100%;
    max-width: 460px;
    height: 460px;
    margin-bottom: 48px;
  }
}

@media (max-width: 991.98px) {
  .module-content, .flex-row-reverse .module-content {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .module-benefits {
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .module-benefits li {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .modules-headline {
    font-size: 2.3rem;
  }
}

@media (max-width: 767.98px) {
  .modules-lead {
    font-size: 1.05rem;
  }
}

@media (max-width: 767.98px) {
  .module-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .module-art {
    height: 400px;
    border-radius: 40px;
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .module-feature-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .modules-headline {
    font-size: 1.95rem;
  }
}

@media (max-width: 575.98px) {
  .modules-hero {
    padding: 70px 0 80px;
  }
}

@media (max-width: 575.98px) {
  .modules-list {
    padding: 50px 0 70px;
  }
}

@media (max-width: 575.98px) {
  .module-row {
    margin-bottom: 60px;
  }
}

@media (max-width: 575.98px) {
  .module-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .module-art {
    height: 340px;
    border-radius: 32px;
    padding: 22px;
  }
}

@media (max-width: 575.98px) {
  .module-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .module-body {
    font-size: 1rem;
  }
}

