/* Website Guide — floating action button + step-by-step modal.
   Mirrors the visual language of feature-popup.css (pink gradient, rounded
   card, overlay) but kept in its own file/class namespace since this modal
   has its own multi-slide carousel behavior. */

.guide-fab {
  position: fixed;
  right: 60px;
  bottom: 60px;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f6c9d2 0%, #F26A8D 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(242, 106, 141, 0.35);
  z-index: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(242, 106, 141, 0.45);
}


.guide-fab-icon {
  width: 38px;
  height: 38px;
}

.guide-fab-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #ffffff;
  color: #333;
  font-family: var(--syne);
  font-size: 1.5rem;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.guide-fab:hover .guide-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Modal shell */
.guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  animation: guideFadeIn 0.3s ease-out;
}

.guide-modal.hidden {
  display: none;
}

@keyframes guideFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes guideSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.guide-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.guide-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 90%;
  padding: 40px 32px 28px;
  animation: guideSlideUp 0.4s ease-out;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #666;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.guide-modal-close:hover {
  color: #F26A8D;
}

.guide-slides {
  min-height: 220px;
  display: flex;
  align-items: center;
}

.guide-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
  animation: guideFadeIn 0.35s ease-out;
}

.guide-slide.active {
  display: flex;
}

.guide-slide-icon {
  font-size: 2.6rem;
  line-height: 1;
}

.guide-title {
  font-family: var(--syne);
  font-size: 2.2rem;
  font-weight: 700;
  color: #F26A8D;
  margin: 0;
}

.guide-subtitle {
  font-family: var(--syne);
  font-size: 1.3rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.guide-step-number {
  display: inline-block;
  background: linear-gradient(135deg, #f6c9d2 0%, #F26A8D 100%);
  color: #fff;
  font-family: var(--syne);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.guide-step-text {
  font-family: var(--syne);
  font-size: 1.5rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.guide-step-text a {
  color: #F26A8D;
  font-weight: 600;
}

.guide-socials {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.guide-dots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.guide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #f6c9d2;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.guide-dot.active {
  background: #F26A8D;
  transform: scale(1.3);
}

.guide-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guide-nav-btn {
  font-family: var(--syne);
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 20px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.guide-prev {
  background: #f2f2f2;
  color: #444;
}

.guide-prev:disabled {
  opacity: 0.4;
  cursor: default;
}

.guide-skip {
  background: none;
  color: #999;
  font-weight: 500;
}

.guide-next {
  background: linear-gradient(135deg, #f6c9d2 0%, #F26A8D 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(242, 106, 141, 0.3);
}

.guide-next:hover,
.guide-prev:not(:disabled):hover {
  transform: translateY(-2px);
}

/* Tablet — same ratio to the desktop button as before (width ~93%,
   right/bottom ~75% of the base .guide-fab values), just recomputed
   against the new 85px / 60px base instead of the old 58px / 32px one. */
@media only screen and (max-width: 1024px) {
  .guide-fab {
    right: 45px;
    bottom: 45px;
    width: 79px;
    height: 79px;
  }

  .guide-fab-icon {
    width: 35px;
    height: 35px;
  }
}

/* Mobile */
@media only screen and (max-width: 768px) {
  .guide-fab {
    right: 34px;
    bottom: 34px;
    width: 73px;
    height: 73px;
  }

  .guide-fab-icon {
    width: 33px;
    height: 33px;
  }

  .guide-fab-tooltip {
    display: none;
  }

  .guide-modal-content {
    padding: 32px 20px 22px;
    max-width: calc(100% - 32px);
    gap: 16px;
  }

  .guide-slides {
    min-height: 180px;
  }

  .guide-title {
    font-size: 1.8rem;
  }

  .guide-subtitle,
  .guide-step-text {
    font-size: 1.2rem;
  }

  .guide-nav-btn {
    font-size: 1.1rem;
    padding: 8px 16px;
  }
}

@media only screen and (max-width: 480px) {
  .guide-fab {
    right: 26px;
    bottom: 26px;
    width: 67px;
    height: 67px;
  }

  .guide-fab-icon {
    width: 30px;
    height: 30px;
  }

  .guide-modal-content {
    padding: 26px 16px 18px;
  }

  .guide-socials {
    gap: 8px;
  }

  .guide-nav-btn {
    padding: 8px 12px;
    font-size: 1rem;
  }
}