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

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

:root {
  --amgos-rt-bg: #FFFFFF;
  --amgos-rt-surface: #FFFFFF;
  --amgos-rt-surface-raised: #F8FAFC;
  --amgos-rt-border: rgba(0, 0, 0, 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: #1E293B;
  --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: 24px;
  --amgos-rt-radius-btn: 16px;
  --amgos-rt-radius-input: 12px;
  --amgos-rt-shadow-deep: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 80px rgba(59, 130, 246, 0.06);
  --amgos-rt-shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --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; }
}

@keyframes amgos-rt-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Trigger Button Animations */
@keyframes amgos-btn-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes amgos-btn-glow {
  0%, 100% { box-shadow: 0 0 var(--amgos-btn-glow-size, 20px) var(--amgos-btn-glow-color, rgba(59,130,246,0.6)); }
  50%      { box-shadow: 0 0 calc(var(--amgos-btn-glow-size, 20px) * 1.5) var(--amgos-btn-glow-color, rgba(59,130,246,0.8)); }
}

@keyframes amgos-btn-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes amgos-btn-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-3px); }
  75%      { transform: translateX(3px); }
}

/* ========================================================================
   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.45);
  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: 760px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--amgos-rt-surface);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-card);
  padding: 40px;
  box-shadow: var(--amgos-rt-shadow-deep);
  animation: amgos-rt-slideUp 0.4s ease-out;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.amgos-rt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #7C3AED 100%);
  border-radius: var(--amgos-rt-radius-card) var(--amgos-rt-radius-card) 0 0;
  pointer-events: none;
  z-index: 3;
}

/* Scroll indicator — REMOVED.
   The previous sticky fade gradient was overlapping the CTA button and
   report bars (sticky elements float over content while scrolling).
   Native scrollbar is indicator enough. */

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

.amgos-rt-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 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(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.03);
}

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

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

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

/* ========================================================================
   7. BACK NAVIGATION
   ======================================================================== */

.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-surface-raised);
  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: #94A3B8;
}

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

/* 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.1);
}

.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;
  box-sizing: border-box;
  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.3), 0 0 60px rgba(124, 58, 237, 0.08);
}

.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 (Gradient Animated Buttons)
   ======================================================================== */

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

.amgos-rt-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #F8FAFC;
  border: 1.5px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--amgos-rt-radius-btn);
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  color: var(--amgos-rt-text);
  text-align: left;
  overflow: hidden;
}

/* Sheen animado — linha de luz passando no hover */
.amgos-rt-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(59,130,246,0.08) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: -150% 0;
  pointer-events: none;
  transition: background-position .8s ease;
}

.amgos-rt-option:hover {
  transform: translateY(-2px);
  background: #F1F5F9;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.12), 0 0 0 4px rgba(59, 130, 246, 0.04);
}

.amgos-rt-option:hover::before {
  background-position: 150% 0;
}

.amgos-rt-option:active {
  transform: translateY(-1px);
}

.amgos-rt-option.amgos-rt-selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.05));
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18), inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.amgos-rt-option.amgos-rt-selected::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--amgos-rt-gradient);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.amgos-rt-option-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #FFFFFF;
  background: var(--amgos-rt-gradient);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.28);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}

.amgos-rt-option:hover .amgos-rt-option-icon {
  transform: scale(1.06);
}

.amgos-rt-option-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--amgos-rt-text);
  letter-spacing: -0.01em;
}

.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;
}

/* ========================================================================
   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: var(--amgos-rt-text);
  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-surface-raised);
  border: 1px solid var(--amgos-rt-border);
  border-radius: var(--amgos-rt-radius-btn);
  overflow: hidden;
  min-width: 0;
}

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

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

/* 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 {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  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(0, 0, 0, 0.02) 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
   ======================================================================== */

@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;
}

/* ========================================================================
   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(0, 0, 0, 0.1);
  border-radius: 3px;
}

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

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

/* ========================================================================
   17. TRIGGER BUTTON (Shortcode) — Animations & Effects
   ======================================================================== */

.amgos-funnel-trigger-btn {
  transition: all 0.3s ease;
}

.amgos-funnel-trigger-btn[data-animation="pulse"] {
  animation: amgos-btn-pulse 2s ease infinite;
}

.amgos-funnel-trigger-btn[data-animation="glow"] {
  animation: amgos-btn-glow 2s ease infinite;
}

.amgos-funnel-trigger-btn[data-animation="bounce"] {
  animation: amgos-btn-bounce 2s ease infinite;
}

.amgos-funnel-trigger-btn[data-animation="shake"] {
  animation: amgos-btn-shake 3s ease infinite;
}

