/* =======================================================
   Marca Page — marca.css
   Estilos específicos para la demo de evolución de UI/UX
   (complements style.css + crm.css)
   ======================================================= */

/* ── UI Evolution Layout ── */
.ui-evolution-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.ui-mockup {
  flex: 1;
  max-width: 350px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.ui-mockup:hover {
  transform: translateY(-5px);
}

.bad-ui {
  border: 2px solid #e0e0e0;
}

.good-ui {
  border: 1px solid #333;
  box-shadow: 0 20px 50px rgba(123, 105, 255, 0.2);
}

/* ── Generic UI (Bad) ── */
.ui-header {
  background: #ccc;
  padding: 15px;
  text-align: center;
}

.ui-brand {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
}

.ui-body {
  padding: 20px;
  flex: 1;
  background: #f5f5f5;
}

/* ── Premium UI (Good) ── */
.ui-header.premium {
  background: #0d0d12;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-header.premium .ui-brand {
  font-family: var(--font-headings);
  font-weight: 900;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.app-dots {
  display: flex;
  gap: 4px;
}
.app-dots span { width: 8px; height: 8px; border-radius: 50%; background: #444; }
.app-dots span:nth-child(1) { background: #ff5f56; }
.app-dots span:nth-child(2) { background: #ffbd2e; }
.app-dots span:nth-child(3) { background: #27c93f; }

.premium-body {
  background: #1a1625;
  padding: 24px;
}

.premium-card {
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(123, 105, 255, 0.3);
}

.card-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.card-amount {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 20px;
}

.card-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  opacity: 0.5;
}

.sparkline {
  width: 100%;
  height: 100%;
}

.premium-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-action {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-action:hover {
  background: rgba(255,255,255,0.2);
}

/* ── Arrow & Captions ── */
.ui-evolution-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7b69ff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  gap: 10px;
  padding: 0 10px;
}

.ui-evolution-arrow i {
  font-size: 2rem;
  background: #f0ecff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
  0% { box-shadow: 0 0 0 0 rgba(123, 105, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(123, 105, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 105, 255, 0); }
}

.ui-caption {
  padding: 16px;
  background: #fff;
  border-top: 1px solid #eee;
  text-align: center;
}

.ui-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.ui-tag.red { background: #ffebeb; color: #cc0000; }
.ui-tag.green { background: #e8faf0; color: #1a7a40; }

.ui-caption p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 800px) {
  .ui-evolution-container {
    flex-direction: column;
    align-items: center;
  }
  .ui-mockup {
    width: 100%;
  }
  .ui-evolution-arrow i {
    transform: rotate(90deg);
  }
}
