/* ==========================================================================
   CRO BLOG INNOVATIONS — WAGNER HÖRLLE
   Módulos de Choque de Conversão & Neurociência Cognitiva para Artigos
   1. The Executive Key Takeaway HUD
   2. Inline Loss Aversion Calculator
   3. The DIY vs Specialist Decision Matrix
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. The Executive Key Takeaway HUD
   -------------------------------------------------------------------------- */
.cro-executive-hud {
  margin: 1.75rem 0 2.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 18, 26, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  overflow: hidden;
}

.cro-executive-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #38bdf8 50%, #10b981 100%);
}

.hud-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: hudPulse 2s infinite;
}

@keyframes hudPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hud-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.25rem;
}

.hud-item {
  background: rgba(8, 9, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  transition: transform 0.2s, border-color 0.2s;
}

.hud-item:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.3);
}

.hud-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.label-red { color: #f87171; }
.label-amber { color: #fbbf24; }
.label-green { color: #34d399; }

.hud-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.hud-text strong {
  color: #ffffff;
}

.hud-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #94a3b8;
}

.hud-btn-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, transform 0.2s;
}

.hud-btn-link:hover {
  color: #7dd3fc;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hud-grid { grid-template-columns: 1fr; }
  .hud-topbar { flex-direction: column; align-items: flex-start; }
}


/* --------------------------------------------------------------------------
   2. Inline Loss Aversion Calculator
   -------------------------------------------------------------------------- */
.cro-loss-calculator {
  margin: 2.75rem 0;
  background: #0f121a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.cro-loss-calculator::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header {
  margin-bottom: 1.5rem;
}

.calc-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-title {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.calc-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
}

.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.calc-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #cbd5e1;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.calc-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.calc-pill.active {
  background: #10b981;
  border-color: #10b981;
  color: #08090d;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.result-card {
  padding: 1.35rem;
  border-radius: 12px;
  position: relative;
}

.loss-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.gain-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.result-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.loss-card .result-label { color: #f87171; }
.gain-card .result-label { color: #34d399; }

.result-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.loss-card .result-value { color: #ef4444; }
.gain-card .result-value { color: #10b981; }

.result-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

.calc-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.calc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}

.cta-arrow { font-size: 1.1rem; }

.calc-note {
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .calc-controls, .calc-results { grid-template-columns: 1fr; }
  .cro-loss-calculator { padding: 1.35rem; }
  .result-value { font-size: 1.5rem; }
}


/* --------------------------------------------------------------------------
   3. The DIY vs Specialist Decision Matrix
   -------------------------------------------------------------------------- */
.cro-decision-matrix {
  margin: 3rem 0;
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
}

.matrix-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.matrix-badge {
  display: inline-block;
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.matrix-title {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.matrix-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 2rem;
}

.matrix-col {
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
}

.matrix-col-diy {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-col-pro {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09) 0%, rgba(13, 16, 23, 0.8) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.col-badge-top {
  position: absolute;
  top: -11px;
  left: 20px;
  background: #10b981;
  color: #08090d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.col-icon { font-size: 1.4rem; }

.col-head h4 {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0;
}

.col-status {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.matrix-col-diy .col-status {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.matrix-col-pro .col-status {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.col-list li {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.matrix-col-diy .col-list li::before {
  background: #f87171;
}

.matrix-col-pro .col-list li::before {
  background: #10b981;
}

.col-list li strong {
  color: #ffffff;
  margin-right: 5px;
}

.matrix-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-quote {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.matrix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.matrix-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}

@media (max-width: 768px) {
  .matrix-grid { grid-template-columns: 1fr; }
  .cro-decision-matrix { padding: 1.5rem; }
}
