 /* Popup Styles - Isolated with unique prefix to prevent conflicts */
   /* Popup Styles - Perfect 70% height with no scrolling */
.sahl-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
}

.sahl-popup-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.sahl-popup-container {
  width: 65%;
  max-width: 760px;
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 44px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 30px 60px -30px rgba(0, 113, 227, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sahl-popup-overlay.active .sahl-popup-container {
  transform: scale(1) translateY(0);
}

.sahl-popup-container:hover {
  box-shadow: 0 60px 120px -25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 40px 70px -30px rgba(0, 113, 227, 0.15);
}

.sahl-popup-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #666;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0.7;
}

.sahl-popup-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  transform: rotate(90deg) scale(1.05);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Progress Indicator */
.sahl-popup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 12px;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.sahl-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #c6c6c8;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sahl-progress-dot.active {
  width: 24px;
  background: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Step Container */
.sahl-popup-step-container {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.sahl-popup-step {
  display: none;
  width: 100%;
  height: 100%;
}

.sahl-popup-step.active {
  display: block;
  animation: sahlFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sahlFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Step Content */
.sahl-popup-content {
  display: flex;
  padding: 0;
  height: 100%;
  width: 100%;
}

.sahl-popup-left {
  flex: 0 0 30%;
  background: linear-gradient(145deg, #f8faff 0%, #eef2f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  position: relative;
  overflow: hidden;
}

.sahl-popup-left::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(15px);
  animation: sahlFloatBubble 8s infinite ease-in-out;
}

.sahl-popup-left::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(90, 158, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(15px);
  animation: sahlFloatBubble 10s infinite ease-in-out reverse;
}

@keyframes sahlFloatBubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 5%) scale(1.05); }
  66% { transform: translate(-5%, -5%) scale(0.95); }
}

