/**
 * AMGOS Runtime Overlay — Premium Sales Funnel
 * Production CSS for WordPress public-facing pages
 * All classes prefixed: .amgos-rt-
 */

/* ========================================================================
   0. DESIGN TOKENS & RESET
   ======================================================================== */

:root {
  --amgos-rt-bg: #0B0F19;
  --amgos-rt-surface: #111827;
  --amgos-rt-surface-raised: #1E293B;
  --amgos-rt-border: rgba(255, 255, 255, 0.08);
  --amgos-rt-border-focus: rgba(59, 130, 246, 0.5);
  --amgos-rt-primary: #3B82F6;
  --amgos-rt-gradient: linear-gradient(135deg, #2563EB, #7C3AED);
  --amgos-rt-text: #E2E8F0;
  --amgos-rt-muted: #64748B;
  --amgos-rt-error: #EF4444;
  --amgos-rt-success: #22C55E;
  --amgos-rt-whatsapp: #25D366;
  --amgos-rt-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --amgos-rt-radius-card: 16px;
  --amgos-rt-radius-btn: 12px;
  --amgos-rt-radius-input: 8px;
  --amgos-rt-shadow-deep: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(59, 130, 246, 0.08);
  --amgos-rt-shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --amgos-rt-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================================
   1. KEYFRAME ANIMATIONS
   ======================================================================== */

@keyframes amgos-rt-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes amgos-rt-slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes amgos-rt-slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes amgos-rt-slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes amgos-rt-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes amgos-rt-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes amgos-rt-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes amgos-rt-progressFill {
  from { width: 0; }
}

/* ========================================================================
   2. OVERLAY
   ======================================================================== */

.amgos-rt-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: amgos-rt-fadeIn 0.3s ease-out;
  font-family: var(--amgos-rt-font);
  color: var(--amgos-rt-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================================
   3. MODAL CARD
   ======================================================================== */

.amgos-rt-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--amgos-rt-surface);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-card);
  padding: 36px;
  box-shadow: var(--amgos-rt-shadow-deep);
  animation: amgos-rt-slideUp 0.4s ease-out;
}

.amgos-rt-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(124, 58, 237, 0.08), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ========================================================================
   4. PROGRESS BAR
   ======================================================================== */

.amgos-rt-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--amgos-rt-radius-card) var(--amgos-rt-radius-card) 0 0;
  overflow: hidden;
}

.amgos-rt-progress-fill {
  height: 100%;
  background: var(--amgos-rt-gradient);
  border-radius: inherit;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: amgos-rt-progressFill 0.6s ease-out;
}

/* ========================================================================
   5. CLOSE BUTTON
   ======================================================================== */

.amgos-rt-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--amgos-rt-border);
  border-radius: 8px;
  color: var(--amgos-rt-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--amgos-rt-transition);
  z-index: 2;
}

.amgos-rt-close:hover {
  color: var(--amgos-rt-text);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
}

/* ========================================================================
   6. STEP TITLE & SUBTITLE
   ======================================================================== */

.amgos-rt-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.amgos-rt-subtitle {
  font-size: 0.9375rem;
  color: var(--amgos-rt-muted);
  margin: 0 0 28px;
}

/* ========================================================================
   7. STEP COUNTER & NAVIGATION
   ======================================================================== */

.amgos-rt-step-counter {
  font-size: 0.8125rem;
  color: var(--amgos-rt-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amgos-rt-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--amgos-rt-muted);
  font-size: 0.875rem;
  font-family: var(--amgos-rt-font);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
  transition: color var(--amgos-rt-transition);
}

.amgos-rt-btn-back::before {
  content: '\2190';
  font-size: 1rem;
}

.amgos-rt-btn-back:hover {
  color: var(--amgos-rt-text);
}

/* ========================================================================
   8. INPUT FIELDS
   ======================================================================== */

.amgos-rt-field {
  margin-bottom: 20px;
}

.amgos-rt-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--amgos-rt-muted);
  margin-bottom: 6px;
}

.amgos-rt-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--amgos-rt-font);
  color: var(--amgos-rt-text);
  background: var(--amgos-rt-bg);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-input);
  outline: none;
  transition: border-color var(--amgos-rt-transition), box-shadow var(--amgos-rt-transition);
  box-sizing: border-box;
}

.amgos-rt-input::placeholder {
  color: #475569;
}

.amgos-rt-input:focus {
  border-color: var(--amgos-rt-border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.06);
}

