/**
 * Quantize Solutions - Interactive Multi-Step Slideshow Studio Stylesheet
 * High-end Typeform / Linear / Stripe interactive aesthetic
 */

html {
  scroll-behavior: smooth;
}

/* Open Seamless Slideshow Container (No Enclosing Box) */
.slideshow-deck-card {
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
  border-radius: 0;
}

/* Progress Track */
.deck-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(0, 38, 27, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 999px;
}

.deck-progress-bar {
  height: 100%;
  background: #00261b;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
}

/* Slides Container & Slide Elements (Stacked in same Grid Cell to eliminate vertical jump) */
.slides-viewport {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
  min-height: 440px;
  overflow: hidden;
  padding: 4px 2px;
}

.slide-item {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  display: none;
  opacity: 0;
  transform: translateX(0);
  will-change: transform, opacity;
  pointer-events: none;
}

.slide-item.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Horizontal Slide Transitions (Right / Left Slide Navigation) */
.slide-item.slide-enter-forward {
  display: block !important;
  pointer-events: auto;
  z-index: 2;
  animation: horizontalSlideInFromRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-item.slide-exit-forward {
  display: block !important;
  pointer-events: none;
  z-index: 1;
  animation: horizontalSlideOutToLeft 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-item.slide-enter-backward {
  display: block !important;
  pointer-events: auto;
  z-index: 2;
  animation: horizontalSlideInFromLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-item.slide-exit-backward {
  display: block !important;
  pointer-events: none;
  z-index: 1;
  animation: horizontalSlideOutToRight 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes horizontalSlideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes horizontalSlideOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-120px);
  }
}

@keyframes horizontalSlideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes horizontalSlideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(120px);
  }
}

@keyframes checkPop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkPop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Interactive Service Choice Cards (Step 1) */
.service-choice-card {
  background: #ffffff;
  border: 2px solid rgba(0, 38, 27, 0.12);
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
}

.service-choice-card:hover {
  border-color: #00261b;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 38, 27, 0.08);
}

.service-choice-card.selected {
  border-color: #00261b;
  background: #00261b;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 38, 27, 0.18);
}

.service-choice-card.selected .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #10b981;
}

.service-choice-card.selected .service-title {
  color: #ffffff;
}

.service-choice-card.selected .service-desc {
  color: rgba(255, 255, 255, 0.75);
}

.service-choice-card.selected .check-indicator {
  border-color: #10b981;
  background: #10b981;
  color: #00261b;
}

/* Modern Input Fields */
.exec-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00261b;
  margin-bottom: 8px;
}

.exec-input, .exec-textarea {
  width: 100%;
  background: #ffffff;
  border: 2px solid rgba(0, 38, 27, 0.14);
  color: #00261b;
  font-size: 18px;
  font-weight: 500;
  padding: 18px 22px;
  outline: none;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.exec-input:focus, .exec-textarea:focus {
  background: #ffffff;
  border-color: #00261b;
  box-shadow: 0 0 0 5px rgba(0, 38, 27, 0.08);
}

.exec-input.invalid, .exec-textarea.invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.1) !important;
}

.exec-input.valid, .exec-textarea.valid {
  border-color: #10b981;
}

.exec-input::placeholder, .exec-textarea::placeholder {
  color: rgba(0, 38, 27, 0.35);
  font-weight: 400;
  font-size: 17px;
}

/* Interactive Channel Cards */
.channel-card {
  background: #ffffff;
  border: 1px solid rgba(0, 38, 27, 0.1);
  padding: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.channel-card:hover {
  border-color: #00261b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 38, 27, 0.06);
}

/* Pulse indicator animation */
.online-pulse {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.online-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10b981;
  opacity: 0.75;
  animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.online-pulse-dot {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: #10b981;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Anti-Spam Honeypot Field */
.hp-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* Floating Toast Notification */
#qs-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#qs-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Map frame styling */
.map-frame-wrap {
  border: 1px solid rgba(0, 38, 27, 0.12);
  position: relative;
  overflow: hidden;
  background: #f1f3f4;
}

