.contact-intro {
  font-size: 15px;
  color: #1f363b;
  margin: 0 0 16px;
  line-height: 1.5;
}
/* Height Lengthening Pricing Form Styles */
/* Version: 2.0.1 - Updated for UTF-8 multi-language form support */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #27a1a3;
  --primary-2: #1f8e90;
  --accent: #5ad7d9;
  --danger: #ef4444;
  --success: #10b981;
  --focus: rgba(39, 161, 163, 0.28);
  --radius: 14px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pricing-form-container {
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pricing-form-container * { 
  box-sizing: border-box; 
}

/* Spinner Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(34,34,34,0.3);
  border-top-color: #222;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.spinner-dark {
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
}

/* Submit button loading state */
.btn-loading {
  pointer-events: none !important;
  opacity: 0.8 !important;
}

.btn-loading .btn-text {
  opacity: 0;
}

.btn-loading .spinner {
  opacity: 1;
}

/* Mobile Full Page Loading Overlay with Wave Effect */
.mobile-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  display: none;
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

/* Wave Background Animation */
.mobile-loading-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(39, 161, 163, 0.1) 25%, 
    rgba(39, 161, 163, 0.2) 50%, 
    rgba(39, 161, 163, 0.1) 75%, 
    transparent 100%);
  animation: waveSlide 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waveSlide {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.mobile-loading-content {
  text-align: center;
  padding: 50px 30px;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 320px;
  margin: 0 20px;
  animation: contentFadeIn 0.6s ease-out;
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-loading-spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto 30px;
}

.mobile-loading-spinner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(39, 161, 163, 0.2);
  border-radius: 50%;
}

.mobile-loading-spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: smoothSpin 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes smoothSpin {
  0% {
    transform: rotate(0deg);
    border-top-color: var(--primary);
    border-right-color: transparent;
  }
  25% {
    border-top-color: var(--primary);
    border-right-color: var(--primary);
  }
  50% {
    transform: rotate(180deg);
    border-top-color: transparent;
    border-right-color: var(--primary);
  }
  75% {
    border-top-color: transparent;
    border-right-color: transparent;
  }
  100% {
    transform: rotate(360deg);
    border-top-color: var(--primary);
    border-right-color: transparent;
  }
}

.mobile-loading-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.mobile-loading-subtext {
  font-size: 15px;
  color: var(--muted);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

.mobile-loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(39, 161, 163, 0.1);
  border-radius: 2px;
  margin: 25px auto 0;
  overflow: hidden;
  position: relative;
}

.mobile-loading-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 50%, 
    transparent 100%);
  animation: progressSlide 2s ease-in-out infinite;
}

@keyframes progressSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Loading overlay now visible on all devices */
/* Removed mobile-only restriction to show on desktop too */

/* Mobile optimizations */
@media (max-width: 480px) {
  .mobile-loading-content {
    padding: 40px 25px;
    margin: 0 15px;
    max-width: 280px;
  }
  
  .mobile-loading-text {
    font-size: 18px;
  }
  
  .mobile-loading-subtext {
    font-size: 14px;
  }
}

/* OTP Input Enhancement */
#otp-code {
  font-family: 'Courier New', monospace;
}

#otp-code::placeholder {
  letter-spacing: 1px;
}



/* OTP Button Styles */
#send-code {
  background-color: #fafafa !important;
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
  transition: all 0.2s ease !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  text-transform: none !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  min-height: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  text-shadow: none !important;
  letter-spacing: normal !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

#send-code:hover:not(:disabled) {
  background-color: #f3f4f6 !important;
  border-color: #d1d5db !important;
  transform: none !important;
  color: #374151 !important;
}

#send-code:disabled {
  background-color: #f9fafb !important;
  border-color: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

#send-code:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(39, 161, 163, 0.2) !important;
}

/* App Shell */
.app-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}