/* Input Error State */
.amgos-rt-input-error .amgos-rt-input,
.amgos-rt-input.amgos-rt-has-error {
  border-color: var(--amgos-rt-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.amgos-rt-error-msg {
  font-size: 0.8125rem;
  color: var(--amgos-rt-error);
  margin-top: 6px;
}

/* ========================================================================
   9. CONTINUE / NEXT BUTTON
   ======================================================================== */

.amgos-rt-btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--amgos-rt-font);
  color: #FFFFFF;
  background: var(--amgos-rt-gradient);
  border: none;
  border-radius: var(--amgos-rt-radius-btn);
  cursor: pointer;
  transition: transform var(--amgos-rt-transition), box-shadow var(--amgos-rt-transition), opacity var(--amgos-rt-transition);
  margin-top: 8px;
}

.amgos-rt-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35), 0 0 60px rgba(124, 58, 237, 0.12);
}

.amgos-rt-btn-next:active {
  transform: translateY(0);
}

.amgos-rt-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ========================================================================
   10. SELECT OPTIONS (Cards)
   ======================================================================== */

.amgos-rt-options {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.amgos-rt-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--amgos-rt-bg);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-btn);
  cursor: pointer;
  transition: border-color var(--amgos-rt-transition), box-shadow var(--amgos-rt-transition), background var(--amgos-rt-transition);
}

.amgos-rt-option:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
}

.amgos-rt-option.amgos-rt-selected {
  border-color: var(--amgos-rt-primary);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.amgos-rt-option.amgos-rt-selected::after {
  content: '\2713';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--amgos-rt-primary);
  border-radius: 50%;
}

.amgos-rt-option-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--amgos-rt-surface);
  border-radius: 10px;
}

.amgos-rt-option-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--amgos-rt-text);
}

.amgos-rt-option-desc {
  font-size: 0.8125rem;
  color: var(--amgos-rt-muted);
  margin-top: 2px;
}

/* ========================================================================
   11. INTRO SCENES (Fullscreen Media)
   ======================================================================== */

.amgos-rt-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--amgos-rt-bg);
  animation: amgos-rt-fadeIn 0.4s ease-out;
}

.amgos-rt-intro-media {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.amgos-rt-intro-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 32px 48px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.6) 60%, transparent 100%);
  text-align: center;
}

.amgos-rt-intro-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.amgos-rt-intro-text {
  font-size: 1.0625rem;
  color: rgba(226, 232, 240, 0.8);
  max-width: 440px;
  margin: 0 auto 32px;
}

.amgos-rt-intro-skip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--amgos-rt-radius-btn);
  color: var(--amgos-rt-text);
  font-size: 0.875rem;
  font-family: var(--amgos-rt-font);
  padding: 10px 20px;
  cursor: pointer;
  transition: background var(--amgos-rt-transition);
}

.amgos-rt-intro-skip:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ========================================================================
   12. REPORT SECTION
   ======================================================================== */

.amgos-rt-report {
  animation: amgos-rt-slideUp 0.5s ease-out;
}

.amgos-rt-report-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px;
}

/* KPI Cards Grid */
.amgos-rt-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.amgos-rt-kpi-card {
  padding: 18px;
  background: var(--amgos-rt-bg);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-btn);
}

.amgos-rt-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
  background: var(--amgos-rt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.amgos-rt-kpi-label {
  font-size: 0.8125rem;
  color: var(--amgos-rt-muted);
}

/* Before/After Comparison */
.amgos-rt-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.amgos-rt-compare-card {
  padding: 18px;
  border-radius: var(--amgos-rt-radius-btn);
  border: 1px solid var(--amgos-rt-border);
}

.amgos-rt-compare-card--before {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.12);
}

.amgos-rt-compare-card--after {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.12);
}

.amgos-rt-compare-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.amgos-rt-compare-card--before .amgos-rt-compare-label { color: #F87171; }
.amgos-rt-compare-card--after  .amgos-rt-compare-label { color: #4ADE80; }

/* Projection Timeline */
.amgos-rt-timeline {
  position: relative;
  padding-left: 20px;
  margin-bottom: 24px;
}

.amgos-rt-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amgos-rt-gradient);
  border-radius: 1px;
}

.amgos-rt-timeline-item {
  position: relative;
  padding: 10px 0;
}

.amgos-rt-timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--amgos-rt-primary);
  border: 2px solid var(--amgos-rt-surface);
  border-radius: 50%;
}

