/* File Sorting Animation */
.file-sorter {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Input Zone - Files coming in */
.input-zone {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.input-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.input-funnel {
  width: 120px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.input-funnel span {
  font-size: 24px;
}

/* AI Processing Core */
.ai-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(18, 146, 164, 0.4);
  animation: coreGlow 3s ease-in-out infinite;
  z-index: 10;
}

.ai-core::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--teal-400);
  border-radius: 50%;
  opacity: 0.5;
  animation: coreRing 3s ease-in-out infinite;
}

.ai-core::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--teal-400);
  border-radius: 50%;
  opacity: 0.3;
  animation: coreRing 3s ease-in-out infinite 0.5s;
}

@keyframes coreGlow {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(18, 146, 164, 0.4);
  }

  50% {
    box-shadow: 0 0 80px rgba(18, 146, 164, 0.6);
  }
}

@keyframes coreRing {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.ai-core-icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.ai-core-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Output Folders */
.output-zones {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
}

.output-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.folder-icon {
  width: 70px;
  height: 55px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.folder-icon.crm {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.folder-icon.email {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.folder-icon.reports {
  background: linear-gradient(135deg, var(--success), #059669);
}

.folder-icon.archive {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.folder-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.folder-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Animated Folder Icons (SVG via ::before) ===== */
.folder-icon span:first-child {
  display: none;
}

/* hides your emoji */
.folder-icon {
  position: relative;
}

.folder-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
  animation: iconFloat 2.8s ease-in-out infinite;
}

/* Subtle distinct timing per folder */
.folder-icon.email::before {
  animation-delay: 0.25s;
}

.folder-icon.reports::before {
  animation-delay: 0.5s;
}

.folder-icon.archive::before {
  animation-delay: 0.75s;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.95;
  }

  50% {
    transform: translateY(-4px) scale(1.05);
    opacity: 1;
  }
}

/* Little “shine” pulse behind icon */
.folder-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
  opacity: 0.25;
  animation: iconGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes iconGlow {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.18;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.35;
  }
}

/* ==== SVG Icons (inline data URIs) ==== */
/* CRM (user) */
.folder-icon.crm::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 12c2.761 0 5-2.239 5-5S14.761 2 12 2 7 4.239 7 7s2.239 5 5 5Z' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4 22c1.6-4.4 5.2-7 8-7s6.4 2.6 8 7' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M6.2 21.5c1.2-2.4 3.4-3.9 5.8-3.9' stroke='rgba(255,255,255,.55)' stroke-width='2' stroke-linecap='round'%3E%3Canimate attributeName='opacity' values='0.2;0.9;0.2' dur='1.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
}

/* Email (envelope) */
.folder-icon.email::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5h11A2.5 2.5 0 0 1 20 7.5v9A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-9Z' stroke='white' stroke-width='2'/%3E%3Cpath d='M5.2 7.2 12 12.1l6.8-4.9' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='18.2' cy='6.3' r='1.2' fill='rgba(255,255,255,.9)'%3E%3Canimate attributeName='r' values='1.0;1.6;1.0' dur='1.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
}

/* Reports (bar chart) */
.folder-icon.reports::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20V4' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4 20h16' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='7' y='12' width='3' height='8' rx='1' fill='rgba(255,255,255,.85)'%3E%3Canimate attributeName='height' values='5;8;5' dur='1.7s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='15;12;15' dur='1.7s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='11' y='9' width='3' height='11' rx='1' fill='rgba(255,255,255,.85)'%3E%3Canimate attributeName='height' values='8;11;8' dur='1.7s' begin='0.15s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='12;9;12' dur='1.7s' begin='0.15s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='15' y='6' width='3' height='14' rx='1' fill='rgba(255,255,255,.85)'%3E%3Canimate attributeName='height' values='10;14;10' dur='1.7s' begin='0.3s' repeatCount='indefinite'/%3E%3Canimate attributeName='y' values='10;6;10' dur='1.7s' begin='0.3s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/svg%3E");
}