/* Container */
.container-pricing {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

/* Card */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Progress Bar */
.progress {
  position: relative;
  height: 8px;
  background: #e5e7eb;
  margin: 24px 24px 0;
  border-radius: 999px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 400ms ease;
}

.progress__label {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 10px 24px 0px;
  font-size: 12px; 
  color: var(--muted);
}

/* Steps */
.steps {
  position: relative;
  padding: 8px 8px 12px;
}

.step {
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  transition: opacity 300ms ease, transform 300ms ease;
  padding: 8px 16px 20px;
}

.steps .step:not(.active) {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.step.flow-hidden {
  display: none !important;
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  height: auto;
}

.step[data-step-key="intro"] {
  text-align: left;
}

.intro-title {
  opacity: 0;
  animation: introTitleFade 540ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-hint {
  max-width: 600px;
  margin: 8px 0 16px;
  font-size: 15px;
  color: #425a5a;
  opacity: 0;
  animation: introSubtitleFade 560ms ease forwards 60ms;
}

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

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

.intro-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.intro-confirm {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

.intro-confirm.animate-in {
  animation: introBtnIn 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards 150ms;
}

.step[data-step-key="intro"].active .intro-confirm.animate-in {
  animation:
    introBtnIn 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards 150ms,
    introConfirmPulse 2600ms ease-in-out infinite 1200ms;
}

@keyframes introBtnIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introConfirmPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(39, 161, 163, 0.35);
  }
  60% {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 12px 24px rgba(39, 161, 163, 0.25);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(39, 161, 163, 0);
  }
}

.button-guide {
  text-align: left;
  margin: 28px 0 0;
  background: #f7fafc;
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(13, 94, 102, 0.08);
  box-shadow: 0 8px 28px rgba(11, 60, 61, 0.08);
}

.button-guide.info-only {
  opacity: 0;
  transform: translateY(14px);
  animation: introGuideFade 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards 100ms;
}

.button-guide.info-only .button-guide__item {
  opacity: 0;
  transform: translateY(12px);
  animation: buttonGuideItemFade 520ms ease forwards;
}

.button-guide.info-only .button-guide__item:nth-child(1) {
  animation-delay: 220ms;
}

.button-guide.info-only .button-guide__item:nth-child(2) {
  animation-delay: 380ms;
}

.button-guide.info-only .button-guide__item:nth-child(3) {
  animation-delay: 540ms;
}

.button-guide.info-only .button-guide__items {
  gap: 10px;
}

.button-guide__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.button-guide__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.button-guide__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #0c424b;
  background: rgba(12, 66, 75, 0.08);
}

.button-guide__icon--next,
.button-guide__icon--back {
  border: 1px solid rgba(12, 66, 75, 0.15);
}

.button-guide__icon--info {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.button-guide.info-only .button-guide__icon--info {
  border: none;
  background: rgba(12, 66, 75, 0.12);
  color: #0c424b;
}

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

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

.button-guide__item-title {
  margin: 0;
  font-weight: 600;
  color: #0f2430;
}

.button-guide__item-desc {
  margin: 2px 0 0;
  font-size: 14px;
  color: #4b5f69;
}

.info-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.info-modal.show {
  display: flex;
}

.info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 37, 43, 0.52);
  backdrop-filter: blur(4px);
  opacity: 0;
}

.info-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  width: min(520px, calc(100% - 32px));
  padding: 28px 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(2, 41, 48, 0.25);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(28px) scale(0.95);
}

.info-modal__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.info-modal__header h3 {
  margin: 0;
  font-size: 20px;
  color: #0e2b32;
}