/* Radar: scale sutil + anel de box-shadow pulsando (tipo sonar premium) */
@keyframes amgos-btn-radar-scale {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.022); }
}
@keyframes amgos-btn-radar-ring {
  0%   { box-shadow: 0 0 0 0 rgba(30,100,255,0.35); }
  70%  { box-shadow: 0 0 0 18px rgba(30,100,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,100,255,0); }
}
.amgos-funnel-trigger-btn[data-animation="radar"] {
  position: relative;
  overflow: visible !important;
  animation: amgos-btn-radar-scale 1.8s ease-in-out infinite;
}
.amgos-funnel-trigger-btn[data-animation="radar"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(30,100,255,0.42);
  animation: amgos-btn-radar-ring 1.8s ease-out infinite;
  pointer-events: none;
}

/* Hover Effects */
.amgos-funnel-trigger-btn[data-hover="lift"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.amgos-funnel-trigger-btn[data-hover="scale"]:hover {
  transform: scale(1.05);
}

.amgos-funnel-trigger-btn[data-hover="darken"]:hover {
  filter: brightness(0.85);
}

.amgos-funnel-trigger-btn[data-hover="glow-intensify"]:hover {
  box-shadow: 0 0 calc(var(--amgos-btn-glow-size, 20px) * 2) var(--amgos-btn-glow-color, rgba(59,130,246,0.7)) !important;
}

/* ========================================================================
   18. MOBILE RESPONSIVE — Sheet Style (NOT Fullscreen)
   ======================================================================== */

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

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

  .amgos-rt-card::before {
    border-radius: 20px 20px 0 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 {
    box-sizing: border-box;
  }

  .amgos-rt-input {
    min-height: 52px;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .amgos-rt-option {
    padding: 16px 20px;
  }

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

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

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .amgos-rt-card {
    max-width: 520px;
    padding: 40px;
  }
}

/* ========================================================================
   19. REDUCED MOTION
   ======================================================================== */

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

/* ========================================================================
   20. 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;
  }
}

/* ========================================================================
   21. PRINT STYLES
   ======================================================================== */

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

/* ========================================================================
   22. 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;
}

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

/* Liquid progress bar — gradient fluindo + shimmer de luz + glow externo */
.amgos-rt-progress-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 20px;
  margin-bottom: 4px;
}

.amgos-rt-progress-bar-track {
  flex: 1;
  position: relative;
  height: 8px;
  background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.03));
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.amgos-rt-progress-bar-fill {
  position: relative;
  height: 100%;
  border-radius: inherit;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.55) 50%,
      rgba(255,255,255,0) 100%),
    linear-gradient(135deg, #2563EB 0%, #4F46E5 45%, #7C3AED 100%);
  background-size: 200% 100%, 200% 100%;
  background-position: -150% 0, 0 0;
  background-repeat: no-repeat;
  box-shadow:
    0 0 12px rgba(59, 130, 246, 0.55),
    0 0 24px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(15, 23, 42, 0.12);
  animation: amgos-rt-liquid-flow 3.2s linear infinite, amgos-rt-liquid-shine 2.6s ease-in-out infinite;
}

/* Highlight superior no topo do fill — dá textura de líquido */
.amgos-rt-progress-bar-fill::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 40%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
  pointer-events: none;
}

/* Bolha de luz na ponta do fill (head glow) */
.amgos-rt-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(124,58,237,0.6) 60%, transparent 70%);
  filter: blur(0.5px);
  animation: amgos-rt-liquid-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes amgos-rt-liquid-flow {
  0%   { background-position: -150% 0, 0% 0; }
  100% { background-position: 150% 0, 200% 0; }
}
@keyframes amgos-rt-liquid-shine {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}
@keyframes amgos-rt-liquid-pulse {
  0%, 100% { opacity: 0.85; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1; transform: translateY(-50%) scale(1.25); }
}

.amgos-rt-progress-bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--amgos-rt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}

/* ========================================================================
   24. 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.06);
  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.1);
}

/* ========================================================================
   25. MOBILE INTRO 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;
  }
}

/* ========================================================================
   LGPD — Consent block + Privacy modal + Toast
   ======================================================================== */