.sahl-popup-icon-wrapper {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 35px -8px rgba(0, 113, 227, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  position: relative;
  z-index: 2;
  animation: sahlGentleFloat 4s infinite ease-in-out;
}

@keyframes sahlGentleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.sahl-popup-icon {
  font-size: 54px;
  line-height: 1;
  background: linear-gradient(135deg, #0071e3, #5a9eff, #86b9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 5px 12px rgba(0, 113, 227, 0.25));
  animation: sahlSoftGlow 3s infinite ease-in-out;
}

@keyframes sahlSoftGlow {
  0%, 100% { filter: drop-shadow(0 5px 12px rgba(0, 113, 227, 0.25)); }
  50% { filter: drop-shadow(0 8px 18px rgba(0, 113, 227, 0.4)); }
}

.sahl-popup-right {
  flex: 1;
  padding: 32px 32px 28px 32px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.sahl-popup-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.sahl-popup-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  animation: sahlSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sahlSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.sahl-popup-subtitle {
  font-size: 16px;
  line-height: 1.4;
  color: #86868b;
  margin: 0 0 18px 0;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  max-width: 90%;
  opacity: 0;
  animation: sahlSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.sahl-popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sahl-popup-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #1d1d1f;
  margin-bottom: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  opacity: 0;
  transform: translateX(-10px);
  animation: sahlSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sahl-popup-features li:nth-child(1) { animation-delay: 0.2s; }
.sahl-popup-features li:nth-child(2) { animation-delay: 0.25s; }
.sahl-popup-features li:nth-child(3) { animation-delay: 0.3s; }
.sahl-popup-features li:nth-child(4) { animation-delay: 0.35s; }

@keyframes sahlSlideIn {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

.sahl-feature-icon {
  color: #0071e3;
  font-size: 18px;
  width: 24px;
  text-align: center;
  filter: drop-shadow(0 2px 4px rgba(0, 113, 227, 0.2));
  animation: sahlIconPulse 2s infinite ease-in-out;
}

@keyframes sahlIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.sahl-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: sahlFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  flex-shrink: 0;
}

@keyframes sahlFadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.sahl-dont-show {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.sahl-dont-show:hover {
  opacity: 0.9;
}

.sahl-dont-show input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.8px solid #c6c6c8;
  appearance: none;
  -webkit-appearance: none;
  background: white;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.sahl-dont-show input[type="checkbox"]:hover {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.sahl-dont-show input[type="checkbox"]:checked {
  background: #0071e3;
  border-color: #0071e3;
  transform: scale(0.95);
}

.sahl-dont-show input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  font-weight: bold;
}

.sahl-dont-show span {
  font-size: 14px;
  color: #86868b;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  transition: color 0.2s ease;
}

.sahl-dont-show:hover span {
  color: #1d1d1f;
}

.sahl-popup-button {
  background: #0071e3;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.sahl-popup-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sahl-popup-button:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 113, 227, 0.35);
}

.sahl-popup-button:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.sahl-popup-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
  transition: all 0.1s ease;
}

.sahl-popup-button.secondary {
  background: transparent;
  color: #0071e3;
  box-shadow: none;
}

.sahl-popup-button.secondary:hover {
  background: rgba(0, 113, 227, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
}

/* Desktop Large Screens */
@media (min-width: 1440px) {
  .sahl-popup-container {
    max-width: 820px;
    height: 65vh;
    max-height: 650px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .sahl-popup-icon {
    font-size: 58px;
  }
  
  .sahl-popup-title {
    font-size: 30px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .sahl-popup-container {
    width: 75%;
    max-width: 680px;
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .sahl-popup-icon {
    font-size: 50px;
  }
  
  .sahl-popup-title {
    font-size: 26px;
  }
  
  .sahl-popup-right {
    padding: 28px 28px 24px;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .sahl-popup-container {
    width: 80%;
    height: 85vh; /* Increased for landscape */
    min-height: 450px;
    max-height: 500px;
  }
  
  .sahl-popup-content {
    flex-direction: row;
  }
  
  .sahl-popup-left {
    flex: 0 0 25%;
    padding: 20px 10px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .sahl-popup-icon {
    font-size: 38px;
  }
  
  .sahl-popup-right {
    padding: 20px 20px 15px;
  }
  
  .sahl-popup-title {
    font-size: 22px;
    margin-bottom: 6px;
  }
  
  .sahl-popup-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .sahl-popup-features {
    margin-bottom: 12px;
  }
  
  .sahl-popup-features li {
    font-size: 13px;
    margin-bottom: 8px;
    gap: 8px;
  }
  
  .sahl-feature-icon {
    font-size: 14px;
    width: 20px;
  }
  
  .sahl-popup-footer {
    padding-top: 8px;
    margin-top: 5px;
  }
  
  .sahl-popup-button {
    padding: 6px 16px;
    font-size: 13px;
  }
  
  .sahl-dont-show span {
    font-size: 12px;
  }
  
  .sahl-popup-progress {
    padding: 12px 0 8px;
  }
}

/* Mobile Portrait - FIXED HEIGHT */
@media (max-width: 768px) and (orientation: portrait) {
  .sahl-popup-container {
    width: 90%;
    max-width: 400px;
    height: 80vh; /* Increased from 70vh to 80vh */
    min-height: 600px; /* Increased min-height */
    max-height: 700px;
    border-radius: 36px;
  }
  
  .sahl-popup-content {
    flex-direction: column;
    height: 100%;
  }
  
  .sahl-popup-left {
    flex: 0 0 auto;
    padding: 25px 15px 15px; /* Reduced bottom padding */
  }
  
  .sahl-popup-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 5px 0;
  }
  
  .sahl-popup-icon {
    font-size: 42px;
  }
  
  .sahl-popup-right {
    padding: 15px 22px 18px; /* Reduced padding */
    justify-content: space-between;
  }
  
  .sahl-popup-title {
    font-size: 24px;
    margin-bottom: 6px;
    line-height: 1.2;
  }
  
  .sahl-popup-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.3;
    max-width: 100%;
  }
  
  .sahl-popup-features {
    margin-bottom: 10px;
  }
  
  .sahl-popup-features li {
    font-size: 14px;
    margin-bottom: 10px;
    gap: 8px;
    line-height: 1.3;
  }
  
  .sahl-feature-icon {
    font-size: 15px;
    width: 22px;
  }
  
  .sahl-popup-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 10px;
    margin-top: 5px;
  }
  
  .sahl-dont-show {
    order: 2;
    width: 100%;
    justify-content: center;
    padding: 5px 0;
  }
  
  .sahl-dont-show span {
    font-size: 13px;
  }
  
  .sahl-popup-button {
    order: 1;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    white-space: normal;
  }
  
  .sahl-popup-button.secondary {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .sahl-popup-close {
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.8);
  }
  
  .sahl-popup-progress {
    padding: 15px 0 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) and (orientation: portrait) {
  .sahl-popup-container {
    width: 92%;
    height: 82vh; /* Increased for small mobile */
    min-height: 580px;
    max-height: 680px;
    border-radius: 32px;
  }
  
  .sahl-popup-left {
    padding: 20px 15px 12px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .sahl-popup-icon {
    font-size: 38px;
  }
  
  .sahl-popup-right {
    padding: 12px 18px 16px;
  }
  
  .sahl-popup-title {
    font-size: 22px;
    margin-bottom: 4px;
  }
  
  .sahl-popup-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .sahl-popup-features {
    margin-bottom: 8px;
  }
  
  .sahl-popup-features li {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .sahl-feature-icon {
    font-size: 14px;
    width: 20px;
  }
  
  .sahl-popup-footer {
    gap: 10px;
    padding-top: 8px;
  }
  
  .sahl-dont-show span {
    font-size: 12px;
  }
  
  .sahl-popup-button {
    padding: 9px 10px;
    font-size: 13px;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) and (orientation: portrait) {
  .sahl-popup-container {
    width: 94%;
    height: 85vh; /* Increased for very small mobile */
    min-height: 550px;
    max-height: 620px;
  }
  
  .sahl-popup-left {
    padding: 18px 15px 10px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 65px;
    height: 65px;
  }
  
  .sahl-popup-icon {
    font-size: 35px;
  }
  
  .sahl-popup-right {
    padding: 10px 16px 14px;
  }
  
  .sahl-popup-title {
    font-size: 20px;
    margin-bottom: 3px;
  }
  
  .sahl-popup-subtitle {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .sahl-popup-features li {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .sahl-feature-icon {
    font-size: 13px;
    width: 18px;
  }
  
  .sahl-popup-footer {
    gap: 8px;
    padding-top: 6px;
  }
  
  .sahl-popup-button {
    padding: 8px;
    font-size: 12px;
  }
  
  .sahl-dont-show input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}

/* Handle very short screens */
@media (max-height: 600px) {
  .sahl-popup-container {
    height: 85vh;
    min-height: 450px;
    max-height: 550px;
  }
  
  .sahl-popup-left {
    padding: 15px 10px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 65px;
    height: 65px;
  }
  
  .sahl-popup-icon {
    font-size: 35px;
  }
  
  .sahl-popup-right {
    padding: 12px 18px;
  }
  
  .sahl-popup-features li {
    margin-bottom: 6px;
    font-size: 13px;
  }
  
  .sahl-popup-title {
    font-size: 22px;
    margin-bottom: 4px;
  }
  
  .sahl-popup-subtitle {
    margin-bottom: 10px;
    font-size: 13px;
  }
}

@media (max-height: 450px) {
  .sahl-popup-container {
    height: 90vh;
    min-height: 380px;
    max-height: 420px;
  }
  
  .sahl-popup-icon-wrapper {
    width: 55px;
    height: 55px;
  }
  
  .sahl-popup-icon {
    font-size: 30px;
  }
  
  .sahl-popup-right {
    padding: 10px 15px;
  }
  
  .sahl-popup-title {
    font-size: 20px;
  }
  
  .sahl-popup-features li {
    font-size: 12px;
    margin-bottom: 4px;
  }
  
  .sahl-popup-footer {
    padding-top: 5px;
    margin-top: 3px;
  }
  
  .sahl-popup-button {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Remove all scrollbars */
.sahl-popup-step-container::-webkit-scrollbar,
.sahl-popup-right::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sahl-popup-step-container,
.sahl-popup-right {
  -ms-overflow-style: none;
  scrollbar-width: none;
}