.info-modal__body {
  color: #3c4d55;
  font-size: 15px;
  line-height: 1.65;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 6px;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(12, 66, 75, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}

.info-modal__body p {
  margin: 0;
}

.info-modal__body::-webkit-scrollbar {
  width: 6px;
}

.info-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.info-modal__body::-webkit-scrollbar-thumb {
  background: rgba(12, 66, 75, 0.35);
  border-radius: 999px;
}

.info-modal__footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.info-modal__close-btn {
  margin: 0 auto;
  border-radius: 25px !important;
  border: 2px solid #6b7280 !important;
  background: #ffffff !important;
  color: #6b7280 !important;
  transition: all 0.25s ease;
}

.info-modal__close-btn:hover,
.info-modal__close-btn:focus {
  background: #6b7280 !important;
  color: #ffffff !important;
}

.info-modal.show .info-modal__backdrop {
  animation: infoModalBackdrop 200ms ease forwards;
}

.info-modal.show .info-modal__content {
  animation: infoModalIn 240ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.info-modal.closing .info-modal__backdrop {
  animation: infoModalBackdropOut 150ms ease forwards;
}

.info-modal.closing .info-modal__content {
  animation: infoModalOut 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes infoModalIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes infoModalOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
}

@keyframes infoModalBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes infoModalBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

body.info-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .info-modal__content {
    border-radius: 16px;
    padding: 22px 20px 18px;
  }

  .btn-info {
    width: 44px;
    height: 44px;
  }

  .button-guide {
    margin: 24px auto 0;
  }
}

/* Typography */
h2.step-title {
  font-size: 20px; 
  line-height: 1.3; 
  margin: 14px 8px 6px;
}

.hint { 
  color: var(--muted); 
  font-size: 13px; 
  margin: 0 8px 0px; 
}

/* Slider Styles */
.height-slider-container {
  position: relative;
  margin: 3rem 0.8rem 0rem 0.8rem;
  padding: 1rem 0;
  overscroll-behavior: contain;
}

.slider-track {
  position: relative;
  height: 44px;
  background: transparent;
  border-radius: 4px;
  margin: 2rem 0 1rem 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.0);
  overflow: visible;
}