.amgos-rt-timeline-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amgos-rt-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.amgos-rt-timeline-desc {
  font-size: 0.875rem;
  color: var(--amgos-rt-text);
  margin-top: 2px;
}

/* ========================================================================
   13. CTA SECTION (WhatsApp)
   ======================================================================== */

.amgos-rt-cta {
  text-align: center;
  margin-top: 24px;
}

.amgos-rt-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--amgos-rt-font);
  color: #FFFFFF;
  background: var(--amgos-rt-whatsapp);
  border: none;
  border-radius: var(--amgos-rt-radius-btn);
  cursor: pointer;
  transition: transform var(--amgos-rt-transition), box-shadow var(--amgos-rt-transition);
  animation: amgos-rt-pulse 2.5s ease-in-out infinite;
}

.amgos-rt-btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

/* ========================================================================
   14. LOADING STATE
   ======================================================================== */

.amgos-rt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  gap: 16px;
}

.amgos-rt-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--amgos-rt-border);
  border-top-color: var(--amgos-rt-primary);
  border-radius: 50%;
  animation: amgos-rt-spin 0.7s linear infinite;
}

.amgos-rt-loading-text {
  font-size: 0.875rem;
  color: var(--amgos-rt-muted);
}

.amgos-rt-skeleton {
  background: linear-gradient(90deg, var(--amgos-rt-surface-raised) 25%, rgba(255, 255, 255, 0.06) 50%, var(--amgos-rt-surface-raised) 75%);
  background-size: 200% 100%;
  animation: amgos-rt-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--amgos-rt-radius-input);
}

/* ========================================================================
   15. STEP TRANSITIONS
   ======================================================================== */

.amgos-rt-step-enter       { animation: amgos-rt-slideLeft 0.35s ease-out; }
.amgos-rt-step-enter-back  { animation: amgos-rt-slideRight 0.35s ease-out; }

/* ========================================================================
   16. SCROLLBAR STYLING
   ======================================================================== */

.amgos-rt-card::-webkit-scrollbar {
  width: 5px;
}

.amgos-rt-card::-webkit-scrollbar-track {
  background: transparent;
}

.amgos-rt-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.amgos-rt-card::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

.amgos-rt-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* ========================================================================
   17. MOBILE-FIRST RESPONSIVE
   ======================================================================== */

@media (max-width: 640px) {
  .amgos-rt-overlay {
    align-items: flex-end;
  }

  .amgos-rt-card {
    max-width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    display: flex;
    flex-direction: column;
  }

  .amgos-rt-card::before {
    border-radius: 0;
  }

  .amgos-rt-title {
    font-size: 1.25rem;
  }

  .amgos-rt-intro-title {
    font-size: 1.5rem;
  }

  .amgos-rt-options {
    grid-template-columns: 1fr;
  }

  .amgos-rt-kpi-grid {
    grid-template-columns: 1fr;
  }

  .amgos-rt-comparison {
    grid-template-columns: 1fr;
  }

  .amgos-rt-btn-next,
  .amgos-rt-btn-whatsapp {
    margin-top: auto;
  }

  .amgos-rt-input {
    min-height: 52px;
    font-size: 1rem;
  }

  .amgos-rt-option {
    padding: 14px;
  }

  .amgos-rt-progress {
    border-radius: 0;
  }
}

/* ========================================================================
   18. REDUCED MOTION
   ======================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   19. HIGH CONTRAST MODE
   ======================================================================== */

@media (forced-colors: active) {
  .amgos-rt-card {
    border: 2px solid CanvasText;
  }

  .amgos-rt-input {
    border: 1px solid CanvasText;
  }

  .amgos-rt-btn-next,
  .amgos-rt-btn-whatsapp {
    border: 2px solid ButtonText;
    forced-color-adjust: none;
  }

  .amgos-rt-option.amgos-rt-selected {
    border: 2px solid Highlight;
  }

  .amgos-rt-progress-fill {
    background: Highlight;
  }
}

/* ========================================================================
   20. PRINT STYLES
   ======================================================================== */

@media print {
  .amgos-rt-overlay,
  .amgos-rt-intro {
    display: none !important;
  }
}

/* ========================================================================
   21. CINEMATIC INTRO OVERLAY (Runtime Engine)
   ======================================================================== */

@keyframes amgos-rt-introSceneIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes amgos-rt-introSceneOut {
  from { opacity: 1; transform: translateY(0);    }
  to   { opacity: 0; transform: translateY(-20px); }
}