/* Archive (folder) */
.folder-icon.archive::before {
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.5 8.5A2.5 2.5 0 0 1 6 6h5l1.3 1.5H18A2.5 2.5 0 0 1 20.5 10v8.5A2.5 2.5 0 0 1 18 21H6A2.5 2.5 0 0 1 3.5 18.5v-10Z' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M7 14h10' stroke='rgba(255,255,255,.85)' stroke-width='2' stroke-linecap='round'%3E%3Canimate attributeName='opacity' values='0.25;1;0.25' dur='1.6s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
}

/* Animated Files */
.file {
  position: absolute;
  width: 40px;
  height: 50px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 5;
  opacity: 0;
}

.file-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.file-type {
  font-size: 8px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
}

/* File animations - each file goes through AI core then to different folder */
.file.f1 {
  animation: fileFlow1 8s ease-in-out infinite;
}

.file.f2 {
  animation: fileFlow2 4s ease-in-out infinite 0.5s;
}

.file.f3 {
  animation: fileFlow3 6s ease-in-out infinite 1s;
}

.file.f4 {
  animation: fileFlow4 64s ease-in-out infinite 1.5s;
}

.file.f5 {
  animation: fileFlow1 28s ease-in-out infinite 2s;
}

.file.f6 {
  animation: fileFlow2 20s ease-in-out infinite 2.5s;
}

.file.f7 {
  animation: fileFlow3 48s ease-in-out infinite 3s;
}

.file.f8 {
  animation: fileFlow4 8s ease-in-out infinite 3.5s;
}

.file.f9 {
  animation: fileFlow1 4s ease-in-out infinite 0.8s;
}

.file.f10 {
  animation: fileFlow3 6s ease-in-out infinite 1.8s;
}

@keyframes fileFlow1 {
  0% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
  }

  10% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  40% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 1;
  }

  50% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }

  60% {
    top: 350px;
    left: 12%;
    transform: translateX(0) scale(0.8);
    opacity: 1;
  }

  80% {
    top: 350px;
    left: 12%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    top: 350px;
    left: 12%;
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
}

@keyframes fileFlow2 {
  0% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
  }

  10% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  40% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 1;
  }

  50% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }

  60% {
    top: 350px;
    left: 35%;
    transform: translateX(0) scale(0.8);
    opacity: 1;
  }

  80% {
    top: 350px;
    left: 35%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    top: 350px;
    left: 35%;
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
}

@keyframes fileFlow3 {
  0% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
  }

  10% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  40% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 1;
  }

  50% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }

  60% {
    top: 350px;
    left: 58%;
    transform: translateX(0) scale(0.8);
    opacity: 1;
  }

  80% {
    top: 350px;
    left: 58%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    top: 350px;
    left: 58%;
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
}

@keyframes fileFlow4 {
  0% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
  }

  10% {
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  40% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 1;
  }

  50% {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }

  60% {
    top: 350px;
    left: 80%;
    transform: translateX(0) scale(0.8);
    opacity: 1;
  }

  80% {
    top: 350px;
    left: 80%;
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    top: 350px;
    left: 80%;
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
}

/* Processing Stats */
.processing-stats {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proc-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: right;
}

.proc-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-300);
}

.proc-stat-label {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



/* Counter Animation */


/* Automated Workflow Animation */
.workflow-scene {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grid Background */
.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(32, 178, 200, 0) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 178, 200, 0) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Central AI Hub */
.ai-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 10;
}

.hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  box-shadow: 0 0 40px rgba(18, 146, 164, 0.5), 0 0 80px rgba(18, 146, 164, 0.3);
  animation: hubPulse 2s ease-in-out infinite;
  padding: 12px;
  overflow: hidden;
}

.hub-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1) invert(0);
}

@keyframes hubPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 40px rgba(18, 146, 164, 0.5);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 60px rgba(18, 146, 164, 0.7);
  }
}

.hub-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--teal-400);
  border-radius: 50%;
  opacity: 0.5;
}

.hub-ring.r1 {
  width: 100px;
  height: 100px;
  animation: ringPulse 2s ease-out infinite;
}

.hub-ring.r2 {
  width: 120px;
  height: 120px;
  animation: ringPulse 2s ease-out infinite 0.5s;
}

@keyframes ringPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* AI Agent Workstations */
.agent-station {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  animation: floatCard 4s ease-in-out infinite;
}