.slider-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  background: linear-gradient(90deg, #e1e5e9 0%, #e1e5e9 100%);
  border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.slider-track:hover::before {
  background: linear-gradient(90deg, #d1d5d9 0%, #d1d5d9 100%);
}

.slider-fill {
  position: absolute;
  left: 0;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  background: linear-gradient(90deg, var(--primary), #1e7e80);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(39, 161, 163, 0.3);
  pointer-events: none;
}

.height-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.slider-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(39, 161, 163, 0.3);
  z-index: 3;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.slider-thumb:active,
.slider-thumb.dragging {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(39, 161, 163, 0.4);
}

.thumb-value {
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600 !important;
  white-space: nowrap;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(39, 161, 163, 0.3);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: grab;
}

.slider-thumb:hover .thumb-value,
.slider-thumb:active .thumb-value,
.slider-thumb.dragging .thumb-value {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.thumb-value::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--primary);
}

.slider-ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.tick {
  position: relative;
  width: 2px;
  height: 12px;
  background: #ccc;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.tick.active {
  background: var(--primary);
  height: 16px;
  box-shadow: 0 2px 4px rgba(39, 161, 163, 0.3);
}

.tick::after {
  content: attr(data-value);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tick:hover::after {
  opacity: 1;
}

@keyframes sliderPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.slider-thumb.animate {
  animation: sliderPulse 0.3s ease-out;
}



/* Recommendations */
.recommend { 
  margin-top: 18px; 
  display: grid; 
  gap: 8px; 
  border: 1px solid rgba(39,161,163,0.20); 
  border-radius: 12px; 
  padding: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.recommend.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.recommend.two-surgeries {
  border-color: rgba(39,161,163,0.30);
}

.rec-item { 
  display: grid; 
  grid-template-columns: 28px 1fr; 
  gap: 10px; 
  align-items: start; 
  background: transparent; 
  border: 0; 
  border-radius: 8px; 
  padding: 6px 4px; 
}

.rec-dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  margin-top: 6px; 
  background: var(--primary); 
  box-shadow: 0 0 0 3px rgba(39,161,163,0.20); 
}

.rec-text { 
  font-size: 14px; 
  color: #0b3c3d; 
}

/* Method Grid */
.method-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 14px; 
  margin-top: 14px;
  justify-items: center;
  justify-content: center;
}

.decision-grid .method-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.decision-grid .method-visual {
  aspect-ratio: auto;
  min-height: 120px;
  padding: 24px;
  background: #f5f8f8;
  color: #1f2933;
  font-size: 34px;
}

.method-visual.minimal-icon {
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-visual.minimal-icon span {
  font-size: 36px;
  line-height: 1;
}

.method-visual.minimal-icon img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 36, 48, 0.14);
}

.method-visual.minimal-icon.has-photo {
  padding: 0;
  background: #ffffff;
}

.method-visual.minimal-icon.has-photo img {
  width: 60%;
  height: 60%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.method-card { 
  display: block; 
  cursor: pointer; 
  width: 100%;
  max-width: 360px;
}

.method-card input { 
  position: absolute; 
  opacity: 0; 
  pointer-events: none; 
}

.method-body { 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  background: #fff; 
  overflow: hidden; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.method-visual { 
  position: relative; 
  aspect-ratio: 16/9; 
  max-height: 300px;
  background: #ffffff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden; 
}

.method-visual img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  background: #ffffff; 
}

.method-visual .dual { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2px; 
  width: 100%; 
  height: 100%; 
}

.selected-checkmark { 
  position: absolute; 
  top: 10px; 
  right: 10px; 
  width: 28px; 
  height: 28px; 
  background: var(--primary); 
  color: #fff; 
  border-radius: 50%; 
  display: grid; 
  place-items: center; 
  font-size: 16px; 
  box-shadow: 0 6px 18px rgba(39,161,163,0.25); 
  opacity: 0; 
  transform: scale(.9); 
  transition: opacity .2s ease, transform .2s ease; 
}

.method-text { 
  padding: 10px 12px 12px; 
}

.method-text .label { 
  font-weight: 600 !important; 
  color: var(--text); 
}

.method-text .desc { 
  color: var(--muted); 
  font-size: 13px; 
  margin-top: 4px; 
}

.method-card input:checked + .method-body { 
  border-color: rgba(39,161,163,0.7) !important; 
  box-shadow: 0 0 0 6px var(--focus) !important; 
  transform: translateY(-2px); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-card input:checked + .method-body .selected-checkmark { 
  opacity: 1; 
  transform: scale(1); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Options */
.options { 
  display: grid; 
  gap: 10px; 
  margin-top: 8px; 
}

.option {
  display: grid; 
  grid-template-columns: 24px 1fr; 
  gap: 12px; 
  align-items: start;
  padding: 12px 14px; 
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid #e5e7eb;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.option:hover { 
  transform: translateY(-1px); 
  border-color: #cbd5e1; 
}

.option input:checked + .option {
  border-color: rgba(39,161,163,0.7) !important;
  box-shadow: 0 0 0 6px var(--focus) !important;
  transform: translateY(-1px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.option input { 
  margin-top: 4px; 
}

.option .label { 
  font-weight: 600; 
}

.option .desc { 
  color: var(--muted); 
  font-size: 13px; 
  margin-top: 2px; 
}

/* Controls */
.controls { 
  display: grid; 
  grid-template-columns: 60px 1fr 60px; 
  align-items: center; 
  padding: 12px 16px 20px; 
  gap: 10px; 
  border-top: 1px solid #e5e7eb; 
  background: #ffffff; 
}

.controls.initial-hidden {
  display: none;
}

.primary-action { 
  display: grid; 
  place-items: center; 
}

.info-action {
  display: flex;
  justify-content: flex-end;
}

.btn-info {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-info span {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1;
}

.btn-info:hover {
  border-color: rgba(15, 118, 110, 0.4);
  background: rgba(15, 118, 110, 0.18);
}

.btn-info:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.25);
  outline-offset: 3px;
}

.btn-info[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

.btn-info.hidden {
  visibility: hidden;
}

/* Buttons */
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: 8px; 
  padding: 12px 16px; 
  border-radius: 12px; 
  font-weight: 600;
  border: 1px solid #e5e7eb;
  color: var(--text); 
  text-decoration: none; 
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 150ms ease;
  user-select: none;
  margin-right: 0 !important;
}

.btn:active { 
  transform: translateY(1px); 
}

.btn-primary { 
  background: linear-gradient(180deg, var(--primary), var(--primary-2)); 
  border-color: transparent; 
  color: #ffffff; 
  box-shadow: 0 8px 18px rgba(39,161,163,0.25); 
}

.btn-ghost { 
  background: #ffffff; 
  border-radius: 50% !important; 
  width: 48px; 
  height: 48px; 
  padding: 0; 
  line-height: 0; 
  aspect-ratio: 1 / 1; 
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-ghost:hover {
  background: #6b7280;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,114,128,0.3);
}

.btn-ghost:hover img {
  filter: brightness(0) invert(1);
}

/* Press state for back button mirrors hover */
.btn-ghost.press {
  background: #6b7280;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,114,128,0.3);
}
.btn-ghost.press img { filter: brightness(0) invert(1); }

.btn-ghost img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.btn-next { 
  width: 68px; 
  height: 68px; 
  padding: 0; 
  border-radius: 999px; 
  background: #ffffff; 
  color: var(--primary); 
  border: 2px solid var(--primary); 
  font-size: 28px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  transition: all 0.3s ease;
  outline: none;
  margin-top: 1em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-next:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(39,161,163,0.3);
  border-color: var(--primary-2);
}

.btn-next:hover:not([disabled]) { 
  background: var(--primary); 
  color: #ffffff; 
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39,161,163,0.3);
}

.btn-next:hover:not([disabled]) img {
  filter: brightness(0) invert(1);
}

/* Press state mirrors hover (for touch and programmatic press) */
.btn-next.press:not([disabled]) {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39,161,163,0.3);
}
.btn-next.press:not([disabled]) img { filter: brightness(0) invert(1); }

.btn-next:active:not([disabled]) { 
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(39,161,163,0.25);
}

.btn-next[disabled] { 
  filter: grayscale(0.4); 
  opacity: 0.6; 
  background: #f1f5f9; 
  color: #94a3b8; 
  border-color: #e2e8f0;
}

.btn[disabled] { 
  opacity: 0.5; 
  cursor: not-allowed; 
  box-shadow: none; 
}

/* Form Inputs */
.email-input {
  width: 100% !important; 
  padding: 14px 14px !important; 
  border-radius: 40px !important;
  background: #ffffff !important; 
  color: var(--text) !important; 
  outline: none !important; 
  border: 1px solid #e2e8f0 !important;
  transition: box-shadow 180ms ease, border-color 180ms ease !important;
}

.email-input::placeholder { 
  color: #94a3b8 !important; 
}

.email-input:focus { 
  border-color: rgba(39,161,163,0.7) !important; 
  box-shadow: 0 0 0 6px var(--focus) !important; 
}

.error { 
  color: var(--danger); 
  font-size: 13px; 
  margin-top: 8px; 
  margin-left: 18px;
  display: none; 
}

/* OTP Status smooth transitions */
#otp-status {
  transition: all 0.3s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

#otp-status.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

#otp-status.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.input-label {
  display: block !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--text) !important;
  margin-bottom: 8px !important;
}

/* Input styling updates */
input {
  margin-bottom: 0 !important;
}

input[type=email] {
  padding: 0px 1em !important;
}

/* Input text styles */
input[type="text"] {
  box-shadow: none !important;
  font-size: 1em !important;
}

/* Input hover styles */
input:hover, select:hover, textarea:hover {
  box-shadow: none !important;
}

/* Comprehensive input box-shadow removal */
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
  box-shadow: none !important;
}

/* intl-tel-input styles */
.iti {
  width: 100% !important;
}

.iti__country-container {
  border-radius: 40px !important;
}

.iti__selected-country {
  border-radius: 40px !important;
  padding: 0 12px !important;
}

.iti__flag-container {
  border-radius: 40px !important;
}

.iti__tel-input {
  border-radius: 40px !important;
  padding: 14px 14px 14px 60px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: var(--text) !important;
  outline: none !important;
  transition: box-shadow 180ms ease, border-color 180ms ease !important;
}

.iti__tel-input:focus {
  border-color: rgba(39,161,163,0.7) !important;
  box-shadow: 0 0 0 6px var(--focus) !important;
}

.iti__dropdown-content {
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06) !important;
}

