/**
 * SOLDADORX - Estilos de la Experiencia Principal: "Diagnóstico del Soldador"
 * Estética industrial, dark mode, acentos de arco voltaico y diseño 100% mobile-first.
 */

:root {
  --bg-primary: #0a0e17;
  --bg-surface: #121826;
  --bg-surface-elevated: #1a2336;
  --bg-glass: rgba(18, 24, 38, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  --border-active: #38bdf8;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --arc-cyan: #38bdf8;
  --arc-cyan-glow: rgba(56, 189, 248, 0.25);
  --spark-amber: #f59e0b;
  --spark-glow: rgba(245, 158, 11, 0.2);
  --plasma-blue: #2563eb;
  --danger-crimson: #ef4444;
  --success-emerald: #10b981;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-arc: 0 0 25px rgba(56, 189, 248, 0.22);
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 2.5rem;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.14), transparent),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06), transparent);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Contenedor Principal */
.app-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0.5rem 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Header & Barra Superior */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--spark-amber), var(--arc-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.brand-icon svg {
  width: 16px;
  height: 16px;
  fill: #0a0e17;
}

.version-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--arc-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--arc-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--arc-cyan);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Barra de Progreso Dinámica */
.progress-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--arc-cyan), var(--spark-amber));
  border-radius: var(--radius-full);
  transition: width 0.4s ease-out;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Tarjeta Principal / Pantalla */
.screen-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

/* Pantalla Inicial (Hero) */
.hero-box {
  text-align: center;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-pill {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spark-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff, var(--arc-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  margin: 0.4rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--arc-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Botón CTA Industrial */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1.05rem 1.5rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.6), 0 0 20px rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition-fast);
}

.btn-link:hover {
  color: var(--arc-cyan);
}

/* PANTALLA 2: Quiz de Situaciones */
.scenario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.step-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--spark-amber);
  letter-spacing: 0.05em;
}

.topic-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--arc-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.situation-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.situation-subtitle {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  font-family: var(--font-main);
}

.option-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}

.option-card.selected {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--arc-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--arc-cyan);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.option-card:hover .option-letter,
.option-card.selected .option-letter {
  background: var(--arc-cyan);
  color: #0a0e17;
}

.option-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.option-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.option-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* PANTALLA 3: Processing Radar */
.processing-box {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.radar-spinner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate-radar 3s linear infinite;
}

.radar-core {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--arc-cyan), #0284c7);
  box-shadow: 0 0 20px var(--arc-cyan);
  animation: pulse-core 1.5s ease-in-out infinite alternate;
}

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

@keyframes pulse-core {
  from { transform: scale(0.8); opacity: 0.7; }
  to { transform: scale(1.15); opacity: 1; }
}

.status-log {
  font-size: 0.85rem;
  color: var(--arc-cyan);
  font-weight: 600;
  min-height: 1.5rem;
  letter-spacing: 0.02em;
}

/* ========================================== */
/* PANTALLA 4: RESULTADO PERSONALIZADO (PRE)  */
/* ========================================== */
.section-badge-top {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--arc-cyan);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.result-header-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.profile-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spark-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.profile-main-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.profile-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Secciones de Información */
.section-block {
  margin-bottom: 1.25rem;
}

.section-block-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success-emerald);
  margin-bottom: 0.65rem;
}

.strengths-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.strength-item {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.4;
}

/* Tarjeta Punto Ciego */
.blind-spot-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.blind-spot-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--danger-crimson);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.blind-spot-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.blind-spot-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.48;
}

/* Tarjeta Nivel Actual */
.level-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.level-header {
  margin-bottom: 0.4rem;
}

.level-badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--arc-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.level-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.level-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Puente de Curiosidad (Hay algo más...) */
.curiosity-bridge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(56, 189, 248, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.curiosity-badge {
  display: inline-block;
  align-self: center;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spark-amber);
}

.curiosity-teaser {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.5;
  text-align: left;
}

/* ========================================== */
/* PANTALLA 5: CAPTURA DEL LEAD               */
/* ========================================== */
.lead-form-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.capture-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(2, 132, 199, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--arc-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.lead-capture-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.lead-capture-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--arc-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  background: var(--bg-surface-elevated);
}

.alert-box {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.4;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert-box.visible {
  display: block;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ========================================== */
/* PANTALLA 6: ANÁLISIS DESBLOQUEADO (POST)   */
/* ========================================== */
.unlocked-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.unlocked-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
}

.unlocked-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--success-emerald);
  color: #0a0e17;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Tarjeta Compartible / Credencial */
.shareable-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
}

.shareable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shareable-brand {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--arc-cyan);
}

.shareable-id {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.shareable-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.shareable-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.shareable-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.shareable-val {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

/* Perfil Desbloqueado */
.profile-unlocked-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.profile-unlocked-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.profile-unlocked-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.habit-box {
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid var(--arc-cyan);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.habit-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--arc-cyan);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.habit-desc {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.4;
}

/* Mejoras Desbloqueadas */
.improvements-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.risk-item {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.risk-item strong {
  color: var(--spark-amber);
}

/* Tarjeta Recomendación Personalizada */
.recommendation-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.recommendation-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--arc-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.recommendation-text {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Pasos del Protocolo */
.protocol-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.step-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--spark-amber);
  margin-bottom: 0.35rem;
}

.step-card-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Puente de Producto (Hotmart Ready) */
.offer-bridge-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.offer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hotmart-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.4rem;
}

/* Franja / Barra Oficial de WhatsApp (Fondo verde plano y letras blancas de alta visibilidad) */
.whatsapp-bar-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #00a884 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 168, 132, 0.4);
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.35;
  cursor: pointer;
  border: none;
}

