/* Buttons */
.cta-button,
.cta-button-large,
.cta-button-final {
  display: block;
  margin: 0 auto;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(45deg, #FF00CC, #AA00FF, #00BFFF);
  border: none;
  border-radius: 15px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 0, 204, 0.4);
}

.cta-button:hover,
.cta-button-large:hover,
.cta-button-final:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(255, 0, 204, 0.6);
}

.cta-button-large,
.cta-button-final {
  padding: 25px 50px;
  font-size: 24px;
  box-shadow: 0 15px 45px rgba(255, 0, 204, 0.4);
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 -20px;
}

.carousel-container.has-arrows .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-container.has-arrows .carousel-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.carousel-container.has-arrows .carousel-arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-container.has-arrows .carousel-arrow.prev { left: 6px; }
.carousel-container.has-arrows .carousel-arrow.next { right: 6px; }

.carousel-container.has-arrows svg {
  display: block;
  filter: drop-shadow(0 4px 16px rgba(255, 0, 204, 0.25));
}

.carousel-track {
  display: flex;
  animation: scrollTrack 30s linear infinite;
  gap: 15px;
  will-change: transform;
}

.carousel-track.manual-control {
  animation: none !important;
  transition: transform 0.4s ease;
}

#resultsCarousel {
  animation-duration: 15s;
}

#transformationCarousel { 
  animation-direction: reverse; 
}

@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-slide {
  flex-shrink: 0;
  width: 250px;
}

.result-image, .module-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  filter: drop-shadow(0 10px 30px rgba(0, 191, 255, 0.3));
  transition: transform 0.3s ease;
}

.result-image:hover, .module-image:hover {
  transform: scale(1.05);
}

/* Video overlay for sound activation */
.video-container {
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border-radius: 18px;
    /* ensure no background/outline shows around the overlay image */
    background: transparent !important;
    outline: none !important;
}

.overlay-content {
    /* Use the new image asset instead of colored square */
    background: transparent !important;
    border-radius: 12px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    aspect-ratio: 1 / 1 !important;
    width: min(52%, 300px);
    height: auto;
    overflow: hidden;
    max-width: none;
    animation: overlayPulse 1.2s ease-in-out infinite;
    /* remove any potential highlight on tap/click */
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.overlay-card {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* remove any borders/contours and keep only glow */
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important; /* prevent box-shadow edge from looking like a border */
    filter: drop-shadow(0 8px 32px rgba(255, 0, 204, 0.45)); /* soft glow only */
    -webkit-tap-highlight-color: transparent;
}

.sound-icon,
.overlay-text,
.text-top,
.text-bottom {
    /* legacy elements no longer used with the new image, keep hidden if present */
    display: none !important;
}

.video-overlay.hidden {
    display: none;
}

@keyframes overlayPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
        /* keep glow subtle without creating a hard edge */
        box-shadow: none;
        filter: drop-shadow(0 8px 32px rgba(255, 0, 204, 0.45));
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: none;
        filter: drop-shadow(0 12px 48px rgba(255, 0, 204, 0.65));
    }
}

/* Tiny help link below the video */
.video-help-link {
  display: block;
  margin: 6px auto 18px auto; /* very small distance from the player */
  background: none;
  border: none;
  color: #bdbdbd;
  font-size: 12px; /* small text */
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  opacity: 0.9;
}
.video-help-link:hover { color: #ffffff; opacity: 1; }

/* Fullscreen video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
}
.video-modal.is-open { display: block; }

.video-modal-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.video-modal-close {
  position: absolute;
  top: env(safe-area-inset-top, 0px);
  right: 10px;
  margin-top: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2100;
  backdrop-filter: blur(4px);
}
.video-modal-close:hover {
  background: rgba(255,255,255,0.2);
}

.video-modal-player {
  align-self: center;
  justify-self: center;
  width: min(96vw, 900px);
  /* Maintain 9:16 container to match hero, but let it grow responsively */
  aspect-ratio: 9 / 16;
  max-height: 96vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 0, 204, 0.35);
  border: 2px solid rgba(255,255,255,0.08);
}

#vimeo-player-modal {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  border: 0;
  border-radius: 14px;
}

@media (orientation: landscape) {
  .video-modal-player {
    /* In landscape screens, prioritize height */
    width: min(90vw, 160vh * 9 / 16);
    height: min(90vh, 90vw * 16 / 9);
    aspect-ratio: auto;
  }
}

/* Cards and pricing */
.pricing-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 10px 40px rgba(170, 0, 255, 0.2);
}

.pricing-details {
  max-width: 560px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.original-prices { 
  margin-bottom: 26px; 
}

.price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-left: 22px;
}

.price-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(45deg, #FF00CC, #AA00FF, #00BFFF);
  box-shadow: 0 0 12px rgba(255, 0, 204, 0.5);
}

.price-description { 
  color: #eaeaea; 
  text-align: left; 
}
.striked-price { 
  text-decoration: line-through; 
  color: #8b8b8b; 
}

.striked-price.large {
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: #bdbdbd;
  text-decoration-thickness: 4px;
  text-decoration-color: #ffffff;
  text-decoration-style: solid;
  opacity: 1;
}

.pricing-intro {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: #ffffff;
}

.pricing-intro::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF00CC, #AA00FF, #00BFFF);
}

.price-special { 
  margin-bottom: 16px; 
}

.installment-price {
  font-size: clamp(16px, 3.5vw, 20px);
  margin-bottom: 12px;
  color: #e6e6e6;
}
.installments { 
  font-weight: 900; 
  color: #ffffff; 
  letter-spacing: 0.3px; 
}

.cash-price { 
  margin-bottom: 8px; 
}
.price-value {
  font-size: clamp(58px, 9vw, 92px);
  font-weight: 900;
  display: block;
  line-height: 1;
  text-shadow: 0 8px 30px rgba(0, 191, 255, 0.25);
}
.cash-label { 
  font-size: 16px; 
  font-weight: 700; 
  color: #bfbfbf; 
  display: block; 
  margin-top: 6px; 
}
.payment-note { 
  font-size: 17px; 
  font-weight: 800; 
  color: #00BFFF; 
  margin-top: 6px; 
}

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,191,255,0.18), 0 0 0 10px rgba(255,0,204,0.08), 0 0 48px rgba(255,0,204,0.85); }
  50% { box-shadow: 0 0 0 18px rgba(0,191,255,0.22), 0 0 0 32px rgba(255,0,204,0.12), 0 0 88px rgba(255,0,204,1); }
}
.glow-attention { animation: glowPulse 1.2s ease-in-out infinite; }

@media (max-width: 480px) {
  .text-top,
  .text-bottom {
    font-size: 12px;
    margin: 2px 0;
  }
  
  .sound-icon {
    margin: 2px 0;
  }
  
  .sound-icon svg {
    width: 72px;
    height: 72px;
  }
}

@keyframes shake {
  10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}
  30%,50%,70%{transform:translateX(-6px)}40%,60%{transform:translateX(6px)}
}
.video-container.shake { animation: shake .6s cubic-bezier(.36,.07,.19,.97) both; }