.iti__country {
  padding: 8px 12px !important;
  border-radius: 8px !important;
}

.iti__country:hover {
  background-color: rgba(39, 161, 163, 0.1) !important;
}

.iti__country.iti__active {
  background-color: rgba(39, 161, 163, 0.2) !important;
}

.input-group {
  margin-top: 10px !important;
}

.input-group {
  margin-bottom: 0 !important;
}

/* New Badge Styles */
.new-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white !important;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
    flex-shrink: 0;
    -webkit-text-fill-color: white !important;
    margin-right: 12px;
    margin-bottom: 3px;
    display: inline-block;
    vertical-align: middle;
}

.new-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badge-shine 3s linear infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 12px 48px rgba(255, 107, 53, 0.6);
        transform: scale(1.05);
    }
}

@keyframes badge-shine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Simulator Warnings */
.simulator-warnings {
    margin-top: 18px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(39,161,163,0.20);
    border-radius: 12px;
    padding: 12px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.simulator-warnings.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.simulator-warnings.two-surgeries {
    background: rgba(39,161,163,0.15);
    border-color: rgba(39,161,163,0.30);
}

.warnings-title {
    font-size: 14px;
    font-weight: 600;
    color: #0b3c3d;
    margin-bottom: 12px;
}

.warnings-list {
    display: grid;
    gap: 8px;
}

.warning-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    background: transparent;
    padding: 0;
    border: none;
}