.amgos-rt-intro {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: linear-gradient(135deg, #020510 0%, #050B18 60%, #0A0F1E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-family: var(--amgos-rt-font);
  -webkit-font-smoothing: antialiased;
}

.amgos-rt-intro.amgos-rt-active {
  opacity: 1;
}

.amgos-rt-intro.amgos-rt-fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Individual scene */
.amgos-rt-intro-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
}

.amgos-rt-intro-scene.amgos-rt-active {
  animation: amgos-rt-introSceneIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scene text */
.amgos-rt-intro-text {
  font-size: 2.25rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  max-width: 640px;
}

/* Scene subtitle */
.amgos-rt-intro-subtitle {
  font-size: 1.125rem;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 520px;
}

/* Scene media */
.amgos-rt-intro-media {
  margin-bottom: 28px;
  max-width: 100%;
  max-height: 45vh;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.amgos-rt-intro-media img,
.amgos-rt-intro-media video {
  max-width: 100%;
  max-height: 45vh;
  object-fit: cover;
  border-radius: 20px;
}

/* Skip button */
.amgos-rt-intro-skip {
  position: fixed;
  bottom: 36px;
  right: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--amgos-rt-radius-btn);
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.875rem;
  font-family: var(--amgos-rt-font);
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--amgos-rt-transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.amgos-rt-intro-skip::after {
  content: '\203A\203A';
  font-size: 1rem;
  opacity: 0.7;
}

.amgos-rt-intro-skip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
}

/* Intro progress dots */
.amgos-rt-intro-progress {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}

.amgos-rt-intro-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.amgos-rt-intro-progress-dot.amgos-rt-active {
  background: var(--amgos-rt-primary);
  width: 28px;
  border-radius: 4px;
}

/* ========================================================================
   22. STEP PROGRESS BAR (Top of Modal)
   ======================================================================== */

.amgos-rt-progress-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 16px;
  margin-bottom: 4px;
}

.amgos-rt-progress-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.amgos-rt-progress-bar-fill {
  height: 100%;
  background: var(--amgos-rt-gradient);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.amgos-rt-progress-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amgos-rt-muted);
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}

/* ========================================================================
   23. FIELD VALIDATION ERROR MESSAGES
   ======================================================================== */

.amgos-rt-field-error {
  display: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--amgos-rt-error);
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--amgos-rt-error);
  border-radius: 0 6px 6px 0;
  animation: amgos-rt-slideUp 0.2s ease-out;
}

.amgos-rt-field-error.amgos-rt-visible {
  display: block;
}

/* Input error state enhancement */
.amgos-rt-input.amgos-rt-error,
.amgos-rt-input.amgos-rt-has-error {
  border-color: var(--amgos-rt-error) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

/* ========================================================================
   24. STEP TRANSITION ANIMATIONS (Slide In/Out)
   ======================================================================== */

@keyframes amgos-rt-stepSlideInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@keyframes amgos-rt-stepSlideOutLeft {
  from { opacity: 1; transform: translateX(0);     }
  to   { opacity: 0; transform: translateX(-36px); }
}

@keyframes amgos-rt-stepSlideInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0);     }
}

@keyframes amgos-rt-stepSlideOutRight {
  from { opacity: 1; transform: translateX(0);    }
  to   { opacity: 0; transform: translateX(36px); }
}

.amgos-rt-step-enter {
  animation: amgos-rt-stepSlideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.amgos-rt-step-exit {
  animation: amgos-rt-stepSlideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.amgos-rt-step-enter-back {
  animation: amgos-rt-stepSlideInLeft 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.amgos-rt-step-exit-back {
  animation: amgos-rt-stepSlideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* ========================================================================
   25. STEP COUNTER INDICATOR
   ======================================================================== */

.amgos-rt-step-counter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.amgos-rt-step-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amgos-rt-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.amgos-rt-step-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.amgos-rt-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.amgos-rt-step-dot.amgos-rt-done {
  background: rgba(59, 130, 246, 0.5);
}

.amgos-rt-step-dot.amgos-rt-current {
  background: var(--amgos-rt-primary);
  width: 16px;
  border-radius: 3px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .amgos-rt-intro-text {
    font-size: 1.75rem;
  }

  .amgos-rt-intro-subtitle {
    font-size: 1rem;
  }

  .amgos-rt-intro-skip {
    bottom: 24px;
    right: 16px;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .amgos-rt-intro-progress {
    bottom: 72px;
  }

  .amgos-rt-step-enter {
    animation-duration: 0.25s;
  }
}