.whatsapp-bar-strip:hover {
  background-color: #008f6f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 168, 132, 0.55);
}

.whatsapp-circle-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #25d366;
  border: 1.5px solid #064e3b;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.9);
  flex-shrink: 0;
  animation: pulse-whatsapp-dot 2s infinite ease-in-out;
}

@keyframes pulse-whatsapp-dot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.6);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(37, 211, 102, 1);
  }
}

/* Variante superior full-width (Franja arriba de toda la página) */
.whatsapp-top-strip {
  width: 100%;
  position: static;
  left: auto;
  right: auto;
  margin: 0 0 1rem 0;
  border-radius: 0;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  z-index: 100;
  border: none;
}

@media (max-width: 480px) {
  .whatsapp-bar-strip {
    font-size: 0.85rem;
    padding: 0.7rem 0.85rem;
  }
}

/* Franja Superior Comunidad / Grupo de Compradores Hotmart */
.buyers-community-bar {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.16) 0%, rgba(56, 189, 248, 0.14) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.buyers-community-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--success-emerald), var(--arc-cyan));
}

.buyers-community-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.community-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.community-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.community-text strong {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 700;
}

.community-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

.community-btn {
  background: var(--success-emerald);
  color: #042f2e;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.community-btn:hover {
  background: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}

@media (max-width: 600px) {
  .buyers-community-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .buyers-community-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .community-btn {
    justify-content: center;
  }
}

/* Caja del Bono Exclusivo Robot FANUC */
.fanuc-bonus-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.55);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  margin: 0.3rem 0;
  position: relative;
}

.fanuc-bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--spark-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.fanuc-bonus-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fanuc-bonus-desc {
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.48;
  margin: 0 0 0.65rem 0;
}

.fanuc-bonus-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.79rem;
  color: #e2e8f0;
}

.fanuc-bonus-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.fanuc-bonus-feature-item span:first-child {
  color: var(--spark-amber);
  font-weight: bold;
}

/* Estilos de la Entrega del Regalo y Puente hacia la Oferta */
.gift-preview-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gift-mockup-wrapper {
  display: flex;
  justify-content: center;
  perspective: 900px;
  padding: 0.75rem 0;
}

.gift-book-cover {
  width: 170px;
  height: 235px;
  background: linear-gradient(145deg, #1e293b, #090d16);
  border: 2px solid rgba(56, 189, 248, 0.5);
  border-radius: 4px 10px 10px 4px;
  box-shadow: -8px 12px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2);
  transform: rotateY(-18deg) rotateX(6deg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.gift-book-cover:hover {
  transform: rotateY(-8deg) rotateX(2deg) scale(1.03);
}

.gift-book-spine {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(56, 189, 248, 0.3));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-book-content {
  padding: 1rem 0.85rem 0.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.gift-book-tag {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--spark-amber);
  letter-spacing: 0.08em;
}

.gift-book-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 0.5rem;
}

.gift-book-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.gift-book-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--arc-cyan);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.4rem;
}

.gift-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gift-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gift-bullet {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--spark-amber);
}

.download-notice {
  font-size: 0.8rem;
  color: var(--success-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  text-align: center;
}

/* Grilla de Pilares Técnicos del Ebook */
.ebook-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 0.35rem 0;
}

.ebook-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.ebook-pillar-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(30, 41, 59, 0.7);
}

.ebook-pillar-icon {
  font-size: 1.05rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.ebook-pillar-text {
  display: flex;
  flex-direction: column;
}

.ebook-pillar-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.ebook-pillar-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.25;
  margin-top: 0.12rem;
}

@media (max-width: 480px) {
  .ebook-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

/* Sección Puente hacia la Oferta */
.bridge-offer-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.bridge-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bridge-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.bridge-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight-bridge {
  color: #ffffff;
  font-weight: 600;
  border-left: 3px solid var(--spark-amber);
  padding-left: 0.75rem;
}

.btn-cta-amber {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-cta-amber:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.6), 0 0 20px rgba(245, 158, 11, 0.4) !important;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Utilidades */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Features List */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--arc-cyan);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsividad Avanzada */
@media (max-width: 480px) {
  body {
    padding: 0.65rem 0.5rem 2rem;
  }
  
  .hero-title {
    font-size: 1.35rem;
  }

  .hero-desc {
    font-size: 0.88rem;
  }
  
  .screen-card {
    padding: 1.15rem 0.9rem;
  }

  .btn-cta {
    padding: 0.9rem 1.15rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  body {
    padding: 0.5rem 0.35rem 1.75rem;
  }

  .hero-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.82rem;
  }

  .btn-cta {
    padding: 0.8rem 0.9rem;
    font-size: 0.88rem;
  }

  .brand-badge {
    font-size: 0.92rem;
  }

  .feature-item {
    font-size: 0.82rem;
  }
}