.amgos-rt-lgpd-block {
  margin: 6px 0 10px;
  padding: 7px 9px;
  background: rgba(148,163,184,0.035);
  border: 1px solid rgba(148,163,184,0.13);
  border-radius: 9px;
  opacity: .78;
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
.amgos-rt-lgpd-block:hover {
  background: rgba(148,163,184,0.055);
  border-color: rgba(148,163,184,0.24);
  opacity: .96;
}
.amgos-rt-lgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}
.amgos-rt-lgpd-checkbox {
  flex-shrink: 0;
  margin-top: 1px;
  width: 13px;
  height: 13px;
  cursor: pointer;
  accent-color: #2563EB;
}
.amgos-rt-lgpd-text {
  flex: 1;
  font-size: 10.2px;
  line-height: 1.34;
  color: #94A3B8;
  text-align: left;
}
.amgos-rt-lgpd-link {
  color: #2563EB;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.amgos-rt-lgpd-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}
.amgos-rt-lgpd-intro {
  font-size: 10px;
  font-weight: 650;
  color: #94A3B8;
  margin: 0 0 5px;
  line-height: 1.35;
}
.amgos-rt-lgpd-hint {
  display: none;
  margin: 5px 0 0 22px;
  color: #EF4444;
  font-size: 10.5px;
  font-weight: 700;
}

/* Estado de erro (checkbox nao marcado ao tentar enviar) */
.amgos-rt-lgpd-error {
  background: rgba(239,68,68,0.045);
  border-color: rgba(239,68,68,0.35);
  opacity: 1;
}
.amgos-rt-lgpd-error .amgos-rt-lgpd-hint {
  display: block;
}
.amgos-rt-lgpd-shake {
  animation: amgos-lgpd-shake 0.4s ease-in-out;
}
@keyframes amgos-lgpd-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* Modal da politica de privacidade */
.amgos-rt-lgpd-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: amgos-lgpd-fade-in 0.25s ease-out;
}
@keyframes amgos-lgpd-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.amgos-rt-lgpd-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.amgos-rt-lgpd-modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: amgos-lgpd-slide-up 0.35s cubic-bezier(.2,.9,.2,1);
}
@keyframes amgos-lgpd-slide-up {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.amgos-rt-lgpd-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
}
.amgos-rt-lgpd-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.015em;
}
.amgos-rt-lgpd-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  color: #64748B;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.amgos-rt-lgpd-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: #0F172A;
}
.amgos-rt-lgpd-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}
.amgos-rt-lgpd-modal-body h3 {
  color: #0F172A;
  font-size: 15px;
  font-weight: 800;
  margin: 18px 0 8px;
}
.amgos-rt-lgpd-modal-body h3:first-child { margin-top: 0; }
.amgos-rt-lgpd-modal-body p {
  margin: 0 0 12px;
}
.amgos-rt-lgpd-modal-body a {
  color: #2563EB;
  font-weight: 600;
  text-decoration: underline;
}
.amgos-rt-lgpd-modal-body ul,
.amgos-rt-lgpd-modal-body ol {
  margin: 8px 0 12px 20px;
  padding: 0;
}
.amgos-rt-lgpd-modal-body li {
  margin-bottom: 6px;
}
.amgos-rt-lgpd-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  background: #F8FAFC;
}

/* Toast flutuante (feedback de erro LGPD) */
.amgos-rt-lgpd-toast {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483647;
  padding: 12px 20px;
  background: rgba(239,68,68,0.95);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-width: 90%;
  text-align: center;
  animation: amgos-lgpd-toast-in 0.3s cubic-bezier(.2,.9,.2,1);
  transition: opacity 0.3s ease;
}
@keyframes amgos-lgpd-toast-in {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 640px) {
  .amgos-rt-lgpd-modal {
    padding: 0;
  }
  .amgos-rt-lgpd-modal-card {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
}

/* ========================================================================
   PREMIUM LIGHT GLASS — SHARED DESIGN SYSTEM
   ------------------------------------------------------------------------
   Identidade visual reutilizável para todos os modais do Growth OS.
   Fundamentos: fundo branco sólido, accent gradient azul→roxo, chips/pílulas
   translúcidas, ícone em caixa com gradient, texto em gradient-clip para
   nomes, hover com elevação sutil e shadow tingida de azul.
   Tokens (herdados de :root acima): --amgos-rt-gradient, --amgos-rt-primary,
   --amgos-rt-radius-card, --amgos-rt-font, etc.
   Use os utilitários abaixo em vez de inventar estilos inline.
   ======================================================================== */

/* Utilitário: gradient-text (nomes, destaques curtos) */
.amgos-rt-gradient-text {
  background: var(--amgos-rt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Utilitário: chip/pill (meta info, badges contextuais) */
.amgos-rt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 999px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--amgos-rt-font);
}
.amgos-rt-chip svg { flex-shrink: 0; color: var(--amgos-rt-primary); }

/* Utilitário: ícone em caixa gradient (botões, features, CTAs) */
.amgos-rt-icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--amgos-rt-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Utilitário: avatar com halo animado (headers de identidade) */
.amgos-rt-avatar-gradient {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--amgos-rt-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  animation: amgos-rt-avatar-pulse 2.4s ease-in-out infinite;
}
@keyframes amgos-rt-avatar-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), 0 0 0 0 rgba(59, 130, 246, 0.35); }
  50%      { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), 0 0 0 14px rgba(59, 130, 246, 0); }
}

