/* ==========================================
   SUPPORT MODAL STYLES
   ========================================== */

/* Modal Overlay - Full Screen Backdrop Blur */
.support-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.support-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.support-modal {
  background: var(--gradient-card);
  border-radius: 20px;
  box-shadow: var(--shadow-floating);
  max-width: 95vw;
  width: 1200px;
  height: 85vh;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--border-gentle);
}

.support-modal-overlay.active .support-modal {
  transform: scale(1) translateY(0);
}

/* Close Button */
.support-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #6B7280;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  color: #4B2E83;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Slideshow Container */
.support-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual Slides - Match Homepage Split Sections */
.support-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 120px 40px;
  box-sizing: border-box;
}

.support-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.support-slide.prev {
  transform: translateX(-100%);
}

/* Alternate background colors like homepage */
.support-slide:nth-child(even) {
  background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
}

/* Split Container - Match Homepage Layout */
.support-split-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  gap: 4rem;
  align-items: center;
  animation: slideContentFadeIn 1s ease-out;
}

.support-slide.active .support-split-container {
  animation: slideContentFadeIn 1s ease-out 0.3s both;
}

@keyframes slideContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quote Left Section - Exact Homepage Styling */
.support-quote-left {
  flex: 1;
  text-align: left;
  opacity: 1;
  transform: translateX(0);
}

.support-quote-left h2 {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.3;
  color: #4B2E83;
  margin-bottom: 1rem;
  font-family: "Georgia", serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.support-quote-left span {
  font-size: 1.4rem;
  font-style: italic;
  color: #6B7280;
  font-weight: 400;
}

/* Description Right Section - Exact Homepage Styling */
.support-description-right {
  flex: 1;
  text-align: left;
  opacity: 1;
  transform: translateX(0);
}

.support-description-right h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #9138e5;
  margin-bottom: 1.5rem;
  font-family: "Suisse Intl Book", sans-serif;
}

.support-description-right p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #000000;
  font-family: "Suisse Intl Book", sans-serif;
  margin-bottom: 2rem;
}

/* Get Started Button - Scoped to Support Modal Only */
.support-modal .get-started-btn {
  background: linear-gradient(135deg, #9138e5 0%, #6bd6ff 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(145, 56, 229, 0.3);
}

.support-modal .get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(145, 56, 229, 0.4);
}

/* ==========================================
   HOMEPAGE SPECIFIC ELEMENTS IN MODAL ONLY
   ========================================== */

/* Animated Quote Highlights - Scoped to Support Modal Only */
.support-modal .animated-quote .highlight-ask {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow-ask 3s ease-in-out infinite;
}

.support-modal .animated-quote .highlight-receive {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow-receive 3s ease-in-out infinite;
}

.support-modal .animated-quote .highlight-joy {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow-joy 3s ease-in-out infinite;
}

@keyframes glow-ask {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 5px rgba(255, 107, 107, 0.5)); }
  50% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 107, 107, 0.8)); }
}

@keyframes glow-receive {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 5px rgba(72, 219, 251, 0.5)); }
  50% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(72, 219, 251, 0.8)); }
}

@keyframes glow-joy {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 5px rgba(255, 159, 243, 0.5)); }
  50% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 159, 243, 0.8)); }
}

/* Prompt Pills - Scoped to Support Modal Only */
.support-modal .prompt-pills-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

.support-modal .prompt-pill {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  border: none;
  text-align: left;
}

.support-modal .prompt-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Be Still Emojis - Scoped to Support Modal Only */
.support-modal .be-still-emojis {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
}

.support-modal .emoji-item {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.support-modal .emoji-item:hover {
  transform: scale(1.2);
}

.support-modal .emoji-item:nth-child(1) { animation-delay: 0s; }
.support-modal .emoji-item:nth-child(2) { animation-delay: 0.5s; }
.support-modal .emoji-item:nth-child(3) { animation-delay: 1s; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Search Container - Scoped to Support Modal Only */
.support-modal .search-container-wrapper {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-modal .search-container {
  position: relative;
}

.support-modal .animated-search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.support-modal .animated-search-bar:focus-within {
  border-color: #9138e5;
  box-shadow: 0 6px 20px rgba(145, 56, 229, 0.2);
}

.support-modal .search-icon {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.support-modal .search-input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  background: transparent;
}

.support-modal .search-button {
  background: linear-gradient(135deg, #9138e5 0%, #6bd6ff 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(145, 56, 229, 0.3);
}

.support-modal .search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(145, 56, 229, 0.4);
}

/* Navigation Controls */
.support-modal-navigation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(255, 255, 255, 0.95);
  padding: 18px 30px;
  border-radius: 50px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Navigation Buttons */
.support-nav-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #4B2E83;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.support-nav-btn:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  transform: scale(1.1);
  color: #9138e5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.support-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Slide Indicators */
.support-slide-indicators {
  display: flex;
  gap: 10px;
  align-items: center;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(75, 46, 131, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #9138e5;
  transform: scale(1.4);
  box-shadow: 0 0 15px rgba(145, 56, 229, 0.5);
}

.indicator:hover {
  background: #9138e5;
  transform: scale(1.2);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
  .support-modal {
    width: 95vw;
    height: 90vh;
  }
  
  .support-split-container {
    gap: 2rem;
  }
  
  .support-quote-left h2 {
    font-size: 2.4rem;
  }
  
  .support-description-right h3 {
    font-size: 1.8rem;
  }
  
  .support-description-right p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .support-modal {
    width: 98vw;
    height: 95vh;
    margin: 10px;
  }
  
  .support-slide {
    padding: 40px 20px 100px 20px;
  }
  
  .support-split-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .support-quote-left,
  .support-description-right {
    flex: none;
    width: 100%;
  }
  
  .support-quote-left h2 {
    font-size: 2rem;
  }
  
  .support-quote-left span {
    font-size: 1.2rem;
  }
  
  .support-description-right h3 {
    font-size: 1.6rem;
  }
  
  .support-description-right p {
    font-size: 1rem;
  }
  
  .support-modal-navigation {
    gap: 20px;
    padding: 15px 25px;
  }
  
  .support-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .support-modal .be-still-emojis {
    justify-content: center;
  }
  
  .support-modal .emoji-item {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .support-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
  }
  
  .support-slide {
    padding: 30px 15px 80px 15px;
  }
  
  .support-quote-left h2 {
    font-size: 1.8rem;
  }
  
  .support-description-right h3 {
    font-size: 1.4rem;
  }
  
  .support-description-right p {
    font-size: 0.95rem;
  }
  
  .support-modal .prompt-pill {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
  
  .support-modal .search-button,
  .support-modal .get-started-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}

/* ==========================================
   ACCESSIBILITY & FOCUS STATES
   ========================================== */

.support-modal-close:focus,
.support-nav-btn:focus,
.indicator:focus,
.support-modal .prompt-pill:focus,
.support-modal .search-button:focus,
.support-modal .get-started-btn:focus {
  outline: 2px solid #9138e5;
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .support-modal-overlay,
  .support-modal,
  .support-slide,
  .support-nav-btn,
  .indicator,
  .support-modal .prompt-pill,
  .support-modal .search-button,
  .support-modal .get-started-btn {
    transition: none;
  }
  
  .support-modal .emoji-item,
  .support-modal .animated-quote .highlight-ask,
  .support-modal .animated-quote .highlight-receive,
  .support-modal .animated-quote .highlight-joy {
    animation: none;
  }
  
  .support-split-container {
    animation: none;
  }
}