.warning-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    background: var(--primary);
    flex-shrink: 0;
}

.warning-text {
    font-size: 14px;
    color: #0b3c3d;
    line-height: 1.4;
}

/* Success Screen */
.success {
  text-align: center; 
  padding: 30px 16px 40px;
}

.success .badge {
  width: 70px; 
  height: 70px; 
  border-radius: 50%; 
  margin: 8px auto 14px;
  background: radial-gradient(circle at 35% 35%, #fff, #b9eff0 40%, var(--primary) 70%);
  box-shadow: 0 12px 26px rgba(39,161,163,0.25);
}

/* Responsive Design */
@media (max-width: 680px) {
  .new-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    margin-right: 8px;
  }
  
  h2.step-title { 
    font-size: 18px; 
    margin: 14px 0px 6px;
  }
  
  .hint {
    margin: 0 0px 0px;
  }
  
  .height-slider-container {
    margin: 3rem 0rem 0rem 0rem;
  }
  
  .recommend {
    margin-top: 4px;
    transition: all 0.3s ease;
  }
  
  .simulator-warnings {
    margin-top: 16px;
    padding: 12px;
  }
  
  .warnings-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .warning-text {
    font-size: 13px;
  }
  
  .controls { 
    grid-template-columns: 52px 1fr 52px; 
  }
  /* Ensure back button stays perfectly circular on mobile */
  .btn-ghost { 
    width: 48px !important; 
    height: 48px !important; 
  }
  
  .btn { 
    width: 100%; 
  }
  
  .btn-next { 
    width: 60px; 
    height: 60px; 
    font-size: 24px; 
  }
  
  .container-pricing {
    padding: 10px;
  }
  
  .method-grid {
    grid-template-columns: 1fr;
  }
}