/* Utilitário: botão glass (linha de ação em modais — ícone + título + desc) */
.amgos-rt-glass-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  margin: 0 0 10px;
  background: #F8FAFC;
  border: 1.5px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  color: var(--amgos-rt-text);
  text-align: left;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  font-family: var(--amgos-rt-font);
}
.amgos-rt-glass-btn:hover {
  background: #F1F5F9;
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}
.amgos-rt-glass-btn.is-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.04));
  border-color: rgba(59, 130, 246, 0.25);
}
.amgos-rt-glass-btn.is-primary:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
  border-color: rgba(59, 130, 246, 0.5);
}
.amgos-rt-glass-btn__txt { flex: 1; min-width: 0; }
.amgos-rt-glass-btn__ttl {
  font-size: 14.5px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 3px;
  letter-spacing: -.2px;
}
.amgos-rt-glass-btn__desc {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--amgos-rt-muted);
  margin: 0;
  line-height: 1.4;
}
.amgos-rt-glass-btn__arrow {
  color: #94A3B8;
  flex-shrink: 0;
  transition: transform .2s;
}
.amgos-rt-glass-btn:hover .amgos-rt-glass-btn__arrow {
  transform: translateX(3px);
  color: var(--amgos-rt-primary);
}

/* Welcome-Back Modal (dedup de leads) — usa o design system Premium Light Glass.
   Classes curtas `.am-wb-*` preservadas pra não quebrar o JS existente. */
@keyframes amWbFade {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes amWbSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.am-wb-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2147483600;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  font-family: var(--amgos-rt-font);
  animation: amWbFade .35s cubic-bezier(.4, 0, .2, 1);
}
.am-wb-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--amgos-rt-radius-card);
  max-width: 460px; width: 100%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18), 0 0 80px rgba(59, 130, 246, 0.08);
  position: relative;
}
.am-wb-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--amgos-rt-gradient);
}
.am-wb-view { animation: amWbSlide .28s cubic-bezier(.4, 0, .2, 1); }
.am-wb-hdr {
  padding: 38px 32px 20px; text-align: center;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.06), transparent 70%);
}
.am-wb-avatar {
  width: 80px; height: 80px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--amgos-rt-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  animation: amgos-rt-avatar-pulse 2.4s ease-in-out infinite;
}
.am-wb-greet {
  color: #0F172A; font-size: 22px; font-weight: 700;
  letter-spacing: -.4px; margin: 0 0 8px; line-height: 1.3;
}
.am-wb-greet strong {
  background: var(--amgos-rt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.am-wb-sub {
  color: var(--amgos-rt-muted); font-size: 14px; line-height: 1.55;
  margin: 0 auto; max-width: 360px;
}
.am-wb-meta {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.am-wb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 999px;
  color: #475569; font-size: 11.5px; font-weight: 500;
}
.am-wb-chip svg { flex-shrink: 0; color: var(--amgos-rt-primary); }
.am-wb-body { padding: 12px 22px 24px; }
.am-wb-btn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; margin: 0 0 10px;
  background: #F8FAFC;
  border: 1.5px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  color: #0F172A;
  text-align: left; cursor: pointer;
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  font-family: inherit;
}
.am-wb-btn:hover {
  background: #F1F5F9;
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}
.am-wb-btn.primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.04));
  border-color: rgba(59, 130, 246, 0.25);
}
.am-wb-btn.primary:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
  border-color: rgba(59, 130, 246, 0.5);
}
.am-wb-btn-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--amgos-rt-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.am-wb-btn-txt { flex: 1; min-width: 0; }
.am-wb-btn-ttl {
  font-size: 14.5px; font-weight: 600; color: #0F172A;
  margin: 0 0 3px; letter-spacing: -.2px;
}
.am-wb-btn-desc {
  font-size: 12.5px; font-weight: 400; color: var(--amgos-rt-muted);
  margin: 0; line-height: 1.4;
}
.am-wb-btn-arrow {
  color: #94A3B8; flex-shrink: 0;
  transition: transform .2s;
}
.am-wb-btn:hover .am-wb-btn-arrow {
  transform: translateX(3px); color: var(--amgos-rt-primary);
}
.am-wb-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--amgos-rt-muted); font-size: 13px; font-weight: 500;
  background: none; border: 0; cursor: pointer;
  padding: 8px 12px; margin: 0 0 10px -4px;
  border-radius: 8px;
  font-family: inherit;
  transition: all .15s;
}
.am-wb-back:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0F172A;
}
.am-wb-ft {
  padding: 16px 24px 20px; text-align: center;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #F8FAFC;
}
.am-wb-ft a {
  color: var(--amgos-rt-muted); font-size: 12px; font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.am-wb-ft a:hover { color: var(--amgos-rt-primary); }
