/* === Animated Mountain Resort Pipeline Visual === */
.hero-visual {
  position: relative;
  animation: slide-in-right 1s ease-out;
}
.hero-mockup {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: var(--shadow);
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}
.mockup-header {
  background: rgba(15, 21, 36, 0.9);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #34d399; }
.mockup-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Sora', sans-serif;
  margin-left: 8px;
}
.mockup-body {
  display: flex;
  min-height: 340px;
}
.mockup-sidebar {
  width: 120px;
  background: rgba(15, 21, 36, 0.7);
  padding: 12px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.mockup-sidebar-item {
  padding: 8px 14px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: all 0.3s var(--ease);
  font-family: 'Sora', sans-serif;
}
.mockup-sidebar-item i {
  font-size: 0.65rem;
  width: 16px;
  text-align: center;
}
.mockup-sidebar-item.active {
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  border-right: 2px solid var(--cyan);
}
.mockup-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

/* Pipeline stages — resort operations */
.pipeline-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
}
.pipeline-stage {
  background: rgba(15, 21, 36, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 16px;
  padding: 14px;
  width: 140px;
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease);
}
.pipeline-stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.pipeline-stage:hover::before { opacity: 1; }
.pipeline-stage.pulse-active {
  animation: pipeline-pulse 1.5s ease-in-out infinite;
}
.pipeline-node-icon {
  width: 32px;
  height: 32px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  color: var(--cyan);
  font-size: 0.85rem;
}
.pipeline-node-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  font-family: 'Sora', sans-serif;
}
.pipeline-node-status {
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.4);
}
.pipeline-node-status .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.pipeline-node-status .status-dot.green {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}
.pipeline-node-status .status-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
  animation: pulse-glow 1.5s ease-in-out infinite;
}
.pipeline-node-status .status-dot.cyan {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}
.pipeline-node-row-count {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
  font-family: 'Sora', sans-serif;
}

/* Pipeline connectors */
.pipeline-connector {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
}
.pipeline-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.3), rgba(129, 140, 248, 0.3));
}
.pipeline-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: connector-blink 1s ease-in-out infinite;
}
.connector-label {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Sora', sans-serif;
  z-index: 1;
}

/* Progress bar */
.pipeline-progress { margin-bottom: 14px; }
.pipeline-progress-bar {
  height: 4px;
  background: rgba(15, 21, 36, 0.6);
  border-radius: 2px;
  overflow: hidden;
}
.pipeline-progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  width: 0%;
  animation: pipeline-fill 8s linear infinite;
}
.pipeline-progress-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
  font-family: 'Sora', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Event feed */
.pipeline-events {
  max-height: 80px;
  overflow-y: auto;
}
.pipeline-events::-webkit-scrollbar { width: 3px; }
.pipeline-events::-webkit-scrollbar-track { background: transparent; }
.pipeline-events::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.2); border-radius: 2px; }
.pipeline-event {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  animation: event-flash 0.5s ease-out;
}
.event-time {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Sora', sans-serif;
  white-space: nowrap;
}
.event-type {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  font-family: 'Sora', sans-serif;
}
.event-type.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}
.event-type.emerald {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}
.event-type.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.event-type.pink {
  background: rgba(232, 121, 249, 0.15);
  color: #e879f9;
}
.event-msg {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
}

/* AI indicators — floating overlays */
.ai-indicator {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 8px 14px;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.ai-indicator.top-right {
  top: -18px;
  right: -18px;
  animation: slide-in-right 1s ease-out 0.5s both;
}
.ai-indicator.top-right::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.ai-indicator.bottom-left {
  bottom: -18px;
  left: -18px;
  animation: slide-in-left 1s ease-out 0.7s both;
}
.ai-indicator.bottom-left::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.ai-indicator-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.ai-indicator-icon.cyan {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
.ai-indicator-icon.emerald {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}
.ai-indicator-icon.pink {
  background: rgba(232, 121, 249, 0.2);
  color: #e879f9;
  box-shadow: 0 0 10px rgba(232, 121, 249, 0.3);
}
.ai-indicator-text {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Sora', sans-serif;
}
.ai-indicator-value {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Sora', sans-serif;
}

/* Animations */
@keyframes pipeline-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 16px 4px rgba(56, 189, 248, 0.1); }
}
@keyframes connector-blink {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}
@keyframes pipeline-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes event-flash {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