/* Disable hover effects on touch devices to prevent sticky hover */
@media (hover: none) {
  .btn-next:hover:not([disabled]) { 
    background: #ffffff; 
    color: var(--primary);
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .btn-next:hover:not([disabled]) img { filter: none; }
  .btn-ghost:hover { 
    background: #ffffff; 
    transform: none; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .btn-ghost:hover img { filter: none; }
}

/* Extra safety: explicitly disable hover states when body has .no-hover (set by JS on touch devices) */
body.no-hover .btn-next:hover:not([disabled]) {
  background: #ffffff !important;
  color: var(--primary) !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.no-hover .btn-next:hover:not([disabled]) img { filter: none !important; }
body.no-hover .btn-ghost:hover {
  background: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.no-hover .btn-ghost:hover img { filter: none !important; }

/* === SIMULATOR STYLES === */

/* Modern Toggle Switch */
.simulator-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.toggle-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border-radius: 25px;
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
}

.toggle-option {
  position: relative;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  z-index: 2;
  color: var(--muted);
}

.toggle-option.active {
  color: white;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--primary);
  border-radius: 20px;
  transition: transform 0.3s ease;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(39, 161, 163, 0.3);
}

.toggle-slider.yes {
  transform: translateX(100%);
}

/* Upload Loading Animation */
.upload-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--surface-2);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-progress {
  width: 200px;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #40e0d0 50%, var(--primary) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
  animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(39, 161, 163, 0.3);
  }
  50% { 
    box-shadow: 0 0 15px rgba(39, 161, 163, 0.6);
  }
}

.loading-text {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* Upload Success */
.upload-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: var(--success);
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  animation: success-pop 0.6s ease-out;
}

@keyframes success-pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.simulator-intro {
  text-align: center;
  margin-bottom: 20px;
}

.simulator-image {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

.simulator-image img {
  display: block;
  max-width: 320px;
  height: auto;
}

.simulator-toggle-container {
  margin: 20px 0;
}

/* Modern Toggle Switch */
.modern-toggle {
  position: relative;
  display: inline-block;
}

.toggle-checkbox {
  display: none;
}

.toggle-label {
  display: block;
  width: 60px;
  height: 30px;
  background: #e2e8f0;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-checkbox:checked + .toggle-label {
  background: var(--primary);
}

.toggle-checkbox:checked + .toggle-label .toggle-switch {
  transform: translateX(30px);
}

.toggle-text {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  width: 120px;
  margin-left: -30px;
  font-size: 14px;
  font-weight: 500;
}

.toggle-no, .toggle-yes {
  color: var(--muted);
  transition: color 0.3s ease;
}

.toggle-checkbox:not(:checked) ~ .toggle-text .toggle-no {
  color: var(--text);
}

.toggle-checkbox:checked ~ .toggle-text .toggle-yes {
  color: var(--primary);
}

.simulator-fields {
  display: none;
  margin-top: 20px;
}

/* === HEIGHT INPUT === */
.height-input {
  width: 100% !important;
  padding: 1.5rem !important;
  font-size: 1.5rem !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 12px !important;
  background: var(--surface-2) !important;
  transition: var(--transition) !important;
  text-align: center !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}

.height-input:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(39, 161, 163, 0.1) !important;
}

/* === UPLOAD AREA === */
.upload-area {
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--surface);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(39, 161, 163, 0.05);
}

.upload-area.dragover {
  border-color: var(--primary);
  background: rgba(39, 161, 163, 0.1);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  font-size: 3em;
  margin-bottom: 10px;
  opacity: 0.7;
}

.upload-text {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.upload-subtext {
  font-size: 13px;
  color: var(--muted);
}

.upload-area input[type="file"] {
  display: none;
}

#photoPreview {
  display: none;
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.upload-area.has-photo {
  padding: 20px;
  min-height: auto;
}

.upload-area.has-photo .upload-content {
  display: none;
}

.upload-area.has-photo #photoPreview {
  display: block;
}

/* Mobile adjustments for simulator */
@media (max-width: 680px) {
  .height-input {
    font-size: 1.3rem !important;
    padding: 1.25rem !important;
  }
  
  .upload-area {
    padding: 30px 15px;
    min-height: 180px;
  }
  
  .upload-icon {
    font-size: 2.5em;
  }
  
  .simulator-image img {
    max-width: 300px;
  }
}