.agent-station:nth-child(2) {
  animation-delay: 0.5s;
}

.agent-station:nth-child(3) {
  animation-delay: 1s;
}

.agent-station:nth-child(4) {
  animation-delay: 1.5s;
}

.agent-station:nth-child(5) {
  animation-delay: 2s;
}

.agent-station:nth-child(6) {
  animation-delay: 2.5s;
}

.agent-station:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal-400);
  transform: scale(1.05);
}

.agent-station.s1 {
  top: 8%;
  left: 5%;
}

.agent-station.s2 {
  top: 8%;
  right: 5%;
}

.agent-station.s3 {
  top: 38%;
  left: 3%;
}

.agent-station.s4 {
  top: 38%;
  right: 3%;
}

.agent-station.s5 {
  bottom: 18%;
  left: 5%;
}

.agent-station.s6 {
  bottom: 18%;
  right: 5%;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 4px;
  position: relative;
}

.agent-station.s1 .agent-avatar {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.agent-station.s2 .agent-avatar {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.agent-station.s3 .agent-avatar {
  background: linear-gradient(135deg, var(--success), #059669);
}

.agent-station.s4 .agent-avatar {
  background: linear-gradient(135deg, #EC4899, #DB2777);
}

.agent-station.s5 .agent-avatar {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.agent-station.s6 .agent-avatar {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
}

.agent-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid #0a1628;
  animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.agent-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-task {
  font-size: 8px;
  color: var(--gray-400);
  text-align: center;
  animation: taskChange 3s ease-in-out infinite;
}

@keyframes taskChange {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Activity Indicators - Animated lines between agents and hub */
.data-stream {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), transparent);
  z-index: 5;
  opacity: 0.6;
}

.data-stream.d1 {
  top: 22%;
  left: 24%;
  width: 90px;
  transform: rotate(40deg);
  transform-origin: right center;
  animation: streamPulse 1.5s ease-in-out infinite;
}

.data-stream.d2 {
  top: 22%;
  right: 24%;
  width: 90px;
  transform: rotate(-40deg);
  transform-origin: left center;
  animation: streamPulse 1.5s ease-in-out infinite 0.25s;
}

.data-stream.d3 {
  top: 50%;
  left: 24%;
  width: 80px;
  transform: rotate(0deg);
  animation: streamPulse 1.5s ease-in-out infinite 0.5s;
}

.data-stream.d4 {
  top: 50%;
  right: 24%;
  width: 80px;
  transform: rotate(180deg);
  animation: streamPulse 1.5s ease-in-out infinite 0.75s;
}

.data-stream.d5 {
  bottom: 22%;
  left: 24%;
  width: 90px;
  transform: rotate(-40deg);
  transform-origin: right center;
  animation: streamPulse 1.5s ease-in-out infinite 1s;
}

.data-stream.d6 {
  bottom: 22%;
  right: 24%;
  width: 90px;
  transform: rotate(40deg);
  transform-origin: left center;
  animation: streamPulse 1.5s ease-in-out infinite 1.25s;
}

@keyframes streamPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

/* Data Packets Animation */
.data-packet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 6;
  box-shadow: 0 0 10px currentColor;
}

.data-packet.p1 {
  background: #8B5CF6;
  color: #8B5CF6;
  animation: packet1 2s ease-in-out infinite;
}

.data-packet.p2 {
  background: var(--orange-400);
  color: var(--orange-400);
  animation: packet2 2s ease-in-out infinite 0.3s;
}

.data-packet.p3 {
  background: var(--success);
  color: var(--success);
  animation: packet3 2s ease-in-out infinite 0.6s;
}

.data-packet.p4 {
  background: #EC4899;
  color: #EC4899;
  animation: packet4 2s ease-in-out infinite 0.9s;
}

.data-packet.p5 {
  background: #F59E0B;
  color: #F59E0B;
  animation: packet5 2s ease-in-out infinite 1.2s;
}

.data-packet.p6 {
  background: var(--teal-400);
  color: var(--teal-400);
  animation: packet6 2s ease-in-out infinite 1.5s;
}

/* Packets flow from agents to center hub - properly aligned with lines */
@keyframes packet1 {
  0% {
    top: 12%;
    left: 12%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 46%;
    left: 46%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes packet2 {
  0% {
    top: 12%;
    left: 88%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 46%;
    left: 54%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes packet3 {
  0% {
    top: 42%;
    left: 10%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 48%;
    left: 46%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes packet4 {
  0% {
    top: 42%;
    left: 90%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 48%;
    left: 54%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes packet5 {
  0% {
    top: 72%;
    left: 12%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 54%;
    left: 46%;
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes packet6 {
  0% {
    top: 72%;
    left: 88%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    top: 54%;
    left: 54%;
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Stats Dashboard */
.stats-dashboard {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  z-index: 15;
}

.stat-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  min-width: 90px;
}

.stat-box-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-300);
  font-variant-numeric: tabular-nums;
}

.stat-box-value.orange {
  color: var(--orange-400);
}

.stat-box-value.green {
  color: var(--success);
}

.stat-box-value.purple {
  color: #A78BFA;
}

.stat-box-label {
  font-size: 9px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* 24/7 Badge */
.badge-247 {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(18, 146, 164, 0.4);
  z-index: 15;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(18, 146, 164, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(18, 146, 164, 0.7);
  }
}

/* Status Indicator */
.workflow-status-bar {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  z-index: 15;
}

.workflow-status-bar::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.future-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.future-list {
  list-style: none;
  margin-bottom: 32px;
}

.future-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--gray-300);
}

.future-list li::before {
  content: "→";
  color: var(--teal-400);
  font-weight: 700;
}

.future-statement {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.future-statement .brand {
  color: var(--teal-400);
}

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

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 14px;
  animation: floatCard 5s ease-in-out infinite;
}

.benefit-item:nth-child(2) {
  animation-delay: 0.5s;
}

.benefit-item:nth-child(3) {
  animation-delay: 1s;
}

.benefit-item:nth-child(4) {
  animation-delay: 1.5s;
}

.benefit-item:nth-child(5) {
  animation-delay: 2s;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(32, 178, 200, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Value Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.pillar-card:nth-child(2) {
  animation-delay: 0.7s;
}

.pillar-card:nth-child(3) {
  animation-delay: 1.4s;
}

.pillar-card:nth-child(4) {
  animation-delay: 2.1s;
}

.pillar-card:nth-child(5) {
  animation-delay: 2.8s;
}

.pillar-card:nth-child(6) {
  animation-delay: 3.5s;
}

.pillar-card:hover {
  border-color: var(--orange-400);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.12);
  transform: translateY(-8px);
  animation-play-state: paused;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-50) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pillar-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-stat {
  display: inline-flex;
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-700);
}

/* Agents Section - Testimonial Card Style */
.agents-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.agent-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: floatCard 7s ease-in-out infinite;
}

.agent-card:nth-child(2) {
  animation-delay: 1s;
}

.agent-card:nth-child(3) {
  animation-delay: 2s;
}

.agent-card:nth-child(4) {
  animation-delay: 3s;
}

.agent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--orange-500));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.agent-card:hover::before {
  transform: scaleX(1);
}

.agent-card:hover {
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
  animation-play-state: paused;
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.agent-card:nth-child(1) .agent-avatar {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
}

.agent-card:nth-child(2) .agent-avatar {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.agent-card:nth-child(3) .agent-avatar {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.agent-card:nth-child(4) .agent-avatar {
  background: linear-gradient(135deg, var(--success), #059669);
}

.agent-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.agent-info p {
  font-size: 13px;
  color: var(--gray-500);
}

.agent-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--teal-300);
}

.agent-capabilities {
  margin-bottom: 20px;
}

.agent-capabilities h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-tag {
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-700);
}

.agent-results {
  background: linear-gradient(135deg, var(--teal-50), var(--gray-50));
  border-radius: 12px;
  padding: 16px;
}

.agent-results h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal-700);
  margin-bottom: 12px;
}

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

.result-item {
  text-align: center;
}

.result-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-600);
}

.result-label {
  font-size: 11px;
  color: var(--gray-500);
}

/* How It Works */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.layer-card {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  animation: floatCard 5s ease-in-out infinite;
}

.layer-card:nth-child(2) {
  animation-delay: 0.5s;
}

.layer-card:nth-child(3) {
  animation-delay: 1s;
}

.layer-card:nth-child(4) {
  animation-delay: 1.5s;
}

.layer-card:hover {
  border-color: var(--teal-400);
  box-shadow: 0 15px 50px rgba(18, 146, 164, 0.12);
  transform: translateY(-6px);
  animation-play-state: paused;
}

.layer-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.layer-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.layer-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.tech-callout {
  background: var(--navy-900);
  color: var(--white);
  padding: 32px 40px;
  border-radius: 16px;
  text-align: center;
}

.tech-callout p {
  font-size: 18px;
  line-height: 1.8;
}

.tech-callout .strike {
  text-decoration: line-through;
  opacity: 0.5;
}

.tech-callout .highlight {
  color: var(--teal-400);
  font-weight: 700;
}



/* Case Studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.case-card:nth-child(2) {
  animation-delay: 0.8s;
}

.case-card:nth-child(3) {
  animation-delay: 1.6s;
}

.case-card:nth-child(4) {
  animation-delay: 2.4s;
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal-400);
  transform: translateY(-6px);
  animation-play-state: paused;
}

.case-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal-300);
  margin-bottom: 12px;
}

.case-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.case-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
}

/* Differentiators */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  animation: floatCard 5s ease-in-out infinite;
}

.diff-card:nth-child(2) {
  animation-delay: 0.6s;
}

.diff-card:nth-child(3) {
  animation-delay: 1.2s;
}

.diff-card:nth-child(4) {
  animation-delay: 1.8s;
}

.diff-card:nth-child(5) {
  animation-delay: 2.4s;
}

.diff-card:nth-child(6) {
  animation-delay: 3s;
}

.diff-card:hover {
  border-color: var(--teal-400);
  box-shadow: 0 15px 50px rgba(18, 146, 164, 0.1);
  transform: translateY(-6px);
  animation-play-state: paused;
}

.diff-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.diff-card:hover .diff-icon {
  background: var(--teal-100);
  transform: scale(1.1);
}

.diff-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 14px;
  color: var(--gray-600);
}

/* FAQ / Objections */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--teal-500);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.faq-card:nth-child(2) {
  animation-delay: 0.7s;
}

.faq-card:nth-child(3) {
  animation-delay: 1.4s;
}

.faq-card:nth-child(4) {
  animation-delay: 2.1s;
}

.faq-card:hover {
  border-left-color: var(--orange-500);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
  animation-play-state: paused;
}

.faq-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-card h4::before {
  content: "?";
  width: 28px;
  height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-600);
}

.faq-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.security-badge {
  padding: 4px 10px;
  background: var(--teal-50);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-700);
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--teal-900);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-900);
}

.comparison-table th {
  background: var(--navy-900);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table th.highlight {
  background: var(--orange-500);
}

.comparison-table td.highlight {
  background: rgba(249, 115, 22, 0.05);
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: var(--teal-800);
}

.check {
  color: var(--success);
  font-size: 18px;
}

.cross {
  color: #EF4444;
  font-size: 18px;
}

.partial {
  color: #F59E0B;
  font-size: 12px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.industry-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  animation: floatCard 5s ease-in-out infinite;
}

.industry-card:nth-child(2) {
  animation-delay: 0.5s;
}

.industry-card:nth-child(3) {
  animation-delay: 1s;
}

.industry-card:nth-child(4) {
  animation-delay: 1.5s;
}

.industry-card:nth-child(5) {
  animation-delay: 2s;
}

.industry-card:nth-child(6) {
  animation-delay: 2.5s;
}

@media (max-width: 1024px) {
  .future-grid {
    grid-template-columns: 1fr;
  }

  .future-visual {
    order: 2;
  }

  .industries-grid,
  .pillars-grid,
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agents-grid,
  .case-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 768px) {

  .industries-grid,
  .pillars-grid,
  .layers-grid,
  .industries-showcase,
  .diff-grid {
    grid-template-columns: 1fr;
  }
}